From owner-freebsd-arm@FreeBSD.ORG Thu Oct 30 17:15:22 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5091BFB for ; Thu, 30 Oct 2014 17:15:22 +0000 (UTC) Received: from feynman.konjz.org (feynman.konjz.org [64.147.119.39]) (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 10B0D805 for ; Thu, 30 Oct 2014 17:15:21 +0000 (UTC) Received: from 127.0.0.1 (bolobolo2.torservers.net [96.47.226.21]) (authenticated bits=0) by feynman.konjz.org (8.14.7/8.14.4) with ESMTP id s9UHIaNR053124 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 30 Oct 2014 13:18:39 -0400 (EDT) (envelope-from george@ceetonetechnology.com) Message-ID: <54527218.2090008@ceetonetechnology.com> Date: Thu, 30 Oct 2014 13:15:04 -0400 From: George Rosamond MIME-Version: 1.0 To: "freebsd-arm@freebsd.org" Subject: building cross-compiling tools on -CURRENT Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2014 17:15:22 -0000 Using a new build box running head with r273764, and running into an issue building the cross compiler tools. Using source based in /usr/src on an amd64 box. I do have devel/gperf installed as per /usr/src/UPDATING. Running this from /usr/src: make TARGET=arm TARGET_ARCH=armv6 WITH_GCC=1 WITH_GCC_BOOTSTRAP=1 WITHOUT_CLANG=1 WITHOUT_CLANG_BOOTSTRAP=1 WITHOUT_CLANG_IS_CC=1 xdev I changed "XDEV" and "XDEV_ARCH to "TARGET" and "TARGET_ARCH" as per /usr/src/UPDATING from 20140723, but also tried "XDEV" "XDEV_ARCH". If I'm reading this right, Crochet should take that into account. I did clear out /usr/obj, updated and cleaned /usr/src... Anyone else? Here's the relevant end of the failure AFAIK: except.o: In function `nothrow_libfn_p': /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/except.c:(.text+0x10fb): undefined reference to `libc_name_p' cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. make[3]: stopped in /usr/src/gnu/usr.bin/cc/cc1plus *** Error code 1 Stop. make[2]: stopped in /usr/src/gnu/usr.bin/cc *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src