Opened 10 years ago

Closed 10 years ago

#29082 closed defect (fixed)

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 (Ryan Schmidt)
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 (2)

comment:1 Changed 10 years ago by ryandesign (Ryan Schmidt)

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

comment:2 Changed 10 years ago by ryandesign (Ryan Schmidt)

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.