This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: "Fix" strip test failure


"H . J . Lu" <hjl@lucon.org> writes:

> On Mon, Apr 30, 2001 at 10:46:18PM +0200, Andreas Jaeger wrote:
> > 
> > Running the testsuite on i686-linux with glibc 2.2 gives the following
> > error:
> > /builds/sourceware-src/build-binutils-ln/binutils/strip-new  tmpdir/testprog.o
> > Executing on host: /builds/sourceware-src/build-binutils-ln/binutils/strip-new  tmpdir/testprog.o   (timeout = 300)
> > bucomm.o: In function `make_tempname':
> > /cvs/binutils-gdb-ln/binutils/bucomm.c:246: the use of `mktemp' is dangerous, better use `mkstemp'
> > bucomm.o: In function `make_tempname':
> > /cvs/binutils-gdb-ln/binutils/bucomm.c:246: the use of `mktemp' is dangerous, better use `mkstemp'
> > 
> > FAIL: strip
> > 
> > The problem is that libtool rebuilds strip and thereby emits this
> > warning :-(.
> > 
> > You can check this problem if you run the testsuite twice in the
> > binutils directory.  The first time it will fail for ld, the second
> > time not.
> > 
> > What do you think of the appended patch?  Or is there a better
> > solution?
> > 
> 
> My Linux binutils has no problems. I have fixed it long time ago:
> 
> http://sources.redhat.com/ml/binutils/2000-10/msg00047.html
> 
> But my patch was not accepted :-(.

Alexandre,

you mentioned in
http://sources.redhat.com/ml/binutils/2000-10/msg00082.html:
> (Which doesn't mean I'm discarding your patch; I'll keep it handy and
> check in it in my next slot of time devoted to libtool, unless you've
> come up with something along the lines I suggest above :-)

Is libtool fixed?  Will libtool 1.4 work without problems?

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]