public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgomp/26308]  New: libgomp bootstrap failure on Tru64 UNIX V4.0F
@ 2006-02-15 21:03 gcc-bugzilla at gcc dot gnu dot org
  2006-03-18  6:30 ` [Bug libgomp/26308] [4.2 Regression] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: gcc-bugzilla at gcc dot gnu dot org @ 2006-02-15 21:03 UTC (permalink / raw)
  To: gcc-bugs


Mainline as of 20060206 fails to bootstrap on alpha-dec-osf4.0f while
building libgomp:

/vol/gcc/obj/gcc-4.2.0-20060206/4.0f-gcc/./gcc/xgcc
-B/vol/gcc/obj/gcc-4.2.0-20060206/4.0f-gcc/./gcc/
-B/vol/gcc/share/alpha-dec-osf4.0f/bin/ -B/vol/gcc/share/alpha-dec-osf4.0f/lib/
-isystem /vol/gcc/share/alpha-dec-osf4.0f/include -isystem
/vol/gcc/share/alpha-dec-osf4.0f/sys-include -DHAVE_CONFIG_H -I.
-I/vol/gcc/src/gcc-dist/libgomp -I.
-I/vol/gcc/src/gcc-dist/libgomp/config/posix -I/vol/gcc/src/gcc-dist/libgomp
-Wall -pthread -Werror -O2 -g -O2 -mieee -MT lock.lo -MD -MP -MF .deps/lock.Tpo
-c /vol/gcc/src/gcc-dist/libgomp/config/posix/lock.c   -DPIC -o .libs/lock.o
In file included from /vol/gcc/src/gcc-dist/libgomp/libgomp.h:43,
                 from /vol/gcc/src/gcc-dist/libgomp/config/posix/lock.c:39:
/vol/gcc/obj/gcc-4.2.0-20060206/4.0f-gcc/./gcc/include/pthread.h:877: error:
field '_Pfield' declared as a function

and many more similar errors.  The problem is ultimately due to the fact
that libgomp/posix/lock.c has

/* We need Unix98 extensions to get recursive locks.  */
#define _XOPEN_SOURCE 500

#include "libgomp.h"

Unfortunately, the following trivial program

#include <pthread.h>

fails in the same way when compiled with gcc -pthread -D_XOPEN_SOURCE=500.

Since <pthread.h> has PTHREAD_MUTEX_RECURSIVE even without _XOPEN_SOURCE
defined, one can probably simply omit that definition on Tru64 UNIX (at
least V4.0F, but probably on V5.1B as well).

Environment:
System: OSF1 rimsky V4.0 1229 alpha
Machine: alpha

host: alpha-dec-osf4.0f
build: alpha-dec-osf4.0f
target: alpha-dec-osf4.0f
configured with: /vol/gcc/src/gcc-dist/configure --prefix=/vol/gcc
--with-local-prefix=/vol/gcc --disable-nls --host alpha-dec-osf4.0f --build
alpha-dec-osf4.0f --target alpha-dec-osf4.0f
--with-gmp-dir=/vol/gnu/obj/gmp-4.1.3
--with-mpfr-dir=/vol/gnu/obj/gmp-4.1.3/mpfr
--enable-languages=c,c++,fortran,java,objc,ada --disable-libmudflap

How-To-Repeat:
Bootstrap mainline as above.


-- 
           Summary: libgomp bootstrap failure on Tru64 UNIX V4.0F
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgomp
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ro at techfak dot uni-bielefeld dot de
 GCC build triplet: alpha-dec-osf4.0f
  GCC host triplet: alpha-dec-osf4.0f
GCC target triplet: alpha-dec-osf4.0f


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


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

* [Bug libgomp/26308] [4.2 Regression] libgomp bootstrap failure on Tru64 UNIX V4.0F
  2006-02-15 21:03 [Bug libgomp/26308] New: libgomp bootstrap failure on Tru64 UNIX V4.0F gcc-bugzilla at gcc dot gnu dot org
@ 2006-03-18  6:30 ` pinskia at gcc dot gnu dot org
  2006-03-18  6:33 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-18  6:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-03-18 06:30 -------
