BBB image build compilation errors

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

BBB image build compilation errors

freebsd-arm mailing list
Dear all,

I'm trying to build an image for BeagleBone Black from r366684 using release.sh.
These're compilation errors I got at stage 4.2 while building libunwind:

--------------------------------------------------------------
>>> stage 4.2: building libraries
--------------------------------------------------------------
===> lib/libcompiler_rt (obj,all,install)
===> lib/libssp_nonshared (obj,all,install)
===> lib/libgcc_eh (obj,all,install)
===> lib/libgcc_s (obj,all,install)
/usr/embedded/bbb/usr/src/contrib/llvm-project/libunwind/src/UnwindLevel1-gcc-ext.c:33:27: error: must use 'struct' tag to refer to type '_Unwind_Exception'
/usr/embedded/bbb/usr/src/contrib/llvm-project/libunwind/src/UnwindLevel1-gcc-ext.c:108:19: error: unknown type name '_Unwind_Trace_Fn'; did you mean '_Unwind_Stop_Fn'?
/usr/embedded/bbb/usr/src/contrib/llvm-project/libunwind/src/UnwindLevel1-gcc-ext.c:176:66: error: too few arguments to function call, expected 6, have 2
/usr/embedded/bbb/usr/src/contrib/llvm-project/libunwind/src/UnwindLevel1-gcc-ext.c:192:55: error: declaration of 'struct dwarf_eh_bases' will not be visible outside of this function [-Werror,-Wvisibility]
...
/usr/embedded/bbb/usr/src/contrib/llvm-project/libunwind/src/UnwindLevel1.c:38:56: error: must use 'struct' tag to refer to type '_Unwind_Exception'
/usr/embedded/bbb/usr/src/contrib/llvm-project/libunwind/src/UnwindLevel1.c:93:7: error: use of undeclared identifier '_Unwind_Personality_Fn'
/usr/embedded/bbb/usr/src/contrib/llvm-project/libunwind/src/UnwindLevel1.c:97:56: error: use of undeclared identifier 'p'
/usr/embedded/bbb/usr/src/contrib/llvm-project/libunwind/src/UnwindLevel1.c:99:13: error: use of undeclared identifier 'p'
/usr/embedded/bbb/usr/src/contrib/llvm-project/libunwind/src/UnwindLevel1.c:134:56: error: must use 'struct' tag to refer to type '_Unwind_Exception'

You'll find a configuration file I used to call release.sh, make.conf, src.conf
and a full log attached to this letter.

I wonder whether this is a known problem or an incorrect configuration of mine.

Regards,
Dmitry

_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "[hidden email]"

bbb_image.conf (954 bytes) Download Attachment
bbb_image_log.txt (160K) Download Attachment
make.conf (57 bytes) Download Attachment
src.conf (91 bytes) Download Attachment