Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#43729 closed defect (fixed)

ld64 @236.3_1: build failure on 10.8 and earlier

Reported by: dbevans (David B. Evans) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jwhowse4, hapaguy (Brian Kurt Fujikawa), cjones051073 (Chris Jones)
Port: ld64

Description

When building on OS X 10.8 and earlier build fails as follows:

/usr/bin/clang++ -Os -Os -stdlib=libstdc++ -arch x86_64 -I/opt/local/libexec/llvm-3.3/include -DLTO_SUPPORT -Isrc/abstraction -Isrc/ld -Isrc/ld/parsers -I/opt/local/include  -c -o src/other/dyldinfo.o src/other/dyldinfo.cpp
In file included from src/other/ObjectDump.cpp:35:
In file included from src/ld/parsers/macho_relocatable_file.h:28:
src/ld/ld.hpp:35:10: fatal error: 'unordered_set' file not found
#include <unordered_set>
         ^
In file included from src/ld/parsers/macho_relocatable_file.cpp:50:
src/ld/ld.hpp:35:10: fatal error: 'unordered_set' file not found
#include <unordered_set>
         ^
In file included from src/ld/parsers/lto_file.cpp:42:
src/ld/ld.hpp:35:10: fatal error: 'unordered_set' file not found
#include <unordered_set>
         ^
1 error generated.
make: *** [src/other/ObjectDump.o] Error 1

Observed locally and on buildbots. Build log (10.8) attached.

Attachments (1)

main.log (25.3 KB) - added by dbevans (David B. Evans) 11 years ago.
ML log showing build error

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by dbevans (David B. Evans)

Attachment: main.log added

ML log showing build error

comment:1 Changed 11 years ago by jwhowse4

Cc: jwhowse4@… added

Cc Me!

comment:2 Changed 11 years ago by jwhowse4

I get the same error on OS X 10.8 building with llvm-3.4.

comment:3 Changed 11 years ago by hapaguy (Brian Kurt Fujikawa)

Cc: brian.fujikawa@… added

Cc Me!

comment:4 Changed 11 years ago by cjones051073 (Chris Jones)

Cc: jonesc@… added

Cc Me!

comment:5 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed

comment:6 Changed 11 years ago by RJVB (René Bertin)

The portfile would need to blacklist gcc-4.2 on OS X 10.6 ..

Note: See TracTickets for help on using tickets.