SUSE build of squid.

From: Eliezer Croitoru <eliezer_at_ngtech.co.il>
Date: Tue, 07 Jan 2014 02:42:51 +0200

I will probably release a RPM of 3.4.3 for CentOS and not older due to
the basic nature of the in-depth tests I am conducting.

I have tried to build squid on SLES but the development environment
compiling is not documented in any place I was looking for and SUSE
representative did not answer my mail yet.
I am unsure why it's like that but I am almost sure it's due to the
basic dact that my Laptop was not suppose to be used with UBUNTU and was
supposed to be locked only for SLED, windows and RH.

I have installed OpenSUSE on my XEON server and it is building fine and
also running.

> uname -a
Linux linux.site 3.7.10-1.24-default #1 SMP Wed Oct 2 11:15:18 UTC 2013
(375b8b4) x86_64 x86_64 x86_64 GNU/Linux

1389061943.077 80 192.168.10.100 TCP_MISS/200 10506 GET
http://www.google-analytics.com/analytics.js -
HIER_DIRECT/212.199.219.247 text/javascript

> ldd /home/eliezer/opt/squid/sbin/squid
        linux-vdso.so.1 (0x00007fff6d5ff000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f27f2a27000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f27f27eb000)
        libnsl.so.1 => /lib64/libnsl.so.1 (0x00007f27f25d3000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f27f23bc000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f27f21b4000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f27f1fb0000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f27f1caa000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f27f19ac000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f27f1796000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f27f13e8000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f27f2c43000)

