[MacPorts] #26886: ld64 @97.14_0 fails to build on x86_64 SL
#26886: ld64 @97.14_0 fails to build on x86_64 SL ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: mfeiri@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: ld64 ------------------------------+--------------------------------------------- Getting the following build error when trying to update to @97.14_0 (from @85.2.1_0) {{{ :info:build === BUILD AGGREGATE TARGET all OF PROJECT ld64 WITH THE DEFAULT CONFIGURATION (Release) === :info:build Check dependencies :info:build ** BUILD FAILED ** :info:build :info:build :info:build The following build commands failed: :info:build ld: :info:build Ld /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ld64/work/ld64-97.14/build/Release/ld normal x86_64 :info:build (1 failure) }}} full debug log attached. -- Ticket URL: <https://trac.macports.org/ticket/26886> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26886: ld64 @97.14_0 fails to build on x86_64 SL ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: mfeiri@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: ld64 ------------------------------+--------------------------------------------- Changes (by mfeiri@…): * status: new => assigned Comment: According to your log the linker used by xcodebuild does not understand the -no_pie flag. This is strange because xcodebuild uses the compiler toolchain in /Developer/usr/ and the linker at /Developer/usr/bin/ld in 10.6 should understand this flag. Could you please try to find out which exact version of ld is being used by xcodebuild on your machine? -- Ticket URL: <https://trac.macports.org/ticket/26886#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26886: ld64 @97.14_0 fails to build on x86_64 SL ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: mfeiri@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: ld64 ------------------------------+--------------------------------------------- Comment(by ram@…): Is this what you're after? {{{ $ which ld /opt/local/bin/ld $ ld -v @(#)PROGRAM:ld PROJECT:ld64-97.2 llvm version 2.8 $ which ld /opt/local/bin/ld $ ld -v @(#)PROGRAM:ld PROJECT:ld64-97.2 llvm version 2.8 $ port provides /opt/local/bin/ld /opt/local/bin/ld is provided by: ld64 $ port installed ld64 The following ports are currently installed: ld64 @85.2.1_0 (active) $ }}} The other `ld` I have is the system version: {{{ $ /usr/bin/ld -v @(#)PROGRAM:ld PROJECT:ld64-97.2 llvm version 2.6svn, Apple Build #2207-05 $ }}} neither like the -no_pie option: {{{ $ /usr/bin/ld -no_pie ld: unknown option: -no_pie $ /opt/local/bin/ld -no_pie ld: unknown option: -no_pie $ }}} -- Ticket URL: <https://trac.macports.org/ticket/26886#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26886: ld64 @97.14_0 fails to build on x86_64 SL ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: mfeiri@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: ld64 ------------------------------+--------------------------------------------- Comment(by mfeiri@…): Ah, that's it. A version of ld64 >= 97.6 is required to build ld64
=97.11. Please update your Xcode from 3.2.2 to 3.2.3. I'll include a "minimum_xcodeversions" check in the Portfile if this solves your problem.
-- Ticket URL: <https://trac.macports.org/ticket/26886#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26886: ld64 @97.14_0 fails to build on x86_64 SL ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: mfeiri@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: ld64 ------------------------------+--------------------------------------------- Comment(by ram@…): Thanks, updated to Xcode 3.2.4 and it builds now. I really wish Xcode updates where available through Software Update... -- Ticket URL: <https://trac.macports.org/ticket/26886#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26886: ld64 @97.14_0 fails to build on x86_64 SL ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: mfeiri@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: ld64 ------------------------------+--------------------------------------------- Comment(by jmr@…): Replying to [comment:4 ram@…]:
I really wish Xcode updates where available through Software Update... They are, that's how I installed at least 3.2.3 and 3.2.4.
-- Ticket URL: <https://trac.macports.org/ticket/26886#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26886: ld64 @97.14_0 fails to build on x86_64 SL -------------------------------+-------------------------------------------- Reporter: ram@… | Owner: mfeiri@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: fixed | Keywords: Port: ld64 | -------------------------------+-------------------------------------------- Changes (by mfeiri@…): * status: assigned => closed * resolution: => fixed Comment: Fixed in r73005 -- Ticket URL: <https://trac.macports.org/ticket/26886#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26886: ld64 @97.14_0 fails to build on x86_64 SL -------------------------------+-------------------------------------------- Reporter: ram@… | Owner: mfeiri@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: fixed | Keywords: Port: ld64 | -------------------------------+-------------------------------------------- Comment(by ram@…): Replying to [comment:5 jmr@…]:
They are, that's how I installed at least 3.2.3 and 3.2.4.
I was never prompted with 3.2.3 and 3.2.4. -- Ticket URL: <https://trac.macports.org/ticket/26886#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts