[daip] Problem in compiling 31DEC05 AIPS on amd64

Subhashis Roy roy at astron.nl
Sun Dec 11 15:46:55 EST 2005


Hi,

I tried to compile Aips dated 7th Dec 2005 on my amd64 laptop.
I am running Debian stable Release 3.1 (Sarge) both i386 and amd64
architecture on two different partitions.

I used gcc-2.95 on i386, it compiled and runs fine (including passing
Y2K Large test).
The Y2K test also runs fine on amd64 compiled with the native
gcc version 3.4.4 20050314 (prerelease) (Debian 3.4.3-13)
(Its cpu time usage during Y2K Large is ~75% as compared to i386).

I read earlier that gcc-3.4 is suposed to be the preferred compiler on
amd64 architecture, as it can optimise for it (prior release could not).

Moreover, your Compiler page says that gcc-3.4.4 has so far appeared
fine. So I tried to stick to gcc-3.4.4 on amd64 architecture.

However, I find that while running IMAGR with NFIELD=28 on amd64
architecture, it initially makes the dirty maps and beams and computes
the min. and max.  in each field. However, after this point it is
supposed to load one Facet on TV. But it says 'Signal 11 Received' and
dies.

For single Facet it does load the dirty image, but the TV cursor tend to
get stuck on the Box edges (using Touchpad).

At this point, I thought that the native release of Debian gcc-3.4 being
a Pre-release one, I downloaded the original tarball of gcc-3.4 and
build and installed the compiler in /usr/local.  However, after suitably
modifying the compiler Paths in the AIPS compile scripts, INSTEP4 fails

It says
---------------------
FC        : plus       /usr/local/bin/g77 -c -fno-automatic -fno-globals
-Wno-globals -Wimplicit -Wall -O2 \
FC        : plus       /usr/local/bin/g77 -c -fno-automatic -fno-globals
-Wno-globals -Wimplicit -Wall -O2 \
FC        :            /home/aips/31DEC05/LINUX/PREP/CL2HF.f
FC        :            /home/aips/31DEC05/LINUX/PREP/CL2HF.f
/home/aips/31DEC05/LINUX/PREP/CL2HF.f: In subroutine `hfput':
In file included from /home/aips/31DEC05/LINUX/PREP/CL2HF.f:0:
/home/aips/31DEC05/LINUX/PREP/CL2HF.f:4893: error: unrecognizable insn:
(insn 6514 6513 6424 54 (set (reg:V4SF 23 xmm2)
        (and:V4SF (not:V4SF (reg:SF 22 xmm1 [2527]))
            (reg:V4SF 21 xmm0 [1957]))) -1 (nil)
    (nil))
/home/aips/31DEC05/LINUX/PREP/CL2HF.f:4893: internal compiler error: in
extract_insn, at recog.c:2083
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
/home/aips/31DEC05/LINUX/PREP/CL2HF.f: In subroutine `hfput':
In file included from /home/aips/31DEC05/LINUX/PREP/CL2HF.f:0:
/home/aips/31DEC05/LINUX/PREP/CL2HF.f:4893: error: unrecognizable insn:
(insn 6514 6513 6424 54 (set (reg:V4SF 23 xmm2)
        (and:V4SF (not:V4SF (reg:SF 22 xmm1 [2527]))
            (reg:V4SF 21 xmm0 [1957]))) -1 (nil)
    (nil))
/home/aips/31DEC05/LINUX/PREP/CL2HF.f:4893: internal compiler error: in
extract_insn, at recog.c:2083
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
FC        : Compile of /home/aips/31DEC05/LINUX/PREP/CL2HF.f
FC        : Compile of /home/aips/31DEC05/LINUX/PREP/CL2HF.f
FC        : ends with fatal error(s)!
FC        : ends with fatal error(s)!
---------------------------------------------------------------- 

The specs for gcc-3.4.4 are the following:
------------------------
/usr/local/bin/gcc -v
Reading specs from
/usr/local/lib/gcc/x86_64-unknown-linux-gnu/3.4.4/specs
Configured with: /usr/src/gcc-3.4.4/configure --prefix=/usr/local
--enable-languages=c,f77 --disable-nls : (reconfigured)
/usr/src/gcc-3.4.4/configure --prefix=/usr/local
--enable-languages=c,f77 --disable-nls --disable-shared
Thread model: posix
gcc version 3.4.4
-------------------------------------------

Did you try to compile Aips on amd64 with gcc-3.4.4 ?
Any idea or suggestion for the AMD64 architecture ?

Thanks.
Subhashis




More information about the Daip mailing list