Tim Prince schrieb: > David Daney wrote: >> Florian wrote: >>> Hello List, >>> >>> I'm using gcc on Trustix-Linux-Platform. I have two versions of gcc >>> (3.4 >>> and 4.1) and both crash in the same way, when compiling sources of >>> squid-cache (http://www.squid-cache.org). >>> Both versions of gcc worked well with every software, but they crash >>> both with this particular squid-sources. >>> >>> What can i do? Please give me a hint. >>> >> Try following the instructions in the error message. >>> Please submit a full bug report, >>> with preprocessed source if appropriate. >>> See <URL:http://bugs.trustix.org/> for instructions >>> Comodo has discontinued trustix. > You might try to build that particular source file without > optimization, while waiting for action on a bug report. How can i buid it "without optimization"? I built a new gcc (4.3.0) from the gnu-sources and have nearly the same problem: /usr/local/gcc430/bin/gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ./configure --prefix=/usr/local/gcc430 --with-gmp=/usr/local/gmp422 --with-mpfr=/usr/local/mpfr231 --enable-languages=c,c++,java,objc Thread model: posix gcc version 4.3.0 (GCC) cd /home/users/bai/squid-3 CC=/usr/local/gcc430/bin/gcc; export CC CXX=/usr/local/gcc430/bin/c++; export CXX CPP=/usr/local/gcc430/bin/cpp; export CPP ./configure --prefix=/usr/local/squid310 make Making all in lib make[1]: Entering directory `/home/users/bai/squid-3/lib' Making all in libTrie make[2]: Entering directory `/home/users/bai/squid-3/lib/libTrie' make all-recursive make[3]: Entering directory `/home/users/bai/squid-3/lib/libTrie' Making all in src make[4]: Entering directory `/home/users/bai/squid-3/lib/libTrie/src' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/users/bai/squid-3/lib/libTrie/src' Making all in test make[4]: Entering directory `/home/users/bai/squid-3/lib/libTrie/test' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/users/bai/squid-3/lib/libTrie/test' make[4]: Entering directory `/home/users/bai/squid-3/lib/libTrie' make[4]: Leaving directory `/home/users/bai/squid-3/lib/libTrie' make[3]: Leaving directory `/home/users/bai/squid-3/lib/libTrie' make[2]: Leaving directory `/home/users/bai/squid-3/lib/libTrie' make[2]: Entering directory `/home/users/bai/squid-3/lib' if /usr/local/gcc430/bin/c++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include - I../include -Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments -g -O2 -MT MemPool.o -MD -MP -MF ".deps/MemPool.Tpo" -c -o MemPool.o MemPool.cc; \ then mv -f ".deps/MemPool.Tpo" ".deps/MemPool.Po"; else rm -f ".deps/Mem Pool.Tpo"; exit 1; fi if /usr/local/gcc430/bin/gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include - I../include -Werror -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototype s -Wmissing-declarations -Wcomments -Wall -g -O2 -MT base64.o -MD -MP -MF ".deps /base64.Tpo" -c -o base64.o base64.c; \ then mv -f ".deps/base64.Tpo" ".deps/base64.Po"; else rm -f ".deps/base6 4.Tpo"; exit 1; fi if /usr/local/gcc430/bin/gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include - I../include -Werror -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototype s -Wmissing-declarations -Wcomments -Wall -g -O2 -MT getfullhostname.o -MD -MP - MF ".deps/getfullhostname.Tpo" -c -o getfullhostname.o getfullhostname.c; \ then mv -f ".deps/getfullhostname.Tpo" ".deps/getfullhostname.Po"; else rm -f ".deps/getfullhostname.Tpo"; exit 1; fi if /usr/local/gcc430/bin/gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include - I../include -Werror -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototype s -Wmissing-declarations -Wcomments -Wall -g -O2 -MT hash.o -MD -MP -MF ".deps/h ash.Tpo" -c -o hash.o hash.c; \ then mv -f ".deps/hash.Tpo" ".deps/hash.Po"; else rm -f ".deps/hash.Tpo" ; exit 1; fi if /usr/local/gcc430/bin/gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include - I../include -Werror -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototype s -Wmissing-declarations -Wcomments -Wall -g -O2 -MT heap.o -MD -MP -MF ".deps/h eap.Tpo" -c -o heap.o heap.c; \ then mv -f ".deps/heap.Tpo" ".deps/heap.Po"; else rm -f ".deps/heap.Tpo" ; exit 1; fi if /usr/local/gcc430/bin/gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include - I../include -Werror -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototype s -Wmissing-declarations -Wcomments -Wall -g -O2 -MT html_quote.o -MD -MP -MF ". deps/html_quote.Tpo" -c -o html_quote.o html_quote.c; \ then mv -f ".deps/html_quote.Tpo" ".deps/html_quote.Po"; else rm -f ".de ps/html_quote.Tpo"; exit 1; fi if /usr/local/gcc430/bin/c++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include - I../include -Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments -g -O2 -MT IPAddress.o -MD -MP -MF ".deps/IPAddress.Tpo" -c -o IPAddress.o IPAddress.cc ; \ then mv -f ".deps/IPAddress.Tpo" ".deps/IPAddress.Po"; else rm -f ".deps /IPAddress.Tpo"; exit 1; fi cc1plus: warnings being treated as errors IPAddress.cc: In member function 'void IPAddress::GetAddrInfo(addrinfo*&, int) c onst': IPAddress.cc:837: error: suggest parentheses around && within || make[2]: *** [IPAddress.o] Error 1 make[2]: Leaving directory `/home/users/bai/squid-3/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/users/bai/squid-3/lib' make: *** [all-recursive] Error 1