Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 538384 - sys-devel/binutils-apple: bring ebuilds for 4.2 and 4.3 in sync with 5.1/6.1
Summary: sys-devel/binutils-apple: bring ebuilds for 4.2 and 4.3 in sync with 5.1/6.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-31 23:15 UTC by Michael Weiser
Modified: 2015-02-04 02:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuilds for binutils-apple 4.2-r1 and 4.3-r1 (binutils-apple-4.2_3-r1-ebuilds.tar.gz,21.03 KB, application/x-gzip)
2015-01-31 23:15 UTC, Michael Weiser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Weiser 2015-01-31 23:15:00 UTC
Bring the build logic for binutils-apple 4.2 and 4.3 in sync with 5.1 and 6.1. Improves the same details as in 5.1/6.1 (testsuite, version information, disable some warnings, OS X support back to 10.4, build with and without clang++, choose between libstdc++ and libc++).

Additionally:

4.3:
- backport support for OS X 10.10 from 5.1/6.1 (would otherwise think it was on 10.1 and look for a crt1.o with dyld_stub_binding_helper in it)

Tested on:
          Intel
       32bit 64bit
10.4   fine   N/A
10.5   fine  fine
10.6   fine  fine
10.7   fine  fine
10.8   fine1 fine1
10.9   fine1 fine1
10.10   N/A  fine1

4.2:
- support 10.4 PPC

Tested on:
          Intel        PPC
       32bit 64bit    32bit
10.4   fine   N/A    fine2
10.5   fine   fine    fine2
10.6   fine   fine    N/A
10.7   fine   fine    N/A
10.8   fine1  fine1   N/A
10.9   fine1  fine1   N/A
10.10   N/A   fine    N/A

fine: compiles and installs and can be used to compile another USE flag combination of itself with gcc-apple and clang -stdlib=libc++

fine1: does not work with clang because clang expects it to find main entry start without crt1.o glue object which it doesn't support - use binutils-apple-5.1/6.1 instead

fine2: not tested with clang (yet)

Rationale: 4.2 is the last version with PPC support. 4.3 was in use for a long time and should remain available and working for comparison with the new tools. It would however stop working when the masking of 10.10 to 10.9 is dropped.

BTW: ${FILESDIR}/cctools-839-lto.patch can be removed. It's not used.

Already existing patches should of course be identical. The only new patches are:

binutils-apple-4.2-globals-extern.patch
ld64-127.2-Makefile
ld64-127.2-extraneous-headers.patch
ld64-127.2-thread_state.patch
ld64-128.2-1010.patch
ld64-128.2-Makefile-2

Reproducible: Always
Comment 1 Michael Weiser 2015-01-31 23:15:28 UTC
Created attachment 395280 [details]
ebuilds for binutils-apple 4.2-r1 and 4.3-r1
Comment 2 Fabian Groffen gentoo-dev 2015-02-03 21:12:54 UTC
I've added the files from your tar.gz.gz :)
Comment 3 Michael Weiser 2015-02-04 02:21:11 UTC
Thanks and sorry. Dunno how I managed .gz.gz.