Opened 15 years ago

Closed 14 years ago

#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: mamoll (Mark Moll)
Port: gcc43

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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 (3)

Portfile.diff (495 bytes) - added by howarth@… 15 years ago.
portfile diff for darwin10 and i386 multilib backports for gcc43.
darwin10.diff (2.5 KB) - added by howarth@… 15 years ago.
fix hard coded instances of darwin9 for darwin 10 and later.
i386_multilib.diff (420 bytes) - added by howarth@… 15 years ago.
add support for i386 multilib for x86_64-apple-darwin target.

Download all attachments as: .zip

Change History (12)

Changed 15 years ago by howarth@…

Attachment: Portfile.diff added

portfile diff for darwin10 and i386 multilib backports for gcc43.

Changed 15 years ago by howarth@…

Attachment: darwin10.diff added

fix hard coded instances of darwin9 for darwin 10 and later.

Changed 15 years ago by howarth@…

Attachment: i386_multilib.diff added

add support for i386 multilib for x86_64-apple-darwin target.

comment:1 Changed 15 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:2 Changed 15 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to mww@…

comment:3 Changed 15 years ago by stephane.bachelier@…

Cc: stephane.bachelier@… added

Cc Me!

comment:4 Changed 15 years ago by stephane.bachelier@…

Cc: stephane.bachelier@… removed

Cc Me!

comment:5 Changed 15 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.

comment:6 Changed 15 years ago by mamoll (Mark Moll)

Cc: mmoll@… added

Cc Me!

comment:7 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:8 Changed 14 years ago by jmroot (Joshua Root)

Applied in r69846, but building with multilib still doesn't work. CC=build/i386/./prev-gcc/xgcc is used when configuring in build/i386/zlib, but that path doesn't exist.

comment:9 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Apparently using --enable-multilib is different to omitting --disable-multilib and letting the default kick in. r69854

Note: See TracTickets for help on using tickets.