Someone broke darwin?

Mike Stump mrs@apple.com
Tue Jul 11 01:20:00 GMT 2006


Gosh, so close...

I found that the below patch gets me one step closer to it building.   
I'm sure it is wrong... but it should be enough of a hint for the  
right person to know how to fix it.

Doing diffs in libstdc++-v3:
--- libstdc++-v3/include/ext/codecvt_specializations.h.~1~       
2005-12-20 12:50:02.000000000 -0800
+++ libstdc++-v3/include/ext/codecvt_specializations.h  2006-07-10  
18:03:56.000000000 -0700
@@ -42,6 +42,8 @@
    // Define this here so codecvt.cc can have _S_max_size definition.
#define _GLIBCXX_USE_ENCODING_STATE 1
+#include <iconv.h>
+
_GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
    /// @brief  Extension to use icov for dealing with character  
encodings.
--------------

The next problem after that one is that:

/Volumes/mrs3/net/gcc-darwin/./gcc/xgcc -shared-libgcc -B/Volumes/ 
mrs3/net/gcc-darwin/./gcc -nostdinc++ -L/Volumes/mrs3/net/gcc-darwin/ 
powerpc-apple-darwin8.5.0/libstdc++-v3/src -L/Volumes/mrs3/net/gcc- 
darwin/powerpc-apple-darwin8.5.0/libstdc++-v3/src/.libs -B/Volumes/ 
mrs3/Packages/gcc-20060518/powerpc-apple-darwin8.5.0/bin/ -B/Volumes/ 
mrs3/Packages/gcc-20060518/powerpc-apple-darwin8.5.0/lib/ -isystem / 
Volumes/mrs3/Packages/gcc-20060518/powerpc-apple-darwin8.5.0/include - 
isystem /Volumes/mrs3/Packages/gcc-20060518/powerpc-apple-darwin8.5.0/ 
sys-include -Winvalid-pch -Wno-deprecated -x c++-header -g -O2  -I/ 
Volumes/mrs3/net/gcc-darwin/powerpc-apple-darwin8.5.0/libstdc++-v3/ 
include/powerpc-apple-darwin8.5.0 -I/Volumes/mrs3/net/gcc-darwin/ 
powerpc-apple-darwin8.5.0/libstdc++-v3/include -I/Volumes/mrs3/net/ 
gcc/libstdc++-v3/libsupc++ -O2 -g /Volumes/mrs3/net/gcc/libstdc++-v3/ 
include/precompiled/extc++.h -o powerpc-apple-darwin8.5.0/bits/extc+ 
+.h.gch/O2g.gch
/Volumes/mrs3/net/gcc-darwin/powerpc-apple-darwin8.5.0/libstdc++-v3/ 
include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp:235: internal  
compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [powerpc-apple-darwin8.5.0/bits/extc++.h.gch/O2g.gch]  
Error 1

die...  :-(  Not yet sure why...



More information about the Gcc mailing list