| Summary: | cross-arm*/gcc: nesting level exceeded when compiling cross compiler for arm with clang | ||
|---|---|---|---|
| Product: | Gentoo/Alt | Reporter: | Michael Weiser <michael> |
| Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | OS X | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Make gcc compile as cross compiler for arm using clang | ||
|
Description
Michael Weiser
2016-05-16 16:18:42 UTC
Created attachment 434438 [details, diff]
Make gcc compile as cross compiler for arm using clang
Ah, BTW, I'm not checking for compiling a cross compiler because I expect the same thing to happen when compiling using clang *on* arm for arm. Please disregard. This does not work. CFLAGS are still reset by toolchain.eclass. You need to set CFLAGS_${CTARGET//-/_}, i.e. CFLAGS_armv7ve_hardfloat_linux_gnueabi="-fbracket-depth=1024", to get them around toolchain's flags cleanliness. I've worked around it using an env snippet now.
|