Summary: | sys-devel/binutils-apple: Update to 4.1 | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Charles Davis <cdavis5x> |
Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
Status: | VERIFIED FIXED | ||
Severity: | enhancement | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | OS X | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Charles Davis
2011-05-11 03:48:26 UTC
with the only problem that 4.0 is a total rewrite from scratch which needs 4 or 5 missing libraries to compile If you're interested, I've got a skeleton/partly working ebuild here. 3.2.6 is in the tree now, which is what was shipped when apple also released the latest compiler we have in the tree. That should solve this bug. I also added the 4.0 ebuild in case you want to play around to try and get it to build. Thanks. Unfortunately, this doesn't solve the problem that prompted me to file this bug in the first place. I'll file a new bug for that issue. And yes, I have been playing with the 4.0 ebuild. FWIW (I know this is closed), but I burned most of a day trying to get binutils-4.0 building. Needs dyld-132.13 and libunwind-30 added to the list of needed libraries, but I finally just gave up when dyld-132.13 needed a nonexistent coreSymbolicationDyldSupport.hpp. Couldn't find it anywhere - XCode 4.1 on 10.7, CHOST=x86_64-apple-darwin11. Was really hoping for a linker that would understand AVX. What are the chances of making a binutils-config profile that just uses the system's available tools? native-cctools is the thing you're looking for. Would you mind sharing your work sofar? You seem to have come a bit further than I did at the time. life's much nicer on a i7 (compared to a single G5/2GHz) I've got 4.1 to compile here with some patience and lots of recompiles. Ok, I'll commit this binutils-apple, but no keywords yet, as I don't trust this thing to be able to do anything useful at the moment. At least it seems to be able to successfully link and assemble the 3.2.6 version. It's slotted with the 3.x series, so you can install it without necessarily nuking your system immediately. % ld -v @(#)PROGRAM:ld PROJECT:ld64-123.2.1 (Gentoo binutils-apple-4.1) Library search paths: /Library/Gentoo/usr/x86_64-apple-darwin11/lib/gcc /Library/Gentoo/usr/x86_64-apple-darwin11/lib /Library/Gentoo/usr/lib /Library/Gentoo/lib /usr/lib /usr/local/lib Framework search paths: /Library/Frameworks/ /System/Library/Frameworks/ ld: warning: -arch not specified ld: no object files specified for inferred architecture x86_64 Excellent! The 4.1 tools seem to work just fine. I was able to build gcc-apple with them, as well as several other ebuilds. Thanks for the feedback. It looks ok here too. |