Building world and kernel on RPI3 B+ compilation failure, unwind-dw2.c.
Brian Bostwick
bostwick.brian at gmail.com
Sun Sep 29 13:07:26 UTC 2019
Hi everyone,
I have installed the most recent image of 12.1 to my sdcard and I have an
identical image running under qemu. The release revision is @ 352868. I
have setup distcc successfully and compilation works, but it fails at this
point:
To be clear, I am compiling directly on the Pi itself and offloading jobs
to an arm qemu instance on a faster computer. As far as I know the images
running are the same.
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1396:3: error:
cannot compile this __builtin_init_dwarf_reg_size_table yet
__builtin_init_dwarf_reg_size_table (dwarf_reg_size_table);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
distcc[74549] ERROR: compile
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c on localhost
failed
*** [unwind-dw2.o] Error code 1
make[4]: stopped in /usr/src/gnu/lib/libgcc
1 error
make[4]: stopped in /usr/src/gnu/lib/libgcc
*** [gnu/lib/libgcc__PL] Error code 2
make[3]: stopped in /usr/src
--- lib/libcompiler_rt__PL ---
A failure has been detected in another branch of the parallel make
make[4]: stopped in /usr/src/lib/libcompiler_rt
*** [lib/libcompiler_rt__PL] Error code 2
make[3]: stopped in /usr/src
2 errors
make[3]: stopped in /usr/src
*** [libraries] Error code 2
make[2]: stopped in /usr/src
1 error
make[2]: stopped in /usr/src
*** [_libraries] Error code 2
make[1]: stopped in /usr/src
1 error
make[1]: stopped in /usr/src
*** [buildworld] Error code 2
make: stopped in /usr/src
1 error
make: stopped in /usr/src
It seems a similar problem happened for someone in this StackOverflow
thread,
https://stackoverflow.com/questions/53786496/clang-error-cannot-compile-builtin-function-yet.
However this person was compiling the Linux kernel and it looks like they
used GCC to get around the issue, which I don't think I can do here?
More information about the freebsd-arm
mailing list