[Bug driver/12602] -pthreads and -threads undocumented for Solaris

gdr at integrable-solutions dot net gcc-bugzilla@gcc.gnu.org
Tue Oct 14 04:43:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From gdr at integrable-solutions dot net  2003-10-14 04:43 -------
Subject: Re:  New: -pthreads and -threads undocumented for Solaris

"sebor at roguewave dot com" <gcc-bugzilla@gcc.gnu.org> writes:

| PS The suggested documentation might be something along the following lines
| (following the documentation of the gcc -threads options for HP-UX):

Counter-suggestion:  Have GCC make a consistency statement about thread 
model specified at configuration time and thread model specified at
link time.  If these models are compatible, in the sense that they can
be interchanged, then the whole program behaves as if only one
threading model has been specified.  Otherwise, the meaning is
undefined. 

Since GCC does not distribute POSIX threads nor Solaris threads, it
should state guarantee about libraries it does not have power on.
Put differently, what the host provides is what you get.  If the host
provides a compatible thread library, then you get a compatible
library.

-- Gaby



More information about the Gcc-bugs mailing list