public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Fortran-related libgomp failures in case of -fno-openmp
@ 2009-06-01 17:59 Gerald Pfeifer
  2009-06-01 18:14 ` Steve Kargl
  0 siblings, 1 reply; 4+ messages in thread
From: Gerald Pfeifer @ 2009-06-01 17:59 UTC (permalink / raw)
  To: fortran, gcc; +Cc: Janis Johnson

On i386-unknown-freebsd7.1 we see the following tests fail:

  FAIL: libgomp.fortran/condinc2.f  -O  (test for excess errors)
  WARNING: libgomp.fortran/condinc2.f  -O  compilation failed to produce executable
  FAIL: libgomp.fortran/condinc4.f90  -O  (test for excess errors)
  WARNING: libgomp.fortran/condinc4.f90  -O  compilation failed to produce executable
  FAIL: libgomp.fortran/omp_cond2.f  -O  (test for excess errors)
  WARNING: libgomp.fortran/omp_cond2.f  -O  compilation failed to produce executable
  FAIL: libgomp.fortran/omp_cond4.F90  -O  (test for excess errors)
  WARNING: libgomp.fortran/omp_cond4.F90  -O  compilation failed to produce executable

Looking into the log files, the pattern is the same in all cases:

  Excess errors:
  /pfeifer/OBJ-0531-2252/i386-unknown-freebsd7.1/./libgomp/.libs/libgomp.so:
  undefined reference to `pthread_create'

And what all of these three testcases have in common is

  { dg-options "-fno-openmp" }

So, it seems -fno-openmp in combination with an attempt to still link
libgomp.so leads to this failure.


Is it possible this is an issue with the testsuite rather than with
the code on FreeBSD?

Gerald

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

end of thread, other threads:[~2009-06-01 20:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-01 17:59 Fortran-related libgomp failures in case of -fno-openmp Gerald Pfeifer
2009-06-01 18:14 ` Steve Kargl
2009-06-01 19:49   ` Janis Johnson
2009-06-01 20:21     ` Steve Kargl

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