components/stdcxx/patches/035-iostream.patch
author Petr Sumbera <petr.sumbera@oracle.com>
Tue, 14 Mar 2017 02:44:36 -0700
changeset 7847 ec4c46e50642
parent 402 94ae4d75524c
permissions -rw-r--r--
25716748 Upgrade Apache Tomcat to version 8.5.11 25716728 problem in UTILITY/TOMCAT

--- stdcxx-4.2.1/include/iostream	2008-04-24 20:23:57.000000000 -0400
+++ stdcxx-4.2.1/include/iostream	2009-07-29 17:13:40.554302000 -0400
@@ -43,6 +43,11 @@
 // static stream initializer object defined in every translation unit
 // that (directly or otherwise) #includes this header (except the one
 // that defines iostream objects to prevent undesirable dependencies)
+
+#if defined(_RWSTD_STRICT_SPARCV8_MUTEX_ALIGNMENT)
+#  pragma align 8(__rw_stream_initializer)
+#endif
+
 static _STD::ios_base::Init __rw_stream_initializer;
 
 }   // namespace __rw