Cannot install fglrx-kernel-source when binutils-gold is in use

Bug #457575 reported by Dennis Nienhüser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
binutils (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

When using binutils-gold, linker errors during the compilation (part of the fglrx-kernel-source installation) stop the installation from finishing successfully. Removing binutils-gold as a workaround works.

I don't have access to the logfile at the moment, but can file it in a couple of days if needed.

Ubuntu karmic (development branch)
Release: 9.10

affects: ubuntu → binutils (Ubuntu)
Matthias Klose (doko)
Changed in binutils (Ubuntu):
status: New → Incomplete
Revision history for this message
Banshee (banshee-sodar) wrote :

I confirm this. Removal of binutils-gold works.
2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC 2009 x86_64 GNU/Linux

Revision history for this message
Horst Schirmeier (horst) wrote :

binutils-gold seems to generally produce nonsense output on Ubuntu (tested on Lucid Beta 1): Installing binutils-gold and then trying to compile and link a simple C program gets you a dysfunctional binary. I'm not sure whether this should be reported upstream, or this is a Ubuntu problem.

cat > foo.c
#include <stdio.h>
#include <string.h>
int main(int argc, char **argv)
{
    printf("worked: %d\n", strcmp(argv[1], argv[2]));
    return 0;
}
^D

gcc -o foo foo.c
./foo x x
Segmentation fault

(Debugging reveals that the crash happens in strcmp.)

Revision history for this message
Horst Schirmeier (horst) wrote :

(PS: In any case I wouldn't expect gold to *replace* the default GNU linker by overwriting the /usr/bin/ld symlink -- it took me quite some time to figure this out.)

Revision history for this message
Horst Schirmeier (horst) wrote :

I probably should have mentioned that I'm using x86_64 Ubuntu Lucid (Beta 1) with a non-Ubuntu kernel (vanilla 2.6.32.6), libc6 2.11.1-0ubuntu5, gcc-4.4.3-4ubuntu5. The gold version was binutils-gold 2.20.1-3ubuntu1.

Revision history for this message
Mats Palmgren (matspal) wrote :

The bug still occurs.

Changed in binutils (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Matthias Klose (doko) wrote :

closing this as won't fix.
- the ubuntu-toolchain-r PPA has a newer binutils version available (at least for lucid)
- please recheck this with binutils in precise and quantal

Changed in binutils (Ubuntu):
status: Confirmed → Won't Fix
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.