On Tue, Feb 22, 2011 at 09:17:24PM +0100, Rainer Orth wrote: > "Peter O'Gorman" <pogma@xxxxxxxxxxxxxxxxxx> writes: > > > > This patch (for gcc-4.4, but if this is the right way to go, we will > > forward port) works around the issue. Is it the correct approach? Or > > perhaps the problem is specific to our build of gcc-4.4 on IRIX? > > Sorry for chiming in so late: I've been off for an extended weekend. No problem, thanks for replying. > > No, I don't think this is the right approach, but just a hack: if > libstdc++ needs the full/real libpthread to work on IRIX (which I assume > is the case, just as on Tru64 UNIX), it should be linked with it > directly instead of hacking around in the driver. If the library is > properly self-contained (as it should), it doesn't depend on being > linked with g++, but works with the gcc driver as well. That makes sense. Thanks. > Could you file a PR for this issue in the meantime and Cc: me? http://gcc.gnu.org/PR47852 Peter -- Peter O'Gorman pogma@xxxxxxxxxxxxxxxxxx