develooper Front page | perl.perl5.porters | Postings from May 2018

[perl #133184] Threaded builds failing on Linux 4.16.5 or higher

Thread Previous | Thread Next
From:
James E Keenan
Date:
May 7, 2018 23:08
Subject:
[perl #133184] Threaded builds failing on Linux 4.16.5 or higher
Message ID:
rt-4.0.24-2032-1525734514-583.133184-75-0@perl.org
# New Ticket Created by  James E Keenan 
# Please include the string:  [perl #133184]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=133184 >


Threaded builds of Perl 5 blead are failing, apparently during miniperl, 
on very recent Linux kernels.  See any of the smoke tests generated by 
Carlos Guevara on linux - 4.16.5 or higher, e.g.,
http://perl5.test-smoke.org/report/65701.  In that report, this 
configuration was tested:

#####
Automated smoke report for branch blead 5.28.0 patch 
38c84d6ad1b77d7b1de424eab465e018c7cef576 v5.27.11-30-g38c84d6ad1
cjg-fedora28: Intel(R) Xeon(R) CPU E5420 @ 2.50GHz (GenuineIntel 
2500MHz) (x86_64/1 cpus)
     on        linux 4.16.5-300.fc28.x86_64 [Fedora 28 (Server Edition)]
     using     cc version 8.0.1 20180324 (Red Hat 8.0.1-0.20)
#####

... which ultimately fails with:

#####
pp.c: In function 'Perl_pp_crypt':
   pp.c:3657:47: error: 'struct crypt_data' has no member named 
'current_saltbits'

#####

Here's some dialog from #p5p about this problem:

#####
(05:16:06 PM) khw: Is anyone working on the blead failures with the new 
Linux?
(05:16:08 PM) khw: pp.c: In function 'Perl_pp_crypt':
(05:16:09 PM) khw: pp.c:3657:47: error: 'struct crypt_data' has no 
member named 'current_saltbits'
...
(06:11:30 PM) xenu: khw: nginx had exactly the same problem 
https://trac.nginx.org/nginx/ticket/1469
(06:12:04 PM) xenu: imo that code should be removed, it's a workaround 
for bug in glibc from 2002
...
(06:20:26 PM) khw: right.  4.16
(06:20:36 PM) khw: which I presumed was new
(06:23:20 PM) xenu: also, that bug is specific to fedora
...
(06:29:06 PM) xenu: i think that no one noticed that before because 
fedora 28 was released just a week ago
(06:32:17 PM) xenu: 
https://src.fedoraproject.org/cgit/rpms/perl.git/tree/perl-5.26.1-guard_old_libcrypt_fix.patch
(06:32:56 PM) xenu: that's the patch fedora is using to fix the problem
(06:33:43 PM) xenu: (imo it's too defensive, i really don't think 
there's a valid reason to keep supporting ancient glibc versions)
(06:39:13 PM) ***khw wonders if 5.28 will be released before YAPC
#####

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