public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgomp/29494]  New: libgomp build fails with missing pthread_mutexattr_settype
@ 2006-10-18  3:01 rbrown at bravurasolutions dot com dot au
  2006-10-18  5:18 ` [Bug libgomp/29494] " ebotcazou at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: rbrown at bravurasolutions dot com dot au @ 2006-10-18  3:01 UTC (permalink / raw)
  To: gcc-bugs

libgomp fails to build on Solaris 2.6 because it lacks
pthread_mutexattr_settype
and PTHREAD_MUTEX_EXCLUSIVE in "@(#)pthread.h  1.16    97/05/05 SMI".
Solaris 2.8 "@(#)pthread.h  1.28    99/11/15 SMI" has the function and define.

/devel/src/gcc-4.2-20060930.obj/./gcc/xgcc
-B/devel/src/gcc-4.2-20060930.obj/./gcc/ -B/usr/local/sparc-sun-solaris2.6/bin/
  -B/usr/local/sparc-sun-solaris2.6/lib/
 -isystem /usr/local/sparc-sun-solaris2.6/include
 -isystem /usr/local/sparc-sun-solaris2.6/sys-include -DHAVE_CONFIG_H
 -I. -I../../../gcc-4.2-20060930/libgomp -I.
-I../../../gcc-4.2-20060930/libgomp/config/posix 
-I../../../gcc-4.2-20060930/libgomp
 -Wall -Werror -O2 -g -O2 -MT 
lock.lo -MD -MP -MF .deps/lock.Tpo -c
../../../gcc-4.2-20060930/libgomp/config/posix/lock.c  -fPIC -DPIC -o
.libs/lock.o
cc1: warnings being treated as errors
../../../gcc-4.2-20060930/libgomp/config/posix/lock.c: In function
'omp_init_nest_lock':
../../../gcc-4.2-20060930/libgomp/config/posix/lock.c:78: warning: implicit
declaration of function 'pthread_mutexattr_settype'
../../../gcc-4.2-20060930/libgomp/config/posix/lock.c:78: error:
'PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function)
../../../gcc-4.2-20060930/libgomp/config/posix/lock.c:78: error: (Each
undeclared identifier is reported only once
../../../gcc-4.2-20060930/libgomp/config/posix/lock.c:78: error: for each
function it appears in.)
make[4]: *** [lock.lo] Error 1


-- 
           Summary: libgomp build fails with missing
                    pthread_mutexattr_settype
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P3
         Component: libgomp
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rbrown at bravurasolutions dot com dot au
 GCC build triplet: sparc-sun-solaris2.6
  GCC host triplet: sparc-sun-solaris2.6
GCC target triplet: sparc-sun-solaris2.6


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2006-10-27  4:38 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-18  3:01 [Bug libgomp/29494] New: libgomp build fails with missing pthread_mutexattr_settype rbrown at bravurasolutions dot com dot au
2006-10-18  5:18 ` [Bug libgomp/29494] " ebotcazou at gcc dot gnu dot org
2006-10-18 17:07 ` [Bug libgomp/29494] [4.2 Regression] " pinskia at gcc dot gnu dot org
2006-10-18 22:55 ` rbrown at bravurasolutions dot com dot au
2006-10-19  4:49 ` ebotcazou at gcc dot gnu dot org
2006-10-21  8:08 ` ebotcazou at gcc dot gnu dot org
2006-10-24 13:59 ` [Bug libgomp/29494] [4.2/4.3 " ebotcazou at gcc dot gnu dot org
2006-10-24 14:00 ` ebotcazou at gcc dot gnu dot org
2006-10-24 14:01 ` ebotcazou at gcc dot gnu dot org
2006-10-27  0:55 ` jvdelisle at verizon dot net
2006-10-27  1:01 ` jvdelisle at gcc dot gnu dot org
2006-10-27  4:32 ` ebotcazou at gcc dot gnu dot org
2006-10-27  4:38 ` jvdelisle at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).