This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ia64-hp-hpux* linker


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);



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]