From owner-freebsd-arm@freebsd.org Wed Jul 10 18:19:58 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B5FB15DF5EE for ; Wed, 10 Jul 2019 18:19:58 +0000 (UTC) (envelope-from adr@SDF.ORG) Received: from mx.sdf.org (mx.sdf.org [205.166.94.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx.sdf.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2CF876ABE2; Wed, 10 Jul 2019 18:19:53 +0000 (UTC) (envelope-from adr@SDF.ORG) Received: from sdf.lonestar.org (sdf.lonestar.org [205.166.94.16]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id x6AIJlo4002041 (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits) verified NO); Wed, 10 Jul 2019 18:19:47 GMT Date: Wed, 10 Jul 2019 18:19:47 +0000 (UTC) From: adr X-X-Sender: adr@sdf.lonestar.org To: Ian Lepore cc: freebsd-arm@freebsd.org Subject: Re: FreeBSD arm EABI5 documentation? In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (NEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Rspamd-Queue-Id: 2CF876ABE2 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [1.31 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.82)[-0.817,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[SDF.ORG]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.31)[0.314,0]; NEURAL_SPAM_SHORT(0.39)[0.387,0]; IP_SCORE(-0.46)[ip: (-1.46), ipnet: 205.166.94.0/24(-0.73), asn: 14361(-0.05), country: US(-0.06)]; MX_GOOD(-0.01)[mx.SDF.ORG]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[20.94.166.205.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:14361, ipnet:205.166.94.0/24, country:US]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jul 2019 18:19:58 -0000 On Wed, 10 Jul 2019, Ian Lepore wrote: > Stack alignment requirement is 8 bytes. The full EABI spec is here: > > https://static.docs.arm.com/ihi0042/g/aapcs32.pdf I suppose then that this behavior is not a OS imposition, but the llvm calling convention. I'll search in their documentation. I've never used clang before. > I can't help with the gcc thing, I've only used clang from base for > compiling proprietary code. Well, deinstalling gcc fix the problem. I almost heard the soup nazi: not gcc for you! Regards, adr.