Re: Linux 4.11 FTBFS on m68k

Michael Schmitz
2017-05-14T03:11:32Z

Hi Adrian,

this may be compiler version specific - I recall these functions were
used from the kernel source with gcc 3.3.6 or thereabouts (I had to add
__divdi3 five years ago for some driver that needed it and it wasn't
then provided by gcc for some reason). WIth gcc version 4, the need for
this hack was gone.

What version of gcc does Debian use for building their kernel packages?
What did you use?

Cheers,

Michael

Am 12.05.2017 um 20:47 schrieb John Paul Adrian Glaubitz:
> On Sun, May 07, 2017 at 03:16:41PM +0200, John Paul Adrian Glaubitz wrote:
>> Just noticed that currently the 4.11 kernel fails to build from source
>> on m68k [1]:
>
> Ok, this problem is actually Debian-specific. Debian's linux source
> package contains a patch which removes the necessary #include
> directive for <linux/compiler.h> [1].
>
> I'll open a bug report.
>
> Adrian
>
>> [1] https://anonscm.debian.org/cgit/kernel/linux.git/tree/debian/patches/bugfix/m68k/revert-m68k-move-exports-to-definitions.patch#n150
>