Re: i386 Xen integration breaks linking NET4501 kernel
On Sun, May 10, 2020 at 02:36:15PM +0200, Rhialto wrote: > Probably similarly, linking fails when building an amd64 MODULAR kernel, > with some Xen-related undefined symbol errors: Yes I posted a question to tech-kern, asking how to resolve this, I got no reply so far. -- Manuel Bouyer NetBSD: 26 ans d'experience feront toujours la difference --
Re: i386 Xen integration breaks linking NET4501 kernel
Probably similarly, linking fails when building an amd64 MODULAR kernel, with some Xen-related undefined symbol errors: building standard kern library create vers.c compile MODULAR/vers.o link MODULAR/netbsd /vol1/rhialto/tools.amd64/bin/x86_64--netbsd-ld: hypervisor.o: in function `xenkernfs_init': /mnt/vol1/rhialto/cvs/src/sys/arch/xen/xen/hypervisor.c:787: undefined reference to `kernfs_addentry' /vol1/rhialto/tools.amd64/bin/x86_64--netbsd-ld: xenbus_dev.o: in function `xenbus_kernfs_init': /mnt/vol1/rhialto/cvs/src/sys/arch/xen/xenbus/xenbus_dev.c:86: undefined reference to `kernfs_alloctype' /vol1/rhialto/tools.amd64/bin/x86_64--netbsd-ld: /mnt/vol1/rhialto/cvs/src/sys/arch/xen/xenbus/xenbus_dev.c:90: undefined reference to `kernfs_addentry' /vol1/rhialto/tools.amd64/bin/x86_64--netbsd-ld: /mnt/vol1/rhialto/cvs/src/sys/arch/xen/xenbus/xenbus_dev.c:93: undefined reference to `kernfs_alloctype' /vol1/rhialto/tools.amd64/bin/x86_64--netbsd-ld: /mnt/vol1/rhialto/cvs/src/sys/arch/xen/xenbus/xenbus_dev.c:97: undefined reference to `kernfs_addentry' -Olaf. -- Olaf 'Rhialto' Seibert -- rhialto at falu dot nl ___ Anyone who is capable of getting themselves made President should on \X/ no account be allowed to do the job. --Douglas Adams, "THGTTG" signature.asc Description: PGP signature
Re: i386 Xen integration breaks linking NET4501 kernel
On Mon, May 04, 2020 at 06:42:11PM -0500, John D. Baker wrote: > A recent build of -current/i386 fails when trying to link a kernel built > from the NET4501 config: > > [...] > # link NET4501/netbsd > /r0/build/current/tools/amd64/bin/i486--netbsdelf-ld -Map netbsd.map --cref > -T netbsd.ldscript -Ttext c010 -e start -X -o netbsd > ${SYSTEM_OBJ:[@]:Nswapnetbsd.o} ${EXTRA_OBJ} vers.o swapnetbsd.o > /r0/build/current/tools/amd64/bin/i486--netbsdelf-ld: locore.o: in function > `start_xenpvh': > (.text+0x410): undefined reference to `hvm_start_paddr' > /r0/build/current/tools/amd64/bin/i486--netbsdelf-ld: (.text+0x436): > undefined reference to `HYPERVISOR_shared_info_pa' Should be fixed now. Sorry for this -- Manuel Bouyer NetBSD: 26 ans d'experience feront toujours la difference --
i386 Xen integration breaks linking NET4501 kernel
A recent build of -current/i386 fails when trying to link a kernel built from the NET4501 config: [...] # link NET4501/netbsd /r0/build/current/tools/amd64/bin/i486--netbsdelf-ld -Map netbsd.map --cref -T netbsd.ldscript -Ttext c010 -e start -X -o netbsd ${SYSTEM_OBJ:[@]:Nswapnetbsd.o} ${EXTRA_OBJ} vers.o swapnetbsd.o /r0/build/current/tools/amd64/bin/i486--netbsdelf-ld: locore.o: in function `start_xenpvh': (.text+0x410): undefined reference to `hvm_start_paddr' /r0/build/current/tools/amd64/bin/i486--netbsdelf-ld: (.text+0x436): undefined reference to `HYPERVISOR_shared_info_pa' *** [netbsd] Error code 1 nbmake: stopped in /r0/build/current/obj/i386/sys/arch/i386/compile/NET4501 1 error nbmake: stopped in /r0/build/current/obj/i386/sys/arch/i386/compile/NET4501 ERROR: Failed to make all in "/r0/build/current/obj/i386/sys/arch/i386/compile/NET4501" *** BUILD ABORTED *** -- |/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X |\ / jdbaker[snail]consolidated[flyspeck]net OpenBSDFreeBSD | X No HTML/proprietary data in email. BSD just sits there and works! |/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645