Was this fixed?


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build
            Summary|libgomp bootstrap failure on|[4.2 Regression] libgomp
                   |Tru64 UNIX V4.0F            |bootstrap failure on Tru64
                   |                            |UNIX V4.0F
   Target Milestone|---                         |4.2.0
            Version|unknown                     |4.2.0


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


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

* [Bug libgomp/26308] [4.2 Regression] libgomp bootstrap failure on Tru64 UNIX V4.0F
  2006-02-15 21:03 [Bug libgomp/26308] New: libgomp bootstrap failure on Tru64 UNIX V4.0F gcc-bugzilla at gcc dot gnu dot org
  2006-03-18  6:30 ` [Bug libgomp/26308] [4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2006-03-18  6:33 ` pinskia at gcc dot gnu dot org
  2006-05-10 21:28 ` ro at techfak dot uni-bielefeld dot de
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-18  6:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-03-18 06:33 -------
PR 26161 might had fixed this.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |26161


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


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

* [Bug libgomp/26308] [4.2 Regression] libgomp bootstrap failure on Tru64 UNIX V4.0F
  2006-02-15 21:03 [Bug libgomp/26308] New: libgomp bootstrap failure on Tru64 UNIX V4.0F gcc-bugzilla at gcc dot gnu dot org
  2006-03-18  6:30 ` [Bug libgomp/26308] [4.2 Regression] " pinskia at gcc dot gnu dot org
  2006-03-18  6:33 ` pinskia at gcc dot gnu dot org
@ 2006-05-10 21:28 ` ro at techfak dot uni-bielefeld dot de
  2006-06-04 17:47 ` mmitchel at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ro at techfak dot uni-bielefeld dot de @ 2006-05-10 21:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ro at techfak dot uni-bielefeld dot de  2006-05-10 21:28 -------
Subject: Re:  [4.2 Regression] libgomp bootstrap failure on Tru64 UNIX V4.0F

pinskia at gcc dot gnu dot org writes:

> PR 26161 might had fixed this.

No, the problem persists as of 20060503.

        Rainer


-- 


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


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

* [Bug libgomp/26308] [4.2 Regression] libgomp bootstrap failure on Tru64 UNIX V4.0F
  2006-02-15 21:03 [Bug libgomp/26308] New: libgomp bootstrap failure on Tru64 UNIX V4.0F gcc-bugzilla at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2006-05-10 21:28 ` ro at techfak dot uni-bielefeld dot de
