emerging klibc gives an error. Enable stack unwinding support (EXPERIMENTAL) (ARM_UNWIND) [Y/n/?] (NEW) aborted! Console input/output is redirected. Run 'make oldconfig' to update configuration. make[2]: *** [silentoldconfig] Error 1 make[1]: *** [silentoldconfig] Error 2 make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop. emake failed * ERROR: dev-libs/klibc-1.5.25 failed (compile phase): * Failed to prepare kernel sources for header usage * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 2057: Called die * The specific snippet of code: * emake prepare CC="${CC}" HOSTCC="${HOSTCC}" || die "Failed to prepare kernel sources for header usage"; Reproducible: Always Steps to Reproduce: 1.emerge klibc 2. 3. Will attach build.log emerge --info and patch.
Created attachment 331936 [details] build log
Created attachment 331938 [details] emerge --info
Created attachment 331940 [details, diff] Patch to get it to build on a Rapberry Pi This is the quick hack I did to get it to compile on my Raspberry Pi. I guess it will work on all ARM.
Created attachment 362234 [details] klibc-2.0.2 build.log
Created attachment 362236 [details] klibc-2.0.2 emerge.info Bug still there. "Patch" no applicable, don't know how to make a working one sadly.
Comment on attachment 331940 [details, diff] Patch to get it to build on a Rapberry Pi Your patch is in a terrible format. Please use unified diffs, as your format does not say what file it should be applied to. You should test 2.0.3-r1 on your system and see if the problem is resolved anyway.
Created attachment 368522 [details, diff] Patch to get it to build on a Rapberry Pi I tested klibc-2.0.3-r1 but build still fail on Raspberry PI. After applying this patch build success.
Do you want to proxy maintain this? https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers
[master 677bfca] dev-libs/klibc: Fix build on Raspberry PI (#446700 by Adam Martak) 1 file changed, 2 insertions(+), 1 deletion(-)