[U-Boot] x86 build is broken with GCC 7

Otavio Salvador otavio.salvador at ossystems.com.br
Tue Jun 20 14:47:03 UTC 2017


On Tue, Jun 20, 2017 at 11:41 AM, Tom Rini <trini at konsulko.com> wrote:
> On Wed, Jun 14, 2017 at 09:53:37AM -0300, Otavio Salvador wrote:
>
>> Hello folks,
>>
>> Testing with current compiler exposed an error:
>>
>> arch/x86/lib/built-in.o: In function `__wrap___udivdi3':
>> /home/otavio/src/u-boot/arch/x86/lib/gcc.c:25: undefined reference to
>> `__normal___udivdi3'
>>
>> Is it a known issue?
>
> Yes, building the 32bit x86 targets with a 64bit default gcc at least
> doesn't work.  I actually forgot until the other day that I had just
> been relying on travis-ci for that part of my build testing.

This is important; it works with GCC 6 but fails with GCC 7. Khem, is
it possible for you to help here?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the U-Boot mailing list