Latest Binutils ld in Isadora 9 doesn't support sysroots

Bug #676765 reported by jdb2
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linux Mint
Confirmed
Low
Clement Lefebvre

Bug Description

When I try to build something on Linux Mint 9 Isadora 64-bit and I pass gcc/g++ the --sysroot= option ld complains :

'/usr/bin/ld: this linker was not configured to use sysroots'

This is a bug as ld should have been built with the --with-sysroot option, which it wasn't. This makes it almost impossible to do cross-platform and/or 32-bit builds.

If I'm not mistaken, this has been fixed in the latest version of Ubuntu 10.10, so it should be easy to backport.

Here is my system information :

'uname -a' :

'Linux aleph1 2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:58:24 UTC 2010 x86_64 GNU/Linux'

'lsb_release -a' :

'No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 9 Isadora
Release: 9
Codename: isadora
'

'apt-cache policy binutils' :

'binutils:
  Installed: 2.20.1-3ubuntu7
  Candidate: 2.20.1-3ubuntu7
  Version table:
 *** 2.20.1-3ubuntu7 0
        500 http://archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
        100 /var/lib/dpkg/status
     2.20.1-3ubuntu5 0
        500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages
'

Revision history for this message
Justin Krehel (jkrehel) wrote :

Thanks for reporting this jdb. I will assign it to someone and we will explore our options here. It's very much appreciated.

Changed in linuxmint:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → Clement Lefebvre (clementlefebvre)
Revision history for this message
jdb2 (jonathanbusby) wrote :

Thank. To be more specific the exact option that you need to pass to the GNU Binutils configure script is '--with-sysroot=/' -- this totally solves the problem. I have a custom built ld on my Linux Mint system with a symlink in /usr/bin/ pointing to it. I've had no issues.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.