Ticket #160 (closed task: fixed)

Opened 10 years ago

Last modified 10 years ago

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

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


Using the CLFS standard dev book, perl 5.8.8 fails to build due to new kernel headers. Patch from Gentoo:

Change History

comment:1 Changed 10 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 (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 10 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 10 years ago by ken

  • Status changed from new to closed
  • Resolution set to worksforme

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 it builds fine on the arches I have available.

comment:4 Changed 10 years ago by jciccone

  • Status changed from closed to reopened
  • Resolution worksforme deleted

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 10 years ago by jciccone

  • Status changed from reopened to new
  • Owner changed from clfs-commits@… to jciccone

comment:6 Changed 10 years ago by jciccone

  • Status changed from new to closed
  • Resolution set to fixed

Added a patch in r3928

We should not have problems in the future.

Note: See TracTickets for help on using tickets.