From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 77105 invoked by alias); 12 Sep 2015 12:24:59 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 77063 invoked by uid 48); 12 Sep 2015 12:24:59 -0000 From: "dcollinsn at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/18957] New: Error: static declaration of setns follows non-static declaration Date: Sat, 12 Sep 2015 12:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcollinsn at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q3/txt/msg00283.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D18957 Bug ID: 18957 Summary: Error: static declaration of setns follows non-static declaration Product: gdb Version: unknown Status: NEW Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: dcollinsn at gmail dot com Target Milestone: --- Greetings, While compiling GDB 7.10 on the following system: dcollins@****~$ uname -a Linux **** 2.6.32-5-686 #1 SMP Tue May 13 16:33:32 UTC 2014 i686 GNU/Linux With toolchain versions: GCC 5.2.0 glibc 2.22 binutils 2.25 by executing the following commands: ./Configure && make I received the following error: gcc -g -O2 -I. -I. -I./common -I./config -DLOCALEDIR=3D"\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I./../include/= opcode -I./../opcodes/.. -I./../readline/.. -I./../zlib -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./gnulib/import -Ibuild-gnulib/import -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wpointer-s= ign -Wmissing-prototypes -Wdeclaration-after-statement -Wmissing-parameter-type -Wold-style-declaration -Wold-style-definition -Wformat-nonliteral -c -o linux-namespaces.o -MT linux-namespaces.o -MMD -MP -MF .deps/linux-namespaces.Tpo ./nat/linux-namespaces.c ./nat/linux-namespaces.c:39:1: error: static declaration of =E2=80=98setns= =E2=80=99 follows non-static declaration setns (int fd, int nstype) ^ In file included from /usr/include/sched.h:43:0, from ./nat/linux-namespaces.c:30: /usr/include/bits/sched.h:91:12: note: previous declaration of =E2=80=98set= ns=E2=80=99 was here extern int setns (int __fd, int __nstype) __THROW; ^ make[2]: *** [linux-namespaces.o] Error 1 make[2]: Leaving directory `/home/dcollins/gdb-7.10/gdb' make[1]: *** [all-gdb] Error 2 make[1]: Leaving directory `/home/dcollins/gdb-7.10' make: *** [all] Error 2 Modifying line 38 of gdb/nat/linux-namespaces.c to remove the static declaration allowed compilation to continue without error. GDB Configure sh= ould determine whether the preexisting setns is declared with or without static = and should follow that convention to prevent this compile error. --=20 You are receiving this mail because: You are on the CC list for the bug. >>From gdb-prs-return-18580-listarch-gdb-prs=sources.redhat.com@sourceware.org Mon Sep 14 08:28:22 2015 Return-Path: Delivered-To: listarch-gdb-prs@sources.redhat.com Received: (qmail 84310 invoked by alias); 14 Sep 2015 08:28:22 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Delivered-To: mailing list gdb-prs@sourceware.org Received: (qmail 84091 invoked by uid 48); 14 Sep 2015 08:28:21 -0000 From: "qiyao at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug gdb/18947] [aarch64]Step into shared library is very slow. Date: Mon, 14 Sep 2015 08:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: qiyao at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone Message-ID: In-Reply-To: References: 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: 2015-q3/txt/msg00284.txt.bz2 Content-length: 640 https://sourceware.org/bugzilla/show_bug.cgi?id=18947 Yao Qi changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |qiyao at gcc dot gnu.org Resolution|--- |FIXED Target Milestone|--- |8.0 --- Comment #3 from Yao Qi --- Patch is pushed in. Close it. -- You are receiving this mail because: You are on the CC list for the bug.