Hello Paul, * Paul Biggar wrote on Wed, Dec 31, 2008 at 02:25:38AM CET: > $ ./libtool --mode=execute gdb --args src/phc --run > plugins/tests/raise_globals.la test/subjects/codegen/break_six.php > GNU gdb 6.8-debian > <snip some gdb output> > (gdb) r > Starting program: > /home/pbiggar/phc_work/svn/branches/dataflow/src/.libs/lt-phc --run > /home/pbiggar/phc_work/svn/branches/dataflow/src/.libs/lt-phc > test/subjects/codegen/break_six.php -O1 --generate-c > <snip program output, which is just an error that it cannot find > /home/pbiggar/phc_work/svn/branches/dataflow/src/.libs/lt-phc> > > The point of interest is that both the executable name "src/phc" and > the .la file "plugins/tests/raise_globals.la" have both been renamed > to "/home/pbiggar/phc_work/svn/branches/dataflow/src/.libs/lt-phc"., > which is correct for the former but not the latter.
That looks like a libtool bug. > Also: > $ ./libtool --version > ltmain.sh (GNU libtool) 1.5.22 Debian 1.5.22-4 (1.1220.2.365 > 2005/12/18 22:14:06) Uh, that's quite old, and we've fixed bugs in execute mode since. Can you try a current libtool? In your case, for just trying out you shouldn't even need to re-bootstrap your package with the new Libtool; it should be sufficient to build the Libtool 2.2.6 package, install it somewhere (or just take a newer package from your distribution), and try out path/to/new/libtool --mode=execute gdb --args src/phc --run \ plugins/tests/raise_globals.la test/subjects/codegen/break_six.php to see if the problem persists. Thanks, Ralf _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool