Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 683018 - dev-lang/perl-5.28.2-r1 with sys-devel/gcc-8.2.0-r6 on parisc - segmentation fault in miniperl: Failed to build miniperl. Please run make minitest
Summary: dev-lang/perl-5.28.2-r1 with sys-devel/gcc-8.2.0-r6 on parisc - segmentation ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: HPPA Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-10 09:17 UTC by Jeroen Roovers
Modified: 2019-09-14 05:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-lang:perl-5.28.0-r1:20190410-081333.log (dev-lang:perl-5.28.0-r1:20190410-081333.log,65.06 KB, text/plain)
2019-04-10 09:20 UTC, Jeroen Roovers
Details
dev-lang:perl-5.28.2:20190421-085733.log (dev-lang:perl-5.28.2:20190421-085733.log,64.62 KB, text/plain)
2019-04-21 12:35 UTC, Jeroen Roovers
Details
dev-lang:perl-5.28.2-r1:20190513-141423.log (dev-lang:perl-5.28.2-r1:20190513-141423.log,64.41 KB, text/plain)
2019-05-13 15:58 UTC, Jeroen Roovers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers gentoo-dev 2019-04-10 09:17:33 UTC
hppa2.0-unknown-linux-gnu-gcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--no-keep-memory -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
LD_LIBRARY_PATH=/var/tmp/portage/dev-lang/perl-5.28.0-r1/work/perl-5.28.0 /var/tmp/portage/dev-lang/perl-5.28.0-r1/work/perl-5.28.0/preload /var/tmp/portage/dev-lang/perl-5.28.0-r1/work/perl-5.28.0/libperl.so.5.28.0 ./miniperl -w -Ilib -Idist/Exporter/lib -MExporter -e '<?>' || sh -c 'echo >&2 Failed to build miniperl.  Please run make minitest; exit 1'
/bin/sh: line 1:  5024 Segmentation fault      LD_LIBRARY_PATH=/var/tmp/portage/dev-lang/perl-5.28.0-r1/work/perl-5.28.0 /var/tmp/portage/dev-lang/perl-5.28.0-r1/work/perl-5.28.0/preload /var/tmp/portage/dev-lang/perl-5.28.0-r1/work/perl-5.28.0/libperl.so.5.28.0 ./miniperl -w -Ilib -Idist/Exporter/lib -MExporter -e '<?>'
Failed to build miniperl. Please run make minitest
make: *** [makefile:363: lib/buildcustomize.pl] Error 1
make: *** Waiting for unfinished jobs....
op.c: In function 'S_fold_constants':
op.c:5469:34: warning: argument 'o' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 S_fold_constants(pTHX_ OP *const o)
                        ~~~~~~~~~~^
 * ERROR: dev-lang/perl-5.28.0-r1::gentoo failed (compile phase):
 *   emake failed
Comment 1 Jeroen Roovers gentoo-dev 2019-04-10 09:20:37 UTC
Created attachment 572378 [details]
dev-lang:perl-5.28.0-r1:20190410-081333.log

