Port-sparc archive

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

re: Packages for NetBSD/sparc 7.0?



> > what's the failure?  i thought i fixed sparc perl build a while back.
> 
> gcc -Wl,-rpath,/usr/pkg_bulk/lib -fstack-protector -L/usr/pkg_bulk/lib -o miniperl  perlmini.o opmini.o miniperlmain.o  gv.o toke.o perly.o pad.o regcomp.o d
> ump.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 un
> iversal.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=/tmp/pkg/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
> *** Error code 1
> 
> Stop.
> make: stopped in /tmp/pkg/lang/perl5/work/perl-5.22.0

this is the problem i fixed.  GCC mis-compiles op.c (miniop.c).
this should be fixed with:

# $NetBSD: hacks.mk,v 1.17 2015/08/07 22:11:22 mrg Exp $

except i only marked it for sparc64 not sparc.  look at the snippet
at the bottom of this, and adjust it.  i'll see about doing it now.


.mrg.


Home | Main Index | Thread Index | Old Index