[Bug 1978129] [NEW] Incomplete support for DT_RELR relocations on Ubuntu 22.04

bugproxy 1978129 at bugs.launchpad.net
Thu Jun 9 15:09:26 UTC 2022


Public bug reported:

== Comment: #0 - Matheus Salgueiro Castanho <mscastanho at ibm.com> - 2022-06-09 09:32:29 ==
---Problem Description---
Latest glibc uses DT_RELR relocations, but linker support is incomplete as of binutils-2.38-3ubuntu1 on Ubuntu 22.04. It lacks the following fix integrated into the upstream 2.38 branch:
 
PowerPC64 DT_RELR relative reloc addresses
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=e4a35c7319628045302d4c597cb27f1b0a08c858

As mentioned in the binutils mailing list when this patch was discussed, this fixes several glibc regressions:
https://sourceware.org/pipermail/binutils/2022-March/119921.html
 
Contact Information = Matheus Castanho/mscastanho at ibm.com 
 
---uname output---
N/A
 
Machine Type = N/A 
 
---Debugger---
A debugger is not configured
 
---Steps to Reproduce---
 git clone git://sourceware.org/git/glibc.git
mkdir build && cd build
../glibc/configure --prefix=/usr && make -j8 && make check
 
Userspace tool common name: binutils 
 
The userspace tool has the following bit modes: 64-bit 

Userspace rpm: binutils

Userspace tool obtained from project website:  na 
 
*Additional Instructions for Matheus Castanho/mscastanho at ibm.com:
-Attach ltrace and strace of userspace application.

** Affects: glibc (Ubuntu)
     Importance: Undecided
     Assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
         Status: New


** Tags: architecture-ppc64le bugnameltc-198498 severity-medium targetmilestone-inin2210

** Tags added: architecture-ppc64le bugnameltc-198498 severity-medium
targetmilestone-inin2210

** Changed in: ubuntu
     Assignee: (unassigned) => Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)

** Package changed: ubuntu => glibc (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1978129

Title:
  Incomplete support for DT_RELR relocations on Ubuntu 22.04

Status in glibc package in Ubuntu:
  New

Bug description:
  == Comment: #0 - Matheus Salgueiro Castanho <mscastanho at ibm.com> - 2022-06-09 09:32:29 ==
  ---Problem Description---
  Latest glibc uses DT_RELR relocations, but linker support is incomplete as of binutils-2.38-3ubuntu1 on Ubuntu 22.04. It lacks the following fix integrated into the upstream 2.38 branch:
   
  PowerPC64 DT_RELR relative reloc addresses
  https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=e4a35c7319628045302d4c597cb27f1b0a08c858

  As mentioned in the binutils mailing list when this patch was discussed, this fixes several glibc regressions:
  https://sourceware.org/pipermail/binutils/2022-March/119921.html
   
  Contact Information = Matheus Castanho/mscastanho at ibm.com 
   
  ---uname output---
  N/A
   
  Machine Type = N/A 
   
  ---Debugger---
  A debugger is not configured
   
  ---Steps to Reproduce---
   git clone git://sourceware.org/git/glibc.git
  mkdir build && cd build
  ../glibc/configure --prefix=/usr && make -j8 && make check
   
  Userspace tool common name: binutils 
   
  The userspace tool has the following bit modes: 64-bit 

  Userspace rpm: binutils

  Userspace tool obtained from project website:  na 
   
  *Additional Instructions for Matheus Castanho/mscastanho at ibm.com:
  -Attach ltrace and strace of userspace application.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1978129/+subscriptions




More information about the foundations-bugs mailing list