public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgomp/28296]  New: libgomp fails to configure on Tru64 UNIX
@ 2006-07-06 23:38 gcc-bugzilla at gcc dot gnu dot org
  2006-07-06 23:39 ` [Bug libgomp/28296] " ro at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: gcc-bugzilla at gcc dot gnu dot org @ 2006-07-06 23:38 UTC (permalink / raw)
  To: gcc-bugs


libgomp just doesn't configure any more on Tru64 UNIX V5.1B:

configure: error: Pthreads are required to build libgomp

This is due to the last configure.ac change:

2006-07-05  Eric Christopher  <echristo@apple.com>

        * configure.ac: Depend addition of -pthread on host OS.
        * configure: Regenerate.

which list the -pthread flag during the compile test, so both pthread tests
fail now:

configure:8315:  /vol/gcc/obj/gcc-4.2.0-20060705/5.1b-gcc/./gcc/xgcc
-B/vol/gcc/obj/gcc-4.2.0-20060705/5.1b-gcc/./gcc/
-B/vol/gcc/share/alpha-dec-osf5.1b/bin/ -B/vol/gcc/share/alpha-dec-osf5.1b/lib/
-isystem /vol/gcc/share/alpha-dec-osf5.1b/include -isystem
/vol/gcc/share/alpha-dec-osf5.1b/sys-include -o conftest -O2 -g -O2  -mieee  
conftest.c  >&5
In file included from conftest.c:25:
/vol/gcc/obj/gcc-4.2.0-20060705/5.1b-gcc/./gcc/include/pthread.h:339:4: error:
#error "Please compile the module including pthread.h with -pthread"

Before that patch, -pthread was included and the test succeeded.

I think this tweaking of pthread detection in libgomp must stop: this
introduces problems all over the place.  I suppose there are some tested
autoconf macros to achieve this correctly on all platforms.

Environment:
System: OSF1 bartok V5.1 2650 alpha
Machine: alpha

host: alpha-dec-osf5.1b
build: alpha-dec-osf5.1b
target: alpha-dec-osf5.1b
configured with: /vol/gcc/src/gcc/configure --prefix=/vol/gcc
--with-local-prefix=/vol/gcc --disable-nls --host alpha-dec-osf5.1b --build
alpha-dec-osf5.1b --target alpha-dec-osf5.1b
--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 described above.


-- 
           Summary: libgomp fails to configure on Tru64 UNIX
           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-osf5.1b
  GCC host triplet: alpha-dec-osf5.1b
GCC target triplet: alpha-dec-osf5.1b


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


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

* [Bug libgomp/28296] libgomp fails to configure on Tru64 UNIX
  2006-07-06 23:38 [Bug libgomp/28296] New: libgomp fails to configure on Tru64 UNIX gcc-bugzilla at gcc dot gnu dot org
@ 2006-07-06 23:39 ` ro at gcc dot gnu dot org
  2006-07-08  1:04 ` echristo at apple dot com
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: ro at gcc dot gnu dot org @ 2006-07-06 23:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from ro at gcc dot gnu dot org  2006-07-06 23:39 -------
Eric, could you please have a look?  Your patch broke this (and probably other
platforms as well).

Thanks.
  Rainer


-- 

ro at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |echristo at apple dot com


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


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

* [Bug libgomp/28296] libgomp fails to configure on Tru64 UNIX
  2006-07-06 23:38 [Bug libgomp/28296] New: libgomp fails to configure on Tru64 UNIX gcc-bugzilla at gcc dot gnu dot org
  2006-07-06 23:39 ` [Bug libgomp/28296] " ro at gcc dot gnu dot org
@ 2006-07-08  1:04 ` echristo at apple dot com
  2006-07-08  1:11 ` echristo at apple dot com
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: echristo at apple dot com @ 2006-07-08  1:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from echristo at apple dot com  2006-07-08 01:04 -------
Well, it shouldn't have mattered, but try re-adding the CFLAGS line that I
think I accidentally deleted just after XPCFLAGS:

CFLAGS="$CFLAGS -pthread"

which is also just plain wrong, but perhaps this too should be moved inside the
case block.


-- 


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


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

* [Bug libgomp/28296] libgomp fails to configure on Tru64 UNIX
  2006-07-06 23:38 [Bug libgomp/28296] New: libgomp fails to configure on Tru64 UNIX gcc-bugzilla at gcc dot gnu dot org
  2006-07-06 23:39 ` [Bug libgomp/28296] " ro at gcc dot gnu dot org
  2006-07-08  1:04 ` echristo at apple dot com
@ 2006-07-08  1:11 ` echristo at apple dot com
  2006-07-08  4:03 ` [Bug libgomp/28296] [4.2 Regression] " pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: echristo at apple dot com @ 2006-07-08  1:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from echristo at apple dot com  2006-07-08 01:11 -------
Oh yes, FWIW it worked on both x86-darwin and x86-linux which are the only
platforms I can test :)


-- 


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


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

* [Bug libgomp/28296] [4.2 Regression] libgomp fails to configure on Tru64 UNIX
  2006-07-06 23:38 [Bug libgomp/28296] New: libgomp fails to configure on Tru64 UNIX gcc-bugzilla at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2006-07-08  1:11 ` echristo at apple dot com
@ 2006-07-08  4:03 ` pinskia at gcc dot gnu dot org
  2006-07-10 20:27 ` ro at techfak dot uni-bielefeld dot de
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-07-08  4:03 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build
            Summary|libgomp fails to configure  |[4.2 Regression] libgomp
                   |on Tru64 UNIX               |fails to configure on Tru64
                   |                            |UNIX
   Target Milestone|---                         |4.2.0


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


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

* [Bug libgomp/28296] [4.2 Regression] libgomp fails to configure on Tru64 UNIX
  2006-07-06 23:38 [Bug libgomp/28296] New: libgomp fails to configure on Tru64 UNIX gcc-bugzilla at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2006-07-08  4:03 ` [Bug libgomp/28296] [4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2006-07-10 20:27 ` ro at techfak dot uni-bielefeld dot de
  2006-07-10 21:03 ` echristo at apple dot com
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: ro at techfak dot uni-bielefeld dot de @ 2006-07-10 20:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from ro at techfak dot uni-bielefeld dot de  2006-07-10 20:27 -------
Subject: Re:  libgomp fails to configure on Tru64 UNIX

echristo at apple dot com writes:

> Well, it shouldn't have mattered, but try re-adding the CFLAGS line that I
> think I accidentally deleted just after XPCFLAGS:
> 
> CFLAGS="$CFLAGS -pthread"
> 
> which is also just plain wrong, but perhaps this too should be moved inside the
> case block.

Restoring this in the original place works (at least make
configure-target-libgomp completes successfully).

        Rainer


-- 


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


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

* [Bug libgomp/28296] [4.2 Regression] libgomp fails to configure on Tru64 UNIX
  2006-07-06 23:38 [Bug libgomp/28296] New: libgomp fails to configure on Tru64 UNIX gcc-bugzilla at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2006-07-10 20:27 ` ro at techfak dot uni-bielefeld dot de
@ 2006-07-10 21:03 ` echristo at apple dot com
  2006-07-17  3:10 ` mmitchel at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: echristo at apple dot com @ 2006-07-10 21:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from echristo at apple dot com  2006-07-10 21:03 -------
Well, the original place isn't correct because -pthread isn't valid for all
platforms, but it could be moved to where I have XPCFLAGS for non-darwin
targets.


-- 


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


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

* [Bug libgomp/28296] [4.2 Regression] libgomp fails to configure on Tru64 UNIX
  2006-07-06 23:38 [Bug libgomp/28296] New: libgomp fails to configure on Tru64 UNIX gcc-bugzilla at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2006-07-10 21:03 ` echristo at apple dot com
@ 2006-07-17  3:10 ` mmitchel at gcc dot gnu dot org
  2006-07-17  8:52 ` echristo at apple dot com
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-07-17  3:10 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

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


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


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

* [Bug libgomp/28296] [4.2 Regression] libgomp fails to configure on Tru64 UNIX
  2006-07-06 23:38 [Bug libgomp/28296] New: libgomp fails to configure on Tru64 UNIX gcc-bugzilla at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2006-07-17  3:10 ` mmitchel at gcc dot gnu dot org
@ 2006-07-17  8:52 ` echristo at apple dot com
  2006-09-11 16:36 ` roger at eyesopen dot com
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: echristo at apple dot com @ 2006-07-17  8:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from echristo at apple dot com  2006-07-17 08:52 -------
Rainer, did you want to check building with the cflags inside the case
statement?


-- 


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


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

* [Bug libgomp/28296] [4.2 Regression] libgomp fails to configure on Tru64 UNIX
  2006-07-06 23:38 [Bug libgomp/28296] New: libgomp fails to configure on Tru64 UNIX gcc-bugzilla at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2006-07-17  8:52 ` echristo at apple dot com
@ 2006-09-11 16:36 ` roger at eyesopen dot com
  2007-02-06 15:09 ` [Bug libgomp/28296] [4.2/4.3 " sayle at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: roger at eyesopen dot com @ 2006-09-11 16:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from roger at eyesopen dot com  2006-09-11 16:36 -------
Patch posted here: http://gcc.gnu.org/ml/gcc-patches/2006-09/msg00406.html


-- 

roger at eyesopen dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |roger at eyesopen dot com
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-09-11 16:36:30
               date|                            |


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


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

* [Bug libgomp/28296] [4.2/4.3 Regression] libgomp fails to configure on Tru64 UNIX
  2006-07-06 23:38 [Bug libgomp/28296] New: libgomp fails to configure on Tru64 UNIX gcc-bugzilla at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2006-09-11 16:36 ` roger at eyesopen dot com
@ 2007-02-06 15:09 ` sayle at gcc dot gnu dot org
  2007-02-06 15:16 ` sayle at gcc dot gnu dot org
  2007-02-07 13:42 ` jakub at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: sayle at gcc dot gnu dot org @ 2007-02-06 15:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from sayle at gcc dot gnu dot org  2007-02-06 15:09 -------
Subject: Bug 28296

Author: sayle
Date: Tue Feb  6 15:09:17 2007
New Revision: 121649

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121649
Log:

        PR libgomp/28296
        Backport from mainline.
        * config/darwin.h (CPP_SPEC): Handle -pthread, transforming
        it into -D_REENTRANT.


Modified:
    branches/gcc-4_2-branch/gcc/ChangeLog
    branches/gcc-4_2-branch/gcc/config/darwin.h


-- 


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


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

* [Bug libgomp/28296] [4.2/4.3 Regression] libgomp fails to configure on Tru64 UNIX
  2006-07-06 23:38 [Bug libgomp/28296] New: libgomp fails to configure on Tru64 UNIX gcc-bugzilla at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2007-02-06 15:09 ` [Bug libgomp/28296] [4.2/4.3 " sayle at gcc dot gnu dot org
@ 2007-02-06 15:16 ` sayle at gcc dot gnu dot org
  2007-02-07 13:42 ` jakub at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: sayle at gcc dot gnu dot org @ 2007-02-06 15:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from sayle at gcc dot gnu dot org  2007-02-06 15:15 -------
Subject: Bug 28296

Author: sayle
Date: Tue Feb  6 15:15:33 2007
New Revision: 121650

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121650
Log:

        PR libgomp/28296
        Backport from mainline.
        Revert:
        2006-07-05  Eric Christopher  <echristo@apple.com>
        * configure.ac: Depend addition of -pthread on host OS.
        * configure: Regenerate.


Modified:
    branches/gcc-4_2-branch/libgomp/ChangeLog
    branches/gcc-4_2-branch/libgomp/configure
    branches/gcc-4_2-branch/libgomp/configure.ac


-- 


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


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

* [Bug libgomp/28296] [4.2/4.3 Regression] libgomp fails to configure on Tru64 UNIX
  2006-07-06 23:38 [Bug libgomp/28296] New: libgomp fails to configure on Tru64 UNIX gcc-bugzilla at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  2007-02-06 15:16 ` sayle at gcc dot gnu dot org
@ 2007-02-07 13:42 ` jakub at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-02-07 13:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from jakub at gcc dot gnu dot org  2007-02-07 13:42 -------
Should be fixed on the trunk and 4.2 branch now, thanks Roger.


-- 

jakub at gcc dot gnu dot org changed:

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


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


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

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

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-06 23:38 [Bug libgomp/28296] New: libgomp fails to configure on Tru64 UNIX gcc-bugzilla at gcc dot gnu dot org
2006-07-06 23:39 ` [Bug libgomp/28296] " ro at gcc dot gnu dot org
2006-07-08  1:04 ` echristo at apple dot com
2006-07-08  1:11 ` echristo at apple dot com
2006-07-08  4:03 ` [Bug libgomp/28296] [4.2 Regression] " pinskia at gcc dot gnu dot org
2006-07-10 20:27 ` ro at techfak dot uni-bielefeld dot de
2006-07-10 21:03 ` echristo at apple dot com
2006-07-17  3:10 ` mmitchel at gcc dot gnu dot org
2006-07-17  8:52 ` echristo at apple dot com
2006-09-11 16:36 ` roger at eyesopen dot com
2007-02-06 15:09 ` [Bug libgomp/28296] [4.2/4.3 " sayle at gcc dot gnu dot org
2007-02-06 15:16 ` sayle at gcc dot gnu dot org
2007-02-07 13:42 ` jakub 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).