From owner-svn-src-head@FreeBSD.ORG Fri Nov 1 06:16:55 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6C2ABBDF; Fri, 1 Nov 2013 06:16:55 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.59.238]) by mx1.freebsd.org (Postfix) with ESMTP id 2CB42211F; Fri, 1 Nov 2013 06:16:54 +0000 (UTC) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id CC9757300A; Fri, 1 Nov 2013 07:18:42 +0100 (CET) Date: Fri, 1 Nov 2013 07:18:42 +0100 From: Luigi Rizzo To: Brooks Davis Subject: Re: this breaks builds of head on stable/9 (Re: svn commit: r257268 - head/gnu/usr.bin/binutils/ld Message-ID: <20131101061842.GA8911@onelab2.iet.unipi.it> References: <20131101020924.GB32951@lor.one-eyed-alien.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131101020924.GB32951@lor.one-eyed-alien.net> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Nov 2013 06:16:55 -0000 On Thu, Oct 31, 2013 at 09:09:24PM -0500, Brooks Davis wrote: > On Thu, Oct 31, 2013 at 06:02:25PM -0700, Luigi Rizzo wrote: > > as per the subject, after this commit building head on stable/9 > > fails with the error below: > > > > ===> lib/libpam/modules/pam_krb5 (all) > > make: don't know how to make > > /media/bsd10/usr/home/luigi/FreeBSD/head/../usr/obj-pico-amd64/media/bsd10/usr/home/luigi/FreeBSD/head/tmp/usr/lib/libkrb5.a. > > Stop > > > > reverting the commit fixes the build. > > > > Any idea how this can be fixed ? > > I just built world and kernel with a freshly checked out head on > ref9-amd64 so I supect something in your environment. This change > should only impact the installed copy of ld which would have no effect > on a 9-stable system. Any portion of the build system using a version > effected by this change is broken since only the cross build version > should be used and that one will have it's own sysroot value as always > it always has. ok so what happens is the following (trying to build HEAD on 9.2, both amd64) - WITHOUT_CLANG and related options: "make toolchain" fails with the error on krb5 "make buildworld" works, and a subsequent "make toolchain" also works - without options (so compiling CLANG) "make toolchain" fails with the error below building shared library libc.so.7 /usr/bin/ld: this linker was not configured to use sysroots cc: error: linker command failed with exit code 1 (use -v to see invocation) *** [libc.so.7] Error code 1 1 error *** [all] Error code 2 1 error "make toolchain" on an empty tree used to work until before this commit, and does work if i revert this single change So does this mean that 'toolchain' now has some prerequisites ? cheers luigi