Bug 1833191 - libquadmath not building 64bit binaries for -devel
Summary: libquadmath not building 64bit binaries for -devel
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: gcc
Version: 8.4
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: 8.0
Assignee: Marek Polacek
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-08 02:24 UTC by Need Real Name
Modified: 2023-07-18 14:19 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-05 14:23:43 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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