Skip to contentSkip to conversation

Bug#797023: Linux kernel FTBFS error for ARCH=s390, CONFIG_SMP=n, and CONFIG_DYNAMIC_DEBUG=y

DISCUSSION Stephen Powell 2 participants 2 messages Aug 31, 2015 – Sep 1, 2015 2 messages not in the archive Stable branch

lore
Share & tools
lore
#2 lore raw
In reply to a message not in the archive
Quoted 8 lines · Ben Hutchings
Quoted 6 lines · Stephen Powell

The Linux kernel in jessie fails to build from source for the combination ARCH=s390, CONFIG_SMP=n, and CONFIG_DYNAMIC_DEBUG=y. Compilation of drivers/s390/char/sclp_early.c fails with a number of undefined symbols.

Quoted 8 lines
Quoted 5 lines

The problem also exists in the stretch and sid kernels at the time of this writing. The following patch fixes the problem for all three kernel versions:

https://git.kernel.org/cgit/linux/kernel/git/s390/linux.git/patch/?id=a313bdc5310dd807655d3ca3eb2219cd65dfe45a

Please mail [email protected] to request that this is included in the relevant stable branches.

Hello, [email protected]. Per the above, please include the above-referenced git commit in the relevant stable branches.

Respectfully submitted,

Signature · 4 lines
  .''`.     Stephen Powell    <[email protected]>
 : :'  :
 `. `'`
   `-
#3 lore raw
Quoted 14 lines · Stephen Powell
Quoted 12 lines · Ben Hutchings
Quoted 10 lines · Stephen Powell

The Linux kernel in jessie fails to build from source for the combination ARCH=s390, CONFIG_SMP=n, and CONFIG_DYNAMIC_DEBUG=y. Compilation of drivers/s390/char/sclp_early.c fails with a number of undefined symbols.

The problem also exists in the stretch and sid kernels at the time of this writing. The following patch fixes the problem for all three kernel versions:

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

https://git.kernel.org/cgit/linux/kernel/git/s390/linux.git/patch/?id=a313bdc5310dd807655d3ca3eb2219cd65dfe45a

Please mail [email protected] to request that this is included in the relevant stable branches.

Hello, [email protected]. Per the above, please include the above-referenced git commit in the relevant stable branches.

Thanks Stephen, I believe this is applicable to stable kernels >= 3.13 containing:

commit acf6a004e6a35dad17032e3b7c5a046c29957e65

Author: Michael Holzheu <[email protected]>
Date:   Wed Nov 13 10:38:27 2013 +0100

s390/sclp: Move early code from sclp_cmd.c to sclp_early.c

I'm queuing this for the next 3.16 kernel release.

Cheers,
--
Lu�s