From owner-freebsd-questions Thu May 25 0:16: 0 2000 Delivered-To: freebsd-questions@freebsd.org Received: from seed.pacific.net.sg (seed.pacific.net.sg [203.120.90.77]) by hub.freebsd.org (Postfix) with ESMTP id 6C99237BDF2 for ; Thu, 25 May 2000 00:15:54 -0700 (PDT) (envelope-from tanjk@pacific.net.sg) Received: from pop1.pacific.net.sg (pop1.pacific.net.sg [203.120.90.85]) by seed.pacific.net.sg with ESMTP id PAA18468 for ; Thu, 25 May 2000 15:15:51 +0800 (SGT) Received: from tanjkvaio ([203.126.116.227]) by pop1.pacific.net.sg with SMTP id PAA01168 for ; Thu, 25 May 2000 15:15:51 +0800 (SGT) From: "Tan Juay Kwang" To: Subject: building /usr/src/sys with DEBUG_FLAGS on 4.0-RELEASE Date: Thu, 25 May 2000 15:12:10 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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