Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #826748
| From | Zack Weinberg <zackw@panix.com> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#863909: linux/a.out.h: should use #ifdef __linux__ not #ifdef linux, etc |
| Date | 2017-06-01 22:40 +0200 |
| Message-ID | <tNF2V-7C0-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
[Multipart message — attachments visible in raw view] - view raw
Package: linux-libc-dev Version: 4.11-1~exp2 Severity: normal File: /usr/include/linux/a.out.h Tags: upstream, patch linux/a.out.h contains a number of uses of "deprecated system-specific predefined macros" that will not be defined when the compiler is used in a strict conformance mode, see https://gcc.gnu.org/onlinedocs/gcc-6.3.0/cpp/System-specific-Predefined-Macros.html for details. This would only be a minor problem, except that it causes the GCC build process to copy the header, "fix" it, and install the "fixed" copy in a private directory that is searched before /usr/include. It is desirable for GCC not to do this to any headers, because it means updates to the original are silently ignored until the GCC package is itself updated. Please apply the attached patch. It would be best if it were installed to all actively maintained Debian kernels. I will submit it upstream. zw -- System Information: Debian Release: 9.0 APT prefers unstable APT policy: (501, 'unstable'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'testing'), (101, 'experimental'), (1, 'experimental-debug') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-3-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) -- no debconf information
Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#863909: linux/a.out.h: should use #ifdef __linux__ not #ifdef linux, etc Zack Weinberg <zackw@panix.com> - 2017-06-01 22:40 +0200 Bug#863909: linux/a.out.h: should use #ifdef __linux__ not #ifdef linux, etc Ben Hutchings <ben@decadent.org.uk> - 2017-06-03 23:10 +0200
csiph-web