Opened 15 years ago

Last modified 7 years ago

#21341 assigned enhancement

fixed packaging for gcc44 — at Initial Version

Reported by: howarth@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: gcc44

Description

I am creating this submission for the packaging I placed on 20838 since there were additional problems fixed in the build beyond that specific bug. The packaging has been tested by other users on x86_64-apple-darwin10 but still needs to be tested on i386-apple-darwin*. The changes in the packaging involve...

1) Remove any attempt to 'force' the code generation to m64 because this breaks the multilib build. 2) Add the proposed config.guess patch to eliminate any need to explicitly pass the triplets on x86_64 10.6. 3) Add the patch from PR41180 to avoid the linker bug in darwin10, where static libraries created with 'ranlib -c' don't properly have duplicate symbols ignored, by removing the redundant code from the linkage. 4) Add the RedHat --disable-libjava-multilib to reduce the length and size of the build. 5) Re-enable the multilib build on powerpc-apple-darwin* since the build time will be reasonable now. 6) Add the recommended configure options of...

--with-arch=nocona --with-tune=generic --build=i686-apple-darwin${os.major} --host=i686-apple-darwin${os.major} --target=i686-apple-darwin${os.major}

on i386 darwin* for best performance (as recommended by Mike Stump of Apple compiler group).

Change History (3)

Changed 15 years ago by howarth@…

Attachment: Portfile_optimized.diff added

Portfile to fix gcc44 build and make improvements in builds

Changed 15 years ago by howarth@…

Attachment: gcc44-PR41180.diff added

patch to fix PR41180 that I have already committed to gcc trunk and 4.4 branch

Changed 15 years ago by howarth@…

Attachment: gcc44-disable-libjava.diff added

patch adding --disable-multilib-libjava that shortens and reduces the build

Note: See TracTickets for help on using tickets.