From owner-freebsd-arm@freebsd.org Wed Dec 23 22:21:58 2015 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 A5913A4F11C for ; Wed, 23 Dec 2015 22:21:58 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from pmta2.delivery6.ore.mailhop.org (pmta2.delivery6.ore.mailhop.org [54.200.129.228]) (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 8ACB41316 for ; Wed, 23 Dec 2015 22:21:58 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from ilsoft.org (unknown [73.34.117.227]) by outbound2.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA; Wed, 23 Dec 2015 22:22:14 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id tBNMLtPv004272; Wed, 23 Dec 2015 15:21:55 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <1450909315.25138.215.camel@freebsd.org> Subject: Re: ports-mgmt/pkg does not build From: Ian Lepore To: Ronald Klop , freebsd-arm@freebsd.org Date: Wed, 23 Dec 2015 15:21:55 -0700 In-Reply-To: References: Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.16.5 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Dec 2015 22:21:58 -0000 On Wed, 2015-12-23 at 23:01 +0100, Ronald Klop wrote: > Hello, > > I upgraded my Sheevaplug from CURRENT r285336 (Jul 10) to r292343 > (Dec > 16). This went from clang 3.6.1 to 3.7.0. > This runs, but building potrs-mgmt/pkg does not work. > The error of clang is: > error: no handler registered for module format 'raw' > fatal error: error in backend: unknown module format > > See http://www.klop.ws/config.log for more information. > > What could be the cause of this? Or what information can I provide to > help? > > Regards, > Ronald. This isn't a problem with ports, it's a problem with clang 3.7 -- it just doesn't work on armv4/5. It works to crossbuild from amd64, but when run native on arm it fails. It's a known problem that nobody is working on, because the old arm stuff just doesn't get any love anymore. When I needed to do a bit of testing on dreamplug recently I just switched to the old gcc compiler. -- Ian