Bug 111242
Summary: | statically compiled gethostbyname compiled on RH 7 or earlier crashes on RH9 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | David Jameson <davidj> | ||||||
Component: | glibc | Assignee: | Jakub Jelinek <jakub> | ||||||
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 9 | CC: | fweimer | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2003-12-02 14:37:50 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
David Jameson
2003-12-01 09:42:01 UTC
Created attachment 96255 [details]
Simple test program which demonstrates the bug
Created attachment 96256 [details]
stack trace for crash
This is expected and when you link against recent glibcs it even warns you about it. If a program uses NSS/iconv/dlopen or locales, it is not self-contained and as such can be only used against the same glibc as it has been compiled/linked against. Better avoid statically linked programs, dynamically linked ones are way more portable. |