[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#347147: marked as done (kernel-headers-2.6: asm/param.h includes linux/autoconf.h)



Your message dated Sat, 28 Jul 2007 22:57:56 +0200
with message-id <20070728205755.GC4504@stro.at>
and subject line kernel-headers-2.6: asm/param.h includes linux/autoconf.h
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: kernel-headers-2.6
Severity: minor

With this package installed, when you include <sys/params.h> in your
program, you will get a severe namespace pollution since
<linux/autoconf.h> indirectly gets included and it #undefs all sort of
CONFIG_ preprocessor macros (e.g. ELinks using CONFIG_IPV6 macro
internally was affected).

This is not a major bug; Gentoo and Debian Woody don't have the problem
(asm/params.h doesn't include anything), but <sys/params.h> is probably
not standardized anywhere so it's not really specified what exactly
happens when you include it. Still, such a wide collateral damage is
quite unexpected and wastes some time until it gets discovered what went
on...

Possible solution would be to grab CONFIG_HZ information at the package
build time.

-- System Information:
Debian Release: testing/unstable
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.5-kam
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)


--- End Message ---
--- Begin Message ---
Version: 2.6.21

the new linux-libc-dev package has cleaned up headers
that no longer feature this funny namespace pollution.

thus closing

-- 
maks

--- End Message ---

Reply to: