Bug 1833191

Summary: libquadmath not building 64bit binaries for -devel
Product: Red Hat Enterprise Linux 8 Reporter: Need Real Name <christopher>
Component: gccAssignee: Marek Polacek <mpolacek>
gcc sub component: system-version QA Contact: qe-baseos-tools-bugs
Status: CLOSED WONTFIX Docs Contact:
Severity: high    
Priority: unspecified CC: ahajkova, fweimer, jakub, ohudlick, sipoyare
Version: 8.4Keywords: Reopened
Target Milestone: rc   
Target Release: 8.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-05 14:23:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2020-05-08 02:24:53 UTC
Description of problem:

Static builds fail because the libquadmath.a 64bit libs are missing  (only a broken symlink to a missing 32bit libquadmath.a gets installed 


Version-Release number of selected component (if applicable):

gcc-8.3.1-4.5.el8.x86_64

How reproducible:

always

Steps to Reproduce:
1. install a development system for 64bit 
2. observe broken symlinks to old 32bit libs

Actual results:

ls: cannot access '../../../i686-redhat-linux/8/libquadmath.a': No such file or directory


Expected results:

a 64bit libquadmath.a file in the appropriate place

Additional info:



[root@hpz SPECS]# locate quadmath.a
/usr/lib/gcc/x86_64-redhat-linux/8/32/libquadmath.a
[root@hpz SPECS]# rpm -q --whatprovides /usr/lib/gcc/x86_64-redhat-linux/8/32/libquadmath.a
gcc-8.3.1-4.5.el8.x86_64
[root@hpz SPECS]# dir /usr/lib/gcc/x86_64-redhat-linux/8/32/libquadmath.a
lrwxrwxrwx. 1 root root 42 Nov  6  2019 /usr/lib/gcc/x86_64-redhat-linux/8/32/libquadmath.a -> ../../../i686-redhat-linux/8/libquadmath.a
[root@hpz SPECS]# cd  /usr/lib/gcc/x86_64-redhat-linux/8/32/
[root@hpz 32]# dir ../../../i686-redhat-linux/8/libquadmath.a
ls: cannot access '../../../i686-redhat-linux/8/libquadmath.a': No such file or directory
[root@hpz 32]#

Comment 1 Marek Polacek 2020-05-11 17:23:29 UTC
This is expected; the static libraries (libquadmath-static in this case) are not shipped in RHEL 8 as we don't want to encourage or support static linking in RHEL 8.  Sorry about that.

Comment 2 Need Real Name 2020-10-05 11:34:30 UTC
This makes no sense?  Static linking is how reliable software can be shipped that keeps working despite you guys making under-the-hood changes, plus you're already shipping the 32bit equivalent for this, plus the 32 and 64 bit static libs for almost every other module - making your excuse highly inconsistent with reality.

Is that "we don't want to encourage or support static linking in RHEL 8." a real policy, or a made up excuse for why this bug is not going to get fixed?  I get that 5 months looks bad for an open bug, but closing something that kills customer products instead of spending the 30mins on a fix seems like a decision that your managers are unlikely to endorse?

Comment 4 Marek Polacek 2020-10-05 14:23:43 UTC
Red Hat discourages the use of static linking in applications for Red Hat Enterprise Linux.  Therefore some of the -static libraries aren't shipped to customers.

We don't provide the 32-bit version of libquadmath, either; I've now fixed the dead symlinks.