Okay, so what do we do with the new errno?

walt wa1ter at myrealbox.com
Wed May 4 17:03:18 PDT 2005



On Thu, 5 May 2005, YONETANI Tomokazu wrote:

> On Wed, May 04, 2005 at 05:53:25AM -0700, walt wrote:
> > But the ruby18 port has a different outcome:  I can get it to
> > compile by deleting the offending lines but when trying to run
> > the executable ld-elf.so complains about 'Unsupported relocation
> > type 37 in non-PLT relocations'.
> >
> > Does this error sound like it could be from deleting those
> > declarations of errno?
>
> I doubt it, you can reproduce it with the following small example:
>
> $ cat a.c
> #include <errno.h>
> int main() {return errno;}


I was waiting for someone else to ask, but no one has asked:  does
this seem like correct behavior?  Or is it a bug?







More information about the Bugs mailing list