Skip to content

Build failing in Mac OS 10.9.2 - Apple LLVM version 5.1 (clang-503.0.40) #106

@varadharajan

Description

@varadharajan

"make" fails with the below error. On further analysis, Looks like "-bundle_loader" has been specified twice and that is causing the issue. When i remove one of the -bundle_loader duplicates, it compiles fine for me. May be @rdunklau can give more inputs on this?

shell -> make
Python version is 2.7
clang -I/usr/local/Cellar/ossp-uuid/1.6.2/include -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -bundle -multiply_defined suppress -o multicorn.so src/errors.o src/python.o src/query.o src/multicorn.o -L/usr/local/Cellar/postgresql/9.3.4/lib -L/usr/local/Cellar/ossp-uuid/1.6.2/lib -Wl,-dead_strip_dylibs -undefined dynamic_lookup -bundle_loader /usr/local/Cellar/postgresql/9.3.4/bin/postgres -bundle_loader /usr/local/Cellar/postgresql/9.3.4/bin/postgres -ldl -framework CoreFoundation -lpython2.7 -L/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config -ldl -framework CoreFoundation -lpython2.7
0 0x1030c70e7 assert_rtn + 144
1 0x10312ebb5 ld::tool::OutputFile::compressedOrdinalForAtom(ld::Atom const
) + 281
2 0x10312f762 ld::tool::OutputFile::addDyldInfo(ld::Internal&, ld::Internal::FinalSection
, ld::Atom const_, ld::Fixup_, ld::Fixup_, ld::Fixup_, ld::Atom const_, ld::Atom const_, unsigned long long, unsigned long long) + 2062
3 0x103125812 ld::tool::OutputFile::generateLinkEditInfo(ld::Internal&) + 1322
4 0x103120cce ld::tool::OutputFile::write(ld::Internal&) + 116
5 0x1030c7d94 main + 1012
6 0x7fff91f635fd start + 1
A linker snapshot was created at:
/tmp/multicorn.so-2015-07-08-122548.ld-snapshot
ld: Assertion failed: (0 && "dylib not assigned ordinal"), function compressedOrdinalForAtom, file /SourceCache/ld64/ld64-236.4/src/ld/OutputFile.cpp, line 3458.
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [multicorn.so] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions