Summary: | sys-devel/binutils-apple-4.3: build failure: gcc needs __has_feature instead of clang's __has_extension | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Guilherme Amadio <amadio> |
Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | amadio, craxyz |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | OS X | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 527514 | ||
Attachments: |
build-log.txt
binutils-apple-4.3-gcc.patch binutils-apple-4.3-r1.ebuild |
Description
Guilherme Amadio
2014-11-01 01:32:23 UTC
Created attachment 387916 [details]
build-log.txt
Created attachment 387918 [details, diff]
binutils-apple-4.3-gcc.patch
This patch fixes build problems with gcc-apple.
Created attachment 387920 [details]
binutils-apple-4.3-r1.ebuild
Ebuild that applies patch above.
this should be the same patch as I did to gcc, right? I'm not sure, because I don't know what you did to GCC. Is there a bug for reference? The patch is quite simple if want to look at it. Yes, I guess it's a minor variation of the same thing. Do you have a working prefix too at this point? I think this was the last fix I needed. nope, I don't. I hope to find time to patch Clang so we can bootstrap with Clang and fix all these problems. What do we need to do to be able to bootstrap with clang? I know we need to tweak the profile, and somehow use gcc-config to set clang as system compiler, but I'm not familiar enough with these things to know what to do yet. Maybe if you could give me some tips I could start working on it. Fixed for now due to using clang for python. |