All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Build error for PowerPPC using GCC 5.2 toolchain
@ 2015-11-06 11:35 Otavio Salvador
  2015-11-06 12:15 ` Måns Rullgård
  0 siblings, 1 reply; 2+ messages in thread
From: Otavio Salvador @ 2015-11-06 11:35 UTC (permalink / raw)
  To: u-boot

Hello,

At Yocto Project I sent the upgrade for the 2015.10 release, of
U-Boot, however it is failing badly:

http://errors.yoctoproject.org/Errors/Details/21468/

Does someone has any idea how to fix it?

-- 
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] Build error for PowerPPC using GCC 5.2 toolchain
  2015-11-06 11:35 [U-Boot] Build error for PowerPPC using GCC 5.2 toolchain Otavio Salvador
@ 2015-11-06 12:15 ` Måns Rullgård
  0 siblings, 0 replies; 2+ messages in thread
From: Måns Rullgård @ 2015-11-06 12:15 UTC (permalink / raw)
  To: u-boot

Otavio Salvador <otavio.salvador@ossystems.com.br> writes:

> Hello,
>
> At Yocto Project I sent the upgrade for the 2015.10 release, of
> U-Boot, however it is failing badly:
>
> http://errors.yoctoproject.org/Errors/Details/21468/
>
> Does someone has any idea how to fix it?

The problem is the use of "extern inline" function definitions.  GCC 5
defaults to the standard C99 semantics for this whereas earlier versions
favoured the historical GNU semantics.

The quick fix is to add the -fgnu89-inline compiler flag which requests
the old behaviour.

The proper fix is to replace all "extern inline" with "static inline"
which is what they should have been all along.

-- 
M?ns Rullg?rd
mans at mansr.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-06 12:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-06 11:35 [U-Boot] Build error for PowerPPC using GCC 5.2 toolchain Otavio Salvador
2015-11-06 12:15 ` Måns Rullgård

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.