DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 51LBo1W6800424 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 51LBo1W6800424 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=T7LZZ5XM X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 78A5A3858401 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1740138600; bh=/Cv4j6Y+yBjP2dvVSE2lNt/VUAnJ8STPzETYF5nsnJs=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=T7LZZ5XMdZigzoj45cIJPklH+wUzsULdItWntPM0CWHIjA9dVNOgbGcUOx08MHrzC 899rw/V2Tx3dFY6rmZA7DJ1MnUL+V6hKOGyf6GVpU8ITbmFPntBNQ1QqZLODQrQVEl b4YX+WA3X4BkgYYy3QpgDEVlnrqN0WlkpLi97zc4= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A7AB43858405 Date: Fri, 21 Feb 2025 12:48:52 +0100 To: cygwin AT cygwin DOT com Subject: Re: cygwin 3.6.0 vs. libbsd 0.11.7-3: -lbsd breaks setproctitle() Message-ID: Mail-Followup-To: cygwin AT cygwin DOT com References: <2b2f037c-eb06-1edb-bd45-e72e9498af05 AT t-online DOT de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Corinna Vinschen via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Corinna Vinschen Content-Type: text/plain; charset="utf-8" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 51LBo1W6800424 On Feb 21 12:15, Christian Franke via Cygwin wrote: > Corinna Vinschen via Cygwin wrote: > > ... > > > > I just deployed 0.12.2-2 as test. Apart from setproctitle{_init}, it > > also drops exporting the following symbols already exported from Cygwin: > > > > arc4random* > > explicit_bzero > > fpurge > > getprogname > > reallocarray > > reallocf > > setprogname > > strlcat > > strlcpy > > strnstr > > wcslcat > > wcslcpy > > > > Given cygbsd-0.dll still defines these functions, it should still work > > with older executables. > > It does, at least with the subset used by stress-ng. A rebuild links and > runs as expected: > > Build with libbsd 0.11.7-3: > >         DLL Name: cygbsd-0.dll >         vma:     Ordinal  Hint  Member-Name  Bound-To >         00b9d480    000a  arc4random >         00b9d488    0022  heapsort >         00b9d490    0025  mergesort >         00b9d498    002e  radixsort >         00b9d4a0    0034  setproctitle >         00b9d4a8    0035  setproctitle_init >         00b9d4b0    003f  strlcat >         00b9d4b8    0040  strlcpy >         00b9d4c0    005d  wcslcat >         00b9d4c8    005e  wcslcpy > > > Build with libbsd 0.12.2-2: > >         DLL Name: cygbsd-0.dll >         vma:     Ordinal  Hint  Member-Name  Bound-To >         00ba1490    0021  heapsort >         00ba1498    0024  mergesort >         00ba14a0    002d  radixsort > >         DLL Name: cygwin1.dll >         ... >         00ba1610    00c5  arc4random >         ... >         00ba20d0    0544  setproctitle >         ... >         00ba22b8    05b1  strlcat >         00ba22c0    05b2  strlcpy >         ... >         00ba24c8    067b  wcslcat >         00ba24d0    067c  wcslcpy Cool, thanks for testing! Corinna -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple