DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5A9G38eX608887
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 5A9G38eX608887
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=mneK4Zh1
X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2E6553858C54
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1762704186;
	bh=dul3wc/9x20DByzvuQQxsxhcltwRDKEdGpmkoDXj04Q=;
	h=To:Subject:Date:References:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=mneK4Zh1raS66MYLittUQJ481zRoQdNsOw6npwE7F/KPyzLPMNXRdNWe4WFKPN2bQ
	 bJIprzORhdg6iy38a7boTpqLUTRPNxBERHyBsySHpqUA4Ez4BAGsfNskaRrBFfv/DB
	 dCH+zErrxnNHuGVmb7v2GXWqzebNaMhays4O8T/M=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9CD8B3858D33
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 9CD8B3858D33
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1762704163; cv=none;
 b=lYCZ/VdbBTOJqkBDEiOGX+hI2HX6i3q9tG4xV5FcRUqaCADMi175HOh1oCAA8NzL+lSgdu06boxpWQFnW7eXjt0yJVmpOA1lO/+flLn2jnNcqhl1N+3E5BY8Xev/5nOomZCWREWoLjy7csxH9usiLGrhovR/UHzzxRFdmoawQG4=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1762704163; c=relaxed/simple;
 bh=2gpHUNRAyGzkFl0M3Zk0sEnkq4Cds3y/gfpwCS0Nnn4=;
 h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;
 b=bEkYewIhrzJaqB178XXKQmYdPaEaObqw6hfa5daSawE9ViPAS27fHqYk2Hlhwa3blAOZL2aJbQYjJkp127h/llOFEW8RLCrZOqIWaox8tZsvMR3ybVYX67pBoIiH66b7mgw9TWoFcVsKMaRSV5vpEY2eQuOrFIzVUULag16DoZQ=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9CD8B3858D33
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1762704163; x=1763308963;
 h=content-transfer-encoding:mime-version:in-reply-to:references
 :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to
 :cc:subject:date:message-id:reply-to;
 bh=2gpHUNRAyGzkFl0M3Zk0sEnkq4Cds3y/gfpwCS0Nnn4=;
 b=UyemACUG3SyL7OPGY+Ofn6PB7BQ3+ixpqdIVAVu7x2pwdG1ZY6A0vUy0R4ft9AscOJ
 lu2cbhykutvZe8MOlyLSjQRbiZnNmewdvbW+LDo8+h7drWOE0pTufqB7zM0aMF/SuQj/
 zxU/pOIVSKqDiS+dFY79ybhFRMSbn2gqwB6Je3x2sCgTTRMuTOrVgi/D1uFOc3rm5pU0
 scktLHw769V6ML8Qv+3zrxgOLaGtEz2PBaDaFhvMDoCOeGgev6Me5m9F/tJOoQPC2lD9
 GL/6hQJSNOzUa79o4ViycvN6SbR6LmfMVWciOk0G0FazxadJn7EAniWqQzTbRtAE9D0D
 rH4g==
X-Gm-Message-State: AOJu0YyrW8Y7l3ks4VZjGW7dJeI1t1N/Mj0vnSo/uZmiqy8uoBHNqlPN
 0mJxckDNZ492WOUwQWHP3N70inLIcr4lNJwm+qATaw04FJXPi1v+DD1/DmQILGq0
X-Gm-Gg: ASbGncvor3giN1TLgBwMKAGtF4iEBeVPB0LCzf9jSWNHK/IyVZc2WWocIQGiBhXHRnX
 Ji/NbDejuJPFfzOD9UANelPvJK5VyKM0bXPPyNczW8v8gD6jeR9qsbLHs0TRuBtxsV48sDTgA5X
 Hhf4vy1TtCzMUa84WjptkHSSSQHJgU+cwzC5qby4GGfwZd5grKx/5a/KlEDlQWYfYiRz6I+OgG7
 hZuyes5CUau5W1p8qwgygXSNSrtb9lrmK3/q7ROLxHXf5cK94qb6Qlwn78eUYH//tAwhg9vyKK6
 BJfC+lrihRs+J+JZvT4g3lHyCx1XI8hptuBI2sQ8BCbjuRdPYHxIFr4ZHTVTuAjR8knxIUvSZGH
 11U8G3Hk4y48L5KJrXl8WgOPVBd4rv5jR22BNO9of0M8UHHCULwSJstlCPW2bm9touh+MEa7OY2
 C38FHglwMOSz3T4lKBnGY1B/NGNAUG6plQrgceEY/xpKKLvxcbdVg=
X-Google-Smtp-Source: AGHT+IGMArZ+It3VTpcrAFSVL0SgJU4Vj4mnJ7X4ce1He9qMT6DeMJWxYZkJlBVMh44LUgrmPX5OxQ==
X-Received: by 2002:a05:6214:240c:b0:77b:2925:a85b with SMTP id
 6a1803df08f44-8823866c6e7mr66724446d6.44.1762704162742; 
 Sun, 09 Nov 2025 08:02:42 -0800 (PST)
To: cygwin@cygwin.com
Subject: Re: libargp package breaks getent utility
Date: Sun, 09 Nov 2025 11:02:42 -0500
Message-ID: <qoe1hk5q6n28r3892omhf271gdgbma7hsb@4ax.com>
References: <CALXu0UfOCJ=svwfY4-4FAT+pPiNbcm6AZ=Wyv_Wi+57med6Hdw@mail.gmail.com>
 <CALXu0Ue69cwiE=1dmEMn2X8ocBXNYoq+2A8frPtX5CCp-25Seg@mail.gmail.com>
 <e697423a-c10b-1a81-5d95-1d922245feff@t-online.de>
 <0cde1aff-838d-d9d9-1ac7-192ae5291335@t-online.de>
In-Reply-To: <0cde1aff-838d-d9d9-1ac7-192ae5291335@t-online.de>
X-Mailer: Forte Agent 4.2/32.1118
MIME-Version: 1.0
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Andrew Schulman via Cygwin <cygwin@cygwin.com>
Reply-To: Andrew Schulman <andrex.e.schulman@gmail.com>
Content-Type: text/plain; charset="utf-8"
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 5A9G38eX608887

>A message box shown when running an affected program directly from 
>cmd.exe reveals the problem: Entrypoint "argp_parse" is missing.
>
>$ objdump -p /bin/cygargp-0.dll | grep argp_parse
>         [  56] +base[  57]  0038 rpl_argp_parse
>
>Previous version:
>
>$ objdump -p /bin/cygargp-0.dll | grep argp_parse
>         [  24] +base[  25]  0018 argp_parse
>
>
>Current <argp.h> actually maps 'argp_parse' to 'rpl_argp_parse':
>
>$ printf '#include <argp.h>\nargp_parse' | gcc -E -xc - | tail -1
>rpl_argp_parse
>
>$ grep -B1 rpl_argp_parse /usr/include/argp-config.h
>/* Define to the name of argp_parse outside libc. */
>#define argp_parse rpl_argp_parse

Good grief. Thanks Christian. So I see a few possible solutions to this:

(1) Recompile all of the Cygwin programs that use argp, so they call the new
entry point rpl_argp_parse, aliased from argp_parse. (I don't really want to
do this)

(2) Patch the gnulib source to make argp_parse a function that points to
rpl_argp_parse, instead of just a #define.

(3) File a bug report with the gnulib project and see if they'll fix it.

While I sort that out, I'm going to release another update that will revert to
the previous release. That should get everything working again for now.

Sorry for the trouble, everyone. This was a breaking ABI change and
unfortunately that meant that it passed all of our tests with newly compiled
code.

Andrew

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

