This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: ia64-hp-hpux* linker
- From: Denis Scherbakov <denis_scherbakov at yahoo dot com>
- To: binutils at sources dot redhat dot com
- Date: Fri, 24 Apr 2009 09:04:19 +0000 (UTC)
- Subject: Re: ia64-hp-hpux* linker
- References: <765864.52734.qm@web65413.mail.ac4.yahoo.com>
Well, nobody seems to be interested. Nevertheless, I've got LD for ia64-hp-hpux*
working.
Now I am compiling GCC 4.3.3. It is almost finished, but I get strange errors in
libgfortran:
.libs/open.o: In function `*_gfortrani_new_unit':
libgfortran/io/open.c:485: relocation truncated to fit: GPREL22 against symbol
`_gfortrani_max_offset' defined in *ABS* section in .libs/libgfortran.so.3.0
libgfortran/io/open.c:450: relocation truncated to fit: GPREL22 against symbol
`_gfortrani_max_offset' defined in *ABS* section in .libs/libgfortran.so.3.0
libgfortran/io/open.c:481: relocation truncated to fit: GPREL22 against symbol
`_gfortrani_max_offset' defined in *ABS* section in .libs/libgfortran.so.3.0
.libs/unix.o: In function `__gthread_mutex_lock':
libgfortran/../gcc/gthr-posix.h:686: relocation truncated to fit: GPREL22
against symbol `_gfortrani_unit_root' defined in *ABS* section in
.libs/libgfortran.so.3.0
.libs/unix.o: In function `stat':
/tmp/cross-compile/ia64-hp-hpux11.23/usr/include/sys/stat.h:126: relocation
truncated to fit: GPREL22 against symbol `_gfortrani_unit_root' defined in *ABS*
section in .libs/libgfortran.so.3.0
.libs/unit.o: In function `*_gfortrani_filename_from_unit':
libgfortran/io/unit.c:703: relocation truncated to fit: GPREL22 against symbol
`_gfortrani_unit_root' defined in *ABS* section in .libs/libgfortran.so.3.0
.libs/unit.o: In function `delete_unit':
libgfortran/io/unit.c:279: relocation truncated to fit: GPREL22 against symbol
`_gfortrani_unit_root' defined in *ABS* section in .libs/libgfortran.so.3.0
.libs/unit.o: In function `*_gfortrani_close_units':
libgfortran/io/unit.c:671: relocation truncated to fit: GPREL22 against symbol
`_gfortrani_unit_root' defined in *ABS* section in .libs/libgfortran.so.3.0
.libs/unit.o: In function `insert_unit':
libgfortran/io/unit.c:202: relocation truncated to fit: GPREL22 against symbol
`_gfortrani_unit_root' defined in *ABS* section in .libs/libgfortran.so.3.0
.libs/unit.o: In function `*_gfortrani_init_units':
libgfortran/io/unit.c:596: relocation truncated to fit: GPREL22 against symbol
`_gfortrani_max_offset' defined in *ABS* section in .libs/libgfortran.so.3.0
.libs/unit.o: In function `get_external_unit':
libgfortran/io/unit.c:302: relocation truncated to fit: GPREL22 against symbol
`_gfortrani_unit_root' defined in *ABS* section in .libs/libgfortran.so.3.0
So far I understand, they are caused by two lines in libgfortran/io/io.h:
/* Maximum file offset, computed at library initialization time. */
extern gfc_offset max_offset;
internal_proto(max_offset);
/* Unit tree root. */
extern gfc_unit *unit_root;
internal_proto(unit_root);