Re: [squid-users] squid-3 make

From: Florian <[email protected]>
Date: Fri, 18 Apr 2008 07:27:51 +0200

Robert Collins schrieb:
> The log you included shows your compiler has crashed. You should submit
> a bug report to gcc.
>
> -Rob
>
Thanks for the hint. I will submit the log to them, but i'm in doubt, if
they can help, beause the compiler (gcc 3.4) works well with all
sources, including squid-3.0.STABLE4. It just crashes, when compiling
this special squid sources.

Another compiler (gcc 4.1.1) crashes too when compiling the squid-3.1
sources.

Where is my mistake?

Bye Florian

CC=/usr/bin/gcc4; export CC
odilo #./configure --prefix="/usr/local/squid31"
odilo #make
...
...
/usr/bin/ar cru libsnmp.a asn1.o parse.o snmp_vars.o coexistance.o
snmp_api.o sn mp_error.o mib.o snmp_api_error.o snmp_msg.o
snmp_pdu.o snmplib_debug.o
ranlib libsnmp.a
make[1]: Leaving directory `/home/users/bai/squid-3/snmplib'
Making all in scripts
make[1]: Entering directory `/home/users/bai/squid-3/scripts'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/users/bai/squid-3/scripts'
Making all in src
make[1]: Entering directory `/home/users/bai/squid-3/src'
sed "\
        s%@DEFAULT_HTTP_PORT@%3128%g;\
        s%@DEFAULT_ICP_PORT@%3130%g;\
        s%@DEFAULT_CACHE_EFFECTIVE_USER@%nobody%g;\
        s%@DEFAULT_MIME_TABLE@%/usr/local/squid31/etc/mime.conf%g;\
        s%@DEFAULT_DNSSERVER@%/usr/local/squid31/libexec/`echo dnsserver
| sed ' s,x,x,;s/$//'`%g;\
        s%@DEFAULT_UNLINKD@%/usr/local/squid31/libexec/`echo unlinkd |
sed 's,x, x,;s/$//'`%g;\
        s%@DEFAULT_PINGER@%/usr/local/squid31/libexec/`echo pinger | sed
's,x,x, ;s/$//'`%g;\
        s%@DEFAULT_DISKD@%/usr/local/squid31/libexec/`echo diskd | sed
's,x,x,;s /$//'`%g;\
        s%@DEFAULT_CACHE_LOG@%/usr/local/squid31/var/logs/cache.log%g;\
        s%@DEFAULT_ACCESS_LOG@%/usr/local/squid31/var/logs/access.log%g;\
        s%@DEFAULT_STORE_LOG@%/usr/local/squid31/var/logs/store.log%g;\
        s%@DEFAULT_PID_FILE@%/usr/local/squid31/var/logs/squid.pid%g;\
        s%@DEFAULT_NETDB_FILE@%/usr/local/squid31/var/logs/netdb.state%g;\
        s%@DEFAULT_SWAP_DIR@%/usr/local/squid31/var/cache%g;\
        s%@DEFAULT_ICON_DIR@%/usr/local/squid31/share/icons%g;\
        s%@DEFAULT_MIB_PATH@%/usr/local/squid31/share/mib.txt%g;\
        s%@DEFAULT_ERROR_DIR@%/usr/local/squid31/share/errors/English%g;\
        s%@DEFAULT_PREFIX@%/usr/local/squid31%g;\
        s%@DEFAULT_HOSTS@%/etc/hosts%g;\
        s%@[V]ERSION@%3.HEAD-BZR%g;"\
        < ./cf.data.pre >cf.data
depbase=`echo cf_gen.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if g++ -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=\"/usr/local/squid31/etc/sq uid.conf\"
-I. -I. -I../include -I. -I. -I../include -I../include
-I../lib/libTr ie/include -Werror -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -g -O2 - MT cf_gen.o -MD -MP -MF
"$depbase.Tpo" -c -o cf_gen.o cf_gen.cc; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f
"$depbase.Tpo"; exit 1; fi
depbase=`echo debug.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if g++ -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=\"/usr/local/squid31/etc/sq uid.conf\"
-I. -I. -I../include -I. -I. -I../include -I../include
-I../lib/libTr ie/include -Werror -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -g -O2 - MT debug.o -MD -MP -MF
"$depbase.Tpo" -c -o debug.o debug.cc; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f
"$depbase.Tpo"; exit 1; fi
depbase=`echo time.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if g++ -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=\"/usr/local/squid31/etc/sq uid.conf\"
-I. -I. -I../include -I. -I. -I../include -I../include
-I../lib/libTr ie/include -Werror -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -g -O2 - MT time.o -MD -MP -MF
"$depbase.Tpo" -c -o time.o time.cc; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f
"$depbase.Tpo"; exit 1; fi
depbase=`echo globals.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if g++ -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=\"/usr/local/squid31/etc/sq uid.conf\"
-I. -I. -I../include -I. -I. -I../include -I../include
-I../lib/libTr ie/include -Werror -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -g -O2 - MT globals.o -MD -MP -MF
"$depbase.Tpo" -c -o globals.o globals.cc; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f
"$depbase.Tpo"; exit 1; fi
depbase=`echo comm.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
        if /bin/sh ../libtool --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -DDEF
