pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/53568: perl-5.28.0 fails to build on Solaris 10
The following reply was made to PR pkg/53568; it has been noted by GNATS.
From: Hiroshi Hakoyama <hako%affrc.go.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: solaris-pkg-people%NetBSD.org@localhost,
gnats-admin%netbsd.org@localhost,
pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/53568: perl-5.28.0 fails to build on Solaris 10
Date: Sat, 22 Sep 2018 18:21:52 +0900
I sent a PR to upstream.
https://rt.perl.org/Public/Bug/Display.html?id=3D133495
I found a workaround:
A build with CFLAGS+=3D -O2 -mcpu=3Dultrasparc3 -mtune=3Dultrasparc3 was =
OK.
Optimization level -O3 causes the problem.
# dbx ./miniperl core
For information about new features see `help changes'
To remove this message, put `dbxenv suppress_startup_message 7.6' in =
your .dbxrc
Reading miniperl
dbx: warning: unknown location expression code (0xf2)
dbx: warning: unknown location expression code (0x9e)
dbx: warning: unknown location expression code (0x9e)
dbx: warning: unknown location expression code (0x9e)
dbx: warning: unknown location expression code (0x9e)
dbx: warning: unknown location expression code (0x9e)
dbx: warning: unknown location expression code (0x9e)
dbx: warning: unknown location expression code (0x9e)
dbx: warning: unknown location expression code (0x9e)
dbx: warning: unknown location expression code (0x9e)
dbx: warning: unknown location expression code (0x9e)
dbx: warning: unknown location expression code (0x9e)
dbx: warning: unknown location expression code (0x9e)
dbx: warning: unknown location expression code (0x9e)
dbx: warning: unknown location expression code (0x9e)
dbx: warning: unknown location expression code (0x9e)
dbx: warning: unknown location expression code (0x9e)
dbx: warning: unknown location expression code (0x9e)
dbx: warning: unknown location expression code (0x9e)
dbx: warning: unknown location expression code (0x9e)
core file header read successfully
Reading ld.so.1
Reading libm.so.2
Reading libdl.so.1
Reading libsocket.so.1
Reading libnsl.so.1
Reading libpthread.so.1
Reading librt.so.1
Reading libssp.so.0.0.0
Reading libc.so.1
Reading libaio.so.1
Reading libmd.so.1
Reading libgcc_s.so.1
Reading libc_psr.so.1
t@1 (l@1) program terminated by signal BUS (invalid address alignment)
0x000ecf6c: Perl_hv_common+0x156c: ld [%g3], %o0
(dbx) where =
=20
current thread: t@1
=3D>[1] Perl_hv_common(0x5b65439d, 0x338818, 0x0, 0xffbffaaa, 0x33d1e8, =
0x0), at 0xecf6c=20
[2] Perl_hv_common_key_len(0x29bba8, 0x338818, 0xffbffaaa, 0x19, 0x8, =
0x0), at 0xee2f0=20
[3] S_init_postdump_symbols(0x29bba8, 0x338818, 0xffbffac3, =
0xffbfede0, 0x19, 0xffbffaaa), at 0x5765c=20
[4] perl_parse(0x0, 0x334290, 0x339820, 0xffbfece0, 0x1, 0x338758), at =
0x5c758=20
[5] main(0x4, 0xffbfecd4, 0xffbfece8, 0x2959b8, 0xff170100, 0x0), at =
0x1bd9dc=20
(dbx) quit
dbx: internal warning: td_ta_clear_event() failed -- debugger service =
failed
dbx: internal warning: td_ta_sync_tracking_enable(0) failed -- debugger =
service failed
Hiroshi
> 2018/09/02 23:10=E3=80=81Benny Siegert =
<bsiegert%gmail.com@localhost>=E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB:
>=20
> The following reply was made to PR pkg/53568; it has been noted by =
GNATS.
>=20
> From: Benny Siegert <bsiegert%gmail.com@localhost>
> To: gnats-bugs%netbsd.org@localhost
> Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, =
pkgsrc-bugs%netbsd.org@localhost
> Subject: Re: pkg/53568: perl-5.28.0 fails to build on Solaris 10
> Date: Sun, 2 Sep 2018 16:06:27 +0000
>=20
>> perl-5.28.0 fails to build on Solaris 10. perl-5.26.2 was OK.
>>=20
>> ...
>> gcc -c -DPERL_CORE -D_REENTRANT -O3 -mcpu=3D3Dultrasparc3 =
-mtune=3D3Dultraspa=3D
> rc3 -D_FORTIFY_SOURCE=3D3D2 -pthread -I/usr/include -fwrapv =
-fno-strict-alias=3D
> ing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE =
-D_FILE_OFFSET_BITS=3D3D64=3D
> -DPERL_USE_SAFE_PUTENV -O3 -mcpu=3D3Dultrasparc3 -mtune=3D3Dultrasparc3=
-D_FOR=3D
> TIFY_SOURCE=3D3D2 -pthread -I/usr/include -Wall =
-Werror=3D3Ddeclaration-after-s=3D
> tatement -Werror=3D3Dpointer-arith -Wextra -Wc++-compat =
-Wwrite-strings -fPIC=3D
> miniperlmain.c
>> gcc -pthread -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o miniperl =
op=3D
> mini.o perlmini.o gv.o toke.o perly.o pad.o regcomp.o dump.o util.o =
mg.o r=3D
> eentr.o mro_core.o keywords.o hv.o av.o run.o pp_hot.o sv.o pp.o =
scope.o pp=3D
> _ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o =
universal.o gl=3D
> obals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o =
pp_sort.o=3D
> caretx.o dquote.o time64.o miniperlmain.o -lm -ldl -lsocket -lnsl =
-lpthr=3D
> ead -lrt
>> LD_LIBRARY_PATH=3D3D/usr/pkgsrc/lang/perl5/work/perl-5.28.0 =
./miniperl -w -=3D
> Ilib -Idist/Exporter/lib -MExporter -e '<?>' || sh -c 'echo >&2 Failed =
to b=3D
> uild miniperl. Please run make minitest; exit 1'
>> /usr/bin/bash: line 1: 28934 Bus Error (core dumped) =
LD_LIB=3D
> RARY_PATH=3D3D/usr/pkgsrc/lang/perl5/work/perl-5.28.0 ./miniperl -w =
-Ilib -Id=3D
> ist/Exporter/lib -MExporter -e '<?>'
>> Failed to build miniperl. Please run make minitest
>> *** Error code 1
>=20
> This sounds like an upstream regression. Please file a bug report
> upstream (bugs.perl.org) and send a link to this list.
>=20
> --=3D20
> Benny
>=20
Home |
Main Index |
Thread Index |
Old Index