www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/02/21/06:17:51

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 51LBHo3E788836
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 51LBHo3E788836
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=yaqSJJKh
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0F693385841E
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1740136669;
bh=gQ6We4J0dpokaUjAuD7zOFW6c0Glx9FhKl+dZt0eLNw=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=yaqSJJKhG4SULxwuXd/jADvKCDFs/0uAUrImQu/r3626rB5FMgtwwlObpkQ43K56b
NKn9kCNHTYS9XcsX8XIekaQUWojU5pZnTCeSKW7rslV5eFUCo5xFfW/0FnoEKv+gWw
alQdI+Y0EZPWGqUzFlpNvswhc54JM0/8XrlZJVZY=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B23F23858C42
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B23F23858C42
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1740136587; cv=none;
b=ldxtIa6tegnkERUOEGgZnGZzlkwYXZgvlZ4PlP2+52W1oW0uVQwRLWO1N26C3CFiJeXI4l2QzsauyMgGra/vsXk2K4r7o1YcjuUvQ4iwTj5qkThcjuwQK0Y6BU7iEsBzrUH2E+fZBOexp71VGFFtoyJ7NsDFXPZUVJ+iT6vaOao=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1740136587; c=relaxed/simple;
bh=zYdTOoS3WUK2wPtDLP1AbXVYHIOT5VsPgWrHCK7YbJ4=;
h=Subject:To:From:Message-ID:Date:MIME-Version;
b=SF6jwTvhdXbyX/B343t03ezxgPyuf9m7AvWI72u+V/+HeLoh2zlvIlKHoR9lZxKXViXPf5gwM4g6cmSPdicIhrmSfpRuISSRaOnjmp/GrtCcS7ag/UrFyzOhOuuL4MS4HY98mP62DXCENlLeF/Fp812uqnocxoiZA8TYXO10vDU=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B23F23858C42
Subject: Re: cygwin 3.6.0 vs. libbsd 0.11.7-3: -lbsd breaks setproctitle()
To: cygwin AT cygwin DOT com
References: <4250e737-217a-2b55-c6df-8567b283da15 AT t-online DOT de>
<Z7XMsdPjKyaOrNIQ AT calimero DOT vinschen DOT de>
<e364ba68-bafd-c79e-abbf-d1382e6d3463 AT t-online DOT de>
<Z7XfUHzBmGikTBqf AT calimero DOT vinschen DOT de>
<Z7X6vnVOxIz13Hue AT calimero DOT vinschen DOT de>
<Z7ZJSzkfA6AMBjtD AT calimero DOT vinschen DOT de>
<2b2f037c-eb06-1edb-bd45-e72e9498af05 AT t-online DOT de>
<Z7b4Wl_8HYaboYaL AT calimero DOT vinschen DOT de>
<Z7b5kJPe0JHuJD9H AT calimero DOT vinschen DOT de>
<Z7cIqkFyB8YFkLu8 AT calimero DOT vinschen DOT de>
Message-ID: <f898fe28-7142-4122-be0b-054c8a003109@t-online.de>
Date: Fri, 21 Feb 2025 12:15:43 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101
SeaMonkey/2.53.20
MIME-Version: 1.0
In-Reply-To: <Z7cIqkFyB8YFkLu8@calimero.vinschen.de>
X-TOI-EXPURGATEID: 150726::1740136543-EB7FC5D5-9A283BB5/0/0 CLEAN NORMAL
X-TOI-MSGID: d1ee445b-21c9-4c26-9ac4-21f2384a7739
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Christian Franke via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Christian Franke <Christian DOT Franke AT t-online DOT de>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 51LBHo3E788836

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  <none>  000a  arc4random
         00b9d488  <none>  0022  heapsort
         00b9d490  <none>  0025  mergesort
         00b9d498  <none>  002e  radixsort
         00b9d4a0  <none>  0034  setproctitle
         00b9d4a8  <none>  0035  setproctitle_init
         00b9d4b0  <none>  003f  strlcat
         00b9d4b8  <none>  0040  strlcpy
         00b9d4c0  <none>  005d  wcslcat
         00b9d4c8  <none>  005e  wcslcpy


Build with libbsd 0.12.2-2:

         DLL Name: cygbsd-0.dll
         vma:     Ordinal  Hint  Member-Name  Bound-To
         00ba1490  <none>  0021  heapsort
         00ba1498  <none>  0024  mergesort
         00ba14a0  <none>  002d  radixsort

         DLL Name: cygwin1.dll
         ...
         00ba1610  <none>  00c5  arc4random
         ...
         00ba20d0  <none>  0544  setproctitle
         ...
         00ba22b8  <none>  05b1  strlcat
         00ba22c0  <none>  05b2  strlcpy
         ...
         00ba24c8  <none>  067b  wcslcat
         00ba24d0  <none>  067c  wcslcpy

-- 
Regards,
Christian


-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019