This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Static linking problems on Alpha...
- To: chris at debian dot org
- Subject: Re: Static linking problems on Alpha...
- From: hjl at lucon dot org (H.J. Lu)
- Date: Mon, 11 Oct 1999 22:45:31 -0700 (PDT)
- Cc: binutils at sourceware dot cygnus dot com
>
>
> I'm having difficulty with linking a binary statically on the target
> alpha-unknown-linux-gnu. It seems to be present in several Alphas that I
> have access to. Ld segfaults when executed by gcc. When running by hand
> (was linking a static 'tar' binary):
>
> ld: Warning: size of symbol `main' changed from 3132 to 1296 in tar.o
> Segmentation fault
>
> Also, ld's testsuite fails on the static linking test (ld-bootstrap):
>
> FAIL: bootstrap with --static
>
> Is anyone else seeing this or could this be related to glibc 2.1.2?
>
> My system details:
> Alpha 533MHz 164SX
> 128MB RAM
> Debian Linux (potato)
> glibc 2.1.2 (compiled with egcs 1.0.3 due to lack of complex
> support in gcc 2.95.1 on Alpha)
> gcc 2.95.1
>
You missed the most important information. WHICH BINUTILS ARE YOU
USING?
--
H.J. Lu (hjl@gnu.org)