New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #29082 (closed defect: fixed)

Opened 2 years ago

Last modified 23 months ago

ld64 install fails if xcode is installed in a non-standard location

Reported by: smparkes@… Owned by: mfeiri@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: ryandesign@…
Port: ld64

Description

I install xcode in nonstandard locations (i have xcode 3 and xcode 4 installed). A little stuff is still installed in /Developer, but not /Developer/usr.

The ld64 build tries to run this command which fails because it's looking /Developer/usr (-Wl,-lazy_library,/Developer/usr/lib/libLTO.dylib)

/Developer326/usr/bin/g++-4.2 -arch x86_64 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ld64/work/ld64-123.2/build/Release -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ld64/work/ld64-123.2/build/Release -filelist /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ld64/work/ld64-123.2/build/ld64.build/Release/ld.build/Objects-normal/x86_64/ld.LinkFileList -mmacosx-version-min=10.6 -Wl,-lazy_library,/Developer/usr/lib/libLTO.dylib -Wl,-exported_symbol,__mh_execute_header -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ld64/work/ld64-123.2/build/Release/ld

Change History

comment:1 Changed 2 years ago by ryandesign@…

  • Owner changed from macports-tickets@… to mfeiri@…
  • Cc mfeiri@… removed

comment:2 Changed 23 months ago by ryandesign@…

  • Status changed from new to closed
  • Cc ryandesign@… added
  • Resolution set to fixed

r80308 ought to resolve this; please re-open if not.

Note: See TracTickets for help on using tickets.