From owner-freebsd-current@freebsd.org Tue Aug 30 20:30:07 2016 Return-Path: Delivered-To: freebsd-current@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 951B7BC7396 for ; Tue, 30 Aug 2016 20:30:07 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-it0-x229.google.com (mail-it0-x229.google.com [IPv6:2607:f8b0:4001:c0b::229]) (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 5DBCD157 for ; Tue, 30 Aug 2016 20:30:07 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: by mail-it0-x229.google.com with SMTP id n75so59590494ith.0 for ; Tue, 30 Aug 2016 13:30:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=u3xPKe3YapOSLo6mNsAcDrvW1Gsprhanh8B7JeWu914=; b=VS6haqYokc6o8R2raQK6WqIdXaNPK8z5CebBG1QG+bpeXMItY27yvUFgJGtpy4wXHo 7ISEqM15+bWlACMgUUMu44bMYtRvVHnlBInyfU3MpjQ8Pzuor+3w205YW4HD4BvI1fIc jZ8OR69jTU4MWOSgExobHZD3BWii+pva4D3SrQ5vY0CEFupkxU7MWDmDbrJ8vleSUPbo vKowCmUUdjGWTCeY4wLXxPAP/UHWYYq52wV1+AbjlXTQiB8MD083YXgR+Tnb5yvffc6m Tw0nXomP438Wc8oj7RBD76CvzeGtMLp1vCnLYcELPoMmAAqYTjer27hzafhYJHSQoP+P 8ofA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=u3xPKe3YapOSLo6mNsAcDrvW1Gsprhanh8B7JeWu914=; b=akQc5LX+Am2aZkK8KEV+xr1IE8GSmP4pUQ8Za2bfmc+hJVWJswivCcwZ8MJ1K93tVx 6lOX2cr4TRSgSxWY/VesgqR7ldoOOxtU/YowsN5MGyBNzu/z5jWrBj8VOjUkkZp3iLJu UrhLFg/RPRBxbnodNo0TIKF+tdVNqszkvWPFF/dIubTUiir31hV3JrVtyT4gKvePTnGB UaruuDyKakBiOWhE/cjw1B7lGQp03uz1QgN/wQRk0BW1rsmbhujK50EJQo9r0HqF3yB7 555UXAFCrMP1ofAB3NquJL/W9SKvccAjzmgzGVUr1GBjbR2g0n1JC3OwmxQqPPIo4feq FsJg== X-Gm-Message-State: AE9vXwN/Xvi4nJWOgL6paMjz54qs1Oth4CCNhFlRFBfOEsIMqPwo1mK8xiqBCprrYi1E7JK2WIPDZ3l1PdCZQw== X-Received: by 10.107.23.3 with SMTP id 3mr1222884iox.81.1472589006701; Tue, 30 Aug 2016 13:30:06 -0700 (PDT) MIME-Version: 1.0 Sender: kmacybsd@gmail.com Received: by 10.107.143.11 with HTTP; Tue, 30 Aug 2016 13:30:06 -0700 (PDT) In-Reply-To: <57C52BDD.9020207@b1t.name> References: <156d96ebba6.d2524daa80643.7192912559150916238@nextbsd.org> <57C52BDD.9020207@b1t.name> From: "K. Macy" Date: Tue, 30 Aug 2016 13:30:06 -0700 X-Google-Sender-Auth: _X9qo_3O6Z_WgGvVaMTWUwCPKfI Message-ID: Subject: Re: External toolchain support broken for devel/llvm38 but not devel/llvm37 To: Volodymyr Kostyrko Cc: "freebsd-current@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Aug 2016 20:30:07 -0000 On Monday, August 29, 2016, Volodymyr Kostyrko wrote: > Matthew Macy wrote: > >> It looks like there is something broken with the devel/llvm38 port or >> external toolchain support has regressed: >> >> >> This works: >> make XCC=/usr/local/bin/clang37 XCXX=/usr/local/bin/clang++37 >> XCPP=/usr/local/bin/clang-cpp37 buildworld -j12 -s >> >> This fails: >> make XCC=/usr/local/bin/clang38 XCXX=/usr/local/bin/clang++38 >> XCPP=/usr/local/bin/clang-cpp38 buildworld -j12 -s >> >> with: >> >> /home/mmacy/devel/build/mnt/storage/mmacy/devel/drm-next-merge/tmp/usr/bin/ld: >> /usr/local/llvm38/bin/../lib/clang/3.8.1/lib/freebsd/libclan >> g_rt.ubsan_standalone-x86_64.a: No such file: No such file or directory >> clang-3.8: error: linker command failed with exit code 1 (use -v to see >> invocation) >> > > I second this - I also faced it. I think this is not a problem with a > ports but rather with a build as correspondent files can be found in > /usr/obj under /usr/obj/usr/src/tmp/usr/lib/clang/3.8.0/lib/freebsd/. > Looks like this files are compiled during build but taken from compilers's > directory. Linking 'em to the target directory makes build succeed. The point of using the external toolchain for me is to bypass building clang in src. ~31 of the ~47 minutes in buildworld are spent compiling pieces of llvm/clang. I'd much rather fix the ports than make buildworld require additional work. For the moment I've disconnected the two pieces that fail: svn and libc/tests. They don't really belong in base any more than git and piglit do. > > -- > Sphinx of black quartz judge my vow. > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >