libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Libtool stresstest.at segfault on Cygwin/MinGW (was: stresstest.at expor


From: Peter Ekberg
Subject: Libtool stresstest.at segfault on Cygwin/MinGW (was: stresstest.at export of w8$ symbol)
Date: Tue, 13 Sep 2005 10:54:38 +0200

* Ralf Wildenhues wrote on Tuesday, September 13, 2005 08:25 CEST:
> Hi Peter, 
> 
> Peter Ekberg writes:
> > make check TESTS="" TESTSUITE_FLAGS='-v -d 22'. 
> > 
> > As you can see, it goes on for quite a while before it segfaults,
> > and no sign of the errors you see. I had a breif look at this
> > new bug and it looks as if there's a problem when accessing v7
> > or v8 (first line in main in main.c, line 90 in stresstest.at) 
> > 
> > Perhaps something along the lines of: 
> > 
> > http://cygwin.com/ml/cygwin/2004-09/msg01101.html 
> > 
> > I think this bug is present for all of MSVC, MinGW and Cygwin,
> > so it smells like some generic windows problem...
> 
> Let's see about this later. 

I now think this is more likely this problem instead:

http://sources.redhat.com/ml/binutils/2004-02/msg00003.html

The bug is present using at least Cygwin/gcc 3.3.3 and MinGW/gcc 3.2.3.

It was a bitch to check if MSVC is affected. The test bugged out
earlier and was terminated before the interesting part.

I really think stresstest.at should be broken up in more tests. As
is, it is PITA to debug problems found by it. Appart from the
difficulty in seeing exactly what went wrong, it is also not
possible (?) to skip ahead to the test you're interested in which
is a big waste of time. It would be valuable to run all tests (or
at least more tests) even if some of them fails.

Anyway, after rearranging the loops so that '-export-symbols asyms'
is first in the l2 loop and '-rpath /nonexistent' is first in the
l3 loop, I see that this bug is not present with MSVC.

I should upgrade to gcc 3.4 or 4 and see if the problem goes away...

Cheers,
Peter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]