Yep, that's it. We've been happily using gcc 4.1.2 on OpenSUSE for test
builds for some time without problem (we don't use it for releases yet, and
won't now!). I guess something changed to make the issue visible to us.
BTW, how sure are we that all these are gcc issues and not some incorrect
code somewhere that triggers undefined behavior?
Which means it could break my CentOS tests also. One missing feature that I know of
for this configuration is that 4.1.2 on this platform does not support gcc atomic builtins.
I need to upgrade this environment anyway.
No, some build release, and some build release-asserts.
Historically, this is a typical sign of llvm being miscompiled, see
the broken-gcc list.
Yep, that's it. We've been happily using gcc 4.1.2 on OpenSUSE for test
builds for some time without problem (we don't use it for releases yet, and
won't now!). I guess something changed to make the issue visible to us.
BTW, how sure are we that all these are gcc issues and not some incorrect
code somewhere that triggers undefined behavior?
Medium sure?
I spent a little while hunting this particular bug, and it acted very
much like a compiler bug. I never narrowed it down to a test case,
though.
I have successfully used gcc 4.2, 4.3, and 4.4 with LLVM.
gcc 3.4 (and older) is no longer good for me, since it doesn't support
the atomic builtins, hence no multithreading support for LLVM.
Other than that it still builds LLVM (or at least it used to a few
months ago).
gcc 4.0.x/4.1.0 is broken on x86 for other reasons, so I haven't tried
it with LLVM. Haven't tried Apple gcc 4.0/ppc, it might work.