sed -i 's/BUILD_INFO=info/BUILD_INFO=/' gcc/configure
Fortunately I was able to find the origin of this crash by comparing the source code of cxxtools 2.1.1 to a working (patched) source package, so I won't need to bother you with this topic anymore.
--- cxxtools-2.1.1/src/utf8codec.cpp 2012-05-03 18:06:16.000000000 +0200
+++ b/cxxtools-2.1.1/src/utf8codec.cpp 2013-03-06 11:35:53.994565118 +0100
@@ -307,7 +307,7 @@
Char* to_next = to;
const char* from_next = from;
- r = codec.in(state, from, from + size, from_next, to, to + sizeof(to), to_next);
+ r = codec.in(state, from, from + size, from_next, to, &to[sizeof(to) / sizeof(Char)], to_next);
if (r == error)
throw ConversionError("character conversion failed");
Thanks for the help.
]]>Hello,
It is very likely that you do not need that at all, but if you really do you could have achieved this quickly by commenting out# make documentation cd $CHOST/libstdc++-v3 make doc-man-doxygen
This was one of the first things I tried but it did not work for me (there are other texinfo calls than just for libstdc++v3).
After installing texinfo-legacy from AUR I added a sed command to the PKGBUILD replacing all occurences of texinfo by texinfo-4.13a - it seems it was compiled without errors, but I saw some errors in the testsuite (which is still running):
Running /home/user/src/gcc/core/gcc/src/gcc-4.7-20130302/gcc/testsuite/g++.dg/dg.exp ...
ERROR: g++.dg/abi/mangle33.C -std=c++98: error executing dg-final: couldn't compile regular expression pattern: out of memory
ERROR: g++.dg/abi/mangle33.C -std=c++11: error executing dg-final: couldn't compile regular expression pattern: out of memory
Hello,
I need debugging symbols for /usr/lib/libgcc_s.so.1 and some other shared libraries built from the gcc source to see what happens in a backtrace created with gdb for a C++ program.<snip>...
What is the best practise to get debug symbols for this shared lib?
It is very likely that you do not need that at all, but if you really do you could have achieved this quickly by commenting out
# make documentation
cd $CHOST/libstdc++-v3
make doc-man-doxygen
I'm still on texlive 2010, maybe that's the reason mine worked (with texinfo 5 unpatched).
texlive has nothing to do with it... you compiled a snapshot with the texinfo fix.
]]>I'm still on texlive 2010, maybe that's the reason mine worked (with texinfo 5 unpatched).
]]>Also the PKGBUILD indicates that using "-pipe" is not reccommended:
# using -pipe causes spurious test-suite failures
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48565
CFLAGS=${CFLAGS/-pipe/}
CXXFLAGS=${CXXFLAGS/-pipe/}
What is the best practise to get debug symbols for this shared lib?
]]>