From owner-freebsd-arm@freebsd.org Thu Jan 26 10:10:15 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3BDF1CC0475 for ; Thu, 26 Jan 2017 10:10:15 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-18.reflexion.net [208.70.210.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BDFCE2A5 for ; Thu, 26 Jan 2017 10:10:14 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 26658 invoked from network); 26 Jan 2017 10:11:47 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 26 Jan 2017 10:11:47 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.20.1) with SMTP; Thu, 26 Jan 2017 05:10:07 -0500 (EST) Received: (qmail 21198 invoked from network); 26 Jan 2017 10:10:07 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 26 Jan 2017 10:10:07 -0000 Received: from [192.168.1.111] (c-67-170-167-181.hsd1.or.comcast.net [67.170.167.181]) by iron2.pdx.net (Postfix) with ESMTPSA id DD618EC7D56; Thu, 26 Jan 2017 02:10:05 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: =mcpu=cortex-a7 buildlworld (for example) vs. __aeabi_uidiv use in ports from pkg Message-Id: <15C25780-588B-43EF-8DAC-000C301018BE@dsl-only.net> Date: Thu, 26 Jan 2017 02:10:05 -0800 To: FreeBSD Toolchain , freebsd-arm X-Mailer: Apple Mail (2.3259) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2017 10:10:15 -0000 If I buildworld buildkernel for arm.armv6 with the likes of: CFLAGS+= =mcpu=cortex-a7 CXXFLAGS+= =mcpu=cortex-a7 CPPFLAGS+= =mcpu=cortex-a7 (say for targeting a bpim3 or rpi2) then what package installs for that context tends to report: Undefined symbol "__aeabi_uidiv" In other words __aeabi_uidiv is only implemented for armv6 buildworld, not if one explicitly targets armv7. (armv7 has instruction support but that does not make software built to support other processor variants that are without instruction support also work unless the routine is still provided.) Note: I normally build ports from source anyway so this is just an FYI in case the lack of __aeabi_uidiv was not deliberate. === Mark Millard markmi at dsl-only.net