configure forces use of threads under hpux 10.20

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Wed Apr 5 01:20:00 GMT 2000


> I have looked at this problem further and have found a simple resolution.
> HP-UX 10.20 uses a multilib implementation for threads.  The need to link
> in additional libraries is due to the fact that thread_file is set to
> `dce' for the default version of libgcc.a.  The default thread_file should
> be `single'.  I have successfully built and checked gcc (both with and
> without threads) using the following patch to configure.in.

That's an interesting patch, and it fixes a long-standing
problem. Unfortunately, I don't have a HP/UX system, so I have to ask
instead of testing myself: When you say 'both with and without
threads', do you mean 'both with and without --enable-threads', or
'both with and without -threads'?, the latter being the useful one, of
course.

Anyway, a patch on egcs-bugs easily might be overlooked by maintainers
- would you please consider writing a ChangeLog entry, and
resubmitting it to gcc-patches@gcc.gnu.org?

Thanks,
Martin



More information about the Gcc-bugs mailing list