From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28570 invoked by alias); 2 Sep 2012 10:40:01 -0000 Received: (qmail 28552 invoked by uid 22791); 2 Sep 2012 10:40:00 -0000 X-SWARE-Spam-Status: No, hits=-3.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 02 Sep 2012 10:39:48 +0000 From: "eblotml at free dot fr" To: gdb-prs@sourceware.org Subject: [Bug gdb/14540] New: GDB for ARM target fails to build with clang Date: Sun, 02 Sep 2012 10:40: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-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: eblotml at free dot fr X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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 X-SW-Source: 2012-q3/txt/msg00310.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=14540 Bug #: 14540 Summary: GDB for ARM target fails to build with clang Product: gdb Version: 7.5 Status: NEW Severity: normal Priority: P2 Component: gdb AssignedTo: unassigned@sourceware.org ReportedBy: eblotml@free.fr Classification: Unclassified clang compiler throws the following error: armsupp.c:639:7: error: non-void function 'ARMul_MRC' should return a value [-Wreturn-type] return; for arm-eabi generic target. host is OS X 10.8.1 It seems the function: ARMword ARMul_MRC (ARMul_State * state, ARMword instr) { unsigned cpab; ARMword result = 0; if (! CP_ACCESS_ALLOWED (state, CPNum)) { ARMul_UndefInstr (state, instr); return; } ... } is actually missing an error value. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.