All of lore.kernel.org
 help / color / mirror / Atom feed
* Linux 4.11 FTBFS on m68k
@ 2017-05-07 13:16 John Paul Adrian Glaubitz
  2017-05-07 16:11 ` Andreas Schwab
  2017-05-12  8:47 ` John Paul Adrian Glaubitz
  0 siblings, 2 replies; 10+ messages in thread
From: John Paul Adrian Glaubitz @ 2017-05-07 13:16 UTC (permalink / raw)
  To: Linux/m68k; +Cc: Debian m68k

Hi!

Just noticed that currently the 4.11 kernel fails to build from source
on m68k [1]:

  CC      arch/m68k/lib/ashldi3.o
/<<PKGBUILDDIR>>/arch/m68k/lib/ashldi3.c:18:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__mode'
 typedef   int SItype __mode(SI);
                      ^~~~~~
/<<PKGBUILDDIR>>/arch/m68k/lib/ashldi3.c:19:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__mode'
 typedef unsigned int USItype __mode(SI);
                              ^~~~~~
/<<PKGBUILDDIR>>/arch/m68k/lib/ashldi3.c:20:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__mode'
 typedef   int DItype __mode(DI);
                      ^~~~~~
/<<PKGBUILDDIR>>/arch/m68k/lib/ashldi3.c:21:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__mode'
 typedef int word_type           __mode(__word__);
                                 ^~~~~~
/<<PKGBUILDDIR>>/arch/m68k/lib/ashldi3.c:23:18: error: unknown type name 'SItype'
 struct DIstruct {SItype high, low;};
                  ^~~~~~
/<<PKGBUILDDIR>>/arch/m68k/lib/ashldi3.c:28:3: error: unknown type name 'DItype'
   DItype ll;
   ^~~~~~
/<<PKGBUILDDIR>>/arch/m68k/lib/ashldi3.c:31:1: error: unknown type name 'DItype'
 DItype
 ^~~~~~
/<<PKGBUILDDIR>>/arch/m68k/lib/ashldi3.c:32:12: error: unknown type name 'DItype'
 __ashldi3 (DItype u, word_type b)
            ^~~~~~
/<<PKGBUILDDIR>>/arch/m68k/lib/ashldi3.c:32:22: error: unknown type name 'word_type'
 __ashldi3 (DItype u, word_type b)
                      ^~~~~~~~~
/<<PKGBUILDDIR>>/scripts/Makefile.build:299: recipe for target 'arch/m68k/lib/ashldi3.o' failed
make[6]: *** [arch/m68k/lib/ashldi3.o] Error 1
/<<PKGBUILDDIR>>/Makefile:1006: recipe for target 'arch/m68k/lib' failed
make[5]: *** [arch/m68k/lib] Error 2
make[5]: *** Waiting for unfinished jobs....

Might be something that is only triggered when building with newer gcc versions?
Looks like we need to add __attribute__ here, don't we?

Adrian

> [1] https://buildd.debian.org/status/fetch.php?pkg=linux&arch=m68k&ver=4.11-1%7Eexp2&stamp=1493971608&raw=0

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

end of thread, other threads:[~2017-05-16  1:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-07 13:16 Linux 4.11 FTBFS on m68k John Paul Adrian Glaubitz
2017-05-07 16:11 ` Andreas Schwab
2017-05-08  9:13   ` Geert Uytterhoeven
2017-05-08 17:32     ` Andreas Schwab
2017-05-08 17:34       ` John Paul Adrian Glaubitz
2017-05-12  8:47 ` John Paul Adrian Glaubitz
2017-05-14  3:11   ` Michael Schmitz
2017-05-14  6:19     ` Andreas Schwab
2017-05-16  1:58       ` Michael Schmitz
2017-05-14  7:55     ` John Paul Adrian Glaubitz

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.