[MacPorts] #46640: ld64 @136_3 +llvm34+universal (i386 + x86_64 + ppc): build fails with "'OSAtomicAdd64' was not declared in this scope" and "#error unknown default architecture"
MacPorts
noreply at macports.org
Tue Jan 20 20:04:35 PST 2015
#46640: ld64 @136_3 +llvm34+universal (i386 + x86_64 + ppc): build fails with
"'OSAtomicAdd64' was not declared in this scope" and "#error unknown
default architecture"
----------------------+------------------------
Reporter: larryv@… | Owner: jeremyhu@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Keywords: | Port: ld64
----------------------+------------------------
This is on Snow Leopard; I haven’t tried Leopard yet.
{{{
:info:build /usr/bin/g++-4.2 -Os -Os -arch x86_64 -arch i386 -arch ppc
-I/opt/local/libexec/llvm-3.4/include -DLTO_SUPPORT -Isrc/abstraction
-Isrc/ld -Isrc/ld/parsers -I/opt/local/include -c -o src/ld/InputFiles.o
src/ld/InputFiles.cpp
:info:build src/ld/InputFiles.cpp:667:3: error: #error unknown default
architecture
:info:build src/ld/InputFiles.cpp: In member function ‘ld::File*
ld::tool::InputFiles::makeFile(const Options::FileInfo&, bool)’:
:info:build src/ld/InputFiles.cpp:282: error: ‘OSAtomicAdd64’ was not
declared in this scope
:info:build src/ld/InputFiles.cpp:290: error: ‘OSAtomicAdd64’ was not
declared in this scope
:info:build src/ld/InputFiles.cpp:312: error: ‘OSAtomicAdd64’ was not
declared in this scope
:info:build fatal error: lipo: can't figure out the architecture type of:
/opt/local/var/macports/build/_Users_larryv_Projects_MacPorts_git_trunk_dports_devel_ld64/ld64/work/.tmp/ccoYDVjJ.out
:info:build make: *** [src/ld/InputFiles.o] Error 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/46640>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list