public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Can't run ld testsuite
@ 2002-03-04  0:05 Christian Jönsson
  2002-03-04  4:08 ` Christopher C. Chimelis
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Jönsson @ 2002-03-04  0:05 UTC (permalink / raw)
  To: Binutils

This was on a Debian Woody (test release) sun4m system using

binutils                           2.11.92.0.12.3-6
dejagnu                            1.4.2-1
gcc                                2.95.4-9 (Debian prerelease)
kernel-image-2.2.20-sun4dm-smp     9
libc6                              2.2.5-3



I just recently had a problem with running the ld test suite in
binutils. Here's an example from the main branch:

make[1]: Entering directory `/share1/gcc-dev/src/objdir/ld'
Making check in po
make[2]: Entering directory `/share1/gcc-dev/src/objdir/ld/po'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/share1/gcc-dev/src/objdir/ld/po'
make[2]: Entering directory `/share1/gcc-dev/src/objdir/ld'
make  check-DEJAGNU
make[3]: Entering directory `/share1/gcc-dev/src/objdir/ld'
Making a new site.exp file...
srcroot=`cd ../../ld && pwd`; export srcroot; \
r=`pwd`; export r; \
LC_COLLATE=; LC_ALL=; LANG=; export LC_COLLATE LC_ALL LANG; \
EXPECT=expect; export EXPECT; \
if [ -f ./../expect/expect ]; then \
  TCL_LIBRARY=`cd ../../ld/../tcl/library && pwd`; \
  export TCL_LIBRARY; \
fi; \
runtest=runtest; \
if /bin/sh -c "$runtest --version" > /dev/null 2>&1; then \
  $runtest --tool ld --srcdir ${srcroot}/testsuite \
        CC="gcc -L/share1/gcc-dev/src/objdir/ld" CFLAGS="-g -O2" \
        CXX="c++ -L/share1/gcc-dev/src/objdir/ld" CXXFLAGS="-g -O2" \
        CC_FOR_HOST="gcc" CFLAGS_FOR_HOST="-g -O2" \
        OFILES="ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o ldwrite.o ldexp.o  ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o eelf32_sparc.o esparclinux.o eelf64_sparc.o esun4.o " BFDLIB="../bfd/.libs/libbfd.a" \
        LIBIBERTY="../libiberty/libiberty.a " LIBS="" \
        --target_board 'unix{-fPIC,-fpic,}'; \
else echo "WARNING: could not find \`runtest'" 1>&2; :;\
fi
WARNING: Couldn't find tool init file

Illegal Argument "CC=gcc -L/share1/gcc-dev/src/objdir/ld"
try "runtest --help" for option list
make[3]: *** [check-DEJAGNU] Error 1
make[3]: Leaving directory `/share1/gcc-dev/src/objdir/ld'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/share1/gcc-dev/src/objdir/ld'


Should we perhaps leave CC (and CXX) the way it was, in my case
CC=gcc, and change some other flags?


Cheers,

/ChJ

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

* Re: Can't run ld testsuite
  2002-03-04  0:05 Can't run ld testsuite Christian Jönsson
@ 2002-03-04  4:08 ` Christopher C. Chimelis
  2002-03-04  4:30   ` Christian Jönsson
  0 siblings, 1 reply; 3+ messages in thread
From: Christopher C. Chimelis @ 2002-03-04  4:08 UTC (permalink / raw)
  To: Christian Jönsson; +Cc: Binutils

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=X-UNKNOWN, Size: 614 bytes --]


On Mon, 4 Mar 2002, [iso-8859-1] Christian Jönsson wrote:

> This was on a Debian Woody (test release) sun4m system using
> 
> binutils                           2.11.92.0.12.3-6
> dejagnu                            1.4.2-1
> gcc                                2.95.4-9 (Debian prerelease)
> kernel-image-2.2.20-sun4dm-smp     9
> libc6                              2.2.5-3
> 
> 
> 
> I just recently had a problem with running the ld test suite in
> binutils. Here's an example from the main branch:

This is due to a bug in the Debian dejagnu package.  See Debian
bug#134909 for a patch.

C

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

* Re: Can't run ld testsuite
  2002-03-04  4:08 ` Christopher C. Chimelis
@ 2002-03-04  4:30   ` Christian Jönsson
  0 siblings, 0 replies; 3+ messages in thread
From: Christian Jönsson @ 2002-03-04  4:30 UTC (permalink / raw)
  To: Binutils

On Mon, Mar 04, 2002 at 07:08:26AM -0500, Christopher C. Chimelis wrote:
> 
> On Mon, 4 Mar 2002, [iso-8859-1] Christian Jönsson wrote:
> 
> > This was on a Debian Woody (test release) sun4m system using
> > 
> > binutils                           2.11.92.0.12.3-6
> > dejagnu                            1.4.2-1
> > gcc                                2.95.4-9 (Debian prerelease)
> > kernel-image-2.2.20-sun4dm-smp     9
> > libc6                              2.2.5-3
> > 
> > 
> > 
> > I just recently had a problem with running the ld test suite in
> > binutils. Here's an example from the main branch:
> 
> This is due to a bug in the Debian dejagnu package.  See Debian
> bug#134909 for a patch.

Thanks, I'll try the patch from dejagnu's cvs repository and see what
happens.

Cheers,

/ChJ

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

end of thread, other threads:[~2002-03-04 12:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-04  0:05 Can't run ld testsuite Christian Jönsson
2002-03-04  4:08 ` Christopher C. Chimelis
2002-03-04  4:30   ` Christian Jönsson

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).