Bug 463101
Summary: | Unable to link agains bfd_openr in configure script | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jochen Schmitt <jochen> | ||||
Component: | binutils | Assignee: | Jan Kratochvil <jan.kratochvil> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | jakub, jan.kratochvil, masaki.chikama | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | binutils-2.18.50.0.9-3.fc10 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-09-22 00:18:14 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: | 454462 | ||||||
Attachments: |
|
Description
Jochen Schmitt
2008-09-21 19:08:25 UTC
Created attachment 317332 [details]
Patch posted to <ksplice>.
Fix of ksplice to explicitely check zlib.
Thanks for the report, this workaround should fix it up for any 3rd party packages: * Sun Sep 21 2008 Jan Kratochvil <jan.kratochvil> 2.18.50.0.9-3 - Provide libbfd.so and libopcodes.so for automatic dependencies (BZ 463101). /usr/lib64/libbfd.so: /* GNU ld script The libz dependency is unexpected by legacy build scripts. */ INPUT ( /usr/lib64/libbfd.a -liberty -lz ) When you use absolute paths in the script, please also add OUTPUT_FORMAT directive, like e.g. /usr/lib*/libc.so uses: OUTPUT_FORMAT(elf64-x86-64) etc., so that things work well even if you build gcc -m64 -L/usr/lib/ -lbfd or gcc -m32 -L/usr/lib64/ -lbfd. Jakub, thanks, I did not read it all in glibc as I see, fixed/imported. * Mon Sep 22 2008 Jan Kratochvil <jan.kratochvil> 2.18.50.0.9-4 - Fix *.so scripts for multilib linking (BZ 463101, suggested by Jakub Jelinek). (In reply to comment #2) > Thanks for the report, this workaround should fix it up for any 3rd party > packages: > * Sun Sep 21 2008 Jan Kratochvil <jan.kratochvil> 2.18.50.0.9-3 > - Provide libbfd.so and libopcodes.so for automatic dependencies (BZ 463101). > > /usr/lib64/libbfd.so: > /* GNU ld script > The libz dependency is unexpected by legacy build scripts. */ > > INPUT ( /usr/lib64/libbfd.a -liberty -lz ) This breaks package which has BuildRequires: binutils-devel but doesn't have BuildRequires: zlib-devel even if it doesn't really need libz. One example is avarice. Should I file a new Bug as avarice package ? Committed, built binutils-2.18.50.0.9-6.fc10, thanks: * Thu Oct 30 2008 Jan Kratochvil <jan.kratochvil> 2.18.50.0.9-6 - binutils-devel now requires zlib-devel (BZ 463101 comment 5). %package devel Requires: zlib-devel |