This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
The ltoff22x relaxation bug on ia64.
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: rth at redhat dot com, binutils at sources dot redhat dot com
- Date: Mon, 17 Mar 2003 10:47:49 -0800
- Subject: The ltoff22x relaxation bug on ia64.
On Mon, Mar 17, 2003 at 09:10:57AM -0800, H. J. Lu wrote:
>
> There is another ia64 linker bug. I can't build the current
> gcc-3_2-rhl8-branch in CVS using the current binutils on Linux/ia64. I
> got
>
> ../boehm-gc/.libs/libgcjgc_convenience.a(reclaim.o)(.text+0xd1): In function
> `report_leak':
> /net/gnu/export/gnu/src/gcc-3.2-redhat-8/gcc/boehm-gc/reclaim.c:40: relocation
> truncated to fit: GPREL22 .text
> collect2: ld returned 1 exit status
> make[5]: *** [libgcj.la] Error 1
> make[5]: Leaving directory
> `/export/build/gnu/gcc-3.2-redhat-8/build-ia64-linux/ia64-unknown-linux-gnu/libjava'
> m
>
> It is a new bug.
>
The problem is
http://sources.redhat.com/ml/binutils/2003-02/msg00478.html
doesn't take SHF_MERGE into account. The symaddr computed in
elfNN_ia64_relax_section may be different from the one used.
H.J.