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

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).