[PATCH 2/6] Committed: Remove __need macros from signal.h.

Joseph Myers joseph@codesourcery.com
Mon May 22 11:18:00 GMT 2017


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



More information about the Libc-alpha mailing list