This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: g++ 4.5.1 on OpenSolaris
- From: asyropoulos at aol dot com
- To: gcc-help at gcc dot gnu dot org
- Date: Sat, 20 Nov 2010 15:32:41 -0500 (EST)
- Subject: Re: g++ 4.5.1 on OpenSolaris
- References: <8CD560D2411267B-104C-2686@webmail-m037.sysops.aol.com> <8CD563F5D979F7C-1788-C12@webmail-m037.sysops.aol.com> <8CD56421927FD7F-1788-FC0@webmail-m037.sysops.aol.com>
Hello again,
After a careful study I have concluded and confirmed that the
following patches solve the problem I reported.
In addition, the corresponding file of the compiler that is bundled
with OpenSolaris/OpenIndiana/Solaris 11 Express
has the same setting.
---
/usr/include/c++/4.5.1.buggy/i386-pc-solaris2.11/amd64/bits/c++config.h
2010-11-20 15:51:11.242093071 +0200
+++
/usr/include/c++/4.5.1/i386-pc-solaris2.11/amd64/bits/c++config.h 2010-11
-
20 22:18:07.303607490 +0200
@@ -1063,7 +1063,7 @@
#define _GLIBCXX_ATOMIC_BUILTINS_8 1
/* Define to use concept checking code from the boost libraries. */
-#define _GLIBCXX_CONCEPT_CHECKS 1
+/* #undef _GLIBCXX_CONCEPT_CHECKS */
/* Define if a fully dynamic basic_string is wanted. */
/* #undef _GLIBCXX_FULLY_DYNAMIC_STRING */
---
/usr/include/c++/4.5.1.buggy/i386-pc-solaris2.11/bits/c++config.h 2010-11
-
20 15:51:11.240246105 +0200
+++
/usr/include/c++/4.5.1/i386-pc-solaris2.11/bits/c++config.h 2010-11-20
19:57
:01.404185004 +0200
@@ -1063,7 +1063,7 @@
#define _GLIBCXX_ATOMIC_BUILTINS_8 1
/* Define to use concept checking code from the boost libraries. */
-#define _GLIBCXX_CONCEPT_CHECKS 1
+/* #undef _GLIBCXX_CONCEPT_CHECKS */
/* Define if a fully dynamic basic_string is wanted. */
/* #undef _GLIBCXX_FULLY_DYNAMIC_STRING */
I really have no idea what has to be done to solve this problem, but I
hope (some) developers
read this list and will patch the source tree accordingly.
Regards,
Apostolos