public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "amylaar at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/47091] New: arm-netbsd fails to build
Date: Wed, 29 Dec 2010 00:31:00 -0000	[thread overview]
Message-ID: <bug-47091-4@http.gcc.gnu.org/bugzilla/> (raw)

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47091

           Summary: arm-netbsd fails to build
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: amylaar@gcc.gnu.org
            Blocks: 44756
              Host: x86_64-pc-linux-gnu
            Target: arm-netbsd


../../../gcc/gcc/config/arm/arm.c:16888:1: error: ‘arm_elf_asm_constructor’
defined but not used [-Werror=unused-function]
../../../gcc/gcc/config/arm/arm.c:16896:1: error: ‘arm_elf_asm_destructor’
defined but not used [-Werror=unused-function]
cc1: all warnings being treated as errors


The offending functions have ATTRIBUTE_UNUSED prototypes in arm.c, but these
prototypes are inside an
#ifdef OBJECT_FORMAT_ELF
block.  Either these prototypes have to be made unconditional, or the function
definitions have to be made likewise conditional.


             reply	other threads:[~2010-12-29  0:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-29  0:31 amylaar at gcc dot gnu.org [this message]
2010-12-29  0:40 ` [Bug target/47091] non-elf arm targets fail " amylaar at gcc dot gnu.org
2010-12-29 11:20 ` joseph at codesourcery dot com
2010-12-29 16:02 ` rguenth at gcc dot gnu.org
2010-12-29 16:11 ` joseph at codesourcery dot com
2010-12-29 17:34 ` amylaar at gcc dot gnu.org
2010-12-30 16:45 ` amylaar at gcc dot gnu.org
2012-07-10 12:25 ` rearnsha at gcc dot gnu.org
2013-02-26 10:56 ` amylaar at gcc dot gnu.org

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=bug-47091-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).