Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jun 2002 12:06:08 -0400 (EDT)
From:      "David A. Panariti" <davep@meduseld.net>
To:        ports@freebsd.org
Subject:   gcc31 port problem with -g
Message-ID:  <20020610.120608.847006313.davep@meduseld.net>

next in thread | raw e-mail | index | archive | help
Hi,

I've built the gcc31 port (gcc-3.1.1_20020527).
When I use it to build programs with -g, gdb (built from port
gdb-5.2_20020409) looks in the wrong place for header files when
single stepping into inline functions that live in system include
files.

I get errors like:
(gdb) s
143	/stuff/ports/lang/gcc31/work/build/i386-portbld-freebsd4.5/libstdc++-v3/include/bits/basic_string.tcc: No such file or directory.
	in /stuff/ports/lang/gcc31/work/build/i386-portbld-freebsd4.5/libstdc++-v3/include/bits/basic_string.tcc

For some reason, the debug information points into the build area
rather than the install area.
I don't recall seeing this in previous versions (can't remember which
one, but it was one before the latest 3.1 vs 3.1.1 installation breakage)

Any ideas on how to fix this?

Thanks,

davep
 


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




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