[Vm-dev] status of compilation with LLVM 3.0 with Xcode

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Wed Mar 18 23:27:34 UTC 2015


Thanks for the information Esteban.
I added no flags - just played with settings the warnings on or off to
concentrate on specific errors...
An example extracted from LOGD produced by Eliot's mvm:

 /Developer/usr/bin/clang -x c -arch i386 -fmessage-length=0
-fdiagnostics-print-source-range-info -fdiagnostics-show-category=id
-fdiagnostics-parseable-fixits -Wno-trigraphs -fpascal-strings -O3
-mdynamic-no-pic -Wno-return-type -Wparentheses -Wswitch
-Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wuninitialized
-Wno-shorten-64-to-32 -DNDEBUG=1 -DCOGMTVM=0 -DDEBUGVM=0
-DUSE_GLOBAL_STRUCT=0 "-DTZ=\"CET\"" -DNO_ISNAN -DTARGET_API_MAC_CARBON
-DSQUEAK_BUILTIN_PLUGIN -DHAVE_SYS_TIME_H -isysroot
/Developer/SDKs/MacOSX10.6.sdk -fasm-blocks -mmacosx-version-min=10.6
-gdwarf-2 -Wno-sign-conversion
-I/Users/nicolas/Smalltalk/Squeak/vm_cog/build.macos32x86/squeak.cog.spur/build/CoreVM.build/DeploymentSymbols/Squeak.build/Squeak.hmap
-I/Users/nicolas/Smalltalk/Squeak/vm_cog/build.macos32x86/squeak.cog.spur/build/DeploymentSymbols/include
-I/Developer/SDKs/MacOSX10.6.sdk/Developer/Headers/FlatCarbon
-I/Users/nicolas/Smalltalk/Squeak/vm_cog/build.macos32x86/squeak.cog.spur
-I/Users/nicolas/Smalltalk/Squeak/vm_cog/build.macos32x86/squeak.cog.spur/build/CoreVM.build/DeploymentSymbols/Squeak.build/DerivedSources/i386
-I/Users/nicolas/Smalltalk/Squeak/vm_cog/build.macos32x86/squeak.cog.spur/build/CoreVM.build/DeploymentSymbols/Squeak.build/DerivedSources
-F/Users/nicolas/Smalltalk/Squeak/vm_cog/build.macos32x86/squeak.cog.spur/build/DeploymentSymbols
-MMD -MT dependencies -MF
/Users/nicolas/Smalltalk/Squeak/vm_cog/build.macos32x86/squeak.cog.spur/build/CoreVM.build/DeploymentSymbols/Squeak.build/Objects-normal/i386/sqMacMIDI.d
-c
"/Users/nicolas/Smalltalk/Squeak/vm_cog/build.macos32x86/squeak.cog.spur/../../platforms/Mac
OS/plugins/MIDIPlugin/sqMacMIDI.c" -o
/Users/nicolas/Smalltalk/Squeak/vm_cog/build.macos32x86/squeak.cog.spur/build/CoreVM.build/DeploymentSymbols/Squeak.build/Objects-normal/i386/sqMacMIDI.o

2015-03-18 9:05 GMT+01:00 Esteban Lorenzano <estebanlm at gmail.com>:

>
> I compile always with llvm (Apple LLVM version 6.0 (clang-600.0.54) (based
> on LLVM 3.5svn))
> No issues so far (but I needed to add a couple of compilation flags).
>
> Esteban
>
> > On 15 Mar 2015, at 00:40, Nicolas Cellier <
> nicolas.cellier.aka.nice at gmail.com> wrote:
> >
> > I now compile and run a modified squeak.cog.spur 32bits VM 3264 with
> Xcode 4.2, OSX 10.6.8 and LLVM 3.0.
> > I can run all the tests in the image.
> > I have a bit more errors than VM 3254 published by Eliot, notably due to
> elementsForwardIdentityTo: failed.
> > This is caused when trying to restore an ImageSegment.
> > Presumably triggered because two globals DummyUIManager and MVCUIManager
> are instances of ImageSegmentRootStub.
> > I really don't know why they are... When I run the image with official
> VM, they are not.
> >
> > I saw that many of the Xcode projects still try to force usage of gcc
> 4.2 and I had to change them.
> > What is the status of LLVM compilation currently?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20150319/08af6cd7/attachment-0001.htm


More information about the Vm-dev mailing list