Bug 863834 - default x86-64 gcc install includes broken symlink to 32-bit libgcc_s.so
Summary: default x86-64 gcc install includes broken symlink to 32-bit libgcc_s.so
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-07 19:29 UTC by Frank Ch. Eigler
Modified: 2012-10-07 19:34 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-07 19:34:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Frank Ch. Eigler 2012-10-07 19:29:13 UTC
gcc-4.7.2-3.fc18.x86_64 includes this file, which is actually a symlink:

/usr/lib/gcc/x86_64-redhat-linux/4.7.2/32/libgcc_s.so -> /lib/libgcc_s.so.1

This symlink is broken (gcc -m32 fails) unless libgcc.i686 is manually installed.
Perhaps libgcc.i686 should be a prereq of the main x86-64 gcc package.  Or 
perhaps the /32/ multilib files should not be in the base rpm.

Comment 1 Jakub Jelinek 2012-10-07 19:34:53 UTC
This is by design.  Prereq of i686 packages in x86_64 devel packages is highly undesirable (many people don't need/want -m32 support and don't want any i686.rpm packages installed).
And moving stuff to a different package wouldn't help in any way, gcc -m32 would still fail unless you install the needed 32-bit devel support (libgcc.i686, glibc-devel.i686, libstdc++-devel.i686 or more).


Note You need to log in before you can comment on or make changes to this bug.