From owner-freebsd-arm@freebsd.org Tue Oct 1 01:05:11 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 692FB1361EE for ; Tue, 1 Oct 2019 01:05:11 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: from phouka1.phouka.net (phouka1.phouka.net [107.170.196.116]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "phouka.net", Issuer "Go Daddy Secure Certificate Authority - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46j1K23mvFz4djZ for ; Tue, 1 Oct 2019 01:05:10 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: from phouka1.phouka.net (localhost [127.0.0.1]) by phouka1.phouka.net (8.15.2/8.15.2) with ESMTPS id x9113lCW021644 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 30 Sep 2019 18:03:47 -0700 (PDT) (envelope-from warlock@phouka1.phouka.net) Received: (from warlock@localhost) by phouka1.phouka.net (8.15.2/8.15.2/Submit) id x9113lxP021643; Mon, 30 Sep 2019 18:03:47 -0700 (PDT) (envelope-from warlock) Date: Mon, 30 Sep 2019 18:03:47 -0700 From: John Kennedy To: Brian Bostwick Cc: freebsd-arm@freebsd.org Subject: Re: Building world and kernel on RPI3 B+ compilation failure, unwind-dw2.c. Message-ID: <20191001010347.GB88930@phouka1.phouka.net> References: <20190929141211.GA96467@phouka1.phouka.net> <20190929164654.GB77308@phouka1.phouka.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190929164654.GB77308@phouka1.phouka.net> User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 46j1K23mvFz4djZ X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of warlock@phouka1.phouka.net has no SPF policy when checking 107.170.196.116) smtp.mailfrom=warlock@phouka1.phouka.net X-Spamd-Result: default: False [2.18 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.06)[-0.060,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; IP_SCORE(0.37)[ipnet: 107.170.192.0/18(0.18), asn: 14061(1.72), country: US(-0.05)]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[phouka.net]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.68)[0.675,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[warlock@phouka.net,warlock@phouka1.phouka.net]; FREEMAIL_TO(0.00)[gmail.com]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:107.170.192.0/18, country:US]; FROM_NEQ_ENVFROM(0.00)[warlock@phouka.net,warlock@phouka1.phouka.net]; 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: Tue, 01 Oct 2019 01:05:11 -0000 On Sun, Sep 29, 2019 at 09:46:54AM -0700, John Kennedy wrote: > Well, It's a RPI3B+, so I'll let you know in ~28-31 hours, give or take what > point in the compile that fragment lands in. I had no problems crunching BETA2 from BETA1. FreeBSD 12.1-BETA2 #41 r352780+b78e5b46c44c(releng/12.1)-dirty: Mon Sep 30 11:10:03 PDT 2019 What does your src.conf look like? WITHOUT_LLVM_LIBUNWIND set? Maybe anti-LLVM/pro-GCC in some other way? From src.conf(5): WITHOUT_LLVM_LIBUNWIND Set to use GCC's stack unwinder (instead of LLVM's libunwind). This is a default setting on arm/arm, arm/armv6, arm/armv7, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64. You had problems in /usr/src/gnu/lib/libgcc, which seems to be triggered on something like that (I really haven't tried to delve that deep into the FreeBSD source Makefiles). Maybe copied configuration settings over from a previous RPI? Your RPI3B+ is arm64, so if you had that set you might want to yank it. [/usr/src/gnu/lib/Makefile] .if ${MK_LLVM_LIBUNWIND} == "no" SUBDIR+= libgcc .endif My build didn't go down into that directory at all.