Skip to content

PowerPC build of LLVM is failing on Mac OSX 10.4.11 #4239

@llvmbot

Description

@llvmbot
Bugzilla Link 3867
Resolution FIXED
Resolved on Nov 07, 2018 00:22
Version unspecified
OS MacOS X
Reporter LLVM Bugzilla Contributor

Extended Description

On rev 67548, Mac OS X 10.4.11:

$ ./configure --enable-optimized
...
$ make VERBOSE=1
...
llvm[3]: Linking Release Loadable Module LLVMHello.dylib
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 -mmacosx-version-min=10.4 -o /Users/buildbot/buildbot/llvm/llvm-build/Release/lib/LLVMHello.dylib /Users/buildbot/buildbot/llvm/llvm-build/lib/Transforms/Hello/Release/Hello.o \

/usr/bin/ld: /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../crt1.o LC_LOAD_DYLINKER load command in object file (should not be in an input file to the link editor for the output file type MH_DYLIB)
collect2: ld returned 1 exit status
make[3]: *** [/Users/buildbot/buildbot/llvm/llvm-build/Release/lib/LLVMHello.dylib] Error 1
make[2]: *** [Hello/.makeall] Error 2

Running the same command with -v:

Guess it's related to the removal of libtool ?

Thanks,
Julien

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions