Skip to contentSkip to conversation

sparc64 build failures in linux-4.4.y-stable-queue

DISCUSSION Guenter Roeck 3 participants 3 messages Jun 9, 2017 – Jun 10, 2017 Stable branch

lore
Share & tools
lore
#0 lore raw

Hi Greg,

[ just in case 0day didn't report it yet ]

sparc64 builds fail in v4.4-stable-queue with

arch/sparc/lib/multi3.S:2:24: fatal error:
asm/export.h: No such file or directory

This is with v4.4.71-20-gff35505 when building any sparc64 image.

Culprit is "sparc64: Add __multi3 for gcc 7.x and later". Presumably some context patch is missing. Copying the author and Dave.

Guenter

#1 lore raw

From: Guenter Roeck <[email protected]>
Date: Fri, 9 Jun 2017 15:34:46 -0700

Quoted 6 lines

Hi Greg,

[ just in case 0day didn't report it yet ]

sparc64 builds fail in v4.4-stable-queue with

Quoted 8 lines

arch/sparc/lib/multi3.S:2:24: fatal error:
asm/export.h: No such file or directory

This is with v4.4.71-20-gff35505 when building any sparc64 image.

Culprit is "sparc64: Add __multi3 for gcc 7.x and later". Presumably some context patch is missing. Copying the author and Dave.

Greg, a backport to 4.4 needs to export the symbol via arch/sparc/kernel/sparc64_ksyms.c or whatever it used to be called when we couldn't export symbols via assembler.

maintainer
#2 lore raw
Quoted 14 lines · David Miller

From: Guenter Roeck <[email protected]>
Date: Fri, 9 Jun 2017 15:34:46 -0700

Quoted 11 lines

Hi Greg,

[ just in case 0day didn't report it yet ]

sparc64 builds fail in v4.4-stable-queue with

arch/sparc/lib/multi3.S:2:24: fatal error:
asm/export.h: No such file or directory

This is with v4.4.71-20-gff35505 when building any sparc64 image.

Quoted 7 lines
Quoted 3 lines

Culprit is "sparc64: Add __multi3 for gcc 7.x and later". Presumably some context patch is missing. Copying the author and Dave.

Greg, a backport to 4.4 needs to export the symbol via arch/sparc/kernel/sparc64_ksyms.c or whatever it used to be called when we couldn't export symbols via assembler.

Yeah, this is my fault, I'll work on it later today, and if I can't figure it out, just drop it. The number of sparc users on 4.4 is pretty small, if non-existant :)

thanks,

greg k-h