Re: 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. */
-
-#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
which causes the regression. Reassigning, please let me know if perl is
doing something wrong.
Cheers,
--
Niko Tyni ntyni@debian.org
Reply to: