public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Question regarding min reqd dejagnu version
@ 2022-10-01  0:18 Indu Bhagat
  2022-10-03 10:23 ` Nick Clifton
  0 siblings, 1 reply; 9+ messages in thread
From: Indu Bhagat @ 2022-10-01  0:18 UTC (permalink / raw)
  To: binutils

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-10-05 18:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-01  0:18 Question regarding min reqd dejagnu version Indu Bhagat
2022-10-03 10:23 ` Nick Clifton
2022-10-03 17:55   ` Indu Bhagat
2022-10-04  9:52     ` Nick Clifton
2022-10-04 10:05       ` Jan Beulich
2022-10-04 10:20         ` Nick Clifton
2022-10-04 10:27           ` Jan Beulich
2022-10-04 11:40             ` Nick Clifton
2022-10-05 18:28               ` Indu Bhagat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).