Port-mips archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
NetBSD/arc 9.0 /usr/mdec/boot includes extra debug info?
Hi,
I notice NetBSD/arc 9.0 bootloader (/usr/mdec/boot) silently hang,
while a boot binary I build from netbsd-9 tree just works.
It looks /usr/mdec/boot in NetBSD/arc 9.0 base.tgz includes debug info:
---
# tar -ztvf /usr/INSTALL/base.tgz | grep /usr/mdec/boot
-r--r--r-- 0 root wheel 282217 Feb 14 09:06 ./usr/mdec/boot
# ls -l /usr/mdec/boot
-r--r--r-- 1 root wheel 282217 Feb 14 09:06 /usr/mdec/boot
# size -Ax /usr/mdec/boot
/usr/mdec/boot :
section size addr
.text 0xb4c0 0x80f00000
.text.st 0x304 0x80f0b4c0
.rodata 0x12d0 0x80f0b7d0
.reginfo 0x18 0x80f0ca98
.MIPS.ab 0x18 0x80f0cab0
.data 0x170 0x80f0cad0
.sbss 0x484 0x80f0cc40
.bss 0x280 0x80f0d0d0
.gnu.att 0x10 0x0
.debug_i 0x1c404 0x0
.debug_a 0x51b3 0x0
.debug_l 0xc431 0x0
.debug_a 0x660 0x0
.debug_r 0x830 0x0
.debug_l 0x4d60 0x0
.debug_s 0x32a9 0x0
Total 0x43bc9
#
---
while a boot binary I build locally doesn't include them:
---
% pwd
/s/netbsd-9/src/sys/arch/arc/stand/boot
% ls -l obj.arc/boot
-rwxr-xr-x 1 tsutsui wheel 58552 Jun 2 22:40 obj.arc/boot*
% /s/netbsd-9/src/obj.arc/tooldir.NetBSD-9.0-i386/bin/mipsel--netbsd-size -Ax obj.arc/boot
obj.arc/boot :
section size addr
.text 0xb4c0 0x80f00000
.text.st 0x304 0x80f0b4c0
.rodata 0x12b0 0x80f0b7d0
.reginfo 0x18 0x80f0ca78
.MIPS.ab 0x18 0x80f0ca90
.data 0x170 0x80f0cab0
.sbss 0x484 0x80f0cc20
.bss 0x280 0x80f0d0b0
.gnu.att 0x10 0x0
Total 0xd328
%
---
Is there any possible build.sh options (or mk.conf definitions)
for the release binaries that could cause such difference?
/usr/mdec/boot in daily netbsd-9/202006012200Z build also includes
those debug info, but no clue in logs due to -N0 option.
https://releng.netbsd.org/builds/netbsd-9/202006012200Z/arc.build
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index