Heiko Schr=F6ter <schroete@...> writes:
> Description of failure:
> 1) Installed 0.9.5 ALPHA binary from SBCL Download page. Works ok.
> 2) Downloaded sbcl 0.9.6 src.
> 3) Compilation looks ok, during linking the following message occurs:
>
> <snip>
> Thread model: posix
> gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
> /usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2/collect2 --eh-frame-hdr -=
m=20
> elf64alpha -O1 -export-dynamic -dynamic-linker /lib/ld-linux.so.2 -o=20
> sbcl /usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2/../../../crt1.o /usr/=
lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2/../../../crti.o /usr/lib/gcc-lib/=
alpha-unknown-linux-gnu/3.3.2/crtbegin.o=20
> -L/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2=20
> -L/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2/../../.. -T=20
> ld-script.alpha-linux alloc.o backtrace.o breakpoint.o coreparse.o dynbin=
d.o=20
^^^^^^^^^^^^^^^^^^^^^
Here's the important bit. To ensure that C library functions are
linked under the 32-bit ceiling (for the 32-bit alpha port), we use a
linker script. Unfortunately, the linker script is strongly
version-dependent, so a linker script which works on gcc 2.95 and
the 2.2 kernel won't work on gcc 3 and 2.6 kernels.
The good news is that this problem has probably been solved by the
debian folks; try getting the debian source package and examining the
linker script they provide: it's more likely to work on your system.
(The reason we haven't updated it in our repository is that the
sourceforge alpha is running old versions of software, and that's the
only alpha sbcl developers have access to.)
I hope that helps. (If this sounds insanely difficult, let me know;
I'll try to upload a 0.9.7 binary in any case, once that's released in
about a week or so).
Cheers,
Christophe
|