[Buildroot] [PATCH] package/gcc: fix xtensa uclinux code generation

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu Nov 8 10:35:33 UTC 2018


Hello Max,

On Wed,  7 Nov 2018 13:20:50 -0800, Max Filippov wrote:
> xtensa-uclinux uses bFLT executable file format that cannot relocate
> fields representing offsets from data to code. C++ objects built as PIC
> use offsets to encode FDE structures. As a result C++ exception handling
> doesn't work correctly on xtensa-uclinux. Don't use PIC by default on
> xtensa-uclinux.
> 
> Signed-off-by: Max Filippov <jcmvbkbc at gmail.com>

Do we actually support xtensa-uclinux (i.e noMMU Xtensa with BFLT) in
the context of Buildroot ?

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list