[Buildroot] Xtensa toolchain issue ?
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Wed Jan 2 10:21:30 UTC 2019
Hello Max,
We have a build failure of the libtorrent-rasterbar package that seems
to be toolchain related, and happens on Xtensa:
http://autobuild.buildroot.net/?reason=libtorrent-rasterbar-1.1.11
The failure looks like this:
In file included from peer_connection.cpp:56:0:
../include/libtorrent/peer_connection.hpp:550:8: error: generic thunk code fails for method 'virtual void libtorrent::peer_connection::_ZThn96_NK10libtorrent15peer_connection8peer_logENS_14peer_log_alert11direction_tEPKcS4_z(libtorrent::peer_log_alert::direction_t, const char*, const char*, ...) const' which uses '...'
void peer_log(peer_log_alert::direction_t direction
^~~~~~~~
CXX packet_buffer.lo
It is worth mentioning though that the exact same issue happens on the
OpenRISC architecture, and that Xtensa and OpenRISC seem to be the two
only affected architectures.
It is apparently a bug in gcc 7.x, that has been fixed in gcc 8.x,
according to https://bugzilla.redhat.com/show_bug.cgi?id=1511021, but
this bug report doesn't give any detail on which commit could have
fixed that.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list