From: Daniel Jacobowitz <drow@false.org>
To: Jonah Simandjuntak <jonahs@tiopan.com>, binutils@sourceware.org
Cc: gdb@sourceware.org
Subject: Re: gdb 6.6 build fails on Solaris 9
Date: Fri, 22 Jun 2007 17:17:00 -0000 [thread overview]
Message-ID: <20070622171739.GA29846@caradoc.them.org> (raw)
In-Reply-To: <20070622170420.GA15606@ip-68-178-164-59.ip.secureserver.net>
Copying the binutils list, as that's where BFD is maintained.
On Fri, Jun 22, 2007 at 01:04:20PM -0400, Jonah Simandjuntak wrote:
> Hello,
>
> I've been searching the archive, but couldn't find a solution to the problem below. I am compiling this on a SPARC Solaris 9.
>
> Here is the output:
> ...
> /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I./../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c -o bfd.lo bfd.c
> gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I./../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c bfd.c -o bfd.o
> cc1: warnings being treated as errors
> bfd.c: In function `_bfd_abort':
> bfd.c:848: warning: `noreturn' function does return
> *** Error code 1
Sounds to me like your headers do not mark _exit as noreturn, and GCC
is not doing so automatically. I don't remember how this is supposed
to work, but I thought GCC would automatically add the attribute.
What version of gcc is this?
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2007-06-22 17:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-22 17:04 Jonah Simandjuntak
2007-06-22 17:17 ` Daniel Jacobowitz [this message]
2007-06-22 17:46 ` Jonah Simandjuntak
2007-06-22 17:53 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070622171739.GA29846@caradoc.them.org \
--to=drow@false.org \
--cc=binutils@sourceware.org \
--cc=gdb@sourceware.org \
--cc=jonahs@tiopan.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox