package fglrx 2:8.721-0ubuntu8 failed to install/upgrade: fglrx kernel module failed to build: ld: internal error in output_symtab_index, at ../../gold/object.h:1086

Bug #559729 reported by superham
142
This bug affects 23 people
Affects Status Importance Assigned to Milestone
Debian
New
Undecided
Unassigned
fglrx-installer (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

error happened during upgrade from 9.10 to 10.04

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: fglrx 2:8.721-0ubuntu8
ProcVersionSignature: Ubuntu 2.6.31-17.54-generic
Uname: Linux 2.6.31-17-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
Date: Sat Apr 10 10:53:53 2010
DkmsStatus: fglrx, 8.721: added
ErrorMessage: fglrx kernel module failed to build
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
MachineType: Micro-Star International GT735
PackageVersion: 2:8.721-0ubuntu8
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-17-generic root=UUID=f1d387f5-6bd5-4bc6-9d2e-3a1cf88ef697 ro quiet splash
SourcePackage: fglrx-installer
Title: package fglrx 2:8.721-0ubuntu8 failed to install/upgrade: fglrx kernel module failed to build
dmi.bios.date: 11/25/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: A1721AMS V1.0V
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: MS-1721
dmi.board.vendor: MSI
dmi.board.version: Ver 1.000
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 10
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrA1721AMSV1.0V:bd11/25/2009:svnMicro-StarInternational:pnGT735:pvrVer1.000:rvnMSI:rnMS-1721:rvrVer1.000:cvnToBeFilledByO.E.M.:ct10:cvrToBeFilledByO.E.M.:
dmi.product.name: GT735
dmi.product.version: Ver 1.000
dmi.sys.vendor: Micro-Star International
glxinfo: Error: command ['glxinfo'] failed with exit code -11:
system:
 distro: Ubuntu
 codename: lucid
 architecture: x86_64
 kernel: 2.6.31-17-generic

Revision history for this message
superham (badunnbier) wrote :
summary: package fglrx 2:8.721-0ubuntu8 failed to install/upgrade: fglrx kernel
- module failed to build
+ module failed to build: ld: internal error in output_symtab_index, at
+ ../../gold/object.h:1086
Revision history for this message
vimasari (vimasari) wrote :

confirmed bug

Bryce Harrington (bryce)
tags: added: karmic
Revision history for this message
unkle_george (unkle-george) wrote :

I built binutils from TOT CVS and it links without errors.

binutils ltversion.m4
m4_define([LT_PACKAGE_VERSION], [2.2.7a])
m4_define([LT_PACKAGE_REVISION], [1.3134])

Not exactly sure on what version of binutils it was fixed.

sudo ~/binutils/bin/ld -m elf_i386 -r -o /usr/src/fglrx-8.723/2.6.x/fglrx.o /usr/src/fglrx-8.723/2.6.x/firegl_public.o /usr/src/fglrx-8.723/2.6.x/kcl_acpi.o /usr/src/fglrx-8.723/2.6.x/kcl_agp.o /usr/src/fglrx-8.723/2.6.x/kcl_debug.o /usr/src/fglrx-8.723/2.6.x/kcl_ioctl.o /usr/src/fglrx-8.723/2.6.x/kcl_io.o /usr/src/fglrx-8.723/2.6.x/kcl_pci.o /usr/src/fglrx-8.723/2.6.x/kcl_str.o /usr/src/fglrx-8.723/2.6.x/kcl_wait.o /usr/src/fglrx-8.723/2.6.x/libfglrx_ip.a.GCC4

Revision history for this message
unkle_george (unkle-george) wrote :

My system is using this version of binutils:

$ ld --version
GNU gold (GNU Binutils for Ubuntu 2.20.1-system.20100303) 1.9
Copyright 2008 Free Software Foundation, Inc.

The closest tags to that in CVS are:
        sid-snapshot-20100301
        cgen-snapshot-20100301

Is this the same binutils that Ubuntu 10.04 is using?

Revision history for this message
unkle_george (unkle-george) wrote :

Oh, I see. I need to configure with --enable-gold to get the same version as Ubuntu 10.04
tar -zxf binutils-2.20.1.tar.gz
./configure --with-gnu-as --with-gnu-ld --enable-gold --prefix=~/binutils-2.20.1/build; make -j4; make install

And with that I can reproduce the bug.
~/binutils-2_20.1/build/bin/ld: internal error in output_symtab_index, at object.h:1086

Revision history for this message
unkle_george (unkle-george) wrote :

Also fails in 2.20

Likely a missing symbol in the fglx library. Odd however that it links with ld, but not gold.

For some reason this is never called in gold/object.h:
  set_output_symtab_index(unsigned int i)
  {
    gold_assert(this->output_symtab_index_ == 0);
    this->output_symtab_index_ = i;
  }

Hope this information is helpful.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Setting to confirmed due to duplicates.

Changed in fglrx-installer (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
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.