pkgsrc-Users archive

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

Re: gcc12 incompatible with ctfconvert?



Hi,

Our in-tree GCC is currently forced to DWARF 4 by default:

http://cvsweb.netbsd.org/bsdweb.cgi/src/external/gpl3/gcc/dist/gcc/common.opt.diff?r1=1.13&r2=1.14&f=h

Note that ctfconvert(1) in FreeBSD-current does not support DWARF 5 also:

https://cgit.freebsd.org/src/tree/cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c#n1973

Thanks,
rin

On 2023/10/02 19:52, Rhialto wrote:
I'm trying to build wm/ctwm, using lang/gcc12 as pkgsrc compiler, and
the build fails with

[ 96%] Building C object CMakeFiles/ctwmlib.dir/version.c.o
[ 97%] Building C object CMakeFiles/ctwmlib.dir/ewmh_atoms.c.o
[ 97%] Built target ctwmlib
[ 98%] Building C object CMakeFiles/ctwm.dir/ctwm_wrap.c.o
[100%] Linking C executable ctwm
Converting in CTF info for dtrace
ERROR: ctfconvert: rc = 1 Unsupported version [_dwarf_info_load(232)]
ERROR: ctfconvert: rc = 1 Unsupported version [_dwarf_info_load(232)]
ERROR: ctfconvert: rc = 1 Unsupported version [_dwarf_info_load(232)]
... many more repetitions of that ...

-Olaf.


Home | Main Index | Thread Index | Old Index