Ticket #22148 (closed defect: fixed)
fix gcc43 darwin10 build and add i386 multilib using backports from gcc 4.4
| Reported by: | howarth@… | Owned by: | mww@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.1 |
| Keywords: | lang | Cc: | mmoll@… |
| Port: | gcc43 |
Description (last modified by ryandesign@…) (diff)
Backport fixes for darwin10 build and i386 multilib support on x86_64-apple-darwin target from gcc 4.4. These were introduced in the following gcc commits. Note that without the darwin10 fixes, configure makes incorrect assumptions about the features in darwin10
http://gcc.gnu.org/ml/gcc-cvs/2008-11/msg00304.html
http://gcc.gnu.org/ml/gcc-cvs/2008-12/msg00068.html
http://gcc.gnu.org/ml/gcc-cvs/2008-12/msg00067.html
http://gcc.gnu.org/ml/gcc-cvs/2008-12/msg00065.html
http://gcc.gnu.org/ml/gcc-cvs/2008-12/msg00125.html
http://gcc.gnu.org/ml/gcc-cvs/2008-12/msg00124.html
The attached packaging changes builds fine on x86_64-apple-darwin10.
Attachments
Change History
Changed 4 years ago by howarth@…
- Attachment Portfile.diff added
Changed 4 years ago by howarth@…
- Attachment darwin10.diff added
fix hard coded instances of darwin9 for darwin 10 and later.
Changed 4 years ago by howarth@…
- Attachment i386_multilib.diff added
add support for i386 multilib for x86_64-apple-darwin target.
comment:1 Changed 4 years ago by howarth@…
Note that the darwin10.diff patch differs from the commits to gcc cvs because of changes in configure[.ac] and configure.host between gcc 4.3 and gcc 4.4. The essential change is not to hard code only for darwin9 since this causes darwin10 and later to be built with the assumptions for darwin8 and earlier which is clearly wrong.
comment:5 Changed 4 years ago by howarth@…
I will look into submitting these patches for 4.3.5 release, but it is unclear if there will actually be any further gcc 4.3 releases.


portfile diff for darwin10 and i386 multilib backports for gcc43.