https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115743
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The patch is wrong for few different reason. First being it only works with mingw. Second it depends on /../../.. being correct which it is not always due to you could use one of the -- options to configure. While libtool does: postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ Which in the end does: [ 713s] libtool: install: base_file=`basename libstdc++.la` [ 713s] libtool: install: [ 713s] dlpath=`/bin/sh 2>&1 -c '. .libs/'libstdc++.la'i; echo libstdc++-6.dll'` [ 713s] libtool: install: [ 713s] dldir=/home/abuild/rpmbuild/BUILDROOT/mingw32-gcc-13.2.0-lp155.42.2.x86_64/usr/i686-w64-mingw32/sys-root/mingw/lib/gcc/i686-w64-mingw32/13.2.0/`dirname ../../../../bin/libstdc++-6.dll` And then dldir/dlpath is what is neded here. install-data-local change does look correct though or at least closer to what it should be. What it means is gdb.py can't be generated until it gets installed it looks like.