mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* should we change 'extern inline' to 'static inline'?
@ 2015-07-02  5:07 Antony Pavlov
  2015-07-02  6:46 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Antony Pavlov @ 2015-07-02  5:07 UTC (permalink / raw)
  To: Renaud Barbier, Sascha Hauer; +Cc: barebox

Hi!

It looks like 'extern inline' breaks gcc-5.x build.

Here is U-Boot patch https://patchwork.ozlabs.org/patch/490178/

In barebox we have several 'extern inline' functions in arch/blackfin and arch/ppc:

arch/blackfin/include/asm/io.h
arch/blackfin/include/asm/processor.h
arch/ppc/include/asm/atomic.h
arch/ppc/include/asm/bitops.h
arch/ppc/include/asm/io.h

I can't fix it by myself because I have neither blackfin nor ppc cross-compiler to check result.

-- 
Best regards,
  Antony Pavlov

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: should we change 'extern inline' to 'static inline'?
  2015-07-02  5:07 should we change 'extern inline' to 'static inline'? Antony Pavlov
@ 2015-07-02  6:46 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2015-07-02  6:46 UTC (permalink / raw)
  To: Antony Pavlov; +Cc: barebox

On Thu, Jul 02, 2015 at 08:07:33AM +0300, Antony Pavlov wrote:
> Hi!
> 
> It looks like 'extern inline' breaks gcc-5.x build.
> 
> Here is U-Boot patch https://patchwork.ozlabs.org/patch/490178/
> 
> In barebox we have several 'extern inline' functions in arch/blackfin and arch/ppc:
> 
> arch/blackfin/include/asm/io.h
> arch/blackfin/include/asm/processor.h
> arch/ppc/include/asm/atomic.h
> arch/ppc/include/asm/bitops.h
> arch/ppc/include/asm/io.h
> 
> I can't fix it by myself because I have neither blackfin nor ppc cross-compiler to check result.

Thanks for noting. I just created the according patches. My build
checker will detect the failures if there are any.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2015-07-02  6:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-02  5:07 should we change 'extern inline' to 'static inline'? Antony Pavlov
2015-07-02  6:46 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox