Hi all, I'm trying to compile a program that uses some very big arrays
and also accesses some big FITS tables/images. However when I build the
program 64bit against a 64bit build of Starlink CVS I get the following
errors:
Makefile:23: Compiling for 64bit
g77 -O2 -fno-backslash -fno-second-underscore -march=k8 -mcpu=k8 -I../
-c getlcrv.f -o getlcrv.o
g77 -O2 -fno-backslash -fno-second-underscore -march=k8 -mcpu=k8 -I../
-o getlcrv getlcrv.o ../../wasp0/Wasp_astrometry/wasplib.a -L/star64/lib
`sla_link` `cfitsio_link` `chr_link`
/star64/lib/libcfitsio.a(f77_wrap1.o)(.text+0x19a): In function
`CFITS2Unit':
: relocation truncated to fit: R_X86_64_PC32 .bss
/star64/lib/libcfitsio.a(f77_wrap1.o)(.text+0x1c6): In function
`CFITS2Unit':
: relocation truncated to fit: R_X86_64_PC32 .bss
/star64/lib/libcfitsio.a(f77_wrap1.o)(.text+0x1cc): In function
`CFITS2Unit':
: relocation truncated to fit: R_X86_64_PC32 .bss
/star64/lib/libcfitsio.a(f77_wrap1.o)(.text+0x1d6): In function
`CFITS2Unit':
: relocation truncated to fit: R_X86_64_PC32 .bss
/star64/lib/libcfitsio.a(f77_wrap1.o)(.text+0x1ed): In function
`CFITS2Unit':
: relocation truncated to fit: R_X86_64_PC32 .bss
/star64/lib/libcfitsio.a(f77_wrap1.o)(.text+0x1fb): In function
`CFITS2Unit':
: relocation truncated to fit: R_X86_64_PC32 .bss
/star64/lib/libcfitsio.a(f77_wrap1.o)(.text+0x20e): In function
`CFITS2Unit':
: relocation truncated to fit: R_X86_64_PC32 .bss
/star64/lib/libcfitsio.a(f77_wrap1.o)(.text+0x224): In function
`CFITS2Unit':
: relocation truncated to fit: R_X86_64_PC32 .bss
/star64/lib/libcfitsio.a(buffers.o)(.text+0x2): In function `ffwhbf':
: relocation truncated to fit: R_X86_64_PC32 .bss
/star64/lib/libcfitsio.a(buffers.o)(.text+0x25): In function `ffwhbf':
: relocation truncated to fit: R_X86_64_PC32 .bss
/star64/lib/libcfitsio.a(buffers.o)(.text+0x22f): In function `ffbfwt':
: additional relocation overflows omitted from the output
collect2: ld returned 1 exit status
What's even more bizarre is it builds fine in 32bit mode and even seems
to run !?
Anyone got any bright ideas ?
Cheers,
Tim
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
= =
= Dr. Tim Lister (Astronomer) =
= Keele Uni. Astronomy Group (on secondment to St. Andrews) =
= email: [log in to unmask] or [log in to unmask] =
= icbm: 56 20 12 N 2 48 52.5 W +30m =
= /* Halley */ (Halleys' comment) =
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|