- Notifications
You must be signed in to change notification settings - Fork 603
Closed
Description
Module:
Description
Perl 5.40 will fail to build on Solaris 10. Using GCC 9.5.0, and the configure line ./Configure -Duse64bitint -Dusethreads -Dprefix=/opt/FSYS/packages/ -des, reporting the following errors:
echo @`sh cflags "optimize='-O'" opmini.o` -fPIC -DPERL_IS_MINIPERL -DPERL_EXTERNAL_GLOB opmini.c @/opt/FSYS/packages/bin/gcc -c -DPERL_CORE -D_REENTRANT -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -mcpu=v9 -m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O -Wall -fPIC -DPERL_IS_MINIPERL -DPERL_EXTERNAL_GLOB opmini.c In file included from perl.h:46, from op.c:163: config.h:3640:3: error: invalid preprocessing directive #PERL_LC_ALL_USES_NAME_VALUE_PAIRS 3640 | # PERL_LC_ALL_USES_NAME_VALUE_PAIRS /**/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ config.h:3641:4: error: invalid preprocessing directive #PERL_LC_ALL_SEPARATOR 3641 | # PERL_LC_ALL_SEPARATOR /**/ | ^~~~~~~~~~~~~~~~~~~~~ config.h:3642:4: error: invalid preprocessing directive #PERL_LC_ALL_CATEGORY_POSITIONS_INIT 3642 | # PERL_LC_ALL_CATEGORY_POSITIONS_INIT /**/ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [makefile:313: opmini.o] Error 1 Steps to Reproduce
On Solaris 10 SPARC do: ./Configure -Duse64bitint -Dusethreads -Dprefix=/opt/FSYS/packages/ -- note: This may not be reproduceable on others' systems, since gcc9.5 isn't available in OpenCSW or other sources for Solaris 10, we are using our own build
Expected behavior
We expected it to at least start to build. It immediately fails
Perl configuration
Perl couldn't build, so `perl -v` output isn't relevant OS: SunOS 5.10 SPARC Solaris 10
Compiler: GCC 9.5.0
Linker: ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.1522