#16745 closed defect (wontfix)
Allow multiple ports to compile with apple's gcc 4.2 on tiger
Reported by: | illogical1@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | fix compilation gcc 4.2 apple-gcc42 | Cc: | ryandesign (Ryan Carsten Schmidt) |
Port: | expat giflib ilmbase jasper lcms libgpg-error libvorbis lzmautils openexr subversion tiff flac pth |
Description
The following Portfile patches allow compilation with apple's gcc 4.2. Tested on 10.4.
Attachments (14)
Change History (26)
Changed 16 years ago by illogical1@…
Attachment: | apple-gcc42_build_expat.diff added |
---|
Changed 16 years ago by illogical1@…
Attachment: | apple-gcc42_build_giflib.diff added |
---|
Changed 16 years ago by illogical1@…
Attachment: | apple-gcc42_build_ilmbase.diff added |
---|
Changed 16 years ago by illogical1@…
Attachment: | apple-gcc42_build_jasper.diff added |
---|
Changed 16 years ago by illogical1@…
Attachment: | apple-gcc42_build_lcms.diff added |
---|
Changed 16 years ago by illogical1@…
Attachment: | apple-gcc42_build_libgpg-error.diff added |
---|
Changed 16 years ago by illogical1@…
Attachment: | apple-gcc42_build_libvorbis.diff added |
---|
Changed 16 years ago by illogical1@…
Attachment: | apple-gcc42_build_lzmautils.diff added |
---|
Changed 16 years ago by illogical1@…
Attachment: | apple-gcc42_build_openexr.diff added |
---|
Changed 16 years ago by illogical1@…
Attachment: | apple-gcc42_build_subversion.diff added |
---|
Changed 16 years ago by illogical1@…
Attachment: | apple-gcc42_build_tiff.diff added |
---|
Changed 16 years ago by illogical1@…
Attachment: | apple-gcc42_build_universal_build_flac.diff added |
---|
Changed 16 years ago by illogical1@…
Attachment: | apple-gcc42_build_universal_build_pth.diff added |
---|
Changed 16 years ago by illogical1@…
Attachment: | universal_build_boost-jam.diff added |
---|
comment:1 Changed 16 years ago by illogical1@…
universal_build_boost-jam.diff is for another ticket.
comment:2 Changed 16 years ago by afb@…
What is the failure with apple gcc 4.2 on tiger, without the patch applied ?
comment:3 Changed 16 years ago by illogical1@…
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.
comment:4 follow-up: 5 Changed 16 years ago by illogical1@…
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.
comment:5 Changed 16 years ago by boeyms@…
Replying to 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.
comment:6 follow-up: 7 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|
@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?
comment:7 Changed 16 years ago by illogic-al@…
Replying to 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
comment:9 follow-up: 10 Changed 15 years ago by tobypeterson
What's the deal here? Most of the ports listed compile fine with gcc 4.2
comment:10 Changed 15 years ago by illogic-al@…
Replying to 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.
comment:11 Changed 15 years ago by jmroot (Joshua Root)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:12 Changed 15 years ago by jmroot (Joshua Root)
Summary: | Allow macports to compile with apple's gcc 4.2 → Allow multiple ports to compile with apple's gcc 4.2 on tiger |
---|
Add boost-jam patch from ticket 14064