Re: NetBSD/arc 9.0 /usr/mdec/boot includes extra debug info?
Martin Husemann <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.mips.devel,gmane.os.netbsd.devel.toolchain |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Jun 02, 2020 at 11:02:16PM +0900, Izumi Tsutsui wrote: > 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 Yes: build.sh -V MKDEBUG=yes For normal binaries there is no difference, as the debug info is detached. But stand programs / bootloaders may need extra care to strip the resulting binary (or override DBG= in the Makefile). Martin