Question regarding min reqd dejagnu version
Indu Bhagat
indu.bhagat@oracle.com
Sat Oct 1 00:18:26 GMT 2022
Hello,
When testing out the SFrame implementation patches (not yet in trunk) on
an i686-linux machine with gcc-4.9.2 and dejagnu-1.5.1, I believe I run
into the following issue:
https://lists.gnu.org/archive/html/dejagnu/2014-10/msg00011.html
It shows as following when you run make check in libsframe folder:
...
gcc -std=gnu99 -DHAVE_CONFIG_H -I.
-I/<SFRAME-TEST>/binutils-gdb/libsframe/testsuite/libsframe.decode
-I../.. -I/<SFRAME-TEST>/binutils-gdb/libsframe/../include -Wall -g
-O2 -MT frecnt_1-frecnt_1.o -MD -MP -MF .deps/frecnt_1-frecnt_1.Tpo
-c -o frecnt_1-frecnt_1.o `test -f 'frecnt_1.c' || echo
'/<SFRAME-TEST>/binutils-gdb/libsframe/testsuite/libsframe.decode/'`frecnt_1.c
mv -f .deps/frecnt_1-frecnt_1.Tpo .deps/frecnt_1-frecnt_1.Po
/bin/bash ../../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2
-o frecnt_1 frecnt_1-frecnt_1.o ../../libsframe.la
libtool: link: gcc -std=gnu99 -g -O2 -o .libs/frecnt_1
frecnt_1-frecnt_1.o ../../.libs/libsframe.so -Wl,-rpath
-Wl,/<SFRAME-TEST>/install/lib
frecnt_1-frecnt_1.o: In function `main':
/<SFRAME-TEST>/binutils-gdb/libsframe/testsuite/libsframe.decode/frecnt_1.c:80:
undefined reference to `fail'
/<SFRAME-TEST>/binutils-gdb/libsframe/testsuite/libsframe.decode/frecnt_1.c:83:
undefined reference to `pass'
...
libsframe testsuite depends on dejagnu.h (patch link
https://sourceware.org/pipermail/binutils/2022-September/123172.html).
I am wondering what should be the expectation here. Is there a minimum
version of dejagnu that can be expected from the users ?
Thanks
Indu
More information about the Binutils
mailing list