From owner-freebsd-arm@freebsd.org Mon Oct 9 18:37:28 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 0A78FE38AC4 for ; Mon, 9 Oct 2017 18:37:28 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x22f.google.com (mail-io0-x22f.google.com [IPv6:2607:f8b0:4001:c06::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C3F7F763D4 for ; Mon, 9 Oct 2017 18:37:27 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x22f.google.com with SMTP id b186so2087957iof.8 for ; Mon, 09 Oct 2017 11:37:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=t3eWdNsA8d3op9iR92kj0mb3rmgR00mcmj4tv8Dzjog=; b=MSDFhcrXXRzphgOZS1lUhwiAX2K/sOVNs18+qnp4hTCoC89UT0M8ZL96NVum/9fflC 5CXdOGMm9bXmVr5bTKLJEDKLIStp93YA2acej+6ZR7scFM3JXEyZR2+n2ziG20dJCCWG xgDbbnLoHiv+Wtoy20usDj7QUWkO1wkI2LU9Fum8W6O5qucIQVeY+cdXZB2BewpqCdN5 BPWx1vsc61IEk6w9tjd3aogpGBvJUhGIKkMUTjpYWXA93uNU3Nu8SwRpngj1TDuN49+e 9Q3J8brMsFgdkJ/UpYw5D9oCsgcihM9fWWCym7cm88lF8awDjf9goW56+0h3kq+JXKCp HcCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=t3eWdNsA8d3op9iR92kj0mb3rmgR00mcmj4tv8Dzjog=; b=UnzYYIvRd4HPlMNWP4mYDK3eLRdrMUxMGuGLRnDWUtsPZdIZogVcDGDeyYi3GnZC4S eOFa8Qq2QpN5Pwt7s19c1Pq13mWLbAXdi8X3q0OZ/PdCy4E7w1qJq7OCfortnc3my9xV uC2N7wB1FBH9nzYk570gMlqGGaWwAkm975scxBNazeZ/MawU/HSKfXP7YZPDkz6fvBvz TjMGuHnODNZ9v44Y6ZC4cOckfG63UdECXtx4IqVRAfs7rd/WpuKYeijM1AJnezI5mxB4 1moNxfVSqcTXWou/12bfID6gYCurgBDakhuOlVZG0nvO5nYrocw+nKEoY/E/hrAHqaDo rpyw== X-Gm-Message-State: AMCzsaXVsVGgvOA4DKa6EW+e9vEOPBhLoogUUSbym2/ye3eeF4Ef5aeg J29cYSaRTwHunPfNekB8iGJCyvspOgChlNT2An+N4A== X-Google-Smtp-Source: AOwi7QADC6q1687qnHhDmn2qw8U5f4k/1djKr0hVBwhFfRqLoOFyFp2lSEX2LE3Xd4YBERGq0RX1cVdI6JzGVfp1YSY= X-Received: by 10.107.185.6 with SMTP id j6mr9837913iof.221.1507574247135; Mon, 09 Oct 2017 11:37:27 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.94.130 with HTTP; Mon, 9 Oct 2017 11:37:26 -0700 (PDT) X-Originating-IP: [65.151.16.249] Received: by 10.79.94.130 with HTTP; Mon, 9 Oct 2017 11:37:26 -0700 (PDT) In-Reply-To: <1507573171.84167.9.camel@freebsd.org> References: <20171009175216.GA52497@www.zefox.net> <1507573171.84167.9.camel@freebsd.org> From: Warner Losh Date: Mon, 9 Oct 2017 12:37:26 -0600 X-Google-Sender-Auth: cdds3bJ-sGD7RSRFSLeCG63a8Oo Message-ID: Subject: Re: Difficulty with armv6 to v7 transition. To: Ian Lepore Cc: bob prohaska , freebsd-arm@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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: Mon, 09 Oct 2017 18:37:28 -0000 On Oct 9, 2017 12:19 PM, "Ian Lepore" wrote: On Mon, 2017-10-09 at 10:52 -0700, bob prohaska wrote: > On an RPI2 model B, invoking > make -j4 -DNO_CLEAN MACHINE_ARCH=armv7 buildworld > buildworld.log Never set MACHINE_ARCH when building, use TARGET_ARCH. Be sure to set TARGET_ARCH when installing as well. That was a specific work around... But the real issue is the system compiler does need to be rebuilt.. Warner -- Ian > (after a cleandir) > the log promptly reports > make[1]: "/usr/src/Makefile.inc1" line 162: SYSTEM_COMPILER: > Determined that CC=cc matches the source tree. Not bootstrapping a > cross-compiler. > make[1]: "/usr/src/Makefile.inc1" line 450: To cross-build, set > TARGET_ARCH. > *** [buildworld] Error code 1 > > make: stopped in /usr/src > > The kernel is r322520, sources are at 324424. Kernel r324342 does > likewise. > > Thanks for reading, and any suggestions. > > bob prohaska > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org > " _______________________________________________ freebsd-arm@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-arm To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"