tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

perl fails to build on MIPS and VAX



NetBSD-6, both recent, trying to build perl 5.22. First, VAX:

gcc -c -O1 -fgcse -fstrength-reduce -fgcse-after-reload -pthread -I/usr/include -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_FORTIFY_SOURCE=2 -DSTRUCT_TM_HASZONE -Wall -Wextra -Wc++-compat -Wwrite-strings -O1 -fgcse -fstrength-reduce -fgcse-after-reload -pthread -I/usr/include -DVERSION=\"1.53\" -DXS_VERSION=\"1.53\" -DPIC -fPIC "-I../.." POSIX.c
In file included from POSIX.xs:38:
/usr/include/fenv.h:29:2: error: #error "fenv.h is currently not supported for this architecture" /usr/include/fenv.h:35:26: error: machine/fenv.h: No such file or directory
In file included from POSIX.xs:38:
/usr/include/fenv.h:41: error: expected ')' before '*' token
/usr/include/fenv.h:43: error: expected ';', ',' or ')' before '*' token
/usr/include/fenv.h:47: error: expected ')' before '*' token
/usr/include/fenv.h:48: error: expected ')' before '*' token
/usr/include/fenv.h:49: error: expected ';', ',' or ')' before '*' token
/usr/include/fenv.h:50: error: expected ';', ',' or ')' before '*' token
./const-xs.inc: In function 'XS_POSIX_constant':
./const-xs.inc:1451: warning: format '%d' expects type 'int', but argument 4 has type 'line_t' ./const-xs.inc:1456: warning: format '%d' expects type 'int', but argument 4 has type 'line_t'
*** Error code 1



MIPS (cobalt):

===> build-message [perl-5.22.0] ===> Building for perl-5.22.0
gcc -Wl,-rpath,/usr/local/lib -fstack-protector -o miniperl perlmini.o opmini.o miniperlmain.o gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro_core.o keywords.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o caretx.o -lm -lcrypt -lpthread LD_LIBRARY_PATH=/usr/pkgsrc/lang/perl5/work/perl\-5.22.0 ./miniperl -w -Ilib -Idist/Exporter/lib -MExporter -e '<?>' || sh -c 'echo >&2 Failed to build miniperl. Please run make minitest; exit 1' Use of uninitialized value in hash element at dist/Exporter/lib/Exporter.pm line 41.
Bad symbol for hash at dist/Exporter/lib/Exporter.pm line 44.
BEGIN failed--compilation aborted.
Failed to build miniperl. Please run make minitest


Home | Main Index | Thread Index | Old Index