Wed 10 Apr 11:19:07 CEST 2019
emerge --info =dev-lang/perl-5.28.0-r1
Portage 2.3.62 (python 3.5.7-final-0, default/linux/hppa/17.0, gcc-8.2.0, glibc-2.29-r2, 5.1.0-rc3-JeR parisc64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.1.0-rc3-JeR-parisc64-PA8800_-Mako-with-gentoo-2.6
KiB Mem:     8233012 total,   1454996 free
KiB Swap:    2101676 total,   2101676 free
Timestamp of repository gentoo: Wed, 10 Apr 2019 02:15:01 +0000
Head commit of repository gentoo: 7b90031e6a9a58235a691daa4f47bce5db70ad03
sh bash 5.0_p3-r1
ld GNU ld (Gentoo 2.31.1 p5) 2.31.1
distcc[32718] (dcc_mkdir) ERROR: mkdir '/dev/shm/distcc/root/state' failed: No such file or directory [disabled]
ccache version 3.6 [disabled]
app-shells/bash:          5.0_p3-r1::gentoo
dev-lang/perl:            5.28.0::gentoo
dev-lang/python:          2.7.16::gentoo, 3.4.8-r1::gentoo, 3.5.7::gentoo, 3.6.8::gentoo, 3.7.3::gentoo
dev-util/ccache:          3.6::gentoo
dev-util/cmake:           3.14.1::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.17::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.9.6-r3::gentoo, 1.11.6-r3::gentoo, 1.12.6::gentoo, 1.13.4-r2::gentoo, 1.14.1::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo, 2.26.1::gentoo, 2.29::gentoo, 2.29.1-r1::gentoo, 2.30-r3::gentoo, 2.31.1-r4::gentoo, 2.32::gentoo
sys-devel/gcc:            6.4.0-r5::gentoo, 7.3.0-r6::gentoo, 8.2.0-r6::gentoo, 8.3.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.0-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

gentoo
    location: /aches/gentoo/portage
    sync-type: rsync
    sync-uri: rsync://rsync.nl.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 

JeR
    location: /aches/gentoo/local
    masters: gentoo
    priority: -100

ACCEPT_KEYWORDS="hppa ~hppa"
ACCEPT_LICENSE="*"
CBUILD="hppa2.0-unknown-linux-gnu"
CFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe -Wno-comment"
CHOST="hppa2.0-unknown-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib/distcc/bin /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind /var/www/localhost/htdocs/wordpress/wp-config.php"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/php/apache2-php7.2/ext-active/ /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe"
DISTDIR="/aches/gentoo/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --autounmask=n --keep-going --ignore-built-slot-operator-deps=y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS=""
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer multilib-strict news notitles parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe"
GENTOO_MIRRORS=" 	http://ftp.snt.utwente.nl/pub/os/linux/gentoo 	http://mirror.leaseweb.com/gentoo/ 	http://mirror.netcologne.de/gentoo/ "
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--no-keep-memory"
LINGUAS="en nl he"
MAKEOPTS="-j3"
PKGDIR="/aches/gentoo/packages/karsten"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="256-color X acl alsa amr anacron apng argyllcms audit bash-completion beautifulsoup3 berkdb bfio big-endian bittorrent botan bzip2 cairo canberra cli consolekit coverage crossdev crypt cups custom-cflags cxx dane dbus declarative dirac directfb distinct-l dlz dot dri emacs exceptions exif expat fbcon ffmpeg filecaps firefox firmware foomaticdb fortran frontend-optional g-sorcery gbm gdbm geoip geoloc glep gles1 gles2 gost gpg gpm gsm gstreamer gtk gudev guile hddtemp hppa hwdb iconv idn imlib inotify ipv6 jadetex javascript jingle jit jpeg jpeg2k json kdrive kmod ladspa lasi launch-frontend lensfun libcaca libcanberra libevent libidn2 libopts libsoxr libusb libwww lua lzma lzo mad mng mod modplug mp3 mtp multislot multitarget munge nagios nas natspec ncurses netlink nfs nls nptl objc objc++ objc-gc offensive ofono-headset openexr opengl openmp openrc openvg opus oqgraph osmesa oss pam pcre pcre16 php pic pkcs11 png pnm policykit python qt qt3support qt4 raw readline realtime regression-test rtmp rubytests samba sbc schroedinger sctp smi snappy socks5 speex spell spidermonkey sqlite ssl svg tcl tcpd tga theora threads tiff tk tokyocabinet truetype unicode unwind v4l vim-syntax vorbis vpx wcwidth x264 x265 xattr xcb xft xhtml xkb xvfb xvid zlib" ALSA_CARDS="ad1889 usb-audio" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev joystick keyboard mouse acecad aiptek calcomp citron digitaledge dmc dynapro elo2300 elographics fpit hyperpen jamstudio magellan microtouch mutouch palmax penmount spaceorb summa tek4957 tslib ur98 virtualbox libinput void" KERNEL="linux" L10N="en nl he" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_6 python3_5" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="stifb dummy" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


[ebuild     U ] dev-lang/perl-5.28.0-r1 [5.28.0] USE="berkdb gdbm ithreads -debug -doc"
Comment 2 Jeroen Roovers gentoo-dev 2019-04-19 09:07:51 UTC
When I set CFLAGS+=-mlong-calls, miniperl no longer triggers segmentation faults, but that probably isn't a proper workaround for this bug as it generates slower code.
Comment 3 Jeroen Roovers gentoo-dev 2019-04-21 12:35:46 UTC
Created attachment 573508 [details]
dev-lang:perl-5.28.2:20190421-085733.log
Comment 4 Jeroen Roovers gentoo-dev 2019-05-13 15:58:52 UTC
Created attachment 576476 [details]
dev-lang:perl-5.28.2-r1:20190513-141423.log
Comment 5 Jeroen Roovers gentoo-dev 2019-05-15 08:40:02 UTC
The build succeeds with sys-devel/gcc-7.3.0-r6 so this apparently slipped through stabilisation testing for =sys-devel/gcc-8.2.0*.
Comment 6 Andreas K. Hüttel gentoo-dev 2019-05-19 20:49:07 UTC
I'm going to call for stabilization of Perl 5.28 for everyone except hppa and sparc in bug 685664. If you want to go ahead anyway, please cc yourself there and proceed. Otherwise I'd suggest we wait for now until the upstream bug brings results.
Comment 7 Pierre-Yves Bonnetain-Nesterenko 2019-05-25 08:56:10 UTC
Same problem and error on a RapsberryPi 2 (ARM).

# emerge --info =dev-lang/perl-5.28.0-r1
Portage 2.3.62 (python 3.6.5-final-0, default/linux/arm/17.0/armv7a, gcc-8.2.0, glibc-2.29-r2, 4.14.22-v7+ armv7l)                                                                                                
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.14.22-v7+-armv7l-ARMv7_Processor_rev_4_-v7l-with-gentoo-2.6
KiB Mem:      949484 total,    348372 free
KiB Swap:    1048572 total,   1003772 free
Timestamp of repository gentoo: Fri, 24 May 2019 23:45:02 +0000
Head commit of repository gentoo: ae6dff15db1159f2969235aa8124ce96a7d03c58
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.31.1 p7) 2.31.1
distcc[8882] (dcc_trace_version) distcc 3.3.2 armv7a-hardfloat-linux-gnueabi; built Apr 24 2019 10:19:20 [enabled]                                                                                                
app-shells/bash:          4.4_p23-r1::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.5.5::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.3-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r6::gentoo
sys-devel/gcc:            8.2.0-r6::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://gensync.ba-cst.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="@FREE"
CBUILD="armv7a-hardfloat-linux-gnueabi"
CFLAGS="-O2 -march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard"
CHOST="armv7a-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=armv7-a"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-j17 --load-average 4.5"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe -march=armv7-a"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distcc distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetc
h pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=armv7-a"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3 --load-average 4.0"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclu
de=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl arm armv5te armv6 armv6t2 berkdb bzip2 cli crypt cxx dri gdbm iconv minimal ncurses nls nptl openmp pam pcre readline seccomp smp ssl tcpd udev unicode xattr zlib" APACHE2_MODULES="authn_core authz_core
 socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_
fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack
 vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp thumb thumb2 v4 v5 v6 v7 vfp" ELIBC="glibc" GPSD_PROTOCOLS="ashtech a
ivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVI
CES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="a
pisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgr
es9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_5 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="exynos fbdev omap dummy v4l" XTABLES_ADDONS="quota2 psd pknock
lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 8 Andreas K. Hüttel gentoo-dev 2019-05-25 15:17:40 UTC
@everyone, 

as a data point when talking to upstream, could you please test if this failure still happens with perl-5.30.0 ?

You dont need to actually install perl-5.30.0 for that; it's enough if you run

ebuild /usr/portage/dev-lang/perl/perl-5.30.0.ebuild clean test
Comment 9 Andreas K. Hüttel gentoo-dev 2019-06-18 21:50:12 UTC
(In reply to Andreas K. Hüttel from comment #8)
> @everyone, 
> 
> as a data point when talking to upstream, could you please test if this
> failure still happens with perl-5.30.0 ?
> 
> You dont need to actually install perl-5.30.0 for that; it's enough if you
> run
> 
> ebuild /usr/portage/dev-lang/perl/perl-5.30.0.ebuild clean test

ping
Comment 10 Jeroen Roovers gentoo-dev 2019-06-19 05:01:40 UTC
(In reply to Andreas K. Hüttel from comment #8)
> @everyone, 
> 
> as a data point when talking to upstream, could you please test if this
> failure still happens with perl-5.30.0 ?
> 
> You dont need to actually install perl-5.30.0 for that; it's enough if you
> run
> 
> ebuild /usr/portage/dev-lang/perl/perl-5.30.0.ebuild clean test

I have a single build log for dev-lang/perl-5.30.0 on HPPA, so that went well without patching or workarounds, it seems.
Comment 11 Rolf Eike Beer 2019-09-02 19:14:00 UTC
Still there on sparc:

/bin/sh: line 1:   537 Bus error               LD_LIBRARY_PATH=/var/tmp/portage/dev-lang/perl-5.30.0/work/perl-5.30.0 ./miniperl -w -Ilib -Idist/Exporter/lib -MExporter -e '<?>'
Comment 12 Jeroen Roovers gentoo-dev 2019-09-04 07:06:56 UTC
(In reply to Rolf Eike Beer from comment #11)
> Still there on sparc:
> 
> /bin/sh: line 1:   537 Bus error              
> LD_LIBRARY_PATH=/var/tmp/portage/dev-lang/perl-5.30.0/work/perl-5.30.0
> ./miniperl -w -Ilib -Idist/Exporter/lib -MExporter -e '<?>'

This bug report is about segmentation faults in perl on PARISC hardware, not about bus errors triggered by unaligned accesses (by various programs) on SPARC hardware. The PARISC Linux kernel handles unaligned accesses by fixing them and warning about them (but, again, that is not what this bug report is about):

[607166.969014][  T429] handle_unaligned: 1583 callbacks suppressed
[607166.969014][  T429] handle_unaligned: 1583 callbacks suppressed
[607166.969025][  T429] makeinfo(429): unaligned access to 0x00000000425c4dc9 at ip=0x00000000f847ba1f
[607166.969025][  T429] makeinfo(429): unaligned access to 0x00000000425c4dc9 at ip=0x00000000f847ba1f
[607167.348645][  T429] makeinfo(429): unaligned access to 0x00000000425c4dcd at ip=0x00000000f847ba23
[607167.348645][  T429] makeinfo(429): unaligned access to 0x00000000425c4dcd at ip=0x00000000f847ba23
[607167.348651][  T429] makeinfo(429): unaligned access to 0x00000000425c4dd1 at ip=0x00000000f847ba1f
[607167.348651][  T429] makeinfo(429): unaligned access to 0x00000000425c4dd1 at ip=0x00000000f847ba1f
[607167.348657][  T429] makeinfo(429): unaligned access to 0x00000000425c4dd5 at ip=0x00000000f847ba23
[607167.348657][  T429] makeinfo(429): unaligned access to 0x00000000425c4dd5 at ip=0x00000000f847ba23
[607167.348663][  T429] makeinfo(429): unaligned access to 0x00000000425c4dd9 at ip=0x00000000f847ba1f
[607167.348663][  T429] makeinfo(429): unaligned access to 0x00000000425c4dd9 at ip=0x00000000f847ba1f
Comment 13 Matt Turner gentoo-dev 2019-09-05 05:17:57 UTC
You could very well be right that it is different from bug 676062 and that it's not an unaligned access at fault. If you test my patch that I attached here: https://rt.perl.org/Ticket/Display.html?id=133495#txn-1654811 and the problem still exists, that would confirm that you are correct.
Comment 14 Matt Turner gentoo-dev 2019-09-07 21:33:48 UTC
Oh, even easier to check: EXTRA_ECONF="-Dd_u32align"
Comment 15 Jeroen Roovers gentoo-dev 2019-09-09 05:04:56 UTC
(In reply to Matt Turner from comment #14)
> Oh, even easier to check: EXTRA_ECONF="-Dd_u32align"

You should really read comment #10. The matter is apparently already resolved in 5.30.0 but not yet backported to 5.28.