From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,12f19293f8190208,start X-Google-Attributes: gid111c93,public From: David Addison Subject: ccc compiled binary coredumps having loaded libpthread Date: 2000/01/28 Message-ID: <86sggq$49i$1@soap.pipex.net>#1/1 X-Deja-AN: 578809644 X-Complaints-To: abuse@uk.uu.net X-Trace: soap.pipex.net 949077338 4402 194.202.174.25 (28 Jan 2000 16:35:38 GMT) Organization: UUNET WorldCom server (post doesn't reflect views of UUNET WorldCom NNTP-Posting-Date: 28 Jan 2000 16:35:38 GMT Newsgroups: comp.os.linux.alpha Hi there, just recompiled all of my code using the Compaq C compiler under Red Hat 6.0 on an ES40 and now it coredumpes before my program even gets started. My code conists of an executable and two dynamic libraries one of which uses the pthread library. It was working when compiled with gcc (egcs-2.91.66) Anyone else seen this ? Cheers, Addy. Here are the details; [linux0 addy] : ccc -V Compaq C V6.2-002 on Linux 2.2.12 alpha Compiler Driver V6.2-002 (Linux) cc Driver Installed as ccc-6.2.9.002-2 /etc/redhat-release: Red Hat Linux release 6.0 (Hedwig) Using /usr/lib/gcc-lib/alpha-redhat-linux/egcs-2.91.66. [linux0 addy] : ccc -v comp.config contains: -SD/usr/lib/compaq/ccc-6.2.9.002-2/alpha-linux/include -SD/usr/local/include -SD/usr/alpha-redhat-linux/include -SD/usr/lib/gcc-lib/alpha-redhat-linux/egcs-2.91.66/include | -SysIncDir /usr/lib/compaq/ccc-6.2.9.002-2/alpha-linux/include -SysIncDir /usr/local/include -SysIncDir /usr/alpha-redhat-linux/include -SysIncDir /usr/lib/gcc-lib/alpha-redhat-linux/egcs-2.91.66/include -L/usr/lib/compaq/ccc-6.2.9.002-2/alpha-linux/lib -L/usr/local/lib -L/usr/alpha-redhat-linux/lib -L/usr/lib/gcc-lib/alpha-redhat-linux/egcs-2.91.66 Strace ... open("/lib/libpthread.so.0", O_RDONLY) = 3 fstat(3, {st_mode=0, st_size=949075212, ...}) = 0 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3"..., 8192) = 8192 mmap(0, 4831825368, 0x2000, 0 /* MAP_??? */, 0, 0) = 0x200007b2000 mprotect(0x200007be000, 1101992, PROT_NONE) = 0 mmap(0x200008b2000, 1101992, PROT_NONE, 0 /* MAP_??? */, 0, 0) = 0x200008b2000 close(3) = 0 --- SIGSEGV (Segmentation fault) --- +++ killed by SIGSEGV +++ ladebug dies Welcome to the Ladebug Debugger Version 4.0-59 ------------------ object file name: bin/Linux_alpha/tping core file name: core Reading symbolic information ...done Assertion failed: !"NYI: makeControlLinuxCore" src/appl/ctrl/controllinuxcore.C 211 This is an unexpected condition and may indicate the presence of a defect. If you wish to report this, please include the stack trace that follows. Diagnostic stack trace ... %%% Dec 8 1999 23:16:44 %%% 0x12000cfe4 : <> 0x12005d150 : <> 0x12005eab8 : <> 0x120052ea8 : <> 0x120025674 : <> 0x1202946bc : <> 0x120296e70 : <> 0x12028c714 : <> 0x12027fca8 : <> 0x1203df88c : <> 0x1203e2900 : <> 0x120000198 : <> end of diagnostic stack trace. Ladebug Debugger Version 4.0-59 caught signal "Aborted" (6). This is an unexpected condition and may indicate the presence of a defect. If you wish to report this, please include the stack trace that follows. Diagnostic stack trace ... %%% Dec 8 1999 23:16:44 %%% 0x1204602e8 : <> 0x120460178 : <> 0x120460640 : <> 0x120452178 : <> 0x12045219c : <> 0x120452378 : <> 0x1203e2b78 : <> 0x120000198 : <> end of diagnostic stack trace.