Source: linux
Version: 4.11-1~exp2
Severity: normal
User: [email protected]
Usertags: m68k
Hi!
linux currently fails to build from source in experimental because the
patch revert-m68k-move-exports-to-definitions.patch removes at least
one #include directive from arch/m68k/lib/ashldi3.c [1] which is now
required due to some upstream changes in the compiler macros used:
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
arch/m68k/lib/ashldi3.c requires <linux/compiler.h> now because that's where
__mode() is defined as a compiler-specific macro. So the patch needs to be
updated accordingly. Since I currently don't understand why this particular
patch is necessary, I don't have a patch myself at hand.
Thanks,
Adrian
> [1]
> https://anonscm.debian.org/cgit/kernel/linux.git/tree/debian/patches/bugfix/m68k/revert-m68k-move-exports-to-definitions.patch#n86
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - [email protected]
`. `' Freie Universitaet Berlin - [email protected]
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913