This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc-4_2-branch: tiny issue with libiberty


On Tue, Nov 13, 2007 at 09:02:02AM -0500, DJ Delorie wrote:
> >      This function is a BSD feature, declared in the header file
> >      `signal.h'.
> If you're using BSD, you already have psignal() and won't be (or
> shouldn't be) using the one in libiberty, so the prototype doesn't
> need to match.

I'm not using a BSD system.  I only quoted where the function was
originating from.

The error for me showed up when building a cross compiler to a
glibc-based system.  I will try to investigate why the libiberty
configure machinery failed to detect the `psignal' symbol from the
target's glibc, which should have included that symbol.  The error showed
up, because the target glibc's <signal.h> header had been included and
thus its `psignal' declaration didn't match the libiberty `psignal'

Nevertheless, I don't understand why you don't want to adapt the
parameters to what other systems (glibc, BSD) are using?  Why should
libiberty provide a (marginally) different version of `psignal'?


Attachment: signature.asc
Description: Digital signature

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]