------- Additional Comments From nickc at redhat dot com 2006-08-07 09:01 ------- Subject: Re: New: compile error bfd.c: noreturn function does return
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 -- http://sourceware.org/bugzilla/show_bug.cgi?id=2993 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils