[llvm-commits] [llvm] r67469 - /llvm/trunk/Makefile.rules

Mike Stump mrs at apple.com
Fri Mar 27 08:01:23 PDT 2009


On Mar 26, 2009, at 11:18 PM, Julien Lerouge wrote:
> Here is the output on ppc, it seems to be the same thing on intel.
>
> g++ -I/Users/buildbot/buildbot/llvm-src/include -I/Users/buildbot/ 
> buildbot/llvm-src/lib/Transforms/Hello -I/Users/buildbot/buildbot/ 
> llvm/llvm-build/include -I/Users/buildbot/buildbot/llvm/llvm-build/ 
> lib/Transforms/Hello  -D_DEBUG  -D_GNU_SOURCE -D__STDC_LIMIT_MACROS - 
> D__STDC_CONSTANT_MACROS -O3  -fno-exceptions -fno-common  - 
> Woverloaded-virtual  -mmacosx-version-min=10.4  -pedantic -Wall -W - 
> Wwrite-strings -Wno-long-long -Wunused -Wno-unused-parameter  - 
> fstrict-aliasing -Wstrict-aliasing -O3  -module -L/Users/buildbot/ 
> buildbot/llvm/llvm-build/Release/lib -L/Users/buildbot/buildbot/llvm/ 
> llvm-build/Release/lib  -Wl,-flat_namespace -Wl,-undefined - 
> Wl,suppress -Wl,-dylib

Ick, this is wrong, try just -dynamiclib instead.

>>>> -  SharedLinkOptions=-Wl,-flat_namespace -Wl,-undefined - 
>>>> Wl,suppress -dylib \
>>>> +  SharedLinkOptions=-Wl,-flat_namespace -Wl,-undefined - 
>>>> Wl,suppress -Wl,-dylib \
>>>>                     -mmacosx-version-min=$(DARWIN_VERSION)

Yup, right there.



More information about the llvm-commits mailing list