New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #22148 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

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

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

Change History

Changed 4 years ago by howarth@…

portfile diff for darwin10 and i386 multilib backports for gcc43.

Changed 4 years ago by howarth@…

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

Changed 4 years ago by howarth@…

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:2 Changed 4 years ago by jmr@…

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

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

  • Cc stephane.bachelier@… added

Cc Me!

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

  • Cc stephane.bachelier@… removed

Cc Me!

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.

comment:6 Changed 3 years ago by mmoll@…

  • Cc mmoll@… added

Cc Me!

comment:7 Changed 3 years ago by ryandesign@…

  • Description modified (diff)

comment:8 Changed 3 years ago by jmr@…

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 3 years ago by jmr@…

  • Status changed from new to closed
  • Resolution set to fixed

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.