Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 May 2000 15:12:10 +0800
From:      "Tan Juay Kwang" <tanjk@pacific.net.sg>
To:        <questions@freebsd.org>
Subject:   building /usr/src/sys with DEBUG_FLAGS on 4.0-RELEASE
Message-ID:  <NEBBLKHLGDECFCNMHPEEKEEJCGAA.tanjk@pacific.net.sg>

next in thread | raw e-mail | index | archive | help
Hello everyone, to cut short a long story, I'm trying to build
everything with debugging infomation intact. I ran through the make
files and realize that I need to define DEBUG_FLAGS in order for install
not to strip the symbol tables. So I happily define DEBUG_FLAGS=-ggdb
and do a 'make buildworld'. However, the process bombs out at
/usr/src/sys, specifically :-

btxld -v -E 0x1000 -f bin -b
/usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr -o
boot2.ld -P 1 boot2.bin
kernel: ver=1.01 size=720 load=9000 entry=9010 map=16M pgctl=1:1
client: fmt=bin size=17c5 text=0 data=0 bss=0 entry=0
output: fmt=bin size=20e5 text=200 data=1ee5 og=0 entry=0
-741 bytes available
*** Error code 1

Stop in /usr/src/sys/boot/i386/boo2.
*** Error code 1

Stop in /usr/src/sys/boot/i386.
*** Error code 1

Stop in /usr/src/sys/boot.
*** Error code 1

Stop in /usr/src/sys.

The machine is a PIII 600 w/128MB ram and running 4.0-RELEASE. Building
without the DEBUG_FLAGS is fine. I get the same error even if I only
define DEBUG_FLAGS.

Is there any workaround?

Thanks and best regards,
Juay Kwang



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NEBBLKHLGDECFCNMHPEEKEEJCGAA.tanjk>