Skip to contentSkip to conversation

U-Boot, efi-x86_app and gcc-8.1?

U-Boot Tom Rini 3 participants 4 messages May 18, 2019 – May 19, 2019

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

Hey guys,

Looking at https://travis-ci.org/trini/u-boot/jobs/534037240 this is the only board that doesn't build (having switched ARM to gcc-8.3 from Arm/Linaro) and the error is pretty odd. Do you have any idea what's going on? Thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190518/e83f4b9f/attachment.sig>
#1 lore raw

Hi Tom,

Quoted 7 lines · Tom Rini

Hey guys,

Looking at https://travis-ci.org/trini/u-boot/jobs/534037240 this is the only board that doesn't build (having switched ARM to gcc-8.3 from Arm/Linaro) and the error is pretty odd. Do you have any idea what's going on? Thanks!

I wonder if the assembler output of image.c would give any clues? I'm assuming it isn't a toolchain bug.

Regards,
Simon

#2 lore raw

Hi Tom,

Quoted 7 lines · Simon Glass

Hi Tom,

Quoted 3 lines · Tom Rini

Hey guys,

Quoted 7 lines
Quoted 4 lines

Looking at https://travis-ci.org/trini/u-boot/jobs/534037240 this is the only board that doesn't build (having switched ARM to gcc-8.3 from Arm/Linaro) and the error is pretty odd. Do you have any idea what's going on? Thanks!

I wonder if the assembler output of image.c would give any clues? I'm assuming it isn't a toolchain bug.

I've analysed this before, and it is a gcc regression.
See my bug report @ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87793

The bug is fixed in gcc 8.3 and 9.0.

Regards,
Bin

author
#3 lore raw
Quoted 15 lines · Bin Meng

Hi Tom,

Quoted 12 lines · Simon Glass

Hi Tom,

Quoted 7 lines · Tom Rini

Hey guys,

Looking at https://travis-ci.org/trini/u-boot/jobs/534037240 this is the only board that doesn't build (having switched ARM to gcc-8.3 from Arm/Linaro) and the error is pretty odd. Do you have any idea what's going on? Thanks!

Quoted 7 lines
Quoted 2 lines

I wonder if the assembler output of image.c would give any clues? I'm assuming it isn't a toolchain bug.

I've analysed this before, and it is a gcc regression.
See my bug report @ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87793

The bug is fixed in gcc 8.3 and 9.0.

Ugh. And gcc-8.2 from Bootlin has the problem too (along with being not relocatable). Thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190519/31838909/attachment.sig>