Public bug reported:

I am trying to compile a program against a library that was built using
gcc 5.3 on Wily, which has gcc 5.2.1.

I get

/usr/bin/ld: <REMOVED>: unrecognized relocation (0x2a) in section `.text'
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status

This looks exactly like

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808205

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: binutils 2.25.1-6ubuntu2
ProcVersionSignature: User Name 4.2.0-27.32-generic 4.2.8-ckt1
Uname: Linux 4.2.0-27-generic x86_64
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
Date: Mon Feb 15 09:53:05 2016
Dependencies:
 gcc-5-base 5.2.1-22ubuntu2
 libc6 2.21-0ubuntu4
 libgcc1 1:5.2.1-22ubuntu2
 zlib1g 1:1.2.8.dfsg-2ubuntu4
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: binutils
UpgradeStatus: Upgraded to wily on 2016-02-13 (2 days ago)

** Affects: binutils
     Importance: Unknown
         Status: Unknown

** Affects: binutils (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: amd64 apport-bug wily

** Bug watch added: Debian Bug tracker #808205
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808205

** Also affects: binutils via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808205
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/1545653

Title:
  Unrecognized relocation when compiling

Status in binutils:
  Unknown
Status in binutils package in Ubuntu:
  Confirmed

Bug description:
  I am trying to compile a program against a library that was built
  using gcc 5.3 on Wily, which has gcc 5.2.1.

  I get

  /usr/bin/ld: <REMOVED>: unrecognized relocation (0x2a) in section `.text'
  /usr/bin/ld: final link failed: Bad value
  collect2: error: ld returned 1 exit status

  This looks exactly like

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808205

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: binutils 2.25.1-6ubuntu2
  ProcVersionSignature: User Name 4.2.0-27.32-generic 4.2.8-ckt1
  Uname: Linux 4.2.0-27-generic x86_64
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  Date: Mon Feb 15 09:53:05 2016
  Dependencies:
   gcc-5-base 5.2.1-22ubuntu2
   libc6 2.21-0ubuntu4
   libgcc1 1:5.2.1-22ubuntu2
   zlib1g 1:1.2.8.dfsg-2ubuntu4
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: binutils
  UpgradeStatus: Upgraded to wily on 2016-02-13 (2 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/binutils/+bug/1545653/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to