From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id BD87C3858C41 for ; Fri, 15 Mar 2024 17:08:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BD87C3858C41 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org BD87C3858C41 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710522499; cv=none; b=HmflW874gdXLZBS2H8sxffeFcB8y55ka8xs5f34Efx4lzP2I5ucoeoSVV5cK2w2lBojb+u7wYLMcNK1bFB8IEu7saeewg2TBi719svF98ySqkS/L+oubQ2mgnz94E2KLr2JmhPWGj4hqHFEM2sdWdjcPANQTeoihIYPF15KcLrw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710522499; c=relaxed/simple; bh=88scQpSaoM9aAVucKzEXJ6isDV333yqXVFILiBv2PvM=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=t++kyLGabhlwx8rs4aXZ30N6OKVz9OcYPo0M4TLMjnbycg+JWK4JKKIQ360SuCpKoZweCej1zE7LmdlZXV0YSoxRDtaVOT3llX62DVkzHd3LbXAA+KJ5KOD8s4Rp42lbCO/KekeM55TZD9vYC3LIXYJrsU30BxqMY7Kev/IwfJY= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1710522496; 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=i5zdc0Tvloc+rPDNwmvi65t9bBkq/ZYxrRRxGpGauI4=; b=NZ8AwVm+I2sKimBrCyDOXmpLL75gUVizvtlFxtTB+T8i9dwfBkWSvANSONQH4sI1YOs0yP bi6nxSnU5shG69TQNO/uDzFefF1Ixd3tXurDQIu/GITr+scJSo7XMngIkyUAUDLl/r1k0r JbwXOCT8KqRIh6MHyr4G6hiIzLR6TJo= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-693-ZB1Fs9AeOCifdT61ldaxyw-1; Fri, 15 Mar 2024 13:08:15 -0400 X-MC-Unique: ZB1Fs9AeOCifdT61ldaxyw-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B2016185A781; Fri, 15 Mar 2024 17:08:14 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.39.192.73]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D9E8A40C6CB2; Fri, 15 Mar 2024 17:08:13 +0000 (UTC) From: Florian Weimer To: =?utf-8?B?0JPQvtGA0LHQtdGI0LrQviDQkdC+0LPQtNCw0L0=?= Cc: =?utf-8?B?0JPQvtGA0LHQtdGI0LrQviDQkdC+0LPQtNCw0L0gdmlhIExpYmMtaGVscA==?= Subject: Re: libstdc++ link errors in support/links-dso-program References: <87msr0hs3n.fsf@oldenburg.str.redhat.com> Date: Fri, 15 Mar 2024 18:07:51 +0100 In-Reply-To: (=?utf-8?B?ItCT0L7RgNCx0LXRiNC60L4J0JHQvtCz0LTQsNC9Iidz?= message of "Fri, 15 Mar 2024 13:51:54 +0200") Message-ID: <8734srh194.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,BODY_8BITS,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: * =D0=93=D0=BE=D1=80=D0=B1=D0=B5=D1=88=D0=BA=D0=BE =D0=91=D0=BE=D0=B3=D0=B4= =D0=B0=D0=BD: > I'm not going to install it system-wide, just to build it for > cross-compiling a Golang project for a Debian Buster system, by > specifying -rpath and --dynamic-linker. Is this because you need a newer GCC? If not, it's easier to use pbuilder (or one of its variants) to build the program in a chroot with Debian buster. Many people nowadays use podman or docker with a Debian image for the same purpose. The pbuilder approach is perhaps preferable if you already build a .deb archive, and podman can be scripted more easily to build something that isn't. Thanks, Florian