[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gcc-4.6 build failure on kfreebsd-*



gcc-4.6 fails in experimental after build & check while generating/printing the
test summary. I can't see any kfreebsd specific. Could somebody from the
kfreebsd porters please investigate the build failure?

There is a problem during testing of libgomp in 32 bit mode.
I.e. on kfreebsd-amd64 the RUNTESTFLAGS="--target_board=unix\{-m32\}"
and on kfreebsd-i386 the native one.

Please could you disable test of libgomp on kfreebsd-* in mean time.

Or better, just "disable" the problematic test.
Tested on kfreebsd-amd64.

--- a/src/libgomp/testsuite/libgomp.c/lock-2.c
+++ b/src/libgomp/testsuite/libgomp.c/lock-2.c
@@ -4,6 +4,9 @@
 int
 main (void)
 {
+#ifdef __FreeBSD_kernel__
+  return 1;
+#endif
   int l = 0;
   omp_nest_lock_t lock;
   omp_init_nest_lock (&lock);

I also believe (untested) that the parallel build
can be enabled again - please revert r5074 from SVN.

Thanks

		Petr


Reply to: