Created attachment 895983 [details] Portage Info When trying to setup a new crossdev target with either i486 or i686 glibc fails with a message saying the kernel-headers are too low. However checking the headers shows a kernel newer then 3.X. In the crossdev info it even mentions that the headers are [latest]. Trying to manually emerge glibc produces another error but I think this is due to not being able to setup the target yet. I have included both the build log and the info log when trying to build out a i486 target. NOTE: There is also this line in the build log that may be relvent to the issue. i486-unknown-linux-gnu-gcc: error: unrecognized command-line option ‘-mbranch-protection=none’; did you mean ‘-fcf-protection=none’
Created attachment 895984 [details] Glibc build log
I was able to get the merge to complete by editing the ebuild for glibc. Crossdev profile just points to the main repo's ebuild for glibc. I commented out the arch check here and just forced it to use x86 configure options. I am unsure why emerge in crossdev is picking up the host system instead of using the target system arch when doing this check. But its probably due to the way this ebuild determines the architecture? append-flags '-fcf-protection=none' # if ! use cet; then # if use amd64 || use x86; then # append-flags '-fcf-protection=none' # elif use arm64; then # append-flags '-mbranch-protection=none' # fi # fi
*** This bug has been marked as a duplicate of bug 932250 ***