From owner-freebsd-arm@FreeBSD.ORG Sun Nov 24 20:08:36 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 048EE340 for ; Sun, 24 Nov 2013 20:08:36 +0000 (UTC) Received: from mail-we0-x230.google.com (mail-we0-x230.google.com [IPv6:2a00:1450:400c:c03::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 99E572330 for ; Sun, 24 Nov 2013 20:08:35 +0000 (UTC) Received: by mail-we0-f176.google.com with SMTP id t61so2994732wes.7 for ; Sun, 24 Nov 2013 12:08:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=kXCmR4S21ZcHzvwm4k7DwH3R+MFhwjq8ZOXpC6Z/DKM=; b=gTcq+jM4CisP1cd3eWJD8IOM7vGSBnk4wTk9ksl9KM0vqJThpMSYgHrBkmoJg6qxBu u8Fdt3GebHVxb8OXHzCviYcVkeGB3AKBJPpOtn6dMYiX4zy3BG4Np8v+yKHNH5wycixS lE11JY3ZO9dx6Z2nw1ngvLuzlVJDQPsd4/SFDj2t46tiZHTFn/Ljxk0py91Hd7g1+XWe ezWsDzbvWDKF9OW63Ilf8JFAZCUZp4q+XDIQgrrJRaIQ9trFMAQy1Oxn/C7kYvOjDi71 WNn77Ij5PYWbq8Hp3b3n1JK+nKqwIJPDQwNq2NCcZ6HNEhUyXhuqvAZOAcB6vCBQyVWF iAug== X-Received: by 10.180.185.201 with SMTP id fe9mr10840653wic.63.1385323714057; Sun, 24 Nov 2013 12:08:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.227.240.198 with HTTP; Sun, 24 Nov 2013 12:08:04 -0800 (PST) In-Reply-To: <5235D207.5070400@m5p.com> References: <522229C0.5030504@m5p.com> <5235D207.5070400@m5p.com> From: Jia-Shiun Li Date: Mon, 25 Nov 2013 04:08:04 +0800 Message-ID: Subject: Re: What's the recipe? To: George Mitchell Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Nov 2013 20:08:36 -0000 On Sun, Sep 15, 2013 at 11:28 PM, George Mitchell wrote: > CC pixman-arm-neon.lo > CPPAS pixman-arm-neon-asm.lo > /usr/include/float.h: Assembler messages: > /usr/include/float.h:43: Error: bad instruction `extern int > __flt_rounds(void)' > ./pixman-arm-neon-asm.h:947: Warning: ignoring redefinition of register > alias 'dst_w' > ./pixman-arm-neon-asm.h:947: Warning: ignoring redefinition of register > alias 'src' I was digging around this but got confused, since I am not familiar with asm. I commented out the declaration of __flt_rounds() in /usr/include/float.h and the compilation of pixman worked. Well, except there were still warnings complained about redefinitions like above. I'd like to ask if the questions are not too trivial: - is it ok to include .h from a .S file and having function declarations in .h files? It does not seem to work in this case. - shall we disable neon instructions for all ports before hardfloat is available, since neon depends on VFP? Or disable them all before additional armv7 support is available? Regards, Jia-Shiun.