Skip to contentSkip to conversation

ppc64 vecemu compile failure

DISCUSSION maximilian attems 4 participants 5 messages Jan 30, 2008

lore
Share & tools
lore
#0 lore raw

on latest git since driver subsys merge on powerpc64:

arch/powerpc/kernel/built-in.o: In function `fphalf':
vecemu.c:(.toc+0x1360): undefined reference to `devices_subsys' make[3]: *** [.tmp_vmlinux1] Error 1

#1 lore raw

Hi,

Quoted 5 lines · maximilian attems

on latest git since driver subsys merge on powerpc64:

arch/powerpc/kernel/built-in.o: In function `fphalf':
vecemu.c:(.toc+0x1360): undefined reference to `devices_subsys' make[3]: *** [.tmp_vmlinux1] Error 1

It's a known problem, fixed by:

http://patchwork.ozlabs.org/linuxppc/patch?id=16491

-Olof

#2 lore raw
Quoted 5 lines · Olof Johansson

Hi,

Quoted 2 lines · maximilian attems

on latest git since driver subsys merge on powerpc64:

Quoted 7 lines
Quoted 3 lines

arch/powerpc/kernel/built-in.o: In function `fphalf':
vecemu.c:(.toc+0x1360): undefined reference to `devices_subsys' make[3]: *** [.tmp_vmlinux1] Error 1

It's a known problem, fixed by:

http://patchwork.ozlabs.org/linuxppc/patch?id=16491

But begs the question, why is the linker lying to use about vecemu.c using devices_subsys?

cheers

Signature · 8 lines
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
#3 lore raw
Quoted 11 lines · Michael Ellerman
Quoted 8 lines · Olof Johansson

Hi,

Quoted 5 lines · maximilian attems

on latest git since driver subsys merge on powerpc64:

arch/powerpc/kernel/built-in.o: In function `fphalf':
vecemu.c:(.toc+0x1360): undefined reference to `devices_subsys' make[3]: *** [.tmp_vmlinux1] Error 1

Quoted 6 lines
Quoted 3 lines

It's a known problem, fixed by:

http://patchwork.ozlabs.org/linuxppc/patch?id=16491

But begs the question, why is the linker lying to use about vecemu.c using devices_subsys?

Yes, that is a good question. fphalf isn't near it either.

-Olof

#4 lore raw
In reply to maximilian attems
Quoted 5 lines · maximilian attems

on latest git since driver subsys merge on powerpc64:

arch/powerpc/kernel/built-in.o: In function `fphalf':
vecemu.c:(.toc+0x1360): undefined reference to `devices_subsys' make[3]: *** [.tmp_vmlinux1] Error 1

See the patches posted on lkml for this already.

thanks,

greg k-h