Bug 593030

Summary: missing dependencies on libgomp.i386 and libstdc++44-devel.i386
Product: Red Hat Enterprise Linux 5 Reporter: Jeff Bastian <jbastian>
Component: gcc44Assignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact: qe-baseos-tools-bugs
Severity: medium Docs Contact:
Priority: medium    
Version: 5.5CC: tao
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-17 19:58:28 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 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.