develooper Front page | perl.perl5.porters | Postings from January 2019

[perl #133495] perl-5.28.0 fails to build on Solaris 10

Thread Previous | Thread Next
From:
Fabian Groffen via RT
Date:
January 19, 2019 03:23
Subject:
[perl #133495] perl-5.28.0 fails to build on Solaris 10
Message ID:
rt-4.0.24-24217-1547650031-389.133495-15-0@perl.org
On Wed, 16 Jan 2019 01:50:32 -0800, grobian@gentoo.org wrote:
> Thread 2 received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1 (LWP 1)]
>  0x0004562c in zaphod32_hash_with_state (key_len=29,
>     key=0x26d036 "dist/Exporter/lib/Exporter.pm", state_ch=<optimized
> out>)
>     at zaphod32_hash.h:280
> 280                 v1 -= U8TO32_LE(key+0);

Sorry I didn't report this at my first message.  I just found a bit of time to look into this.

my Configure run somehow found:

try.c: In function 'main':
try.c:46:28: warning: format '%x' expects argument of type 'unsigned int', but  argument 2 has type 'long unsigned int' [-Wformat=]
      printf("read failed (%x)\n", *up);
                           ~^      ~~~
                           %lx
try.c:56:29: warning: format '%x' expects argument of type 'unsigned int', but  argument 2 has type 'long unsigned int' [-Wformat=]
      printf("write failed (%x)\n", *up);
                            ~^      ~~~
                            %lx
(Testing for character data alignment may crash the test.  That's okay.)
You can access character data pretty unalignedly.

This is obviously wrong on sparc.  The check also fails on 5.26.2 but for some reason no bus-error there.  I manually set d_u32align and that made the 5.28.0 build succeed.

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=133495

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About