This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/10797] filebuf.open() locks when using -lpthread on MIPS
- From: "bkoz at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Dec 2003 21:39:31 -0000
- Subject: [Bug libstdc++/10797] filebuf.open() locks when using -lpthread on MIPS
- References: <20030515093600.10797.toojays@toojays.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bkoz at gcc dot gnu dot org 2003-12-10 21:39 -------
A couple of things. One, you should be using "g++ -pthread" to link thread code
on linux (and all other platforms, but whatever). Two, this does seem to be a
problem in other parts of the toolchain, or a mips-specific issue: I am unable
to reproduce this on x86/linux, for instance.
Third, I ran this on my TiVo box and it seemed to work.
Psych. However, it would be nice if somebody with this setup could run with
different LD_ASSUME_KERNEL settings. Ie:
LD_ASSUME_KERNEL=2.4.19
-benjamin
--
What |Removed |Added
----------------------------------------------------------------------------
Version|3.2.2 |3.3.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10797