[Vm-dev] VM Maker: CMakeVMMaker-EstebanLorenzano.191.mcz

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Wed Feb 20 19:40:25 UTC 2013


Once I have the sources (generated or downloaded), I do
$ cd unixbuild/bld
$ ../../platforms/unix/config/configure --without-npsqueak CFLAGS="-g
-O2 -fno-caller-saves -Wall -Wextra -msse2 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DNDEBUG -DITIMER_HEARTBEAT=1 -DNO_VM_PROFILE=1
-DCOGMTVM=0 -DDEBUGVM=0" LIBS=-lpthread
$ make

Note that this is a virtual box

$ uname -a
Linux localhost 3.4.24-desktop586-3.mga2 #1 SMP Sat Jan 5 02:32:45 UTC
2013 i686 i686 i386 GNU/Linux
$ gcc --version
gcc (GCC) 4.6.3

Nicolas

2013/2/20 Esteban Lorenzano <estebanlm at gmail.com>:
>
> Nicolas,
>
> could you send me the complete set of flags that you are using to compile?
> I want to double check this, in case the unstability I'm seeing has something to do with optimization options.
>
> thanks,
> Esteban
>
> On Feb 14, 2013, at 5:59 PM, Nicolas Cellier <nicolas.cellier.aka.nice at gmail.com> wrote:
>
>>
>> Interesting that we did not find the same set...
>> I presume this is VMMaker-oscog.
>> Which gcc --version ?
>>
>> Nicolas
>>
>> 2013/2/14  <commits at source.squeak.org>:
>>>
>>> Esteban Lorenzano uploaded a new version of CMakeVMMaker to project VM Maker:
>>> http://source.squeak.org/VMMaker/CMakeVMMaker-EstebanLorenzano.191.mcz
>>>
>>> ==================== Summary ====================
>>>
>>> Name: CMakeVMMaker-EstebanLorenzano.191
>>> Author: EstebanLorenzano
>>> Time: 14 February 2013, 5:29:19.952 pm
>>> UUID: 9afdec65-270e-443e-b750-d9c9f76624f1
>>> Ancestors: CMakeVMMaker-EstebanLorenzano.190
>>>
>>> - fixed unix compilation parameters
>>>
>>> =============== Diff against CMakeVMMaker-EstebanLorenzano.190 ===============
>>>
>>> Item was changed:
>>>  ----- Method: CogUnixConfig>>compilerFlagsRelease (in category 'compiler flags') -----
>>>  compilerFlagsRelease
>>> + "
>>> + THIS FLAGS ARE CREASHING COMPILER
>>>
>>> + -fschedule-insns2
>>> + -fschedule-insns
>>> -       ^ '-g0 -O2 -msse2 -D_GNU_SOURCE -DNDEBUG -DITIMER_HEARTBEAT=1
>>> -       -DNO_VM_PROFILE=1 -DDEBUGVM=0'
>>>
>>> + THIS FLAGS ARE CRASHING VM
>>> + -ftree-pre
>>> +
>>> + THIS FLAGS ARE WORKING
>>> + -O1 -fthread-jumps -falign-functions -falign-jumps -falign-loops -falign-labels -fcrossjumping -fcse-follow-jumps -fcse-skip-blocks -fdelete-null-pointer-checks -fdevirtualize -fexpensive-optimizations -fgcse -fgcse-lm -finline-small-functions -findirect-inlining -fipa-sra -foptimize-sibling-calls -fpartial-inlining -fpeephole2 -fregmove -freorder-blocks -frerun-cse-after-loop -fcaller-saves -freorder-functions -fsched-interblock -fsched-spec -fstrict-aliasing -fstrict-overflow  -ftree-switch-conversion -ftree-vrp
>>> +
>>> + THIS IS LIKE: -O2 -fno-tree-pre
>>> + "
>>> +
>>> +       ^ '-g0 -O2 -fno-tree-pre -msse2 -D_GNU_SOURCE -DNDEBUG -DITIMER_HEARTBEAT=1 -DNO_VM_PROFILE=1 -DDEBUGVM=0'!
>>> - !
>>>
>


More information about the Vm-dev mailing list