Summary: | sys-devel/crossdev: building gcc fails when AR, NM & RANLIB set in /etc/portage/make.conf | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mike Lothian <mike> |
Component: | Current packages | Assignee: | Gentoo Crossdev team <crossdev> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | cross, jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Stage 2 build error |
Description
Mike Lothian
2020-05-17 11:07:06 UTC
Created attachment 639802 [details]
Stage 2 build error
Yeah, cross-x86_64-w64-mingw32/gcc is tricky. It's techicaly a package that is not cross-compiled, but is a cross-compiler itself. It has to distinct between AR_FOR_BOUL/AR_FOR_HOST/AR_FOR_TARGET. I think AR= makes all 3 being lumped together. I need to explore it a bit more but it's probably 2 things: - toolchain.eclass assumes AR= to be applied for HOST - toolchain-funcs.eclass's tc-getAR has a nasty fallback from CTARGET to CHOST of CTARGET is not present. |