Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Aug 2004 14:41:37 -0500 (CDT)
From:      "Conrad J. Sabatier" <conrads@cox.net>
To:        freebsd-current@freebsd.org
Subject:   builworld fails if debugging enabled in usr.sbin/pkg_install/lib
Message-ID:  <XFMail.20040812144137.conrads@cox.net>

next in thread | raw e-mail | index | archive | help
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 <conrads@cox.net> -- "In Unix veritas"



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