From owner-freebsd-current@FreeBSD.ORG Thu Aug 12 19:41:44 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A69B16A4CE for ; Thu, 12 Aug 2004 19:41:44 +0000 (GMT) Received: from lakermmtao05.cox.net (lakermmtao05.cox.net [68.230.240.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D50243D31 for ; Thu, 12 Aug 2004 19:41:44 +0000 (GMT) (envelope-from conrads@cox.net) Received: from dolphin.local.net ([68.11.71.51]) by lakermmtao05.cox.net (InterMail vM.6.01.03.02.01 201-2131-111-104-103-20040709) with ESMTP id <20040812194141.HETE28993.lakermmtao05.cox.net@dolphin.local.net> for ; Thu, 12 Aug 2004 15:41:41 -0400 Received: from dolphin.local.net (localhost.local.net [127.0.0.1]) by dolphin.local.net (8.13.1/8.13.1) with ESMTP id i7CJfgnC000963 for ; Thu, 12 Aug 2004 14:41:42 -0500 (CDT) (envelope-from conrads@dolphin.local.net) Received: (from conrads@localhost) by dolphin.local.net (8.13.1/8.13.1/Submit) id i7CJfb5A000962 for freebsd-current@freebsd.org; Thu, 12 Aug 2004 14:41:37 -0500 (CDT) (envelope-from conrads) Message-ID: X-Mailer: XFMail 1.5.5 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Thu, 12 Aug 2004 14:41:37 -0500 (CDT) Organization: A Rag-Tag Band of Drug-Crazed Hippies From: "Conrad J. Sabatier" To: freebsd-current@freebsd.org Subject: builworld fails if debugging enabled in usr.sbin/pkg_install/lib X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: conrads@cox.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Aug 2004 19:41:44 -0000 To help in debugging a problem with news/pan2, I decided to try rebuilding the port and all of its dependencies with debugging enabled. Then I decided to go ahead and do the same with the base system. The buildworld with "-g" worked fine with one exception: cc -O2 -pipe -march=athlon64 -m64 -g 1 -Wsystem-headers -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wformat=2 -Wno-format-extra-args -c /usr/src/usr.sbin/pkg_install/lib/file.c cc: 1: No such file or directory *** Error code 1 Stop in /usr/src/usr.sbin/pkg_install/lib. I can't figure out where this "1" just after the "-g" switch is coming from. Without "-g", the compile works OK: cc -O2 -pipe -march=athlon64 -m64 -Wsystem-headers -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wformat=2 -Wno-format-extra-args -c /usr/src/usr.sbin/pkg_install/lib/file.c Strange. -- Conrad J. Sabatier -- "In Unix veritas"