Bug#278379: Atomic stdc++ operations are broken on some MIPS machines

2004-10-27 Thread Thiemo Seufer
Daniel Jacobowitz wrote: [snip] > > At least so far, MIPS was careful to extend successor ISAs to a > > proper superset of the predecessor WRT non-privileged instructions. > > Fine by me then. Want to run this by the MIPS maintainers upstream > first? I want it to go in sarge if this is still po

Bug#278379: Atomic stdc++ operations are broken on some MIPS machines

2004-10-27 Thread Thiemo Seufer
Daniel Jacobowitz wrote: [snip] > > > IIRC, likely branches are deprecated in the latest MIPS ISAs; we > > > shouldn't be introducing more of them. I don't know what silicon bug > > > you're working around, though, so I don't know if there's a better way. > > > > R1 before revision 2.6 fail t

Bug#278379: Atomic stdc++ operations are broken on some MIPS machines

2004-10-27 Thread Daniel Jacobowitz
On Wed, Oct 27, 2004 at 07:45:40PM +0200, Thiemo Seufer wrote: > Daniel Jacobowitz wrote: > [snip] > > > > IIRC, likely branches are deprecated in the latest MIPS ISAs; we > > > > shouldn't be introducing more of them. I don't know what silicon bug > > > > you're working around, though, so I don't

Bug#278379: Atomic stdc++ operations are broken on some MIPS machines

2004-10-27 Thread Daniel Jacobowitz
On Wed, Oct 27, 2004 at 07:09:49PM +0200, Thiemo Seufer wrote: > Daniel Jacobowitz wrote: > [snip] > > > The appended patch fixes it. It also changes the branch to the likely > > > variant, this works around some breakage in early R1 silicon. > > > The patch is against gcc-3.3, newer gccs have

Bug#278379: Atomic stdc++ operations are broken on some MIPS machines

2004-10-27 Thread Thiemo Seufer
Daniel Jacobowitz wrote: [snip] > > The appended patch fixes it. It also changes the branch to the likely > > variant, this works around some breakage in early R1 silicon. > > The patch is against gcc-3.3, newer gccs have the same problem, but > > have some apparently bogus changes in that area

Bug#278379: Atomic stdc++ operations are broken on some MIPS machines

2004-10-27 Thread Daniel Jacobowitz
On Tue, Oct 26, 2004 at 04:09:15PM +0200, Thiemo Seufer wrote: > Package: gcc-3.3 > Version: 3.3.5-1 > Severity: important > > While trying to run Debian on a SGI O200 Machine I found out that the > inline assembly to handle atomic operations in libstdc++ is broken. > The effect is very visible: "

Bug#278379: Atomic stdc++ operations are broken on some MIPS machines

2004-10-26 Thread Thiemo Seufer
Package: gcc-3.3 Version: 3.3.5-1 Severity: important While trying to run Debian on a SGI O200 Machine I found out that the inline assembly to handle atomic operations in libstdc++ is broken. The effect is very visible: "apt-get update" hangs in an endless loop on startup, same for every other c++