--- gcc/config/sparc/xm-sol2.h 2018/04/24 18:10:25 1.1 +++ gcc/config/sparc/xm-sol2.h 2018/04/24 18:21:38 1.1.1.2 @@ -5,8 +5,8 @@ #include #endif -/* We do have _sys_siglist, but the declaration in conflicts with - the declarations in collect2.c and mips-tfile.c, so just pretend that we - don't have it. */ +/* We have _sys_siglist, but the declaration in conflicts with + the declarations in collect2.c and mips-tfile.c, so disable the declarations + in those files. */ -#define NO_SYS_SIGLIST +#define DONT_DECLARE_SYS_SIGLIST