Building problems with regex on a SuSE 8.1 installation
Hi I tried to compile boost 1.29.0 on a SuSE 8.1 machine and got the following error: gcc-C++-action libs/regex/build/bin/libboost_regex.so/gcc/release/runtime-link-dynamic/shar ed-linkable-true/cregex.o /home/adtsbuilder/boost_1_29_0/boost/regex/detail/regex_match.hpp: In member function `unsigned int boost::RegEx::GrepFiles(bool (*)(const char*, const boost::RegEx&), const char*, bool, unsigned int)': /home/adtsbuilder/boost_1_29_0/boost/regex/detail/regex_match.hpp:1902: Internal compiler error in expand_call, at calls.c:3049 Please submit a full bug report, with preprocessed source if appropriate. See URL:http://www.gnu.org/software/gcc/bugs.html for instructions. The used compiler is the one delivered with SuSE 8.1. It is a gcc 3.2. Does anybody knows what the problem might be? Regards Beat
beat.schaer@ruag.com wrote:
Hi
I tried to compile boost 1.29.0 on a SuSE 8.1 machine and got the following error:
gcc-C++-action
libs/regex/build/bin/libboost_regex.so/gcc/release/runtime-link-dynamic/shar
ed-linkable-true/cregex.o /home/adtsbuilder/boost_1_29_0/boost/regex/detail/regex_match.hpp: In member
function `unsigned int boost::RegEx::GrepFiles(bool (*)(const char*, const boost::RegEx&), const char*, bool, unsigned int)': /home/adtsbuilder/boost_1_29_0/boost/regex/detail/regex_match.hpp:1902: Internal compiler error in expand_call, at calls.c:3049
I know that this won't really help you, but it has been logged in gcc's bug database, http://gcc.gnu.org/cgi-bin/gnatsweb.pl PR # 8240 Regards, Stephen Jackson stephen.jackson@scribitur.com
I tried to compile boost 1.29.0 on a SuSE 8.1 machine and got the following error:
gcc-C++-action
libs/regex/build/bin/libboost_regex.so/gcc/release/runtime-link-dynamic/shar
ed-linkable-true/cregex.o /home/adtsbuilder/boost_1_29_0/boost/regex/detail/regex_match.hpp: In member
function `unsigned int boost::RegEx::GrepFiles(bool (*)(const char*, const boost::RegEx&), const char*, bool, unsigned int)': /home/adtsbuilder/boost_1_29_0/boost/regex/detail/regex_match.hpp:1902: Internal compiler error in expand_call, at calls.c:3049 Please submit a full bug report, with preprocessed source if appropriate. See URL:http://www.gnu.org/software/gcc/bugs.html for instructions.
The used compiler is the one delivered with SuSE 8.1. It is a gcc 3.2.
Does anybody knows what the problem might be?
No, strangely regex does build on Red Hat with gcc3.2, and on my Suse7 system with gcc 3.2, so I don't really know what the issue is, if you can find a fix I would be happy to apply it though... John Maddock http://ourworld.compuserve.com/homepages/john_maddock/index.htm
"John Maddock"
No, strangely regex does build on Red Hat with gcc3.2, and on my Suse7 system with gcc 3.2, so I don't really know what the issue is, if you can find a fix I would be happy to apply it though...
No fix, but worse news: I have built gcc 3.2.1 on SuSE 8.1, and it builds regex (with a lot of warnings). But I can't use the result. I had to remove all calls to regex_match (that used to work just fine on e.g. SuSE 7.2 / gcc 3.0.4), because it overwrites memory it shouldn't, causing crashes, e.g. when dereferencing overwritten pointers. Since I can compile here, I might be of help for debugging, though. If you have a test program that you'd like me to build and run and tell you about the result, just send it to me.
participants (4)
-
beat.schaer@ruag.com
-
John Maddock
-
Stephen Jackson
-
Thomas Maeder