From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 31 Jan 2025 16:41:26 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tdt92-006nWS-36 for lore@lore.pengutronix.de; Fri, 31 Jan 2025 16:41:26 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1tdt93-00068p-8S; Fri, 31 Jan 2025 16:41:25 +0100 Received: from imap4.hz.codethink.co.uk ([188.40.203.114]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tdt8l-00067z-7F for ptxdist@pengutronix.de; Fri, 31 Jan 2025 16:41:09 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=codethink.co.uk; s=imap4-20230908; h=Sender:Content-Transfer-Encoding: Content-Type:Subject:From:To:MIME-Version:Date:Message-ID:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=mqwiwrpWzFMpFPYznMsrZHiTlqxKsNJgiYXcY2G1XoU=; b=TYw2MXdWvxZqwM/CGL+C6lGr7J AcQypZ9q6080Ka4nbQ9eiH1GQJl4eFz/IK/r/+hhWwCA9CjmzbqvIBB5LaMV/FrAcK1erVYStGIfy hTDnOcVZRcB5g1ZtGHFyo0A4d5TTacqdpXSm7blRrY1OaCmiFwg0uPnInlYYgz30RLgiG3KNm33bx P58SfQ5zn083HRz++4fmBMAK6IpPYAV1oxYQhxRmuIFp+jWGyR/nAk88nNjccG9LhjhvXNuN74xrl sqvZO9sWNO2tuHYMAG2Fq/l/bhUdNPSH0DmMALeW0/2uARgmUUAymEg0AeWhVqp77RgygEfqrUYKh SraKHBEg==; Received: from [167.98.27.226] (helo=[10.35.5.103]) by imap4.hz.codethink.co.uk with esmtpsa (Exim 4.94.2 #2 (Debian)) id 1tdt8k-009ibU-0W for ; Fri, 31 Jan 2025 15:41:06 +0000 Message-ID: Date: Fri, 31 Jan 2025 15:41:05 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: ptxdist@pengutronix.de From: John Graham Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-1.4 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] Building x86_64 without host libs (e.g. zlib) X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false I'm trying to build an x86_64 toolchain that's independent of the host. By default in the ptxconfigs/x86_64-unknown-linux-gnu_gcc config, it has e.g. `PTXCONF_HOST_SYSTEM_ZLIB=y`. I expected I could set this to `=n`, but when I do that, `ptxdist go` fails with: ``` ptxdist: error: 'host-system-zlib' is not selected. ptxdist: error: This can happen if the ptxconfig is outdated or ptxdist: error: the package is disabled for the current architecture ``` Can anyone tell me if this is the proper approach to disabling use of the host libraries, and/or what I'm doing wrong? Any help appreciated! -- John Graham (he/him) Software Engineer Codethink Ltd 3rd Floor Dale House 35 Dale Street Manchester M1 2HF United Kingdom Codethink delivers cutting edge open source design, development and integration services. http://codethink.co.uk Office: 0161 236 5575