Bug 593030 - missing dependencies on libgomp.i386 and libstdc++44-devel.i386
missing dependencies on libgomp.i386 and libstdc++44-devel.i386
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: gcc44 (Show other bugs)
5.5
All Linux
medium Severity medium
: rc
: ---
Assigned To: Jakub Jelinek
qe-baseos-tools
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-05-17 12:33 EDT by Jeff Bastian
Modified: 2011-05-13 08:58 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-05-17 15:58:28 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jeff Bastian 2010-05-17 12:33:07 EDT
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 15:58:28 EDT
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.