Ticket #160 (closed task: fixed)

Opened 4 months ago

Last modified 3 months ago

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

Reported by: laxy Assigned to: jciccone
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

05/30/08 16:09:35 changed 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).

06/06/08 10:45:54 changed 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.

06/06/08 16:58:59 changed 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 2.6.24.4) it builds fine on the arches I have available.

06/28/08 18:12:30 changed by jciccone

  • status changed from closed to reopened.
  • resolution 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.

06/28/08 18:13:46 changed by jciccone

  • owner changed from clfs-commits@lists.cross-lfs.org. to jciccone.
  • status changed from reopened to new.

06/28/08 18:26:18 changed 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.