[Pkg-fglrx-devel] Bug#582312: Bug#582312: (no subject)

Michael Gilbert michael.s.gilbert at gmail.com
Fri May 21 02:54:10 UTC 2010


On Thu, 20 May 2010 05:02:04 -0700 (PDT) john terragon wrote:
> ld: Relocatable linking with relocations from format elf32-i386
> (/var/lib/dkms/fglrx/10-4/build/2.6.x/libfglrx_ip.a.GCC4) to format
> elf64-x86-64 (/var/lib/dkms/fglrx/10-4/build/2.6.x/fglrx.o) is not
> supported

^ this is the problem.  the packaged libfglrx_ip.a.GCC4 (prebuild by
amd) is a 32-bit ELF file (since you're on i386), so it won't link to
64-bit objects.

the solution would involve packaging both 32- and 64-bit versions
of those files in fglrx-modules-dkms (right now only the correct arch is
included), and updating the dkms make process to select the right one
based on the build-for arch.

i may get around to implementing that at some point, but it will
probably be much more expedient if you take a stab at it (especially
since this problem is of interest to you).

mike





More information about the Pkg-fglrx-devel mailing list