* ccc compiled binary coredumps having loaded libpthread
@ 2000-01-28 5:00 David Addison
2000-01-29 5:00 ` Alex Rhomberg
0 siblings, 1 reply; 3+ messages in thread
From: David Addison @ 2000-01-28 5:00 UTC (permalink / 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.
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: ccc compiled binary coredumps having loaded libpthread
2000-01-28 5:00 ccc compiled binary coredumps having loaded libpthread David Addison
@ 2000-01-29 5:00 ` Alex Rhomberg
2000-01-31 5:00 ` Addy
0 siblings, 1 reply; 3+ messages in thread
From: Alex Rhomberg @ 2000-01-29 5:00 UTC (permalink / raw)
David Addison wrote:
>
> 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 ?
I have seen the symptoms (shared libraries with ccc objects that let
various loaders segfault), but I couldn't reproduce it. Someone else has
seen similar problems, we both reported it to the ccc mailing list.
You could try how different compile options affect the behaviour (-g or
-O) and report your problems to the ccc mailing list.
- Alex
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ccc compiled binary coredumps having loaded libpthread
2000-01-29 5:00 ` Alex Rhomberg
@ 2000-01-31 5:00 ` Addy
0 siblings, 0 replies; 3+ messages in thread
From: Addy @ 2000-01-31 5:00 UTC (permalink / raw)
On Sat, 29 Jan 2000 12:35:15 +0100, Alex Rhomberg
<rhomberg@ife.ee.ethz.ch> wrote:
Thanks for the tip Alex, I removed the -g3 option from my compile and
it now works! I'm now just using '-arch ev6 -O3'
Cheers,
Addy.
>David Addison wrote:
>>
>> 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 ?
>
>I have seen the symptoms (shared libraries with ccc objects that let
>various loaders segfault), but I couldn't reproduce it. Someone else has
>seen similar problems, we both reported it to the ccc mailing list.
>
>You could try how different compile options affect the behaviour (-g or
>-O) and report your problems to the ccc mailing list.
>
>- Alex
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-01-31 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-28 5:00 ccc compiled binary coredumps having loaded libpthread David Addison
2000-01-29 5:00 ` Alex Rhomberg
2000-01-31 5:00 ` Addy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox