From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16506 invoked by alias); 27 Jan 2015 20:00:50 -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 16442 invoked by uid 48); 27 Jan 2015 20:00:45 -0000 From: "dmalcolm at gcc dot gnu.org" 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 20:00: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: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED 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/msg03144.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64810 --- Comment #7 from David Malcolm --- (In reply to ramana.radhakrishnan@arm.com from comment #4) > 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. Ramana: I'm sorry, I had trouble parsing your comment (e.g. which option were you referring to by "this" in the final sentence above). What should I configure with when debugging this? e.g. should I keep the --with-abi=aapcs-linux and lose the --with-float=hard? should I be testing with the other options Jakub mentioned? etc. (Sorry about my ignorance here; I'm not particularly familiar with arm, and my test machine is slow which makes it difficult to exhaustively try every possibility).