From nobody Mon Oct 30 09:31:26 2023 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SJp1k23Zbz4xgWt; Mon, 30 Oct 2023 09:31:38 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SJp1k1LCNz4LmQ; Mon, 30 Oct 2023 09:31:38 +0000 (UTC) (envelope-from theraven@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698658298; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TuyoT6pqInbjG7S7h3UN4VcoNyq4PG7+lFllDeM2vc0=; b=cQb+ZHgdKUdV1M1TIQdJmaPY5HsHwex6LDQk2Uv8x6/i9WJT0APstdlIYYnLz0QxjPZEVi iuJ9rXcEG7lEXdgTJH9N7yOFgATaZtWEj84yEGLRSXp69VrywTbiQv0OgWcRSvJ2MPXiWh SrT0xjDJsyr2hrz+fKloIMlCBa6Rz94raEe7FulxqqE6G1d6UG56C4/2KLJFw/ZIjQyNaP c8IDtvgysjPB8tZgrDZS0fq5tvc7dapZWrA3YscXRWnU9t2Gf+jDNqy9qddI/saYlupqY6 yYxHx/5doy9CV6NceSNseDw6Fg02bTxROpA4ar5STBA75SeH2mI2hbJ5g+IOrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698658298; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TuyoT6pqInbjG7S7h3UN4VcoNyq4PG7+lFllDeM2vc0=; b=M4j3+DDJ4z+2wlnzfV8knOTeJv5gUuo2VrBpdt0KsQMVMzJH2IeZixqrVia/tp+0jc7nQJ lyVZlNKiN1yIV45bMIVAqtw/lGkHobU1yTpBRdjv9I5eJ6VFQBXbou5AW5/6RI0OyZYSUr dE4IDNe0pnkToy3U/ywERL0Q2Lp382KwwkyORhvqQ5ghLfqEqWP9hn4vCRZvmQSI4to2hY yIw9mG8qVggmtdLfw8j9zXT23ZqsDmWliVSCJPi5NONYlBaK5twp3bsR+263/syzR+3nh9 KtfwGF3HclBL11eTgKA6JB17zPl2WbRbxJa7MdslCuphtsn8ZkSThq2nZ3Vg8Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698658298; a=rsa-sha256; cv=none; b=GlzhsqH9u7yxypsL5Iz+JiYgYQm9u5wTDowiMPZjWtvJIdZAFLZnH56NLk6FsRmwxvIqnY +OEu/fivhw6+vW1plQNs3RTbUtqziA42XqISOtRm8fr5c1Aaq2n+sXVV/i66CIJ/hmi+fl 75l5jdyQzUiba4gARxA3GW0QdBjekZaUNhpTSOKEWj8QxL890P8/1mEbkPt12Djwm5Ym+E OJ2yunito3o2doop9jxQW3Zc9HFjoIRHYdLAahcugplwy4nIV/vq8Fd1lvhsKtlQSWbQFX qmY4MWs/QEWiWnOv9xwNRFrdw4Ioca1iE5ACGXsE/YhGrU1QjVi9aE4B21E2cg== Received: from smtp.theravensnest.org (smtp.theravensnest.org [45.77.103.195]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: theraven) by smtp.freebsd.org (Postfix) with ESMTPSA id 4SJp1k0QHlz173q; Mon, 30 Oct 2023 09:31:38 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from smtpclient.apple (host86-160-239-28.range86-160.btcentralplus.com [86.160.239.28]) by smtp.theravensnest.org (Postfix) with ESMTPSA id 324039443; Mon, 30 Oct 2023 09:31:37 +0000 (GMT) Content-Type: text/plain; charset=utf-8 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: problem linking kernel From: David Chisnall In-Reply-To: <8e5b7eea-cfb-1cbb-8eb-18ea18b230d4@puchar.net> Date: Mon, 30 Oct 2023 09:31:26 +0000 Cc: Mark Millard , Dimitry Andric , FreeBSD Toolchain , FreeBSD Hackers Content-Transfer-Encoding: quoted-printable Message-Id: <1DAF5482-74BB-41AA-A680-3839616C20A5@FreeBSD.org> References: <8e5b7eea-cfb-1cbb-8eb-18ea18b230d4@puchar.net> To: Wojciech Puchar X-Mailer: Apple Mail (2.3731.700.6) On 29 Oct 2023, at 19:05, Wojciech Puchar wrote: >=20 > right but anyway it was my fault i for some reason some time ago = changed $PATH so /usr/local had precedence. That is a common setting and I don=E2=80=99t think it should break the = build. Both Clang and GCC support a -B flag that specifies the = directory for the tools to use. We should probably be passing that from = the build system, since the FreeBSD built system has a notion of tool = sets and where they come from. David