public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgomp/41418]  New: Can't build libgomp without --enable-languages=fortran
@ 2009-09-20 14:43 davek at gcc dot gnu dot org
  2009-09-20 14:57 ` [Bug libgomp/41418] " davek at gcc dot gnu dot org
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: davek at gcc dot gnu dot org @ 2009-09-20 14:43 UTC (permalink / raw)
  To: gcc-bugs

[ ref: http://gcc.gnu.org/ml/gcc/2009-08/msg00085.html ]

> libtool: link: /opt/gcc-tools/i686-pc-cygwin/bin/ar rc .libs/libgomp.lib  alloc.
> o barrier.o critical.o env.o error.o iter.o iter_ull.o loop.o loop_ull.o ordered
> .o parallel.o sections.o single.o task.o team.o work.o lock.o mutex.o proc.o sem
> .o bar.o ptrlock.o time.o fortran.o affinity.o
> /opt/gcc-tools/i686-pc-cygwin/bin/ar: .libs/libgomp.lib: File format not recogni
> zed
> make[4]: *** [libgomp.la] Error 1
> 
> $ file i686-pc-cygwin/libgomp/.libs/libgomp.lib
> i686-pc-cygwin/libgomp/.libs/libgomp.lib: symbolic link to `libgomp-1.dll'

  There's one immediately obvious difference in the generated makefiles between
a bad and a good build:

> -#nodist_finclude_HEADERS = omp_lib.h omp_lib.f90 omp_lib.mod omp_lib_kinds.mod
> +nodist_finclude_HEADERS = omp_lib.h omp_lib.f90 omp_lib.mod omp_lib_kinds.mod

  The good file has the nodist_finclude_HEADERS defined (makes sense), this
adds extra dependencies in the build, and because these files are generated by
running config.status I wonder if there's some kind of either parallel build
missing dependency problem or just a consequence of invoking config.status at a
different time during the build sequence.

  In connection with that, I found an interesting difference when comparing two
config.log files (both from successful builds, as it happens):

@@ -1498,3 +1500,21 @@ toolexeclibdir='$(toolexecdir)/$(gcc_ver
 #define HAVE_SYNC_BUILTINS 1

 configure: exit 0
+
+## ---------------------- ##
+## Running config.status. ##
+## ---------------------- ##
+
+This file was extended by GNU OpenMP Runtime Library config.status 1.0, which
w
as
+generated by GNU Autoconf 2.64.  Invocation command line was
+
+  CONFIG_FILES    =
+  CONFIG_HEADERS  =
+  CONFIG_LINKS    =
+  CONFIG_COMMANDS =
+  $ ./config.status Makefile depfiles
+
+on ubik
+
+config.status:1233: creating Makefile
+config.status:1446: executing depfiles commands

  This also makes me think that there's some uncertainty in exactly how and
where config.status is getting run.


-- 
           Summary: Can't build libgomp without --enable-languages=fortran
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgomp
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: davek at gcc dot gnu dot org
 GCC build triplet: i686-pc-cygwin
  GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin


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


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

end of thread, other threads:[~2009-10-17  7:37 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-20 14:43 [Bug libgomp/41418] New: Can't build libgomp without --enable-languages=fortran davek at gcc dot gnu dot org
2009-09-20 14:57 ` [Bug libgomp/41418] " davek at gcc dot gnu dot org
2009-09-20 15:00 ` davek at gcc dot gnu dot org
2009-09-21  7:46 ` rwild at gcc dot gnu dot org
2009-09-21  7:53 ` davek at gcc dot gnu dot org
2009-09-21 17:44 ` davek at gcc dot gnu dot org
2009-09-21 17:44 ` davek at gcc dot gnu dot org
2009-09-21 17:51 ` Ralf dot Wildenhues at gmx dot de
2009-09-21 17:57 ` davek at gcc dot gnu dot org
2009-09-21 17:57 ` davek at gcc dot gnu dot org
2009-09-21 20:16 ` rwild at gcc dot gnu dot org
2009-09-22 11:55 ` davek at gcc dot gnu dot org
2009-09-30 21:25 ` davek at gcc dot gnu dot org
2009-09-30 21:26 ` davek at gcc dot gnu dot org
2009-10-05  5:17 ` Ralf dot Wildenhues at gmx dot de
2009-10-07 20:33 ` davek at gcc dot gnu dot org
2009-10-08 19:07 ` rwild at gcc dot gnu dot org
2009-10-08 19:38 ` davek at gcc dot gnu dot org
2009-10-08 19:57 ` rwild at gcc dot gnu dot org
2009-10-10  7:35 ` davek at gcc dot gnu dot org
2009-10-10 17:46 ` davek at gcc dot gnu dot org
2009-10-17  7:35 ` rwild at gcc dot gnu dot org
2009-10-17  7:37 ` rwild 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).