On Fri, Apr 08, 2011 at 12:43:03PM -0500, Amit Kulkarni wrote:
> I am in the process of updating llvm+clang from 2.8 ==> 2.9
> (maintainer is ports@).

jsg@ already has an update for this.  I believe he's just checking for
broken dependencies now.

> Will some guru please find time to investigate this issue?

I'm hardly a guru on this topic, but I think the diff below should
resolve the problem.  I'm double checking now that this doesn't cause
any build problems for base+xenocara, but it'd be nice if someone
could test to see if it causes problems for the ports tree.  (This
only affects gcc4 arches.)


Index: gnu/gcc/libstdc++-v3/config/os/bsd/openbsd/os_defines.h
===================================================================
RCS file: /cvs/src/gnu/gcc/libstdc++-v3/config/os/bsd/openbsd/os_defines.h,v
retrieving revision 1.2
diff -u -p gnu/gcc/libstdc++-v3/config/os/bsd/openbsd/os_defines.h
--- gnu/gcc/libstdc++-v3/config/os/bsd/openbsd/os_defines.h     26 May 2010 
11:23:06 -0000      1.2
+++ gnu/gcc/libstdc++-v3/config/os/bsd/openbsd/os_defines.h     8 Apr 2011 
18:13:19 -0000
@@ -35,12 +35,5 @@
 // file will come before all others.
 
 #define _GLIBCXX_USE_C99 1
-#define _GLIBCXX_USE_C99_CHECK 1
-#define _GLIBCXX_USE_C99_DYNAMIC (!(__ISO_C_VISIBLE >= 1999))
-#define _GLIBCXX_USE_C99_LONG_LONG_CHECK 1
-#define _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC (_GLIBCXX_USE_C99_DYNAMIC || 
!defined __LONG_LONG_SUPPORTED)
-#define _GLIBCXX_USE_C99_FLOAT_TRANSCENDENTALS_CHECK 1
-#define _GLIBCXX_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC defined _XOPEN_SOURCE
-typedef __builtin_va_list __gnuc_va_list;
 
 #endif

Reply via email to