Bug 207031
Summary: | [x86_64] Floating point exception when starting 32bit C++ binaries (libstdc++-4.1.1-13) | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ben Konrath <ben> | ||||||
Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||||
Status: | CLOSED NOTABUG | QA Contact: | |||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 5 | CC: | caolanm | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2006-09-23 10:42:00 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Ben Konrath
2006-09-18 20:43:30 UTC
Well, FC-5 OOo is 32bit on 64bit platforms. But otherwise there simply isn't enough information here to make a guess as to what is wrong. No crash reporter window ? So must have crashed very early in bootstrapping. Do you have any other (large) 32bit apps, e.g. 32bit firefox ? Otherwise some strace or gdb traces might help. I'd need something to work on, it's not reproducable for me, and normally on a fc-5 crasher like this I'd have a horde of similiar bug reports Created attachment 136966 [details]
oowriter strace
I've attached an strace. I don't have a lot of time to debug this right now but
your welcome to log into toast.toronto.redhat.com to debug if you have time.
Thanks.
Created attachment 136995 [details]
32bit c++ hello world
Checking on your machine, it seems that any 32bit c++ binary blows up with the
same FPE error, e.g. the attached a.out was created with...
g++ test.c on FC-5 where test.c is just...
#include <stdio.h>
int main(void)
{
printf("hello world\n");
return 0;
}
and blows up with the same SIGFPE
and gcc test.c -lstdc++ is sufficient to reproduce this, so looks like your 32bit libstdc++.so.6 is hosed somehow. Not OOo specific, moving to gcc/libstdc++ That's just user error, you must have used --nodeps to force installing of FC6 package (libstdc++-4.1.1-13) on FC5. That of course can't work, FC6 packages need DT_GNU_HASH support in the dynamic linker, which is only available in FC6 glibc. libstdc++-4.1.1-13 has rtld(GNU_HASH) among Requires and only FC6+ glibc provides rtld(GNU_HASH). I don't actually remember messing with the system in this way, but I guess I must have. Thanks Caolan and Jakub for tracking this down. |