FFTW 3.3.3 fails to compile with ICE

Has anyone else succeeded or failed to compile FFTW 3.3.3 with pgcc 13.3? I get a segmentation fault in the “pgc” component on file “n1fc_2.c”.

./configure --enable-sse2 --enable-avx F77=pgf90 CC=pgcc CFLAGS=“-fast”

make

pgcc-Fatal-/opt/pgi/linux86-64/13.3/bin/pgc TERMINATED by signal 11
Arguments to /opt/pgi/linux86-64/13.3/bin/pgc
/opt/pgi/linux86-64/13.3/bin/pgc n1fv_2.c -opt 2 -x 119 0xa10000 -x 122 0x40 -x 123 0x1000 -x 127 4 -x 127 17 -x 19 0x400000 -x 28 0x40000 -x 120 0x10000000 -x 70 0x8000 -x 122 1 -x 125 0x20000 -quad -vect 56 -y 34 16 -x 34 0x8 -x 32 6291456 -y 19 8 -y 35 0 -x 42 0x30 -x 39 0x40 -x 39 0x80 -x 34 0x400000 -x 149 1 -x 150 1 -x 59 4 -x 59 4 -x 129 2 -tp penryn -x 120 0x1000 -astype 0 -x 121 1 -stdinc /opt/pgi/linux86-64/13.3/include:/usr/local/include:/usr/lib/gcc/x86_64-mageia-linux-gnu/4.6.3/include:/usr/lib/gcc/x86_64-mageia-linux-gnu/4.6.3/include:/usr/include -def unix -def __unix -def unix -def linux -def __linux -def linux -def __NO_MATH_INLINES -def __x86_64 -def x86_64 -def LONG_MAX=9223372036854775807L -def ‘SIZE_TYPE=unsigned long int’ -def ‘PTRDIFF_TYPE=long int’ -def __THROW= -def extension= -def amd_64__amd64 -def __k8 -def k8 -def SSE -def MMX -def SSE2 -def SSE3 -def SSSE3 -def STDC_HOSTED -predicate ‘#machine(x86_64) #lint(off) #system(posix) #cpu(x86_64)’ -idir . -idir …/…/… -idir …/…/…/kernel -idir …/…/…/dft -idir …/…/…/dft/simd -idir …/…/…/simd-support -def HAVE_CONFIG_H -cmdline ‘+pgcc n1fv_2.c -v -Masmkeyword -Mkeepasm -DHAVE_CONFIG_H -I. -I…/…/… -I…/…/…/kernel -I…/…/…/dft -I…/…/…/dft/simd -I…/…/…/simd-support -O2 -Mvect=sse -Mcache_align -Mpre -c -o n1fv_2.o’ -outfile n1fv_2.o -x 123 0x80000000 -x 123 4 -x 119 0x20 -def __pgnu_vsn=40603 -alwaysinline /opt/pgi/linux86-64/13.3/lib/libintrinsics.il 4 -x 127 1 -autoinl 10 -x 168 100 -x 174 8000 -x 14 0x200000 -x 120 0x200000 -x 9 1 -x 72 0x1 -x 136 0x11 -quad -x 119 0x10000000 -x 129 0x40000000 -x 164 0x1000 -asm /tmp/pgccdnRhj-UpTX-I.sm

uname -a
Linux XXX.XXX.ac.uk 3.4.52-desktop-1.mga2 #1 SMP Thu Jul 4 07:23:54 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

gcc --version
gcc (GCC) 4.6.3

/lib64/libc.so.6
GNU C Library stable release version 2.14.1, by Roland McGrath et al.
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.6.3.
Compiled on a Linux 3.3.8 system on 2013-05-01.
Available extensions:
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
libc ABIs: UNIQUE IFUNC
For bug reporting instructions, please see:
http://www.gnu.org/software/libc/bugs.html

One more piece of relevant information, as another post suggested a write error in the temporary directory could cause a similar error:


df $TMPDIR
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 16G 7.5G 7.6G 50% /

Hi Keith,

This is a know compiler error (TPR#19323) that was fixed in the 13.6 compiler. It only occurs when SSE2 support is requested, hence if you can’t update the compiler version, the work around is to remove “–enable-sse2”.

Best Regards,
Mat