Bug 229703
Summary: | RFE: use default hash-style=both instead of only gnu | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Luciano Rocha <lfrocha+rhbugzilla> |
Component: | gcc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 6 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-02-22 20:51:30 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: |
Description
Luciano Rocha
2007-02-22 20:45:17 UTC
Feel free to build your binaries that you want to reuse on other distributions with that option. All FC6+ rpms built with -Wl,--hash-style=gnu have rpm generated dependency on the proper glibc, so you can't mistakenly install them on older distributions. Generally, running binaries built for a newer distro on older doesn't work anyway (new symbols added to glibc and other symbol versioned libraries). There were some instances of vendors shipping pre-compiled binaries that only worked in Fedora (like syslinux). For some cases, like that one, there's no dependency on newer glibc and other symbol versioned libraries. Only on the hash style. Without the sysv style, the executables die imediatly on startup with "Floating point exception". With it, they run fine. For most complex programs, however, the dependency on glibc versioned libraries will apply. But for the sake of the others, and for reducing the size of binary RPMs, hash style default of both would be nice. Anyway, it's only food for thought. |