newlib vs. libiberty mismatch breaks build (Re: [PATCH] Export psignal on all platforms)

Corinna Vinschen vinschen@redhat.com
Thu May 5 16:58:00 GMT 2011


On May  5 11:29, DJ Delorie wrote:
> 
> > I don't know how to avoid this problem in configure, other than by adding
> > AC_LIBOBJ([psignal]).
> 
> Right, the correct solution is - libiberty shouldn't provide psignal
> if newlib does.  Making it match newlib is the wrong solution.

You don't mean the prototype, do you?  IMHO the char * should still be
changed to const char * to adhere to POSIX.


Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat



More information about the Newlib mailing list