public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "renlin.li at arm dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug build/17718] New: gdb build failure with -Werror
Date: Tue, 16 Dec 2014 17:23:00 -0000	[thread overview]
Message-ID: <bug-17718-4717@http.sourceware.org/bugzilla/> (raw)

https://sourceware.org/bugzilla/show_bug.cgi?id=17718

            Bug ID: 17718
           Summary: gdb build failure with -Werror
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: renlin.li at arm dot com

gcc -O1 -g   -I. -I/work/src/binutils-gdb/gdb
-I/work/src/binutils-gdb/gdb/common -I/work/src/binutils-gdb/gdb/config
-DLOCALEDIR="\"/work/build-aarch64-none-elf-4.9/install/share/locale\""
-DHAVE_CONFIG_H -I/work/src/binutils-gdb/gdb/../include/opcode
-I/work/src/binutils-gdb/gdb/../opcodes/..
-I/work/src/binutils-gdb/gdb/../readline/.. -I../bfd
-I/work/src/binutils-gdb/gdb/../bfd -I/work/src/binutils-gdb/gdb/../include
-I../libdecnumber -I/work/src/binutils-gdb/gdb/../libdecnumber 
-I/work/src/binutils-gdb/gdb/gnulib/import -Ibuild-gnulib/import    -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wpointer-sign -Wno-unused
-Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts
-Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body
-Wmissing-parameter-type -Wold-style-declaration -Wold-style-definition
-Wformat-nonliteral -Werror -c -o compile.o -MT compile.o -MMD -MP -MF
.deps/compile.Tpo /work/src/binutils-gdb/gdb/compile/compile.c

/work/src/binutils-gdb/gdb/compile/compile.c: In function ‘do_rmdir’:
/work/src/binutils-gdb/gdb/compile/compile.c:176:10: error: ignoring return
value of ‘system’, declared with attribute warn_unused_result
[-Werror=unused-result]


gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
glibc version 2.15-0ubuntu10.7

configuration:

/work/src/binutils-gdb/gdb/configure --cache-file=./config.cache --with-gnu-as
--with-gnu-ld --with-system-zlib --with-newlib --enable-64-bit-bfd
--enable-targets=arm-none-eabi,aarch64-none-linux-gnu,aarch64-none-elf
--disable-newlib-supplied-syscalls --enable-newlib-io-long-long
--enable-newlib-mb --prefix=/work/build-aarch64-none-elf-4.9/install
--with-pkgversion=unknown --disable-nls --without-x --disable-gdbtk
--disable-tui --without-python --without-tcl --without-tk
--program-transform-name=s&^&aarch64-none-elf-& --disable-option-checking
--build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu
--target=aarch64-none-elf --srcdir=/work/src/binutils-gdb/gdb


I found the following comment in configure script: "Enable -Werror flags by
default when using gcc, Turn it off for release"

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From gdb-prs-return-17151-listarch-gdb-prs=sources.redhat.com@sourceware.org Wed Dec 17 09:52:23 2014
Return-Path: <gdb-prs-return-17151-listarch-gdb-prs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-gdb-prs@sources.redhat.com
Received: (qmail 5576 invoked by alias); 17 Dec 2014 09:52:23 -0000
Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <gdb-prs.sourceware.org>
List-Subscribe: <mailto:gdb-prs-subscribe@sourceware.org>
List-Archive: <http://sourceware.org/ml/gdb-prs/>
List-Post: <mailto:gdb-prs@sourceware.org>
List-Help: <mailto:gdb-prs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: gdb-prs-owner@sourceware.org
Delivered-To: mailing list gdb-prs@sourceware.org
Received: (qmail 5543 invoked by uid 48); 17 Dec 2014 09:52:22 -0000
From: "sebastian.huber@embedded-brains.de" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug backtrace/16215] SPARC: can't compute CFA for this frame
Date: Wed, 17 Dec 2014 09:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gdb
X-Bugzilla-Component: backtrace
X-Bugzilla-Version: 7.6
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sebastian.huber@embedded-brains.de
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-16215-4717-CBsEH2qsY7@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-16215-4717@http.sourceware.org/bugzilla/>
References: <bug-16215-4717@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-q4/txt/msg00394.txt.bz2
Content-length: 369

https://sourceware.org/bugzilla/show_bug.cgi?id\x16215

--- Comment #7 from Sebastian Huber <sebastian.huber@embedded-brains.de> ---
It works for me using GDB 7.8.50.20141217-cvs without patches.  From my point
of view the PR can be closed.  I am not sure what the target milestone will be.

--
You are receiving this mail because:
You are on the CC list for the bug.


             reply	other threads:[~2014-12-16 17:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-16 17:23 renlin.li at arm dot com [this message]
2015-01-14 11:49 ` [Bug build/17718] " renlin.li at arm dot com

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-17718-4717@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.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).