Bug#480130: perl: FTBFS on alpha: 'CONFIG_HZ' undeclared
reassign 480130 linux-libc-dev 2.6.25-1
thanks
On Thu, May 08, 2008 at 11:43:16AM +0300, Niko Tyni wrote:
> Package: perl
> Version: 5.10.0-9.1
> Severity: serious
>
> From the alpha buildd log:
>
> http://buildd.debian.org/fetch.cgi?pkg=perl;ver=5.10.0-9.1;arch=alpha;stamp=1210220263
>
> `sh cflags "optimize='-O2 -g'" perl.o` perl.c
> CCCMD = cc -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c89 -O2 -g -Wall -ansi -pedantic -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat -DPERL_GCC_PEDANTIC
> perl.c: In function 'perl_construct':
> perl.c:388: error: 'CONFIG_HZ' undeclared (first use in this function)
> 5.10.0-9 built successfully on the same buildd host, so changes
> between linux-libc-dev_2.6.24-6 and linux-libc-dev_2.6.25-1
> are the first suspect.
OK, <asm/param.h> has changed on alpha like this:
--- 24/usr/include/asm/param.h 2008-04-22 11:49:18.000000000 +0300
+++ 25/usr/include/asm/param.h 2008-04-28 20:46:21.000000000 +0300
@@ -5,15 +5,7 @@
hardware ignores reprogramming. We also need userland buy-in to the
change in HZ, since this is visible in the wait4 resources etc. */
which causes the regression. Reassigning, please let me know if perl is
doing something wrong.
Cheers,
--
Niko Tyni ntyni@debian.org
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
05-08-2008, 10:01 AM
maximilian attems
Bug#480130: perl: FTBFS on alpha: 'CONFIG_HZ' undeclared
On Thu, May 08, 2008 at 12:32:35PM +0300, Niko Tyni wrote:
>
> OK, <asm/param.h> has changed on alpha like this:
>
> --- 24/usr/include/asm/param.h 2008-04-22 11:49:18.000000000 +0300
> +++ 25/usr/include/asm/param.h 2008-04-28 20:46:21.000000000 +0300
> @@ -5,15 +5,7 @@
> hardware ignores reprogramming. We also need userland buy-in to the
> change in HZ, since this is visible in the wait4 resources etc. */
>
> -
> -#ifndef HZ
> -# ifndef CONFIG_ALPHA_RAWHIDE
> -# define HZ 1024
> -# else
> -# define HZ 1200
> -# endif
> -#endif
> -
> +#define HZ CONFIG_HZ
> #define USER_HZ HZ
>
> #define EXEC_PAGESIZE 8192
we won't diverge on linux-libc-dev headers from upstream,
please take that upstream to lkml.
i'd think Perl has no business into looking at the HZ value,
as it gives no sense at all now nowadays with the NO_HZ aka
dynticks usage.
--
maks
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
05-09-2008, 07:22 AM
Niko Tyni
Bug#480130: perl: FTBFS on alpha: 'CONFIG_HZ' undeclared
On Thu, May 08, 2008 at 12:01:20PM +0200, maximilian attems wrote:
> On Thu, May 08, 2008 at 12:32:35PM +0300, Niko Tyni wrote:
> >
> > OK, <asm/param.h> has changed on alpha like this:
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
05-11-2008, 08:14 PM
Niko Tyni
Bug#480130: perl: FTBFS on alpha: 'CONFIG_HZ' undeclared
On Fri, May 09, 2008 at 10:22:53AM +0300, Niko Tyni wrote:
> > we won't diverge on linux-libc-dev headers from upstream,
> > please take that upstream to lkml.
>
> I really think that's your domain, but if you insist.
FWIW, there's a complete patch signed off by Mike Frysinger in