ppc64 vecemu compile failure
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
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
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 1It's a known problem, fixed by:
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
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:
But begs the question, why is the linker lying to use about
vecemu.cusingdevices_subsys?
Yes, that is a good question. fphalf isn't near it either.
-Olof
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