From: David Addison <addy@addy.freeserve.co.uk>
Subject: ccc compiled binary coredumps having loaded libpthread
Date: 2000/01/28 [thread overview]
Message-ID: <86sggq$49i$1@soap.pipex.net> (raw)
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 : <<notfound>>
0x12005d150 : <<notfound>>
0x12005eab8 : <<notfound>>
0x120052ea8 : <<notfound>>
0x120025674 : <<notfound>>
0x1202946bc : <<notfound>>
0x120296e70 : <<notfound>>
0x12028c714 : <<notfound>>
0x12027fca8 : <<notfound>>
0x1203df88c : <<notfound>>
0x1203e2900 : <<notfound>>
0x120000198 : <<notfound>>
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 : <<notfound>>
0x120460178 : <<notfound>>
0x120460640 : <<notfound>>
0x120452178 : <<notfound>>
0x12045219c : <<notfound>>
0x120452378 : <<notfound>>
0x1203e2b78 : <<notfound>>
0x120000198 : <<notfound>>
end of diagnostic stack trace.
next reply other threads:[~2000-01-28 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-28 5:00 David Addison [this message]
2000-01-29 5:00 ` ccc compiled binary coredumps having loaded libpthread Alex Rhomberg
2000-01-31 5:00 ` Addy
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox