rahul wrote: >> maybe this? >> >> squid-2.7.STABLE6$ ./configure >> --with-build-environment=POSIX_V6_ILP32_OFFBIG --with-large-files > >> > > This was my oversight, I should just let squid determine build-env > automatically any way. > > I have updated the diffs, also I have changed the incorrect options for > 6890956 bad squid configure options --enable-for-via-db and > --with-threads > > Please do see again. >
I still don't think this is right. It seems to be switching to a 64-bit build. I saved the configure output using the current sfw configure options, then adjusted those according to your patch. Here are the diffs: $ diff likesfwnow.out newsfw.out 1d0 < configure: WARNING: Unrecognized options: --enable-for-via-db, --with-threads 24a24 > With pthreads 27d26 < aufs store used, pthreads support automatically enabled 39a39 > FORW-VIA enabled 42a43,44 > Using POSIX_V6_LPBIG_OFFBIG build environment > Removing -Usun on i386-pc-solaris2.11 194c196 < checking size of void *... 4 --- > checking size of void *... 8 198c200 < checking size of long... 4 --- > checking size of long... 8 231,232c233,234 < checking size of off_t... 4 < checking size of size_t... 4 --- > checking size of off_t... 8 > checking size of size_t... 8 320c322 < checking Default FD_SETSIZE value... 1024 --- > checking Default FD_SETSIZE value... 65536 384d385 < configure: WARNING: Unrecognized options: --enable-for-via-db, --with-threads It looks like the build environment it is picking (POSIX_V6_LPBIG_OFFBIG) is not appropriate. The output looks much better to me when adding "--with-build-environment=POSIX_V6_ILP32_OFFBIG". (pointer sizes don't change)
