This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 2/6] Committed: Remove __need macros from signal.h.
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Zack Weinberg <zackw at panix dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Mon, 22 May 2017 11:18:36 +0000
- Subject: Re: [PATCH 2/6] Committed: Remove __need macros from signal.h.
- Authentication-results: sourceware.org; auth=none
- References: <20170520231823.20924-1-zackw@panix.com> <20170520231823.20924-3-zackw@panix.com>
This seems to have broken the build for MIPS.
In file included from ../signal/signal.h:59:0,
from ../include/signal.h:2,
from ../misc/sys/param.h:28,
from ../include/sys/param.h:1,
from ../csu/init-first.c:26,
from ../sysdeps/unix/sysv/linux/mips/init-first.c:44:
../sysdeps/unix/sysv/linux/bits/siginfo-consts.h:28:0: error: "__SI_ASYNCIO_AFTER_SIGIO" redefined [-Werror]
#define __SI_ASYNCIO_AFTER_SIGIO 1
In file included from
../sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:22:0,
from ../signal/signal.h:57,
from ../include/signal.h:2,
from ../misc/sys/param.h:28,
from ../include/sys/param.h:1,
from ../csu/init-first.c:26,
from ../sysdeps/unix/sysv/linux/mips/init-first.c:44:
../sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h:13:0: note: this is the location of the previous definition
#define __SI_ASYNCIO_AFTER_SIGIO 0
cc1: all warnings being treated as errors
https://sourceware.org/ml/libc-testresults/2017-q2/msg00210.html
--
Joseph S. Myers
joseph@codesourcery.com