[Vm-dev] [commit] CogVm source as per VMMaker.oscog-eem.1349
eliot.miranda at gmail.com
Thu Jun 18 02:14:09 UTC 2015
On Tue, Jun 16, 2015 at 10:45 PM, Ryan Macnak <rmacnak at gmail.com> wrote:
> On Sat, Jun 13, 2015 at 12:17 AM, Esteban Lorenzano <estebanlm at gmail.com>
>> On 13 Jun 2015, at 03:38, Ryan Macnak <rmacnak at gmail.com> wrote:
>> On Fri, Jun 12, 2015 at 12:43 AM, Esteban Lorenzano <estebanlm at gmail.com>
>>> extern extern sqInt superclassOf(sqInt classPointer);
>>> gcc 4.6.3 (Travis CI) also says this is an error.
>> Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn) is okay
>> with it.
>> ps: btw, I’m using clang to compile in mac since a lot of time and I do
>>> not have problems, yes I needed to tweak a flag here and there, but not
>>> much more… of course, I use “Apple LLVM version 6.0 (clang-600.0.54) (based
>>> on LLVM 3.5svn)”, so is probably not the same...
>> What flags have you changed? We should adopt them or fix things so they
>> aren't needed.
>> I’m compiling with this:
>> -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_GNU_SOURCE -DLSB_FIRST
>> -DHAVE_SYS_TIME_H -DHAVE_UUID_GENERATE -Wno-unused-parameter
>> -mmacosx-version-min=10.5 -DHAVE_NANOSLEEP -O3 -fomit-frame-pointer
>> -DDEBUGVM=0 -fpascal-strings -DCOGVM -Qunused-arguments -funroll-loops
>> -DDEFAULT_IMAGE_NAME="Pharo.image" -Wno-unused-value -fmessage-length=0
>> -DUSE_CORE_GRAPHICS -g0 -DBASE_HEADER_SIZE=4 -march=pentium-m
>> -DBUILD_FOR_OSX -DENABLE_FAST_BLT -fasm-blocks -Wno-unused-variable
>> -std=gnu99 -DCOGMTVM=0 -fwrapv -Wno-return-type -fno-inline-functions
>> -fno-gcse -mfpmath=sse -arch i386 -mtune=prescott -falign-functions=16
>> I think the only “CLANG Only” is:
> That one fixes my VMs. Looks like it goes back to gcc 3.3, so it should be
> safe to add to all the builds.
You mean just adding -fwrapv fixes your VMs, or all of the above?
> But I didn't need this before. Your merge with Eliot falls within the
> range of commits where things stopped working. Are you aware of code from
> your branch that relies on signed integer overflow?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Vm-dev