Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1255729 - ld-linux-aarch64.so.1 is shipped in both /lib and /lib64 directories
Summary: ld-linux-aarch64.so.1 is shipped in both /lib and /lib64 directories
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: rawhide
Hardware: aarch64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: glibc team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ARMTracker
TreeView+ depends on / blocked
 
Reported: 2015-08-21 12:07 UTC by Marcin Juszkiewicz
Modified: 2019-10-24 13:43 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-23 15:42:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Sourceware 25129 0 None None None 2019-10-23 15:42:27 UTC

Description Marcin Juszkiewicz 2015-08-21 12:07:19 UTC
Description of problem:

While checking why pax-utils fails to build on AArch64 I noticed that we have ld-linux-aarch64.so.1 in both /lib64 and /lib while on x86-64 we only have /lib64/ld-linux-x86-64.so.2 file.

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

2.22.90-2

How reproducible:

always

Steps to Reproduce:
1. ls -l /lib*/ld-*so*

Actual results:

14:01 hrw@pinkiepie-rawhide$ ll /lib*/ld-*so*
-rwxr-xr-x. 1 root root 230600 08-17 18:04 /lib64/ld-2.22.90.so
lrwxrwxrwx. 1 root root     13 08-17 17:59 /lib64/ld-linux-aarch64.so.1 -> ld-2.22.90.so
lrwxrwxrwx. 1 root root     22 08-17 17:59 /lib/ld-linux-aarch64.so.1 -> ../lib64/ld-2.22.90.so

Expected results:

14:01 hrw@pinkiepie-rawhide$ ll /lib*/ld-*so*
-rwxr-xr-x. 1 root root 230600 08-17 18:04 /lib64/ld-2.22.90.so
lrwxrwxrwx. 1 root root     13 08-17 17:59 /lib64/ld-linux-aarch64.so.1 -> ld-2.22.90.so

Additional info:

14:03 <@pbrobinson> I see it on F-21 though too

Comment 1 Marcin Juszkiewicz 2015-11-30 10:48:50 UTC
Just to note: pax-utils 1.1.4 builds fine.

Comment 2 Jan Kurik 2016-02-24 13:39:15 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

Comment 3 Peter Robinson 2016-08-21 02:22:16 UTC
Carlos any need for both?

Comment 4 Peter Robinson 2016-11-20 13:35:19 UTC
Still an issue in F-25

$ ls -l /lib*/ld-*so*
-rwxr-xr-x. 1 root root 230160 Aug 18 17:10 /lib64/ld-2.24.so
lrwxrwxrwx. 1 root root     10 Aug 18 17:05 /lib64/ld-linux-aarch64.so.1 -> ld-2.24.so
lrwxrwxrwx. 1 root root     19 Aug 18 17:05 /lib/ld-linux-aarch64.so.1 -> ../lib64/ld-2.24.so

Comment 5 Carlos O'Donell 2016-12-05 13:33:15 UTC
We do not need the /lib/ link to ld.so. I don't know the history of it's presence, but I would think that after the mass rebuilds we've done it should not be needed any more by the distribution. Worse is that it will likely conflict with any future ILP32 ports currently being developed so we should remove it.

Comment 6 Peter Robinson 2017-08-06 19:14:56 UTC
(In reply to Carlos O'Donell from comment #5)
> We do not need the /lib/ link to ld.so. I don't know the history of it's
> presence, but I would think that after the mass rebuilds we've done it
> should not be needed any more by the distribution. Worse is that it will
> likely conflict with any future ILP32 ports currently being developed so we
> should remove it.

Status? Can this go in F-27, there's been two mass rebuilds since.

Comment 7 Carlos O'Donell 2019-10-23 15:42:27 UTC
This issue needs to go upstream to Arm and get solve there since there isn't a clear indication if we need the symlink for ABI compliance or not.

I'm going to track this upstream with this bug:
https://sourceware.org/bugzilla/show_bug.cgi?id=25129

I'm marking this issue as CLOSED/UPSTREAM since this is being tracked upstream.

Comment 8 Carlos O'Donell 2019-10-24 13:43:13 UTC
Upstream confirmed this is not a bug and is required by the AArch64 ABI.


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