@ 2006-06-04 17:47 ` mmitchel at gcc dot gnu dot org
  2007-05-14 21:31 ` [Bug libgomp/26308] [4.2/4.3 " mmitchel at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-06-04 17:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from mmitchel at gcc dot gnu dot org  2006-06-04 17:44 -------
OSF is not release-critical.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P5


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


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

* [Bug libgomp/26308] [4.2/4.3 Regression] libgomp bootstrap failure on Tru64 UNIX V4.0F
  2006-02-15 21:03 [Bug libgomp/26308] New: libgomp bootstrap failure on Tru64 UNIX V4.0F gcc-bugzilla at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2006-06-04 17:47 ` mmitchel at gcc dot gnu dot org
@ 2007-05-14 21:31 ` mmitchel at gcc dot gnu dot org
  2007-07-02 14:37 ` ro at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-05-14 21:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from mmitchel at gcc dot gnu dot org  2007-05-14 22:28 -------
Will not be fixed in 4.2.0; retargeting at 4.2.1.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.0                       |4.2.1


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


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

* [Bug libgomp/26308] [4.2/4.3 Regression] libgomp bootstrap failure on Tru64 UNIX V4.0F
  2006-02-15 21:03 [Bug libgomp/26308] New: libgomp bootstrap failure on Tru64 UNIX V4.0F gcc-bugzilla at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2007-05-14 21:31 ` [Bug libgomp/26308] [4.2/4.3 " mmitchel at gcc dot gnu dot org
@ 2007-07-02 14:37 ` ro at gcc dot gnu dot org
  2007-07-02 14:38 ` ro at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ro at gcc dot gnu dot org @ 2007-07-02 14:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from ro at gcc dot gnu dot org  2007-07-02 14:37 -------
Patch here:

http://gcc.gnu.org/ml/gcc-patches/2006-07/msg00477.html


-- 

ro at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |ro at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-07-02 14:37:35
               date|                            |


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


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

* [Bug libgomp/26308] [4.2/4.3 Regression] libgomp bootstrap failure on Tru64 UNIX V4.0F
  2006-02-15 21:03 [Bug libgomp/26308] New: libgomp bootstrap failure on Tru64 UNIX V4.0F gcc-bugzilla at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2007-07-02 14:37 ` ro at gcc dot gnu dot org
@ 2007-07-02 14:38 ` ro at gcc dot gnu dot org
  2007-07-02 14:41 ` ro at gcc dot gnu dot org
  2007-07-02 14:41 ` ro at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: ro at gcc dot gnu dot org @ 2007-07-02 14:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from ro at gcc dot gnu dot org  2007-07-02 14:38 -------
Subject: Bug 26308

Author: ro
Date: Mon Jul  2 14:38:13 2007
New Revision: 126208

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126208
Log:
        PR libgomp/26308
        * config/posix/lock.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.


Modified:
    trunk/libgomp/ChangeLog
    trunk/libgomp/config/posix/lock.c


-- 


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


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

* [Bug libgomp/26308] [4.2/4.3 Regression] libgomp bootstrap failure on Tru64 UNIX V4.0F
  2006-02-15 21:03 [Bug libgomp/26308] New: libgomp bootstrap failure on Tru64 UNIX V4.0F gcc-bugzilla at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2007-07-02 14:41 ` ro at gcc dot gnu dot org
@ 2007-07-02 14:41 ` ro at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: ro at gcc dot gnu dot org @ 2007-07-02 14:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from ro at gcc dot gnu dot org  2007-07-02 14:41 -------
Subject: Bug 26308

Author: ro
Date: Mon Jul  2 14:41:03 2007
New Revision: 126209

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126209
Log:
        PR libgomp/26308
        * config/posix/lock.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.


Modified:
    branches/gcc-4_2-branch/libgomp/ChangeLog
    branches/gcc-4_2-branch/libgomp/config/posix/lock.c


-- 


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


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

* [Bug libgomp/26308] [4.2/4.3 Regression] libgomp bootstrap failure on Tru64 UNIX V4.0F
  2006-02-15 21:03 [Bug libgomp/26308] New: libgomp bootstrap failure on Tru64 UNIX V4.0F gcc-bugzilla at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2007-07-02 14:38 ` ro at gcc dot gnu dot org
@ 2007-07-02 14:41 ` ro at gcc dot gnu dot org
  2007-07-02 14:41 ` ro at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: ro at gcc dot gnu dot org @ 2007-07-02 14:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from ro at gcc dot gnu dot org  2007-07-02 14:41 -------
Fixed for 4.2.1, 4.3.


-- 

ro at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2007-07-02 14:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-15 21:03 [Bug libgomp/26308] New: libgomp bootstrap failure on Tru64 UNIX V4.0F gcc-bugzilla at gcc dot gnu dot org
2006-03-18  6:30 ` [Bug libgomp/26308] [4.2 Regression] " pinskia at gcc dot gnu dot org
2006-03-18  6:33 ` pinskia at gcc dot gnu dot org
2006-05-10 21:28 ` ro at techfak dot uni-bielefeld dot de
2006-06-04 17:47 ` mmitchel at gcc dot gnu dot org
2007-05-14 21:31 ` [Bug libgomp/26308] [4.2/4.3 " mmitchel at gcc dot gnu dot org
2007-07-02 14:37 ` ro at gcc dot gnu dot org
2007-07-02 14:38 ` ro at gcc dot gnu dot org
2007-07-02 14:41 ` ro at gcc dot gnu dot org
2007-07-02 14:41 ` ro 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).