On the RS-SUSE-12 from unknown reason I got this strace:
> strace opt/squid/sbin/squid -v
execve("opt/squid/sbin/squid", ["opt/squid/sbin/squid", "-v"], [/* 55
vars */]) = 0
brk(0) = 0x146b000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7fa945ca9000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or
directory)
open("/usr/lib64/tls/x86_64/libcrypt.so.1", O_RDONLY|O_CLOEXEC) = -1
ENOENT (No such file or directory)
stat("/usr/lib64/tls/x86_64", 0x7fff40b1f5e0) = -1 ENOENT (No such file
or directory)
open("/usr/lib64/tls/libcrypt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
such file or directory)
stat("/usr/lib64/tls", 0x7fff40b1f5e0) = -1 ENOENT (No such file or
directory)
open("/usr/lib64/x86_64/libcrypt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT
(No such file or directory)
stat("/usr/lib64/x86_64", 0x7fff40b1f5e0) = -1 ENOENT (No such file or
directory)
open("/usr/lib64/libcrypt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
such file or directory)
stat("/usr/lib64", {st_mode=S_IFDIR|0755, st_size=36864, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=38029, ...}) = 0
mmap(NULL, 38029, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fa945c90000
close(3) = 0
open("/lib64/libcrypt.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\20\0\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=63953, ...}) = 0
mmap(NULL, 2339520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7fa945840000
mprotect(0x7fa94584c000, 2097152, PROT_NONE) = 0
mmap(0x7fa945a4c000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc000) = 0x7fa945a4c000
mmap(0x7fa945a4e000, 185024, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fa945a4e000
close(3) = 0
open("/usr/lib64/libgssapi_krb5.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\267\0\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=257416, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7fa945ca8000
mmap(NULL, 2353152, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7fa945600000
mprotect(0x7fa94563c000, 2097152, PROT_NONE) = 0
mmap(0x7fa94583c000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3c000) = 0x7fa94583c000
close(3) = 0
open("/usr/lib64/libkrb5.so.3", O_RDONLY|O_CLOEXEC) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\312\1\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=868296, ...}) = 0
mmap(NULL, 2964064, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7fa945328000
mprotect(0x7fa9453f1000, 2093056, PROT_NONE) = 0
mmap(0x7fa9455f0000, 49152, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc8000) = 0x7fa9455f0000
close(3) = 0
open("/usr/lib64/libk5crypto.so.3", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0
I\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=162760, ...}) = 0
mmap(NULL, 2261456, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7fa9450f8000
mprotect(0x7fa94511e000, 2097152, PROT_NONE) = 0
mmap(0x7fa94531e000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x26000) = 0x7fa94531e000
mmap(0x7fa945320000, 464, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fa945320000
close(3) = 0
open("/usr/lib64/libcom_err.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\26\0\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=14792, ...}) = 0
mmap(NULL, 2109928, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7fa944ef0000
mprotect(0x7fa944ef3000, 2093056, PROT_NONE) = 0
mmap(0x7fa9450f2000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fa9450f2000
close(3) = 0
open("/usr/lib64/libnsl.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such
file or directory)
open("/lib64/libnsl.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`A\0\0\0\0\0\0"..., 832)
= 832
fstat(3, {st_mode=S_IFREG|0755, st_size=108117, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7fa945ca7000
mmap(NULL, 2194072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7fa944cd8000
mprotect(0x7fa944ced000, 2093056, PROT_NONE) = 0
mmap(0x7fa944eec000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x7fa944eec000
mmap(0x7fa944eee000, 6808, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fa944eee000
close(3) = 0
open("/usr/lib64/libresolv.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
such file or directory)
open("/lib64/libresolv.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220:\0\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=98193, ...}) = 0
mmap(NULL, 2189960, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7fa944ac0000
mprotect(0x7fa944ad3000, 2097152, PROT_NONE) = 0
mmap(0x7fa944cd3000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13000) = 0x7fa944cd3000
mmap(0x7fa944cd5000, 6792, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fa944cd5000
close(3) = 0
open("/usr/lib64/libcap.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such
file or directory)
open("/lib64/libcap.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\27\0\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=19064, ...}) = 0
mmap(NULL, 2114144, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7fa9448b8000
mprotect(0x7fa9448bc000, 2093056, PROT_NONE) = 0
mmap(0x7fa944abb000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fa944abb000
close(3) = 0
open("/usr/lib64/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such
file or directory)
open("/lib64/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000#\0\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=42706, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7fa945ca6000
mmap(NULL, 2128888, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7fa9446b0000
mprotect(0x7fa9446b7000, 2093056, PROT_NONE) = 0
mmap(0x7fa9448b6000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7fa9448b6000
close(3) = 0
open("/usr/lib64/libltdl.so.7", O_RDONLY|O_CLOEXEC) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320'\0\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=39640, ...}) = 0
mmap(NULL, 2134728, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7fa9444a0000
mprotect(0x7fa9444a9000, 2093056, PROT_NONE) = 0
mmap(0x7fa9446a8000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7fa9446a8000
close(3) = 0
open("/usr/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such
file or directory)
open("/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\16\0\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=19016, ...}) = 0
mmap(NULL, 2109720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7fa944298000
mprotect(0x7fa94429b000, 2093056, PROT_NONE) = 0
mmap(0x7fa94449a000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fa94449a000
close(3) = 0
open("/usr/lib64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\6\6\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=987648, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7fa945ca5000
mmap(NULL, 3167456, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7fa943f90000
mprotect(0x7fa944078000, 2093056, PROT_NONE) = 0
mmap(0x7fa944277000, 40960, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe7000) = 0x7fa944277000
mmap(0x7fa944281000, 83168, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fa944281000
close(3) = 0
open("/usr/lib64/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such
file or directory)
open("/lib64/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240V\0\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1109606, ...}) = 0
mmap(NULL, 3133768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7fa943c90000
mprotect(0x7fa943d8d000, 2093056, PROT_NONE) = 0
mmap(0x7fa943f8c000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xfc000) = 0x7fa943f8c000
close(3) = 0
open("/usr/lib64/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
such file or directory)
open("/lib64/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0/\0\0\0\0\0\0"..., 832)
= 832
fstat(3, {st_mode=S_IFREG|0755, st_size=88568, ...}) = 0
mmap(NULL, 2184248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7fa943a78000
mprotect(0x7fa943a8d000, 2093056, PROT_NONE) = 0
mmap(0x7fa943c8c000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x7fa943c8c000
close(3) = 0
open("/usr/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such
file or directory)
open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0
\33\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1996294, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7fa943c8f000
mmap(NULL, 3857568, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7fa9436c8000
mprotect(0x7fa94386c000, 2097152, PROT_NONE) = 0
mmap(0x7fa943a6c000, 24576, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a4000) = 0x7fa943a6c000
mmap(0x7fa943a72000, 15520, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fa943a72000
close(3) = 0
open("/usr/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
such file or directory)
open("/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0_at_l\0\0\0\0\0\0"..., 832)
= 832
fstat(3, {st_mode=S_IFREG|0755, st_size=131133, ...}) = 0
mmap(NULL, 2208688, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7fa9434a8000
mprotect(0x7fa9434bf000, 2093056, PROT_NONE) = 0
mmap(0x7fa9436be000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7fa9436be000
mmap(0x7fa9436c0000, 13232, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fa9436c0000
close(3) = 0
open("/usr/lib64/libkrb5support.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`.\0\0\0\0\0\0"..., 832)
= 832
fstat(3, {st_mode=S_IFREG|0755, st_size=39808, ...}) = 0
mmap(NULL, 2135152, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7fa943298000
mprotect(0x7fa9432a1000, 2093056, PROT_NONE) = 0
mmap(0x7fa9434a0000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7fa9434a0000
close(3) = 0
open("/lib64/libkeyutils.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\23\0\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=14640, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7fa945ca4000
mmap(NULL, 2109640, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7fa943090000
mprotect(0x7fa943093000, 2093056, PROT_NONE) = 0
mmap(0x7fa943292000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fa943292000
close(3) = 0
open("/lib64/libselinux.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360g\0\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=126480, ...}) = 0
mmap(NULL, 2226160, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7fa942e70000
mprotect(0x7fa942e8e000, 2093056, PROT_NONE) = 0
mmap(0x7fa94308d000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1d000) = 0x7fa94308d000
mmap(0x7fa94308f000, 2032, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fa94308f000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7fa945ca0000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7fa945c9f000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7fa945c9d000
arch_prctl(ARCH_SET_FS, 0x7fa945c9d800) = 0
mprotect(0x7fa943a6c000, 16384, PROT_READ) = 0
mprotect(0x7fa94449a000, 4096, PROT_READ) = 0
mprotect(0x7fa94308d000, 4096, PROT_READ) = 0
mprotect(0x7fa943292000, 4096, PROT_READ) = 0
mprotect(0x7fa9434a0000, 4096, PROT_READ) = 0
mprotect(0x7fa9436be000, 4096, PROT_READ) = 0
mprotect(0x7fa943c8c000, 4096, PROT_READ) = 0
mprotect(0x7fa943f8c000, 4096, PROT_READ) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7fa945c9c000
mprotect(0x7fa944277000, 32768, PROT_READ) = 0
mprotect(0x7fa9446a8000, 4096, PROT_READ) = 0
mprotect(0x7fa9448b6000, 4096, PROT_READ) = 0
mprotect(0x7fa944abb000, 4096, PROT_READ) = 0
mprotect(0x7fa944cd3000, 4096, PROT_READ) = 0
mprotect(0x7fa944eec000, 4096, PROT_READ) = 0
mprotect(0x7fa9450f2000, 4096, PROT_READ) = 0
mprotect(0x7fa94531e000, 4096, PROT_READ) = 0
mprotect(0x7fa9455f0000, 40960, PROT_READ) = 0
mprotect(0x7fa94583c000, 4096, PROT_READ) = 0
mprotect(0x7fa945a4c000, 4096, PROT_READ) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7fa945c9a000
mprotect(0x9d9000, 61440, PROT_READ) = 0
mprotect(0x7fa945ca1000, 4096, PROT_READ) = 0
munmap(0x7fa945c90000, 38029) = 0
set_tid_address(0x7fa945c9dad0) = 27256
set_robust_list(0x7fa945c9dae0, 24) = 0
rt_sigaction(SIGRTMIN, {0x7fa9434ae7a0, [], SA_RESTORER|SA_SIGINFO,
0x7fa9434b71f0}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x7fa9434ae820, [],
SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7fa9434b71f0}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
statfs("/sys/fs/selinux", 0x7fff40b1fde0) = -1 ENOENT (No such file or
directory)
statfs("/selinux", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096,
f_blocks=5160351, f_bfree=3590842, f_bavail=3328711, f_files=1310720,
f_ffree=1165562, f_fsid={-1700339095, -1004428993}, f_namelen=255,
f_frsize=4096}) = 0
brk(0) = 0x146b000
brk(0x148c000) = 0x148c000
open("/proc/filesystems", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7fa945c99000
read(3, "nodev\tsysfs\nnodev\trootfs\nnodev\tb"..., 1024) = 373
read(3, "", 1024) = 0
close(3) = 0
munmap(0x7fa945c99000, 4096) = 0
futex(0x7fa944293a04, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7fa944293a10, FUTEX_WAKE_PRIVATE, 2147483647) = 0
--- SIGILL {si_signo=SIGILL, si_code=ILL_ILLOPN, si_addr=0x718020} ---
+++ killed by SIGILL +++
Illegal instruction

Which I have no clue on why the reason but I did noticed couple things
in the strace which would explain why the result that we see is like that.

On both rs-suse-12 and my local build node I have built squid as
non-root user.
On my local machine I have built it as non-root and root and it resulted
with a runnable software as both root and non-root user.

If you can shed some light on the matter I will be more then happy.

Thanks,
Eliezer
Received on Tue Jan 07 2014 - 00:48:05 MST

This archive was generated by hypermail 2.2.0 : Wed Jan 08 2014 - 12:00:11 MST