Bug 593030 - missing dependencies on libgomp.i386 and libstdc++44-devel.i386
Summary: missing dependencies on libgomp.i386 and libstdc++44-devel.i386
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: gcc44
Version: 5.5
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Jakub Jelinek
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-05-17 16:33 UTC by Jeff Bastian
Modified: 2018-10-27 15:18 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-05-17 19:58:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jeff Bastian 2010-05-17 16:33:07 UTC
Description of problem:
The gcc44 and gcc44-c++ x86_64 packages have broken symbolic links if libgomp.i386 and libstdc++44-devel.i386 are not installed:

$ sudo yum install gcc44.x86_64 gcc44-c++.x86_64
...
$ rpm -ql gcc44 gcc44-c++ | xargs file | grep 'broken symbolic'
/usr/lib/gcc/x86_64-redhat-linux6E/4.4.0/32/libgomp.so:             broken symbolic link to `../../../../libgomp.so.1.0.0'
/usr/lib/gcc/x86_64-redhat-linux6E/4.4.0/32/libstdc++.a:            broken symbolic link to `../../../i386-redhat-linux6E/4.4.0/libstdc++.a'
/usr/lib/gcc/x86_64-redhat-linux6E/4.4.0/32/libstdc++_nonshared.a:  broken symbolic link to `../../../i386-redhat-linux6E/4.4.0/libstdc++_nonshared.a'


Adding the other two packages fixes the symbolic links:

$ sudo yum install libgomp.i386 libstdc++44-devel.i386
...
$ rpm -ql gcc44 gcc44-c++ | xargs file | grep 'broken symbolic'
$


Can you add these two packages as dependencies?


Version-Release number of selected component (if applicable):
gcc44-4.4.0-6.el5.x86_64
gcc44-c++-4.4.0-6.el5.x86_64

How reproducible:
every time

Steps to Reproduce:
1. yum install gcc44.x86_64 gcc44-c++.x86_64
2. rpm -ql gcc44 gcc44-c++ | xargs file | grep 'broken symbolic'
  
Actual results:
3 broken symbolic links

Expected results:
no broken symbolic links

Additional info:

Comment 3 Jakub Jelinek 2010-05-17 19:58:28 UTC
The missing dependencies are very much intentional.
gcc supports both 32-bit and 64-bit compilation, and certainly doesn't need 32-bit libraries to compile 64-bit stuff, which is the default.
Adding the dependencies would make it impossible to have *.i?86.rpm less installs.

If you compile with -m32, it is user's responsibility to install 32-bit development packages.


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