AULT_CONFIG_FILE=\"/usr/local/squid31/etc/squid.conf\" -I. -I.
-I../include -I. -I. -I../include -I../include
-I../lib/libTrie/include -Werror -Wall -Wpointe r-arith
-Wwrite-strings -Wcomments -g -O2 -MT comm.lo -MD -MP -MF
"$depbase.Tpo " -c -o comm.lo comm.cc; \
        then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f
"$depbase.Tpo"; exi t 1; fi
 g++ -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=\"/usr/local/squid31/etc/squid.conf\"
-I. -I. -I../include -I. -I. -I../include -I../include
-I../lib/libTrie/include -Werror -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -g -O2 -MT comm.lo -MD -MP -MF
.deps/comm.Tpo -c comm.cc -o comm.o
depbase=`echo CommCalls.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
        if /bin/sh ../libtool --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -DDEF
AULT_CONFIG_FILE=\"/usr/local/squid31/etc/squid.conf\" -I. -I.
-I../include -I. -I. -I../include -I../include
-I../lib/libTrie/include -Werror -Wall -Wpointe r-arith
-Wwrite-strings -Wcomments -g -O2 -MT CommCalls.lo -MD -MP -MF
"$depbas e.Tpo" -c -o CommCalls.lo CommCalls.cc; \
        then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f
"$depbase.Tpo"; exi t 1; fi
 g++ -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=\"/usr/local/squid31/etc/squid.conf\"
-I. -I. -I../include -I. -I. -I../include -I../include
-I../lib/libTrie/include -Werror -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -g -O2 -MT CommCalls.l o -MD -MP
-MF .deps/CommCalls.Tpo -c CommCalls.cc -o CommCalls.o
depbase=`echo IPInterception.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
        if /bin/sh ../libtool --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -DDEF
AULT_CONFIG_FILE=\"/usr/local/squid31/etc/squid.conf\" -I. -I.
-I../include -I. -I. -I../include -I../include
-I../lib/libTrie/include -Werror -Wall -Wpointe r-arith
-Wwrite-strings -Wcomments -g -O2 -MT IPInterception.lo -MD -MP -MF
"$d epbase.Tpo" -c -o IPInterception.lo IPInterception.cc; \
        then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f
"$depbase.Tpo"; exi t 1; fi
 g++ -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=\"/usr/local/squid31/etc/squid.conf\"
-I. -I. -I../include -I. -I. -I../include -I../include
-I../lib/libTrie/include -Werror -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -g -O2 -MT IPIntercept ion.lo -MD
-MP -MF .deps/IPInterception.Tpo -c IPInterception.cc -o
IPIntercepti on.o
depbase=`echo ICAP/AsyncJob.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
        if /bin/sh ../libtool --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -DDEF
AULT_CONFIG_FILE=\"/usr/local/squid31/etc/squid.conf\" -I. -I.
-I../include -I. -I. -I../include -I../include
-I../lib/libTrie/include -Werror -Wall -Wpointe r-arith
-Wwrite-strings -Wcomments -g -O2 -MT ICAP/AsyncJob.lo -MD -MP -MF
"$de pbase.Tpo" -c -o ICAP/AsyncJob.lo ICAP/AsyncJob.cc; \
        then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f
"$depbase.Tpo"; exi t 1; fi
 g++ -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=\"/usr/local/squid31/etc/squid.conf\"
-I. -I. -I../include -I. -I. -I../include -I../include
-I../lib/libTrie/include -Werror -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -g -O2 -MT ICAP/AsyncJ ob.lo -MD
-MP -MF ICAP/.deps/AsyncJob.Tpo -c ICAP/AsyncJob.cc -o ICAP/AsyncJob.o
depbase=`echo SquidConfig.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
        if /bin/sh ../libtool --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -DDEF
AULT_CONFIG_FILE=\"/usr/local/squid31/etc/squid.conf\" -I. -I.
-I../include -I. -I. -I../include -I../include
-I../lib/libTrie/include -Werror -Wall -Wpointe r-arith
-Wwrite-strings -Wcomments -g -O2 -MT SquidConfig.lo -MD -MP -MF
"$depb ase.Tpo" -c -o SquidConfig.lo SquidConfig.cc; \
        then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f
"$depbase.Tpo"; exi t 1; fi
 g++ -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=\"/usr/local/squid31/etc/squid.conf\"
-I. -I. -I../include -I. -I. -I../include -I../include
-I../lib/libTrie/include -Werror -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -g -O2 -MT SquidConfig .lo -MD -MP
-MF .deps/SquidConfig.Tpo -c SquidConfig.cc -o SquidConfig.o
depbase=`echo TextException.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
        if /bin/sh ../libtool --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -DDEF
AULT_CONFIG_FILE=\"/usr/local/squid31/etc/squid.conf\" -I. -I.
-I../include -I. -I. -I../include -I../include
-I../lib/libTrie/include -Werror -Wall -Wpointe r-arith
-Wwrite-strings -Wcomments -g -O2 -MT TextException.lo -MD -MP -MF
"$de pbase.Tpo" -c -o TextException.lo TextException.cc; \
        then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f
"$depbase.Tpo"; exi t 1; fi
 g++ -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=\"/usr/local/squid31/etc/squid.conf\"
-I. -I. -I../include -I. -I. -I../include -I../include
-I../lib/libTrie/include -Werror -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -g -O2 -MT TextExcepti on.lo -MD
-MP -MF .deps/TextException.Tpo -c TextException.cc -o TextException.o
/bin/sh ../libtool --tag=CXX --mode=link g++ -Werror -Wall
-Wpointer-arith -Wwri te-strings -Wcomments -g -O2 -g -o
libsquid.la comm.lo CommCalls.lo IPInterc eption.lo
ICAP/AsyncJob.lo SquidConfig.lo TextException.lo
mkdir .libs
ar cru .libs/libsquid.a comm.o CommCalls.o IPInterception.o
ICAP/AsyncJob.o Squ idConfig.o TextException.o
ranlib .libs/libsquid.a
creating libsquid.la
(cd .libs && rm -f libsquid.la && ln -s ../libsquid.la libsquid.la)
depbase=`echo AuthConfig.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
        if /bin/sh ../libtool --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -DDEF
AULT_CONFIG_FILE=\"/usr/local/squid31/etc/squid.conf\" -I. -I.
-I../include -I. -I. -I../include -I../include
-I../lib/libTrie/include -Werror -Wall -Wpointe r-arith
-Wwrite-strings -Wcomments -g -O2 -MT AuthConfig.lo -MD -MP -MF
"$depba se.Tpo" -c -o AuthConfig.lo AuthConfig.cc; \
        then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f
"$depbase.Tpo"; exi t 1; fi
 g++ -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=\"/usr/local/squid31/etc/squid.conf\"
-I. -I. -I../include -I. -I. -I../include -I../include
-I../lib/libTrie/include -Werror -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -g -O2 -MT AuthConfig. lo -MD -MP
-MF .deps/AuthConfig.Tpo -c AuthConfig.cc -o AuthConfig.o
depbase=`echo AuthScheme.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
        if /bin/sh ../libtool --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -DDEF
AULT_CONFIG_FILE=\"/usr/local/squid31/etc/squid.conf\" -I. -I.
-I../include -I. -I. -I../include -I../include
-I../lib/libTrie/include -Werror -Wall -Wpointe r-arith
-Wwrite-strings -Wcomments -g -O2 -MT AuthScheme.lo -MD -MP -MF
"$depba se.Tpo" -c -o AuthScheme.lo AuthScheme.cc; \
        then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f
"$depbase.Tpo"; exi t 1; fi
 g++ -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=\"/usr/local/squid31/etc/squid.conf\"
-I. -I. -I../include -I. -I. -I../include -I../include
-I../lib/libTrie/include -Werror -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -g -O2 -MT AuthScheme. lo -MD -MP
-MF .deps/AuthScheme.Tpo -c AuthScheme.cc -o AuthScheme.o
depbase=`echo AuthUser.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
        if /bin/sh ../libtool --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -DDEF
AULT_CONFIG_FILE=\"/usr/local/squid31/etc/squid.conf\" -I. -I.
-I../include -I. -I. -I../include -I../include
-I../lib/libTrie/include -Werror -Wall -Wpointe r-arith
-Wwrite-strings -Wcomments -g -O2 -MT AuthUser.lo -MD -MP -MF
"$depbase .Tpo" -c -o AuthUser.lo AuthUser.cc; \
        then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f
"$depbase.Tpo"; exi t 1; fi
 g++ -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=\"/usr/local/squid31/etc/squid.conf\"
-I. -I. -I../include -I. -I. -I../include -I../include
-I../lib/libTrie/include -Werror -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -g -O2 -MT AuthUser.lo -MD -MP -MF
.deps/AuthUser.Tpo -c AuthUser.cc -o AuthUser.o
AuthUser.cc: In member function `void AuthUser::removeIp(IPAddress)':
AuthUser.cc:264: internal compiler error: in sweep_string_variable, at
protector .c:1142
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.trustix.org/> for instructions.
make[1]: *** [AuthUser.lo] Error 1
make[1]: Leaving directory `/home/users/bai/squid-3/src'
make: *** [all-recursive] Error 1
Received on Tue Apr 22 2008 - 12:49:37 MDT

This archive was generated by hypermail 2.2.0 : Thu May 01 2008 - 12:00:04 MDT