From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15883 invoked by alias); 16 Feb 2015 16:21:57 -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 15321 invoked by uid 48); 16 Feb 2015 16:21:57 -0000 From: "palves at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/17984] GDB fails to build on Aarch64 when -fno-common is enabled. Date: Mon, 16 Feb 2015 16:48: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: palves at redhat dot com 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: cc 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-q1/txt/msg00256.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=17984 Pedro Alves changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |palves at redhat dot com --- Comment #1 from Pedro Alves --- Note features/aarch64.c is autogenerated (see top of file). Instead, please remove the '#include "features/aarch64.c"' line from aarch64-linux-nat.c, and add extern struct target_desc *tdesc_aarch64; to aarch64-tdep.h. Try "grep tdesc_powerpc_e500l *" to see the same thing done for PowerPC. You'll need to remove the initialize_tdesc_aarch64 line from aarch64_linux_read_description, but that's really not necessary anyway - that's already called in aarch64-tdep.c, at GDB startup. -- You are receiving this mail because: You are on the CC list for the bug.