Closed immolo closed 11 months ago
As said on irc:
22:28 <jvoisin> q66: https://github.com/jvoisin/fortify-headers/issues/21 I'm open to suggestions, because I have no idea what's going on there
22:30 <@q66> the failing command is not included
22:31 <@q66> and i'm not gonna set up gentoo just because that guy hasn't included any details
22:32 <jvoisin> likely emerging some stuff
22:33 <@q66> tell him to include info about what exactly in the configure script failed
22:33 <jvoisin> but yeah, fair point
22:34 <@q66> chances are if we have the failing command and its output it will become obvious
as well as:
22:38 <nsz> jvoisin: "checking for C compiler... gcc" is probably not what you want for 'cross-mipsel-linux-musl' toolchain
22:39 <nsz> "checking preprocessor condition _MIPSEL || __MIPSEL || __MIPSEL__... false" is also wrong
What part do you want exactly? I'll be back home at the weekend so I can grab you that file then.
It looks like you're not really cross-compiling, so odds are it's a toolchain issue.
It looks like you're not really cross-compiling, so odds are it's a toolchain issue.
I'm building the cross toolchain.
i think you should feel free to close that one without some sort of proper steps to reproduce
Throwing @thesamesam under the bus
I think this probably needs wiring on the Gentoo side to build fortify-headers
as a proper cross package within the sysroot and I don't think there's much to do here on this side.
I've been testing using these headers on one of Gentoo build servers and found an issue where crossdev (Gentoo's cross compile toolchain tool) can no longer build musl toolchains.
This was an old bug in Gentoo which was solved a long time ago ( https://bugs.gentoo.org/498114 ) but for some reason when fortify headers is enabled it fails but disabling it makes it work again. I'm stumped as to what could be the cause but more than happy to test any suggestions while I keep looking into possible causes as I really don't know why these headers are causing the issue.
Error:
Steps to reproduce:
/etc/portage/patches/sys-devel/gcc
emerge -va sys-devel/gcc
emerge -va sys-devel/crossdev
crossdev -s4 mipsel-unknown-linux-musl
Full build log: