Date: Sun, 29 Sep 2019 09:07:14 -0400 From: Brian Bostwick <bostwick.brian@gmail.com> To: freebsd-arm@freebsd.org Subject: Building world and kernel on RPI3 B+ compilation failure, unwind-dw2.c. Message-ID: <CAM9he-Woj3gkiGPb%2BWTOq7y8kcRjG2RjPBLsXYhk-QayZx75HA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAM9he-Woj3gkiGPb%2BWTOq7y8kcRjG2RjPBLsXYhk-QayZx75HA>