[Bug binutils/2993] compile error bfd.c: noreturn function does return
https://sourceware.org/bugzilla/show_bug.cgi?id=2993 Alan Modra changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|--- |WONTFIX --- Comment #4 from Alan Modra --- I suspect this has been fixed outside binutils. In any case, this is really not a binutils problem. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/2993] compile error bfd.c: noreturn function does return
-- What|Removed |Added OtherBugsDependingO||3017 nThis|| 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
[Bug binutils/2993] compile error bfd.c: noreturn function does return
--- Additional Comments From amylaar at gcc dot gnu dot org 2006-08-09 19:11 --- (In reply to comment #0) I am seeing the same problem for sparc-sun-solaris2.8 X sh-elf, using gcc 2.95.2, when trying to build binutils checked out from the CVS repository today. The bfd.c.patch allows the build to continue past the bfd.c compilation. -- 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
[Bug binutils/2993] compile error bfd.c: noreturn function does return
-- What|Removed |Added Status|NEW |WAITING 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
[Bug binutils/2993] compile error bfd.c: noreturn function does return
--- 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
[Bug binutils/2993] compile error bfd.c: noreturn function does return
--- Additional Comments From nickc at redhat dot com 2006-08-07 09:00 --- Created an attachment (id=1206) --> (http://sourceware.org/bugzilla/attachment.cgi?id=1206&action=view) Add a noreturn prototype for _exit(). -- 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