Opened 14 years ago

Closed 14 years ago

#160 closed task (fixed)

Perl 5.8.8 doesn't build with kernel headers >= 2.6.20 (patch)

Reported by: laxy Owned by: Joe Ciccone
Priority: major Milestone:
Component: BOOK Version: CLFS Standard 1.1.0
Keywords: perl Cc:

Description

Using the CLFS standard dev book, perl 5.8.8 fails to build due to new kernel headers. Patch from Gentoo: ftp://140.211.166.134/.1/gentoo-portage/disk/dev-lang/perl/files/perl-5.8.8-asm-page-h-compile-failure.patch

Change History (6)

comment:1 Changed 14 years ago by ken

I'm assuming there is a typo in the description (>= 2.6.20 ) ? Google found http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2008-April/061281.html which suggests it's a 2.6.25 problem. Certainly, 5.8.8 builds for me with variously 2.6.24 and 2.6.24.4 (ppc64, ppc, x86_64-64) and as far as I can see the book is still at 2.6.24.

Testing newer versions is good, but if you do that, please can you mention what you changed if it is relevant (like this report) ? Unless I'm missing something, for 1.1.0 with the current versions this should get a "works for me response" but in reality we need to be aware of this for when we move to a newer kernel (and that might be before 1.1.0, if it helps allow more architectures to build).

comment:2 Changed 14 years ago by laxy

There isn't a typo; the results I found said it was from 2.6.20. Thus I didn't think mentioning I used a newer kernel was necessary, since 2.6.24 > 2.6.20. If it's indeed a 2.6.25 thing, my apologies. I didn't change anything but the kernel.

comment:3 Changed 14 years ago by ken

Resolution: worksforme
Status: newclosed

The comment about 2.6.20 appears to be incorrect (dunno, I haven't tried to build against that in a very long while, maybe there was an issue somewhere - I think we were using our own headers in those days).

Yes, this might come back to bite us when we use a newer kernel, but with 2.6.24 (and 2.6.24.4) it builds fine on the arches I have available.

comment:4 Changed 14 years ago by Joe Ciccone

Resolution: worksforme
Status: closedreopened

This will become a problem with 2.6.25. page.h is completely removed from 2.6.25. Reopening and fixing now, I'm sure some people will try to build with a newer kernel when we release, and it definitely wont have page.h in it.

comment:5 Changed 14 years ago by Joe Ciccone

Owner: changed from clfs-commits@… to Joe Ciccone
Status: reopenednew

comment:6 Changed 14 years ago by Joe Ciccone

Resolution: fixed
Status: newclosed

Added a patch in r3928

We should not have problems in the future.

Note: See TracTickets for help on using tickets.