From nobody Tue May 06 18:25:09 2025 X-Original-To: current@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 4ZsRdw4kTgz5vD8M for ; Tue, 06 May 2025 18:25:24 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (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) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZsRdw1MN6z3GtT; Tue, 06 May 2025 18:25:24 +0000 (UTC) (envelope-from kostikbel@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: from tom.home (kib@localhost [127.0.0.1] (may be forged)) by kib.kiev.ua (8.18.1/8.18.1) with ESMTP id 546IP9bd043548; Tue, 6 May 2025 21:25:12 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 546IP9bd043548 Received: (from kostik@localhost) by tom.home (8.18.1/8.18.1/Submit) id 546IP9ZU043547; Tue, 6 May 2025 21:25:09 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 6 May 2025 21:25:09 +0300 From: Konstantin Belousov To: Ahmad Khalifa Cc: current@freebsd.org, Olivier Certner Subject: Re: How to build with cross gcc? Message-ID: References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on tom.home X-Rspamd-Queue-Id: 4ZsRdw1MN6z3GtT X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US] X-Spamd-Bar: ---- On Tue, May 06, 2025 at 12:49:32AM +0000, Ahmad Khalifa wrote: > On Wed Apr 30, 2025 at 8:58 AM +0300, Konstantin Belousov wrote: > > exa% pwd > > /usr/local/x86_64-unknown-freebsd13.5/bin > > exa% ls -l cc1 cc1plus liblto_plugin.so > > lrwxr-xr-x 1 root wheel 60 Apr 30 08:49 cc1 -> /usr/local/libexec/gcc/x86_64-unknown-freebsd13.5/14.1.0/cc1 > > lrwxr-xr-x 1 root wheel 64 Apr 30 08:49 cc1plus -> /usr/local/libexec/gcc/x86_64-unknown-freebsd13.5/14.1.0/cc1plus > > lrwxr-xr-x 1 root wheel 73 Apr 30 08:49 liblto_plugin.so -> /usr/local/libexec/gcc/x86_64-unknown-freebsd13.5/14.1.0/liblto_plugin.so > > If this was installed from FreeBSD:14:amd64/latest shouldn't GCC's > target be 14.2 instead of 13.5? I use the same package set on all my machines, which is built on 13.5.