On Thu, 9 May 2019 10:35:02 -0500, Bruce Dubbs <[email protected]> wrote:
8>< --------
> Using
> 
> ulimit -s unlimited
> 
> before 'make' allows the build to complete without any segfaults.

But that's not a good idea, because

 the stack size at build time might be different at run time, eg. the
 stack size may have been modified with ulimit(1). If it's larger at run
 time Storable may fail the freeze() or thaw() unnecessarily. If it's
 larger at build time Storable may segmentation fault when processing
 a deep structure at run time.

(a quote from the Storable 3.15 doc at
https://metacpan.org/pod/Storable)

i.e. the build should be done at whatever the ulimit is for a _normal
user_.

8>< --------
> 
> My conclusion is that the segfaults are caused intentionally when trying 
> to determine the recursion limit and we do not need to do anything.

Agreed. Perl 5.28.1 which is in LFS 8.4 comes with Storable 3.08.
Storable 3.15 (current in CPAN) does not do the recursion level tests
any more, so with any luck LFS 8.5 will not have the segfaults (Perl
5.29, still Devel, has Storable 3.15).

Eric
-- 
ms fnd in a lbry
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to