Bug 62535
Summary: | dietlibc segfaults on older RedHat version | ||
---|---|---|---|
Product: | [Retired] Red Hat Raw Hide | Reporter: | vvs <vvs009> |
Component: | dietlibc | Assignee: | Erik Troan <ewt> |
Status: | CLOSED WONTFIX | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 1.0 | CC: | katzj |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-04-08 11:09:03 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: | |||
Bug Depends On: | |||
Bug Blocks: | 61901 |
Description
vvs
2002-04-02 08:11:25 UTC
I've just upgraded to latest errata kernel-2.4.9-31 and glibc-2.2.4-19.3 for RedHat 7.2 and it didn't help. Also, any program, even hello world will crash when compiled and linked with dietlibc in this configuration. The reason for broken executables is that ld can not find entry symbol _start and it defaults to 08040808. Yesterday I downgraded binutils and gcc on computer with glibc 2.2.5 to RedHat 7.2 stock versions and rebuilt dietlibc, but it still works there. Same thing didn't help on other computer (with glibc 2.2.4), really weird. Works for me on my machine running 7.2 1070 katzj@orthanc:~> rpm -q glibc gcc binutils glibc-2.2.4-19.3 gcc-2.96-98 binutils-2.11.90.0.8-12 1071 katzj@orthanc:~> diet gcc -o test test.c 1072 katzj@orthanc:~> ./test hello world I'd like to agree with you and forget the whole thing, but unfortunately the facts will not. Please, do not disregard this message! I know you're busy, but I spent much time to test it and I can reproduce this bug on every single computer I've tried. _Don't_ install dietlibc from binary rpm, if it was built on "good" configuration (whatever it is) it will work on any other one. To reproduce this bug you must install stock Red Hat 7.2 from scratch, rebuild dietlibc from _source_ rpm on _that_same_ computer and compile hello world with this diet. I'm afraid that may be something bad is behind this bug (e.g. some binary incompatibility between two Red Hat versions). There probably is something a bit weird going on in dietlibc's static binaries, but I'm not particularly interested in fixing it. We didn't ship (and don't support) dietlibc on 7.2, so it's not that important to us. I do agree that the behaviour is very disconcerting. |