From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 3146 invoked from network); 17 Sep 2021 14:16:28 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 17 Sep 2021 14:16:28 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1631888188; b=iKKQnN/0Ph4TZKeE8rg8SId6WYxaibsrNZN5gWFAWM3eV0HMMrFCa79x+Xgy/iZeEDYcxwFWnx RakhuBohayEV6g47lq5Fx0KOpuWRPpv9wea+9+HcrCW6kEmlFfbm2OI/8hyLulztTDozi4ksGA IXZWkJPLI6Brrx/CcjxHCKyPxUIfgVPF9HtzjxSiYuU6R4T2sF8sf0qt0SrnJUvRZGwOpo0M2y 4HWCPyP2pIwJB2cb8oaFZIfNOE5uaz/rCN/YwxKf8xfVx6qFdMX1WG8QZ8+SCfzjUaMPCB4ste NqEFP0cOJL015aFAqpZxShcTiGpCSOtZ+eI2d0Nguim6IA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (sym2.noone.org) smtp.remote-ip=178.63.92.236; dmarc=none header.from=deuxchevaux.org; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1631888188; bh=95tz942cygQVaCkMO/cfvs5jiatIUTHXxWG0iou39ZQ=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:To:From:Date:DKIM-Signature; b=VEPFZjzgGGX3JyrjYDs+m2InwWIgkhzJH3tpiluZoP+s1GI2wYNri7Qv6Pb6yjNkLRzvHpGZdd LNQ2yiZdGiM2qMvsgCF9/qD7p3Q3Lrv1wlbQor2rHZ2cBDWg8h9H+TflEg74XGOdoCn9m/5f71 nBliWB6vCVliDC+FD8IbkzmaiEgIDnPJphzT+Qg2UF7umcPmEbNstJ98qc31WeYvvqbXbEawVb kMve0SFEuSfOcYLn1u7uY7UUnu++28nmVnIbhOzQZnzi2NTp8RK6tFzy0cIw5QFRcAgNWfwyJu BGXozqLdrE9zlbniC40qhElCZhBPq67/ZeltEpQk4p7iuA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=zdWvL5RLKiJb3J5+C4uWzU+KQj6lfFdXOwhzSulMvxA=; b=IJaqV5ccZPa6znw1ipK+Vfvt5z ROwX+0kTJA49Vplef65xmheBgUftt+p0O1bmGDQahnmWIhDTwE2yKVYcMB2jz3e2Uvf4gSLt677bv DnpsBH/dGemrgB2H8s6aoEDccW6hGuLT2QupZNAM4x75S5WfLkmfcsyRN656MMbL2oUsOK8cc82PM nTyXvupsWt+RgeT5PW6OEw+/AHkThmsKQBkiUt5rkoCVfr0Ofxvc6I0NYhytSZLciXIO5X67Z5qzk UWqqcLmhUmbFiOTWczp0o4wkvUaZ/enpiZL0PtSfi3+1NBCNuasLybqnq2Qt4ht4GBQPQzWtjbnSS FelEaOOA==; Received: from authenticated user by zero.zsh.org with local id 1mREfE-000F2i-1U; Fri, 17 Sep 2021 14:16:28 +0000 Authentication-Results: zsh.org; iprev=pass (sym2.noone.org) smtp.remote-ip=178.63.92.236; dmarc=none header.from=deuxchevaux.org; arc=none Received: from sym2.noone.org ([178.63.92.236]:38398) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1mREez-000Emf-EB; Fri, 17 Sep 2021 14:16:14 +0000 Received: by sym2.noone.org (Postfix, from userid 1000) id 4H9wwr4F8szvjfm; Fri, 17 Sep 2021 16:16:12 +0200 (CEST) Date: Fri, 17 Sep 2021 16:16:12 +0200 From: Axel Beckert To: zsh-workers@zsh.org Subject: Re: [BUG] With --disable-dynamic-nss, not all functions calls are protected Message-ID: <20210917141611.wycuu5ve3kapjltz@sym.noone.org> Mail-Followup-To: zsh-workers@zsh.org References: <20210915143102.pw5uup7bvufi7wse@sym.noone.org> <887BC7E8-0D19-4D16-BFE6-9AE8EA5E9040@kba.biglobe.ne.jp> <20210916121056.p4zainnlnoi74yiw@sym.noone.org> <799F2EE5-EB83-49FB-9E5F-6C20CAB4CA6B@kba.biglobe.ne.jp> <20210917134439.l7yxmbp4ewajvjau@sym.noone.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: X-Operating-System: Linux 4.9.0-16-amd64 X-Machine: sym2 x86_64 X-Editor: GNU Emacs 25.1.1 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAAAAAC3mUtaAAAABGdBTUEAALGPC/xhBQAAADh0RVh0U29mdHdhcmUAWFYgVmVyc2lvbiAzLjEwYSAgUmV2OiAxMi8yOS85NCAoUE5HIHBhdGNoIDEuMindFS5JAAACGElEQVQ4jXXQMU8UYRDG8f8shNjdDH4AbpfGDjAWlKiJiZ0ajL1aGCvsNCbGaCGG1koLaztaTYz6ATy+gOyehYmF3MxVxgg3FnDsHcTpJr/M+8w7Rf6nCsaVTTDqxbg9hoOXmw83H71+Eyfg4E1d7/Z2fG9rGkZbTQiu+K+3U/C+76lmkvAhJuDndnoAiftou4V84okAGclop4U/jYACZDTxrYWP0gkxVfAm/W//GLZpxIzwIN0Hn8dw0B+IWkZmQmRsj2HfhwokEklHfNCCiQCRgAR7YyhQVRVTCKCzP4Y5zBBE0t0zY3Q8oQaBqqAMlVEcgVQd9706zGirAFium8HXumlMIeMwqQCInju+2+uB6MRENupdpMt8pRlHZyuAW0F+Mb6XSIVqtxjD+iVmVqqystLEzFTGT92YqRaXpNT5eTVjeJhbALPnrTxLUZUKZsgxcNm64hAOYisT/xhF+oKTGU5RegtC3Rt6eEDi/QnIevdTx9Md2EMmYBRmCQR1026FCGQQJJExsRUqgkMGaWSbwYLnoO4T6VgpbQbdELPMBAHWWrhYrcxXnYgAsatPWygkFCBD4K62MAsOTqA6szYRPpsu6e6Y8mPiVrBMNuGIMrgwBUu4p2DgG1Ownu6hpuTv7hScefHAzAC/yRRw5U5pALMbJ4AUALvHSZhxgHPXTsHcdWD1GadAHr9avP+c0wCr7263Df8ASLwXWHWs+KIAAAAHdElNRQfYBQEBODPr Organization: DeuxChevaux.org -- The =?iso-8859-1?Q?Citr?= =?iso-8859-1?B?b+tu?= 2CV Database User-Agent: NeoMutt/20170113 (1.7.2) X-Seq: 49426 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Hi Roman, On Fri, Sep 17, 2021 at 03:55:43PM +0200, Roman Perepelitsa wrote: > > Yay, this patch works for me! zsh-static built on Debian Unstable > > (glibc 2.32) no more segfaults when copied to and executed on Debian > > 11 Bullseye (glibc 2.31) for me. >=20 > If your goal is to create a binary that runs on any Linux x64 box > regardless of libc runtimes that may or may not be available on it, > link against musl libc. Thanks for that idea, but the main goal for now was to make zsh-static survive glibc upgrades in Debian (Unstable first and foremost). > Static linking against glibc is a lost cause. Not the first time I've read that, yes. > Zsh can link against musl libc out of the box. This is how I build > mine. I've just checked: At least bash-static, busybox-static and sash (static by default as that's its purpose) are built against glibc in Debian, so I'll probably stay with glibc for now in Debian's zsh-static package. Nevertheless thanks for that hint. Will keep it in mind in case we run into more severe glibc issues with static builds in the future. Kind regards, Axel --=20 PGP: 2FF9CD59612616B5 /~\ Plain Text Ribbon Campaign, http://arc.pasp= =2Ede/ Mail: abe@deuxchevaux.org \ / Say No to HTML in E-Mail and Usenet Mail+Jabber: abe@noone.org X https://axel.beckert.ch/ / \ I love long mails: https://email.is-not-s.m= s/