This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
RE: Heads up: Several thousand g++ and libstdc++ test failures on sparc[64]
- From: Pétur Runólfsson <peturr02 at ru dot is>
- To: "Andreas Tobler" <toa at pop dot agri dot ch>
- Cc: "Benjamin Kosnik" <bkoz at redhat dot com>,<libstdc++ at gcc dot gnu dot org>
- Date: Mon, 6 Oct 2003 20:09:16 -0000
- Subject: RE: Heads up: Several thousand g++ and libstdc++ test failures on sparc[64]
Andread Tobler wrote:
> - GTHREADS is defined.
> - gthr-posix.h is used.
Hmmm... are there known problems with using pthread_once before
execution of main on Solaris?
> The other points I have to try, it is difficult since it gets a SEGV.
[...]
> I can't set any good breakpoint:
The best way I have found to debug the library initialization code
is
1) Edit testsuite_files to only run the required tests.
2) Insert lots of fprintf(stderr, ...) statements in the library source.
3) Build the library. If headers have been modified the corresponding
source files need to be touched.
4) Run the testsuite.
5) Check the output in libstdc++.log
6) Repeat.
> section .gnu.linkonce.t._ZNKSt7collateIwE10do_compareEPKwS2_S2_S2_
> _ZNKSt7collateIwE10do_compareEPKwS2_S2_S2_()
That at least confirms that this has something to do with locale.
Petur