libtool-patches
[Top][All Lists]
Advanced

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

RE: Libtool head: stresstest.at export of w8$ symbol


From: Peter Ekberg
Subject: RE: Libtool head: stresstest.at export of w8$ symbol
Date: Fri, 9 Sep 2005 12:12:23 +0200

* Ralf Wildenhues wrote on Friday, September 09, 2005 10:48 CEST:
> * Peter Ekberg wrote on Thu, Sep 08, 2005 at 03:13:43PM CEST:
> > * Ralf Wildenhues wrote on Thursday, September 08, 2005 09:42 CEST:
> > > * Peter Ekberg wrote on Fri, Sep 02, 2005 at 09:50:01PM CEST:
> > > > Ralf Wildenhues wrote:
> 
> > > However, with that change, stresstest still eventually 
> fails with a
> > > | Cannot export w1$: symbol not defined
> > > | Cannot export w10$: symbol not defined
> > > | ...
> > > 
> > > on mingw, and a
> > > 
> > > | grep: Invalid back reference
> > > | 
> > > /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/b
> > > in/ld: sub3/.libs/dlself.def:8: syntax error
> > > | 
> > > /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/b
> > in/ld:sub3/.libs/dlself.def: file format not recognized; treating as
> > linker > script
> > > | 
> > > /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/b
> > in/ld:sub3/.libs/dlself.def:2: syntax error
> > > | collect2: ld returned 1 exit status
> > > 
> > > on cygwin, both with gcc.  (Yes, I should be implementing better
> > > stresstest error reporting first..)
> > 
> > Ah, the \\\1 part needs an extra round of escapes. See new patch.
> 
> The new patch still fails with the `w1$' error above.
> 
> > Like this?
> > 
> >     * libltdl/config/ltmain.m4sh (func_generate_dlsyms):
> >     Fix escape expression to actually escape relevant
> >     characters from the following grep. Fix Cygwin and
> >     MinGW to use the filtered symbol list when exporting
> >     from self, and not the symbol filter.
> >     * tests/stresstest.at: Export w8, not w8$
> 
> I believe not.  :)
> (Unless I messed up testing your patch)

I think you did, as it works for me. I just tested again. I'm
attaching the output from

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

*sigh*

Cheers,
Peter

Attachment: testsuite.log.gz
Description: testsuite.log.gz


reply via email to

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