[OpenWrt-Devel] Snag when building perl

Linus Walleij linus.walleij at linaro.org
Mon May 18 09:21:17 EDT 2020


I get the following build error when building Openwrt on a Fedora 32
host:

make[4]: Entering directory
'/home/linus/src/openwrt/build_dir/hostpkg/perl/perl-5.28.1'
cc -fstack-protector-strong -L/usr/local/lib -o miniperl \
    opmini.o perlmini.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 dquote.o time64.o
miniperlmain.o  -lpthread -ldl -lm -lcrypt -lutil -lc
./miniperl -w -Ilib -I. -Idist/Exporter/lib -MExporter -e '<?>' || sh
-c 'echo >&2 Failed to build miniperl.  Please run make minitest; exit
1'
Attempt to free unreferenced scalar: SV 0x1239030.
/bin/sh: line 1: 39203 Segmentation fault      (core dumped)
./miniperl -w -Ilib -I. -Idist/Exporter/lib -MExporter -e '<?>'
Failed to build miniperl. Please run make minitest
make[4]: *** [makefile:365: lib/buildcustomize.pl] Error 1

Has anyone seen something like this and could tell me what I'm doining
wrong?

Since the snapshots keep coming out I suspect a problem with my
host system :/

I tried make dirclean && make clean but same problem persists.

Yours,
Linus Walleij

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list