------- Comment #9 from pcarlini at suse dot de  2007-03-12 20:14 -------
(In reply to comment #8)
> Not on Linux: correct.

Ok.

> I could give it a try, but I haven't built this library before. If you could
> point me to a brief how-to, I could give it a try on a Solaris 10 SPARC.
> 
> Rather than code around it, I would first review the preprocessor output from
> the two files which access errno. If the compiler options are the same, then
> problem is somewhere in a header file. And if that's the case, it would be
> useful to understand the issue.

Indeed, the issue is rather mysterious at the moment, because it's not at all
clear why on the targets you are interested in apparently the thread-safe
version is sometimes used, sometimes not. Anyway, I would suggest fetching the
sources of a recent release, say 4.1.2 from our ftp servers and do a build of
the full compiler, building the library alone is not easy:

   http://gcc.gnu.org/install/

In practice, you can probably use default for most of the configure switches,
besides maybe the --prefix= to tell the build systems were you want the
compiler installed (by default is /usr/local), and --languages for the
languages you are interested in. Please let me know if you need more help.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31117

Reply via email to