[MacPorts] #13475: universal_cflags in 10.5 cause linking issue
#13475: universal_cflags in 10.5 cause linking issue -------------------------------+-------------------------------------------- Reporter: gzjjgod@gmail.com | Owner: wsiegrist@apple.com Type: defect | Status: new Priority: Normal | Milestone: Component: infrastructure | Version: 1.5.2 Keywords: | -------------------------------+-------------------------------------------- If we use the default configure.universal_cflags to build universal binary in Mac OS X 10.5, error like ld: library not found for -lcrt1.10.5.o will happend. See also http://lists.apple.com/archives/Xcode- users/2007/Oct/msg00686.html This patch fixed this by adding "-mmacosx-version-min=10.4" into default configure.universal_cflags. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13475> MacPorts </projects/macports> Ports system for Mac OS
#13475: universal_cflags in 10.5 cause linking issue --------------------------------+------------------------------------------- Reporter: gzjjgod@gmail.com | Owner: jmpp@macports.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.5.2 Resolution: | Keywords: --------------------------------+------------------------------------------- Comment (by eridius@macports.org): We target the 10.5 SDK if it exists now, so is this problem still valid? -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13475#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#13475: universal_cflags in 10.5 cause linking issue --------------------------------+------------------------------------------- Reporter: gzjjgod@gmail.com | Owner: jmpp@macports.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.5.2 Resolution: | Keywords: --------------------------------+------------------------------------------- Comment (by gzjjgod@gmail.com): No, if -isysroot /Developer/SDKs/MacOSX10.5.sdk is used, such linking problem will not happen. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13475#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#13475: universal_cflags in 10.5 cause linking issue --------------------------------+------------------------------------------- Reporter: gzjjgod@gmail.com | Owner: jmpp@macports.org Type: defect | Status: closed Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.5.2 Resolution: wontfix | Keywords: --------------------------------+------------------------------------------- Changes (by afb@macports.org): * status: new => closed * resolution: => wontfix Comment: Replying to [comment:3 eridius@macports.org]:
We target the 10.5 SDK if it exists now, so is this problem still valid?
Only if cross-developing, which isn't supported. (or if 10.5 SDK is missing, which isn't either) -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13475#comment:5> MacPorts </projects/macports> Ports system for Mac OS
#13475: universal_cflags in 10.5 cause linking issue --------------------------------+------------------------------------------- Reporter: gzjjgod@gmail.com | Owner: jmpp@macports.org Type: defect | Status: closed Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.5.2 Resolution: wontfix | Keywords: --------------------------------+------------------------------------------- Comment (by mdickens@nd.edu): At least in MacPorts 1.6.0, this ticket no longer seems to be an issue. Ticket #11267 provides a tarball that (at least in my testing) allows for python25 +universal, +framework, +universal+framework, or just plain; for both 10.4 (using the 10.4SDK for +universal) and 10.5 (using the 10.5SDK for +universal); all combinations of variants seem to work correctly. While the resulting binaries using +universal are for "i386" and "ppc", it would not be difficult to add variants to do "ppc64" and "x86_64" (though, of course, 64-bit apps are not well-tested on OSX just yet). -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13475#comment:6> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts