From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id oFCSEzCNDmfMpQAAe85BDQ:P1 (envelope-from ) for ; Tue, 15 Oct 2024 15:41:36 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id oFCSEzCNDmfMpQAAe85BDQ (envelope-from ) for ; Tue, 15 Oct 2024 17:41:36 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="pSoS5/3L"; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="aQUQJ5b/"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729006895; a=rsa-sha256; cv=none; b=MmL2H0Bj4n9sdWbM3fa6cuVooYdfCuJlYIRO68VcKC+8GsPAWNtRs+IRqgIN36EyVnZCxS eN5f55hco9SBYLoz6dqkOUnKXYw1/L1NNDv383pKsX2y5QSToDgmrhw6dw5GlVIcEd8snc 6eBT27mXOW2OC551Js2G9WF6T1wUaSXsB+VrlpT6WrEfRJiZkPFddX9OPn7GJy8HpfCRnD 6KbGuy0Iubkpm0gPi8+YpELSsArrnYizpU7HihHqZbI9oH+hoof8z+WNNbJbt2pQxztRIE +4nNFhS2RyU5Qfvz7Ve7g5KsCmfh9N3hzntdS/KqKk6wL7/R2ZROhket3Q+fBw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="pSoS5/3L"; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="aQUQJ5b/"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729006895; 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:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=BjSleo+TPae4TFcDbTuNXr/2pZILtCw34+SKVEfAbXo=; b=NijEZLVcCdaiSxRFjwJvkYQFQSZ70I8Y8BigyvOCnEKZ2uCteSKrp9DKzrfPtBk/SAOa5v FuR5jQhalxdBa+mnVDWdVcvYnYuMb44BeqzZrK3YkELBH3U2JrATLynP1AJ3XSxEsRCvke ImT9TPsqhxk+vPkSVkq/czR6ruiJm2tJNx+UcjlHMaD2uGZGXPjwjmmB/NKS5E6v5fr4n6 /1x2NJKh8ShH0aXFNOtE2T9uDeOnnLZ6vY5GijO/jp7nvsjF5mwgZeT7GJwAEeDO93XSrO SN3grLYEEIsQkrpZYnQpKWfFpMvS12aCTvnn0BrIy2thJRk4Cry0k1XVPxurIQ== 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 D43781BF85 for ; Tue, 15 Oct 2024 17:41:35 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t0jfH-0004Hu-P3; Tue, 15 Oct 2024 11:40:51 -0400 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 1t0jfC-0004BC-WB for guix-patches@gnu.org; Tue, 15 Oct 2024 11:40:47 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t0jfC-0008Gj-Me for guix-patches@gnu.org; Tue, 15 Oct 2024 11:40:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=BjSleo+TPae4TFcDbTuNXr/2pZILtCw34+SKVEfAbXo=; b=pSoS5/3LMQXvTioeU8XR0Ml7AAhyDyuvTNzPdoo7kvG+pq34OeLOHT1HN82lednU4pP4YnwPUy0gKUIdmdUQh6VGbvBweuUOm+bmIS6bta9aekCM/47xzOKQRokDCZ4BKFEQweUS65ruoprx9rs5VBT2gPdYA4ZNizUuDG5WfW/OGRO81IJcTIGAYWoaZ3NlKX8TWB8WNZ/DJYhIPE3QcEVFfeFWLnCQ0v3kShyE10oWyqqGxD6FM8DbQxknhZK/b0LvOzf8ryEdNHIyLpM04yuUHpr5NnSeqG+O5KMq2q6eB1GH++WEI6czM2or8h03T84x64DrhakCyv2JiOGeWA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t0jfU-00028j-Vg for guix-patches@gnu.org; Tue, 15 Oct 2024 11:41:04 -0400 Subject: bug#73006: [PATCH 0/2] gnu: glibc: Fix cross-compiling. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Tue, 15 Oct 2024 15:41:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 73006 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Zheng Junjie Cc: 73006-done@debbugs.gnu.org Mail-Followup-To: 73006@debbugs.gnu.org, ludo@gnu.org, zhengjunjie@iscas.ac.cn Received: via spool by 73006-done@debbugs.gnu.org id=D73006.17290068137692 (code D ref 73006); Tue, 15 Oct 2024 15:41:04 +0000 Received: (at 73006-done) by debbugs.gnu.org; 15 Oct 2024 15:40:13 +0000 Received: from localhost ([127.0.0.1]:56499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t0jee-0001zt-6m for submit@debbugs.gnu.org; Tue, 15 Oct 2024 11:40:13 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47048) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t0jYh-0001gM-SO for 73006-done@debbugs.gnu.org; Tue, 15 Oct 2024 11:34:05 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t0jYH-0006MA-Oy; Tue, 15 Oct 2024 11:33:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=BjSleo+TPae4TFcDbTuNXr/2pZILtCw34+SKVEfAbXo=; b=aQUQJ5b/nlB+83O1TVE8 Gp9IlZjfZvKTXdzriwIh3k3pAXuUsr9XnEMpPecVRxH9H6zvd4wQ7tqSXpKRs9jzLw1lXXBZfwQ5r R8GcYS21x2eoe9p9Ml+IhmtVeieuq4OQwig/UVSxm9vWMZIK3+v8fjVNql9JWgZyvHS3vtB1lAKHU cIx76Uua03jRknawOkpWSDClp/ji2AwijKT9TdR5henQXeQ+eLtylwwJIroWPvPlcQ5lB/Ms3CrDw Eoycd8rC7vZqfCHESmWPhutFKvuyC5HJqzsjuoFfqpFpqEInBu2iVrdu8ahGjdGC1zVUnmfKq8gVC NXLhv+wQM6IyGg==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87a5gm2j47.fsf@iscas.ac.cn> (Zheng Junjie's message of "Thu, 05 Sep 2024 23:52:24 +0800") References: <87o753baq9.fsf@gnu.org> <87a5gm2j47.fsf@iscas.ac.cn> Date: Tue, 15 Oct 2024 17:33:33 +0200 Message-ID: <87o73lxtwy.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 0.28 X-Spam-Score: 0.28 X-Migadu-Queue-Id: D43781BF85 X-Migadu-Scanner: mx12.migadu.com X-TUID: rVyD26txxplV Hi, Zheng Junjie skribis: > Ludovic Court=C3=A8s writes: [...] >> thing, as suggested in the discussion at >> , >> and that means =E2=80=98objdump-for-target=E2=80=99 & co. shouldn=E2=80= =99t be necessary. >> >> Ludo=E2=80=99. > > glibc 2.35 have "glibc-cross-objdump.patch" and "glibc-cross-objcopy.patc= h" > patch, but glibc 2.39 not have them, so 2.39 cross compiling try use objd= ump > and build fail, and 2.35 success. The reason 2.39 doesn=E2=80=99t have these patches in Guix is because they = were integrated upstream, if I=E2=80=99m not mistaken. Or am I missing somethin= g? > I checked again today. because (gnu services base)'s nscd-configuration > default use glibc, not '(cross-libc target)', This is why glibc was > introduced. Maybe the following patch can also be useful. > > From f23d1e48bd0fd9d3b66cbc831cc40f475faff7a4 Mon Sep 17 00:00:00 2001 > Message-ID: > From: Zheng Junjie > Date: Thu, 5 Sep 2024 23:48:34 +0800 > Subject: [PATCH] services: nscd: When cross-compiling, Use (cross-libc > target). > > * gnu/services/base.scm (nscd-configuration)[glibc]: When cross-compiling, > Use (cross-libc target). > > Change-Id: Ib219459b1ec28f7edfac075e70be3d61edf72d27 Yes, this one doesn=E2=80=99t hurt, applied. Thanks, Ludo=E2=80=99.