From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id Yj8bHAnPjGMLTwEAbAwnHQ (envelope-from ) for ; Sun, 04 Dec 2022 17:47:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id q/0mGwnPjGNUOAEAauVa8A (envelope-from ) for ; Sun, 04 Dec 2022 17:47:05 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 34560457E4 for ; Sun, 4 Dec 2022 17:47:05 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1s8Z-0005ha-C7; Sun, 04 Dec 2022 11:46:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1s8X-0005hR-Ip for guix-devel@gnu.org; Sun, 04 Dec 2022 11:46:41 -0500 Received: from mx2.dismail.de ([159.69.191.136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1s8V-0000YJ-As for guix-devel@gnu.org; Sun, 04 Dec 2022 11:46:41 -0500 Received: from mx2.dismail.de (localhost [127.0.0.1]) by mx2.dismail.de (OpenSMTPD) with ESMTP id 24ccecef; Sun, 4 Dec 2022 17:46:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type:content-transfer-encoding; s=20190914; bh=k1fU2bWU zIvV6ENxlMLHhzFHSfaYQvWwgyxVAaEXQrk=; b=SNdGgyen6gNSFA8Aa+WVax+L 9YaqMUnohar8NkhoGf3L7I5ZPP0rpM/tS7hSvT2GJ1mKby6nqR//w4FkLp8MxECp +TbLXYZAhGWCt/KOMLHpujIR99l4x4smRm3J43mNwou1JJii8LL7VafRCtZBa3no YGNK2A+IhwgetWy89rTzLK/aQuhQLdxcIKFK9QmM/0qK5TVX46v/OAPqNOaLvuZU o6shsVGRZaWkrM003bzE4ug7IEOjdjwWZW3CwaoEgUJAtLKtfnUFkd6TqAmUsvNc P5Eb3P/wpL4LgcYVln1KoEcBbvy/lUAVlK0IddZ6k9VWq/O2TRz5aHm0kB1EvA== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx2.dismail.de (OpenSMTPD) with ESMTP id a4c56fd9; Sun, 4 Dec 2022 17:46:33 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 6d829c83; Sun, 4 Dec 2022 17:46:33 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id aea36c89 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 4 Dec 2022 17:46:32 +0100 (CET) From: Joshua Branson To: zamfofex Cc: "guix-devel@gnu.org" Subject: Re: GMP GCC C++ Hurd cross-build failure on core-updates In-Reply-To: <1309771808.1564506.1670138591125@privateemail.com> (zamfofex@twdb.moe's message of "Sun, 4 Dec 2022 04:23:11 -0300 (BRT)") References: <1309771808.1564506.1670138591125@privateemail.com> X-Gnus-Sucks: I know man Date: Sun, 04 Dec 2022 11:46:29 -0500 Message-ID: <87o7sj15i2.fsf@dismail.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=159.69.191.136; envelope-from=jbranso@dismail.de; helo=mx2.dismail.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670172425; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=k1fU2bWUzIvV6ENxlMLHhzFHSfaYQvWwgyxVAaEXQrk=; b=HNnaxXuhnxXGtSPGX/iRT+ZPyhYxPok9bKT4DtUBV8bgC08lb6WzDQEwjmOiUtQJ1TWRHL 2YIJy9rXHVAOfWKGoV07r6JxWX22dLXJwZy8JogOqaWBv6O/H8d/xhuwYbjjKEotsarsHg TLzemLJWkME3b3q0UpeIJD68g10h5vqR4TbuTlaajgNcgNIk7qO8gzTKfN9iCs6cOsCgoa p2ouFM2FtOiwDtcmDPWv4f0NWTLs47qLesgyIb3xEdti6xIVW5YvWvZJcGjOA4B8P0buRg zS+OkAD0qk30Gq2Cb8BPuu3Bj7lGv+f68hDh1Regk5RApJaZfVCRDavJdCpQjQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670172425; a=rsa-sha256; cv=none; b=g/+iqdKNHiabvoSg/uFJase1o3UnuQZu8hKkqRb3S+vpuCOWcSvj8DUkNCbdw0nU1tOQQF BpdTkjYQZvVwuRMA+NHTM3nZGKPtBjDGfON8Mb2A3KF8amAvIxFJs5yMReLlG4znKd4yO7 44tzWFQp5UZ/nviy1ZLPq6nFD3M2gorrgUeMTBETh4QJtTwyHOcsGeMZfruwRMds3EBAMr 7IcyYRBzPXX7/rqCr2ETbVVJvZ8ywh0nHU4jddZm9m1bn/2J1XXhsJ8I5QnpOX3L3FIQ0M 8yrzA7RDMj9wj5dva8K3vTfoFilEXviEXQ28XCBp/7meuZ0cC68sBxeB0b7vhQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b=SNdGgyen; dmarc=pass (policy=reject) header.from=dismail.de; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -8.26 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b=SNdGgyen; dmarc=pass (policy=reject) header.from=dismail.de; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 34560457E4 X-Spam-Score: -8.26 X-Migadu-Scanner: scn0.migadu.com X-TUID: rzAgGsD5aBX5 zamfofex writes: > Hello, Guix! I have been trying to update the Hurd packages to their late= st > commits in the hopes that I can eventually get networking with netdde > functioning. > > In , I got something that seemed to be > working at first (at least it progressed farther than the status quo at t= he > time), but eventually I got an error that seemed related to Mig, which I = had not > updated in that patch set. > > Updating Mig required a more recent glibc than what was available in Guix= at the time, so I worked on to update = glibc. > > Now that the recent glibc is on core-updates, I picked up my work once ag= ain. I > updated the packages to the latest commits, and updated Mig! However, I r= an into > an issue while trying to build a system image. The issue is that GMP fail= s to > cross=E2=80=90compile during the =E2=80=98configure=E2=80=99 phase becase= the cross=E2=80=90compiling =E2=80=98g++=E2=80=99 is > not functional. > > When checking whether =E2=80=98g++=E2=80=99 can compile executables durin= g =E2=80=98configure=E2=80=99, =E2=80=98g++=E2=80=99 is > unable to link the executables because some =E2=80=98pthread_*=E2=80=99 s= ymbols required by > libstdc++ are missing from libc. And when checking using =E2=80=98readelf= =E2=80=99, they are > indeed missing from the cross=E2=80=90built libc, which instead contains = similar > =E2=80=98__pthread_*=E2=80=99 symbols. > > I don=E2=80=99t know for sure what the issue is, but I highly suspect lib= stdc++ is being > compiled against the native glibc headers, rather than the cross=E2=80=90= built glibc > headers like it should. > I am way out of my depth here, but would it matter that on the hurd pthread is not in glibc? https://lists.gnu.org/archive/html/bug-hurd/2022-10/msg00069.html > > Note: Currently, trying to cross=E2=80=90build packages from core=E2=80= =90updates for the Hurd > will fail while compiling glibc, since the Hurd package is too outdated f= or that > version of glibc. > > I=E2=80=99ll attach a diff (for core-updates) with the updated Hurd packa= ges to this email. To verify the behavior I=E2=80=99m describing, try runni= ng: > > - - - - - > ./pre-inst-env guix build --target=3Di586-pc-gnu gmp > - - - - - > > Any kind of assistance would be appreciated! Thanks in advance.