From owner-freebsd-toolchain@FreeBSD.ORG Thu Mar 12 20:25:01 2015 Return-Path: Delivered-To: freebsd-toolchain@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 E9D2B3E0 for ; Thu, 12 Mar 2015 20:25:00 +0000 (UTC) Received: from mail-pa0-f43.google.com (mail-pa0-f43.google.com [209.85.220.43]) (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 B21FE68E for ; Thu, 12 Mar 2015 20:25:00 +0000 (UTC) Received: by pabrd3 with SMTP id rd3so23278303pab.6 for ; Thu, 12 Mar 2015 13:24:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to; bh=ieonmVKX17a8NRXoTZVTKMgEstxDVgQ1BWsJDK6l9hw=; b=bcYx48mI9QG54vkUhwe9gFo6LhtuYpxsqQ9JOJlaZBhjFeI415OEXgVOLUPTbiUMEa Pk0BXWChzgwhHc5nEkOeM36LmPx7Irme30IqtbZd6IpT+/zk7iQRbVaj8f5PhPjRzGVy DT+8spTHIgaN/fdSY4Dud852euM/pW4mBfmAgEyvGtHugPpCJEtRn3xwZwV/+wIYK+CD eYwtH4IyEN50CN26zyQgcDAa9gNGAoMF9ZJqabbLvIYXL6SzPOY14qob8Pf1UMgRvP6w W10GMZXsUpi3vskubXFe7u6xRaTuvYvCC3MnC4wCXr7SjIyTsw+6P4EauC/Te6XRTJ5A L1Mw== X-Gm-Message-State: ALoCoQljzTnsOuws2K2uAEUoryVXRUxEonwYTJUezXVP29kXl6ab5sZzlU7EoRxMtL0+XcqCWjGl X-Received: by 10.67.1.164 with SMTP id bh4mr92239994pad.129.1426191893939; Thu, 12 Mar 2015 13:24:53 -0700 (PDT) Received: from [192.168.18.23] (221x253x176x170.ap221.ftth.ucom.ne.jp. [221.253.176.170]) by mx.google.com with ESMTPSA id kd9sm12495068pab.0.2015.03.12.13.24.52 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Mar 2015 13:24:53 -0700 (PDT) Sender: Warner Losh Subject: Re: On powerpc 11.0-CURRENT CROSS_TOOLCHAIN=powerpc64-gcc fails: clang-tblgen use attempted before it exists Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: multipart/signed; boundary="Apple-Mail=_CAED5CAA-62B4-4DF5-8C70-5792D51E8866"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5b5 From: Warner Losh In-Reply-To: <60F1C8B5-8621-452B-A6A3-DEE4B48B848D@dsl-only.net> Date: Fri, 13 Mar 2015 05:24:50 +0900 Message-Id: References: <81E69CED-2977-4146-A1DA-B199FDAFE146@dsl-only.net> <20150130005619.GA11558@ivaldir.etoilebsd.net> <89F97E94-AB9F-46C0-9AA2-C4D0680D64E7@dsl-only.net> <60F1C8B5-8621-452B-A6A3-DEE4B48B848D@dsl-only.net> To: Mark Millard X-Mailer: Apple Mail (2.2070.6) Cc: freebsd-toolchain@freebsd.org, FreeBSD PowerPC ML X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2015 20:25:01 -0000 --Apple-Mail=_CAED5CAA-62B4-4DF5-8C70-5792D51E8866 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Sorry to top post, but try adding WITH_CLANG=3Dt Warner > On Mar 13, 2015, at 4:18 AM, Mark Millard wrote: >=20 > Basic context: >=20 > $ freebsd-version -ku; uname -a > 11.0-CURRENT > 11.0-CURRENT > FreeBSD FBSDG4C0 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r279514M: Mon = Mar 9 22:24:27 PDT 2015 = root@FBSDG4S0:/usr/obj/usr/srcC/sys/GENERICvtsc-NODEBUG powerpc > $ svnlite info > Path: . > Working Copy Root Path: /usr/ports > URL: https://svn0.us-west.freebsd.org/ports/head > Relative URL: ^/head > Repository Root: https://svn0.us-west.freebsd.org/ports > Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 > Revision: 380683 > Node Kind: directory > Schedule: normal > Last Changed Author: demon > Last Changed Rev: 380683 > Last Changed Date: 2015-03-07 03:31:11 -0800 (Sat, 07 Mar 2015) >=20 > I bootstrapped into 11.0-CURRENT from 10.1-STABLE but misunderstood = UPDATING for the combination of starting from 10.1 on powerpc/powerpc64 = and ended up without clang for both powerpc and powerpc64 before I = figure that out. >=20 > While powerpc64-gcc (and so powerpc64-xtoolchain-gcc) fails to build = when portmaster'd on powerpc64 it does build on powerpc. >=20 > So I portmaster'd powerpc64-xtoolchain-gcc in the powerpc (non-64) = 11.0-CURRENT context to attempt a "cross" compile back to powerpc... >=20 >=20 >=20 > The problem: > (Or is the below attempt a form of abuse of powerpc64-xtoolchain-gcc?) > (Remember: no clang exists beforehand.) >=20 > For... >=20 > make CROSS_TOOLCHAIN=3Dpowerpc64-gcc toolchain KERNCONF=3DGENERICvtsc = TARGET=3Dpowerpc TARGET_ARCH=3Dpowerpc >=20 > or >=20 > make CROSS_TOOLCHAIN=3Dpowerpc64-gcc buildworld buildkernel = KERNCONF=3DGENERICvtsc TARGET=3Dpowerpc TARGET_ARCH=3Dpowerpc >=20 > Either way the result fails to complete by attempting to use = clang-tblgen when it does not exist (yet?): >=20 >> ... >> -------------------------------------------------------------- >>>>> stage 1.2: bootstrap tools >> -------------------------------------------------------------- >> ... >> =3D=3D=3D> lib/clang/libllvmx86instprinter (buildincludes) >> =3D=3D=3D> lib/clang/libllvmx86utils (buildincludes) >> =3D=3D=3D> lib/clang/include (buildincludes) >> clang-tblgen -gen-arm-neon -d arm_neon.d -o arm_neon.h = /usr/src/lib/clang/include/../../../contrib/llvm/tools/clang/include/clang= /Basic/arm_neon.td >> make[6]: exec(clang-tblgen) failed (No such file or directory) >> *** Error code 1 >>=20 >> Stop. >> make[6]: stopped in /usr/src/lib/clang/include >> *** Error code 1 >>=20 >> Stop. >> make[5]: stopped in /usr/src/lib/clang >> *** Error code 1 >>=20 >> Stop. >> make[4]: stopped in /usr/src/lib >> *** Error code 1 >>=20 >> Stop. >> make[3]: stopped in /usr/src/lib >> *** Error code 1 >>=20 >> Stop. >> make[2]: stopped in /usr/src >> *** Error code 1 >>=20 >> Stop. >> make[1]: stopped in /usr/src >> *** Error code 1 >>=20 >> Stop. >> make: stopped in /usr/src >=20 >=20 >=20 > Even if overall this style of bootstrap should not work it seems odd = to me that clang-tblgen use was attempted before it was built. >=20 > =3D=3D=3D > Mark Millard > markmi at dsl-only.net >=20 > _______________________________________________ > freebsd-toolchain@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain > To unsubscribe, send any mail to = "freebsd-toolchain-unsubscribe@freebsd.org" --Apple-Mail=_CAED5CAA-62B4-4DF5-8C70-5792D51E8866 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJVAfYSAAoJEGwc0Sh9sBEAMTAP/16D95l4qd9zahQXemf2R7CS sPNf1yfevmi1xdfGPBlNB6AyF+fxniTN3fptXSX642oh1cRRrbGhNE2+WW4KKcQi nRnw7bnJiR5wRdxTVU868Zug0CFYKabVYirqlUoWhdJ1IO3YEmx4Sp2KMT5SG8i2 Cl/3RL7wQ6wM33cprulqIEBax9/Ugi6pfWGHNobnI49qwOgXI/RoGjVxKekGtNUo OR/zs4VSg0qeCdnKmu9pQ0CjVVHyPm4yFIYE2sYfQ2txlTWxY3SxUkhQkYgmCja4 cbc1BKWn8N5xrPhxRJ7Swla/D8VDJ9i669LkQyDGu5dG8U6yvXg0UGUdM+HtgjKR CCFmF8fYTCRC2kQg6XX9u0GSpjgoi7MeiLV22bOf6jeKC8VHZLzYi6uiXs2ZTrdL XKmGzouO2zPvT/JnYb4IIyznR1LM5qKJRwV/02n1/FfG2gZ7Nlz48fuxtAVn7j8f J4pLOQN4T1xvBROIYgwyJRqqHVwGWR/zA5c8+c0BYUmIqTVg9LH9UHKk0H3DB9S1 R2a6GEQNqqZI3F2XhIFiGN35gySYLWAZbEb4LerC603pONivrXw+vqOUaZ2yqZcu AMRQzv/DlSi1riQtsmXFTb4spo9lpe50+9qThEuP15522eOdZviIcoenDY247qi/ oefi8kGuvJ+BkmILsrg7 =YYfI -----END PGP SIGNATURE----- --Apple-Mail=_CAED5CAA-62B4-4DF5-8C70-5792D51E8866--