[MacPorts] #16745: Allow macports to compile with apple's gcc 4.2
#16745: Allow macports to compile with apple's gcc 4.2 -------------------------------------------------+-------------------------- Reporter: illogical1@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: fix compilation gcc 4.2 apple-gcc42 | Port: expat giflib ilmbase jasper lcms libgpg-error libvorbis lzmautils openexr subversion tiff flac pth -------------------------------------------------+-------------------------- The following Portfile patches allow compilation with apple's gcc 4.2. Tested on 10.4. -- Ticket URL: <http://trac.macports.org/ticket/16745> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16745: Allow macports to compile with apple's gcc 4.2 -----------------------------------------------------------------------------------------------------------------+ Reporter: illogical1@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: fix compilation gcc 4.2 apple-gcc42 Port: expat giflib ilmbase jasper lcms libgpg-error libvorbis lzmautils openexr subversion tiff flac pth | -----------------------------------------------------------------------------------------------------------------+ Comment(by illogical1@gmail.com): universal_build_boost-jam.diff is for another ticket. -- Ticket URL: <http://trac.macports.org/ticket/16745#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16745: Allow macports to compile with apple's gcc 4.2 -----------------------------------------------------------------------------------------------------------------+ Reporter: illogical1@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: fix compilation gcc 4.2 apple-gcc42 Port: expat giflib ilmbase jasper lcms libgpg-error libvorbis lzmautils openexr subversion tiff flac pth | -----------------------------------------------------------------------------------------------------------------+ Comment(by afb@macports.org): What is the failure with apple gcc 4.2 on tiger, without the patch applied ? -- Ticket URL: <http://trac.macports.org/ticket/16745#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16745: Allow macports to compile with apple's gcc 4.2 -----------------------------------------------------------------------------------------------------------------+ Reporter: illogical1@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: fix compilation gcc 4.2 apple-gcc42 Port: expat giflib ilmbase jasper lcms libgpg-error libvorbis lzmautils openexr subversion tiff flac pth | -----------------------------------------------------------------------------------------------------------------+ Comment(by illogical1@gmail.com): the failure on tiger is /usr/libexec/gcc/i686-apple-darwin8/4.2.1/ld: unknown flag: -compatibility_version If the ${wl} is remove then the error goes away as nothing gets passed to the linker. -- Ticket URL: <http://trac.macports.org/ticket/16745#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16745: Allow macports to compile with apple's gcc 4.2 -----------------------------------------------------------------------------------------------------------------+ Reporter: illogical1@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: fix compilation gcc 4.2 apple-gcc42 Port: expat giflib ilmbase jasper lcms libgpg-error libvorbis lzmautils openexr subversion tiff flac pth | -----------------------------------------------------------------------------------------------------------------+ Comment(by illogical1@gmail.com): This is only a problem when apple's gcc 4.2 is used in tiger, as I realized while talking to afb on irc. I'll have to test whether updating libtool fixes this. So the status is this on tiger with gcc 4.0, compilation works. on leopard with gcc 4.2, compilation works (for the one port I tested). on tiger with gcc 4.2 compilation breaks @ linking. -- Ticket URL: <http://trac.macports.org/ticket/16745#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16745: Allow macports to compile with apple's gcc 4.2 -----------------------------------------------------------------------------------------------------------------+ Reporter: illogical1@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: fix compilation gcc 4.2 apple-gcc42 Port: expat giflib ilmbase jasper lcms libgpg-error libvorbis lzmautils openexr subversion tiff flac pth | -----------------------------------------------------------------------------------------------------------------+ Comment(by boeyms@macports.org): Replying to [comment:4 illogical1@…]:
I'll have to test whether updating libtool fixes this. As the current maintainer of libtool (I'd be happy to hand this job to someone who uses it more frequently than I do), I'd just like to mention that it seems that the current libtool port will need to be split into one for the 1.5.x line and one for 2.x, as at least one port (libxslt) builds with the former but fails to build with the latter.
-- Ticket URL: <http://trac.macports.org/ticket/16745#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16745: Allow macports to compile with apple's gcc 4.2 -------------------------------------------------+-------------------------- Reporter: illogical1@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: fix compilation gcc 4.2 apple-gcc42 | Port: expat giflib ilmbase jasper lcms libgpg-error libvorbis lzmautils openexr subversion tiff flac pth -------------------------------------------------+-------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: @boeyms: we now have the libtool port for version 2 and the libtool1 port for version 1. @illogical1: ports compile with whatever compiler they've selected with ${configure.compiler}, which by default is gcc 4.0 on Tiger and Leopard. Apple doesn't even provide a gcc 4.2 on Tiger. So how are you running into this problem at all? -- Ticket URL: <http://trac.macports.org/ticket/16745#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16745: Allow macports to compile with apple's gcc 4.2 -------------------------------------------------+-------------------------- Reporter: illogical1@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: fix compilation gcc 4.2 apple-gcc42 | Port: expat giflib ilmbase jasper lcms libgpg-error libvorbis lzmautils openexr subversion tiff flac pth -------------------------------------------------+-------------------------- Comment(by illogic-al@…): Replying to [comment:6 ryandesign@…]:
@boeyms: we now have the libtool port for version 2 and the libtool1 port for version 1.
@illogical1: ports compile with whatever compiler they've selected with ${configure.compiler}, which by default is gcc 4.0 on Tiger and Leopard. Apple doesn't even provide a gcc 4.2 on Tiger. So how are you running into this problem at all? I installed gcc-4.2 on Tiger, reason being 4.0.1 is too bug ridden to compile KDE4 properly. Which brings us to: ticket #16666
-- Ticket URL: <http://trac.macports.org/ticket/16745#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16745: Allow macports to compile with apple's gcc 4.2 -------------------------------------------------+-------------------------- Reporter: illogical1@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: fix compilation gcc 4.2 apple-gcc42 | Port: expat giflib ilmbase jasper lcms libgpg-error libvorbis lzmautils openexr subversion tiff flac pth -------------------------------------------------+-------------------------- Comment(by toby@…): What's the deal here? Most of the ports listed compile fine with gcc 4.2 -- Ticket URL: <http://trac.macports.org/ticket/16745#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16745: Allow macports to compile with apple's gcc 4.2 -------------------------------------------------+-------------------------- Reporter: illogical1@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: fix compilation gcc 4.2 apple-gcc42 | Port: expat giflib ilmbase jasper lcms libgpg-error libvorbis lzmautils openexr subversion tiff flac pth -------------------------------------------------+-------------------------- Comment(by illogic-al@…): Replying to [comment:9 toby@…]:
What's the deal here? Most of the ports listed compile fine with gcc 4.2 Was/Is a problem on 10.4 which has a problem w/ -Wno-long-double and some other stuff I forget.
-- Ticket URL: <http://trac.macports.org/ticket/16745#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16745: Allow macports to compile with apple's gcc 4.2 -----------------------------------------------------------------------------------------------------------------+ Reporter: illogical1@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: wontfix | Keywords: fix compilation gcc 4.2 apple-gcc42 Port: expat giflib ilmbase jasper lcms libgpg-error libvorbis lzmautils openexr subversion tiff flac pth | -----------------------------------------------------------------------------------------------------------------+ Changes (by jmr@…): * status: new => closed * resolution: => wontfix -- Ticket URL: <http://trac.macports.org/ticket/16745#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16745: Allow multiple ports to compile with apple's gcc 4.2 on tiger -----------------------------------------------------------------------------------------------------------------+ Reporter: illogical1@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: wontfix | Keywords: fix compilation gcc 4.2 apple-gcc42 Port: expat giflib ilmbase jasper lcms libgpg-error libvorbis lzmautils openexr subversion tiff flac pth | -----------------------------------------------------------------------------------------------------------------+ -- Ticket URL: <http://trac.macports.org/ticket/16745#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts