From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11787 invoked by alias); 27 Jan 2015 15:47:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 11580 invoked by uid 55); 27 Jan 2015 15:47:06 -0000 From: "ramana.radhakrishnan at arm dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug jit/64810] jit not working on armv7hl ("ld: error: /tmp/libgccjit-ZGemdr/fake.so uses VFP register arguments, /tmp/ccJFCBsE.o does not") Date: Tue, 27 Jan 2015 15:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: jit X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ramana.radhakrishnan at arm dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-01/txt/msg03096.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64810 --- Comment #4 from ramana.radhakrishnan at arm dot com --- On 27/01/15 12:27, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64810 > > Jakub Jelinek changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |jakub at gcc dot gnu.org > > --- Comment #2 from Jakub Jelinek --- > Both the compiler and libgccjit were configured with: > --with-tune=cortex-a8 --with-arch=armv7-a --with-float=hard > --with-fpu=vfpv3-d16 --with-abi=aapcs-linux The --with-abi=aapcs-linux in addition to the --with-float=hard argument is just wrong. In fact it allows for a case where if the order of command line arguments passed to the compiler if in some way is wrong, the code generated will force the compiler into passing floating point parameters through the integer registers rather than fp registers which is what the --with-float=hard configure time option is doing. Really Fedora should remove this from the configure line as it only confuses people. For the compiler built can you please post back the output is for a simple function that adds 2 float values and pushes it back up. Ramana