This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libgomp failures on powerpc-apple-darwin8
- From: Jack Howarth <howarth at bromo dot msbb dot uc dot edu>
- To: gcc at gcc dot gnu dot org
- Cc: jakub at redhat dot com, mrs at apple dot com
- Date: Wed, 14 Mar 2007 20:32:17 -0400
- Subject: Re: libgomp failures on powerpc-apple-darwin8
It looks like modifying the testsuite scripts for libgomp
to properly compile c++ files with g++ will be pretty messy.
Can we just fix PR30703 for now with the simple change...
Index: libgomp/testsuite/libgomp.c++/pr30703.C
===================================================================
/usr/local/bin/gccdiff: line 1: i#!/bin/bash: No such file or directory
--- libgomp/testsuite/libgomp.c++/pr30703.C (revision 122939)
+++ libgomp/testsuite/libgomp.c++/pr30703.C (working copy)
@@ -1,5 +1,6 @@
// PR c++/30703
// { dg-do run }
+// { dg-options "-shared-libgcc" }
#include <omp.h>
which at least suppresses the problem on Darwin. I'll file a PR later that
c++.exp in the libgomp/testsuite/libgomp.c++ needs to use g++ for compiling
(right now it calls gfortran-dg-runtest.exp).
Jack