On 10/03/2015 10:39 p.m., HackXBack wrote:
> this is my configure option , what may cause the problem
> 
> ./configure --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
> --libexecdir=/usr/lib/squid --sysconfdir=/etc/squid --localstatedir=/var
> --libdir=/usr/lib --includedir=/usr/include --datadir=/usr/share/squid
> --infodir=/usr/share/info --mandir=/usr/share/man
> --disable-dependency-tracking --disable-strict-error-checking
> --enable-async-io=32 --with-aufs-threads=32 --with-pthreads
> --enable-storeio=ufs,aufs,diskd --enable-removal-policies=lru,heap
> --with-aio --with-dl --disable-icmp --enable-esi --enable-icap-client
> --disable-wccp --enable-wccpv2 --enable-kill-parent-hack
> --enable-cache-digests --disable-select --enable-http-violations
> --enable-linux-netfilter --enable-follow-x-forwarded-for
> --disable-ident-lookups --enable-x-accelerator-vary --enable-zph-qos
> --with-default-user=proxy --with-logdir=/var/log/squid
> --with-pidfile=/var/run/squid.pid --with-swapdir=/var/spool/squid
> --with-large-files --enable-ltdl-convenience --with-filedescriptors=100000
> --enable-ssl --enable-ssl-crtd --with-openssl --disable-auth --disable-ipv6
> --enable-build-info="build by : ANDO_TBLRB && HackXBack"
> --with-included-ltdl --enable-arp-acl --enable-epoll --enable-snmp
> --enable-referer-log --disable-unlinkd --enable-truncate
> --enable-useragent-log --enable-eui --enable-large-cache-files
> --with-maxfd=65536 CFLAGS="-Wall -g -O3 -march=native -mtune=native -pipe
> -DNUMTHREADS=60 -fomit-frame-pointer -fno-strict-aliasing -funroll-loops
> -ffast-math -fno-exceptions" LDFLAGS="-Wl,-Bsymbolic-functions"

Remove the -O3 or at least reduce it to -O1 and the -g should make the
symbols.

Its possible the rest fo the toolchain is removing them smoehow but
thats not clear from these options.

Note also that CFLAGS is only used for some old C libraries we have to
build. You are not defining any options for CXXFLAGS which is what the
C++ compiler uses to build Squid, so the default options are used.
 squid -v output will show you what actually got used.

Amos

_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to