Subject: | Compilation failure on clang systems (0.0098) |
It seems that clang (default C compiler on FreeBSD 10 systems) does not handle --unroll-loops and the compilation of the module fails:
"/usr/perl5.23.5p/bin/perl5.23.5" "/usr/perl5.23.5p/lib/5.23.5/ExtUtils/xsubpp" -typemap "/usr/perl5.23.5p/lib/5.23.5/ExtUtils/typemap" -typemap "/usr/perl5.23.5p/lib/site_perl/5.23.5/amd64-freebsd/PDL/Core/typemap.pdl" Func.xs > Func.xsc && mv Func.xsc Func.c
cc -c "-I/usr/perl5.23.5p/lib/site_perl/5.23.5/amd64-freebsd/PDL/Core" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_FORTIFY_SOURCE=2 -O3 --unroll-loops -DVERSION=\"0.0098\" -DXS_VERSION=\"0.0098\" -DPIC -fPIC "-I/usr/perl5.23.5p/lib/5.23.5/amd64-freebsd/CORE" Func.c
cc: error: unsupported option '--unroll-loops'