NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

toolchain/58089: MKREPRO isn't really reproductible



>Number:         58089
>Category:       toolchain
>Synopsis:       MKREPRO isn't really reproductible
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 29 13:10:00 +0000 2024
>Originator:     Manuel Bouyer
>Release:        NetBSD 10.0_RC6
>Organization:
>Environment:
System: NetBSD armandeche.soc.lip6.fr 10.0_RC2 NetBSD 10.0_RC2 (GENERIC_CAN) #12: Wed Jan 10 10:47:49 CET 2024 bouyer%armandeche.soc.lip6.fr@localhost:/local/armandeche1/tmp/build/amd64/obj/local/armandeche2/netbsd-10/src/sys/arch/amd64/compile/GENERIC_CAN amd64
Architecture: x86_64
Machine: amd64
>Description:
	Trying to reproduce an issue with kernel symbols under Xen,
	I tried to rebuild a i386 GENERIC kernel identical to
	http://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-10/202403261910Z/i386/binary/kernel/netbsd-GENERIC.gz

	I did a cvs checkout using
	cvs co -r netbsd-10 -D "2024-03-26 19:10 UTC" -P src
	followed by
	./build.sh -m i386 -P tools kernel=GENERIC

	The resulting kernel show the same 'uname -a' output as the
	one from the official build, but they are still sighly different:
   text    data     bss     dec     hex filename
20198406         587900  745472 21531778        1488c82 netbsd-local
20198310         587900  745472 21531682        1488c22 netbsd-official

	And it seems related to debug_info:
netbsd-local:    ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, for NetBSD 10.0, with debug_info, not stripped
netbsd-official: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, for NetBSD 10.0, not stripped

	I didn't find how to build a kernel without debug_info

>How-To-Repeat:
	cvs co -r netbsd-10 -D "2024-03-26 19:10 UTC" -P src
	cd src && ./build.sh -m i386 -P tools kernel=GENERIC

	compare the resulting kernel with the one from the official
	202403261910Z build.
>Fix:
	



Home | Main Index | Thread Index | Old Index