Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Aug 2004 22:52:52 +0300
From:      Ruslan Ermilov <ru@freebsd.org>
To:        "Conrad J. Sabatier" <conrads@cox.net>
Cc:        freebsd-current@freebsd.org
Subject:    Re: builworld fails if debugging enabled in usr.sbin/pkg_install/lib
Message-ID:  <20040812195252.GA79364@ip.net.ua>
In-Reply-To: <XFMail.20040812144137.conrads@cox.net>
References:  <XFMail.20040812144137.conrads@cox.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--OgqxwSJOaUobr8KG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Aug 12, 2004 at 02:41:37PM -0500, Conrad J. Sabatier wrote:
> 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:
>=20
> cc -O2 -pipe -march=3Dathlon64 -m64 -g  1 -Wsystem-headers -Wall
> -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes
> -Wpointer-arith -Wno-uninitialized -Wformat=3D2 -Wno-format-extra-args -c
> /usr/src/usr.sbin/pkg_install/lib/file.c
> cc: 1: No such file or directory
> *** Error code 1
>=20
> Stop in /usr/src/usr.sbin/pkg_install/lib.
>=20
> I can't figure out where this "1" just after the "-g" switch is coming
> from.  Without "-g", the compile works OK:
>=20
> cc -O2 -pipe -march=3Dathlon64 -m64   -Wsystem-headers -Wall
> -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes
> -Wpointer-arith -Wno-uninitialized -Wformat=3D2 -Wno-format-extra-args -c
> /usr/src/usr.sbin/pkg_install/lib/file.c
>=20
> Strange.
>=20
How are you building your world with -g?


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--OgqxwSJOaUobr8KG
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBG8qUqRfpzJluFF4RAl/DAJ4wOIs+/4oZX1EEFQL2DyoOfXhcWACgj0cF
03rCFGlA8g6DRLm7FPgF/GU=
=Qdqh
-----END PGP SIGNATURE-----

--OgqxwSJOaUobr8KG--



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