tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cwrapper g++ -v erroring out (Re: Help with attempt to update devel/gdb (currently in wip/gdb))





On 4/25/25 4:35 PM, Dr. Thomas Orgis wrote:
Continuing debugging, I hope not to the annoyance of the public. My
current path lead me towards assuming a bug in cwrappers that manifests
only with my separate gcc build on Debian, not with a system-provided
gcc on Ubuntu.

Am Thu, 24 Apr 2025 22:26:18 +0200
schrieb "Dr. Thomas Orgis" <thomas.orgis%uni-hamburg.de@localhost>:

So it's searching in the CXX tag definition for a compiler of the same name
as CC? It turns out empty for me.

# ### BEGIN LIBTOOL TAG CONFIG: CXX
[…]
# A language specific compiler.
CC=""

The working build with Ubuntu's system gcc has

CC="c++"

I reproduced the libtool generation now in the work dir.

1. bmake build-env, in there
2. make new work directory, call ../gdb-16.2/configure
3. mkdir gdb; ../../gdb-16.2/gdb/configure; cd ..
4. mkdir gdb-no-cwrapper; PATH=$(drop_cwrapper_path $PATH) ../../gdb-16.2/gdb/configure;  cd ..

The difference in the two generated gdb/libtool files is apparent:

The generated libtool shouldn't be used though.

Joerg


Home | Main Index | Thread Index | Old Index