From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by sourceware.org (Postfix) with ESMTPS id 52D5C3858D35 for ; Mon, 24 Jun 2024 20:52:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 52D5C3858D35 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 52D5C3858D35 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::32d ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719262376; cv=none; b=rwRtQSqOmSnwgV7BWc3Oe73+IJtXcNXtpqTtcuL9DW1GHQ1oGLDCP2fWhG7BnstfkQGcM+jOVW1LJzE6YJx2LkYVEi502Tr3LhTjbs9896eD642W6g3a6DAKZlAf7CJYAL0oH1/eBSKt2TkHu92kY0gk/2NSWbCg6Gondx5YnjY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719262376; c=relaxed/simple; bh=Lrav703afoqlj1fKpuaqnhzykMubulqpEZDhNS5VfIM=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=bMtRd9XoJJwMPC5FPgK8maQAwSXd8ibhfnjWxt+0phbgxd2g0HzXK0ZScAa/rBfK/SnuuHuBI2NdOLm2EK8u49kPiPcv1gzbhRu1tug4PwNnM0gwnhdATjYvyoSMlJXY/YQfBGtgtODv6BfvdIHXH5UJjy7dZ+cWo5Joui3X1hI= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-424798859dfso40518195e9.0 for ; Mon, 24 Jun 2024 13:52:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719262373; x=1719867173; darn=cygwin.com; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=4Iryrqa/q4suqNiDsgKN7fxHA3gBxWOUMwu51zFlbHM=; b=IEQEwbPNvi88ePU1/jD5sgSeVHuBCQmeVqfpgNQQoGrgoBK0GyW8U0jP7rVsVxqxf1 2hyOyF4wjK/7G0MjI++ZtbmtSkO1l4LYdVHnr6ZaNXs+JTeTpuNazVwxu/CE3hlYMomj 5S/+poC8F+Jx/VBGrZ1EtuAmJLUcBq2hDwSm+P9LUklpTl01f6+YK4Rma2KjexC+Rz9i VEzSawrtb11/YjEtQphRIysxIe82qWeH2ZUiQG3qAz1bk49kdsrEBcokYr+UOE98cdrz FXAwm9PoC8eXWznSMmrjoSRagBJAYYnsCNxSClXulFMWSI/eRF9t45ZcXA2y4/au1RnU zktw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719262373; x=1719867173; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=4Iryrqa/q4suqNiDsgKN7fxHA3gBxWOUMwu51zFlbHM=; b=b3sjJw7RWhXLyQqH4F3MX2QS/3GQocobgdf0rcdfSby4Xwkb/OKkXEEiP97hZd8hLr YbXP8snlQvm2BYQieJZ02L4mLMtCoGMb6rC8/n/qH9iNMR1XL+3PdGx2XxcIi8aJY8TR 2cT+fDYaLcv8V4FgOjdX6ycdfiTl9gxxaQakIHNf97sOAybCSiFOrlQVh4UsSunoRY2R tnS70tROabzblmOSRjt4/fBtsOigBR4EHjNdR9zTHF0VDLAnaKtlp7hGRrNHOgf88Zp5 7s1i02A5V+SharP2PE0JSejeeVYbjiQSMMJT+MYTZOx7vCl7KgI7t872zZ4TT3kytz6P slVA== X-Gm-Message-State: AOJu0YyR5mvkQKIoRl9BX92eaaimfQXvVh2RLEKjCtm1grZEy1+I17qL 2DSLsVb936qNufbV9aZZBCLSoCtIia35xl2u8TJeJYHAZybgE6S/dLFJWw== X-Google-Smtp-Source: AGHT+IFMuS7nQ/3C/qjVFKNzvvzluyIlU/PNrgakgP1gSXFkkE2ZmFwGIuTta6ZpHknbDbnU9rPQyw== X-Received: by 2002:a5d:4a90:0:b0:35f:2d74:f9e7 with SMTP id ffacd0b85a97d-366e946513bmr3586165f8f.6.1719262372658; Mon, 24 Jun 2024 13:52:52 -0700 (PDT) Received: from ?IPV6:2001:a61:128d:1001:4d6b:8917:24ed:178d? ([2001:a61:128d:1001:4d6b:8917:24ed:178d]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-367003b1fc8sm15843f8f.57.2024.06.24.13.52.51 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 Jun 2024 13:52:52 -0700 (PDT) Message-ID: Date: Mon, 24 Jun 2024 22:52:52 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Attn: libgpg-error maintainer To: cygwin-apps@cygwin.com References: <70f39a2b-b609-43b0-a322-8913cde6ac25@SystematicSW.ab.ca> <8ebb34bc-936f-40f1-bdd9-2d9a63ab0661@gmail.com> <63dee359-25c8-4303-8728-62a8b5ca6bbe@SystematicSW.ab.ca> <630f42e5-991a-40cd-8bc6-31d9176c668f@SystematicSW.ab.ca> <196aed04-2156-40e4-8ba1-4dea24f04d93@SystematicSW.ab.ca> Content-Language: en-US From: Marco Atzeri In-Reply-To: <196aed04-2156-40e4-8ba1-4dea24f04d93@SystematicSW.ab.ca> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP 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: On 24/06/2024 20:04, Brian Inglis via Cygwin-apps wrote: > On 2024-06-24 11:14, Brian Inglis via Cygwin-apps wrote: >> On 2024-06-23 20:37, Ken Brown via Cygwin-apps wrote: >>> On 6/23/2024 7:46 PM, Brian Inglis via Cygwin-apps wrote: >>>> On 2024-06-23 15:46, Marco Atzeri via Cygwin-apps wrote: >>>>> On 23/06/2024 22:13, Marco Atzeri wrote: >>>>>> On 22/06/2024 19:57, Brian Inglis via Cygwin-apps wrote: >>>>>>> Update to current needed to update libgcrypt if you could please >>>>>>> oblige? >>>>>>> >>>>>> >>>>>> unfortunately any recent version up to 1.50 are failing a lot of >>>>>> tests >>>>>> >>>>>> PASS: t-version.exe >>>>>> PASS: t-strerror.exe >>>>>> fopen failed with bad code: 20 >>>>>> PASS: t-syserror.exe >>>>>> FAIL: t-lock.exe >>>>>> FAIL: t-printf.exe >>>>>> FAIL: t-poll.exe >>>>>> FAIL: t-b64.exe >>>>>> FAIL: t-argparse.exe >>>>>> FAIL: t-logging.exe >>>>>> PASS: t-stringutils.exe >>>>>> PASS: t-malloc.exe >>>>>> ======================================= >>>>>> 6 of 11 tests failed >>>>>> >>>>>> I was never able to find a solution, so if any one can look and >>>>>> give any suggestion, I will appreciate >>>>>> >>>>>> regards >>>>>> Marco >>>>> >>>>> >>>>> I just rebuilt the old 1.37 and it is reporting the same errors, >>>>> while in 2020 it was passing all the tests >>>>> >>>>> so it seems something else is playing a role here >>>>> >>>>> very puzzling >>>> >>>> Hi Marco, >>>> >>>> I noticed that the build is generating libtool wrapper sources, >>>> executables, and shell scripts under .../build/tests/.libs/ for the >>>> test programs, so if that also happens with 1.37, that raises my >>>> suspicions that what is failing is something to do with those >>>> wrappers and Cygwin libtool mods. >>> >>> Another possibility is that the failures are caused by a Cygwin bug >>> introduced since 2020.  There have been several bugs in Cygwin 3.5.3 >>> that have been fixed. Since 3.5.4 hasn't been released yet, you could >>> try the latest test release of 3.6, which has all the bug fixes. >>> >>> FWIW, I tried running t-lock.exe under strace and saw "SetThreadName: >>> SetThreadDescription() failed", followed quickly by a SIGSEGV.  That >>> again suggests a possible Cygwin bug. >> >> Thanks Ken, >> >> Great suggestion - also did strace on t-printf from 1.50 tests/.libs >> with src/.libs in the path to pick up test dll and got a loop due to a >> SEGV on 0000000500000000 - makes interesting reading, but does not >> mean much to me - terminated it eventually. >> Attached log has been reduced by ~156MB and 2.5MLOC and lightly >> sanitized. >> >> However, I see no changes since to SetThread related stuff since >> misc_funcs.cc in 2022. >> There may be some issues with Windows error or exception handling, so >> I will retry under cygwin... 3.6.0-115... > > No changes after upgrading all cygwin... packages to test 3.6.0-139... > including also taking the precaution of running: > > $ env -i PATH=build/src/.libs:/usr/bin:/bin:/sbin:/usr/sbin strace > ./t-printf ... > $ head /proc/version > CYGWIN_NT-10.0-19045 version 3.6.0-0.139.g7e3c833592b2.x86_64 > (runneradmin@fv-az534-931) (gcc version 11.4.0 (GCC) ) 2024-06-16 15:01 UTC > > So perhaps the SetThreadDescription stuff needs another look? > > Anyone familiar with that? > Ken, Brian, it seems it was much simpler. For some strange reason the HAVE_WEAK_SYMBOLS was defined. Forcing it off CYGCONF_ARGS="--disable-languages gl_cv_have_weak=no" solved almost all errors I just upload a 1.50 test version were the errors are down to 1 PASS: t-strerror.exe fopen failed with bad code: 20 FAIL: t-syserror.exe PASS: t-lock.exe PASS: t-printf.exe PASS: t-poll.exe PASS: t-b64.exe .. PASS: t-argparse.exe PASS: t-logging.exe PASS: t-stringutils.exe PASS: t-malloc.exe ======================================= 1 of 11 tests failed let me know if libgcrypt can be built Regards Marco