Hi Rudolph,

bfd.c: In function `_bfd_abort':
bfd.c:796: warning: `noreturn' function does return

This looks like it may be a problem with your system header files. The _bfd_abort() function ends with a call to the system function _exit() which should not return. Hence _bfd_abort() does not return. It would appear from this error message that the system header file which declares the prototype for _exit() on your system (probably unistd.h) does not include the "__attribute__ ((noreturn))" qualifier.

The proper solution to this problem would probably involve complicated configuration scripting to detect the missing attribute in the system header and change the prototypes of various bfd functions accordingly. Since that is likely to introduce its own set of bugs however, please could you try the uploaded alternative patch which just adds a local prototype for _exit() to the _bfd_abort() function.

Cheers
  Nick



_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to