Page MenuHome GnuPG
Feed Advanced Search

Mar 29 2021

JW added a comment to T5370: Apple M1 and Symbol not found: __gcry_mpih_mul_1.

This patch should work if configure properly detects need for extra underscore on C symbols:

Mar 29 2021, 6:12 PM · arm, MacOS, gnupg, Bug Report
JW added a comment to T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac.

Sorry to dig up an old report...

Mar 29 2021, 2:23 AM · Restricted Project, MacOS, libgcrypt, Bug Report
JW added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

Sorry to dig up an old thread...

Mar 29 2021, 2:11 AM · toolchain, MacOS, libgcrypt, Bug Report
JW updated the task description for T5369: GnuPG build on Apple with Clang.
Mar 29 2021, 1:59 AM · libgcrypt, MacOS, Bug Report
JW updated the task description for T5370: Apple M1 and Symbol not found: __gcry_mpih_mul_1.
Mar 29 2021, 1:59 AM · arm, MacOS, gnupg, Bug Report
JW updated the task description for T5369: GnuPG build on Apple with Clang.
Mar 29 2021, 1:58 AM · libgcrypt, MacOS, Bug Report
JW updated the task description for T5370: Apple M1 and Symbol not found: __gcry_mpih_mul_1.
Mar 29 2021, 1:57 AM · arm, MacOS, gnupg, Bug Report
JW added a comment to T5370: Apple M1 and Symbol not found: __gcry_mpih_mul_1.

Here's the patch I am using for the Apple M1: libgcrypt-darwin.patch. The patch is public domain so anyone is free to use it.

Mar 29 2021, 12:51 AM · arm, MacOS, gnupg, Bug Report
JW added a comment to T5370: Apple M1 and Symbol not found: __gcry_mpih_mul_1.

This is kind of a hack, but this patch:

Mar 29 2021, 12:03 AM · arm, MacOS, gnupg, Bug Report

Mar 28 2021

JW updated the task description for T5370: Apple M1 and Symbol not found: __gcry_mpih_mul_1.
Mar 28 2021, 10:40 PM · arm, MacOS, gnupg, Bug Report
JW created T5370: Apple M1 and Symbol not found: __gcry_mpih_mul_1.
Mar 28 2021, 10:36 PM · arm, MacOS, gnupg, Bug Report
JW updated the task description for T5369: GnuPG build on Apple with Clang.
Mar 28 2021, 10:31 PM · libgcrypt, MacOS, Bug Report
JW created T5369: GnuPG build on Apple with Clang.
Mar 28 2021, 10:10 PM · libgcrypt, MacOS, Bug Report
JW created T5368: warning: variable 'zlen' is uninitialized.
Mar 28 2021, 8:24 PM · ntbtls, Bug Report

Aug 15 2020

JW added a comment to T5026: libgpg-error and undefined behavior sanitizer findings.

Here's the patch:

Aug 15 2020, 5:32 PM · gpgrt
JW created T5026: libgpg-error and undefined behavior sanitizer findings in the S1 Public space.
Aug 15 2020, 5:08 PM · gpgrt
JW added a comment to T5009: OS X 10.12 and FAIL: random.

I believe the problem here is OS X 10.12's (and above) System Integrity Protection (SIP). SIP protects system integrity by doing things like sanitizing environmental variables for system programs. Sanitizing environmental variables on system programs avoids code injections.

Aug 15 2020, 1:55 AM · libgcrypt, Bug Report

Aug 14 2020

JW added a comment to T5025: error: Cannot find a type to use in place of socklen_t.

-std=c99 is probably the reason that the tests fail.

Aug 14 2020, 9:42 PM · Solaris, toolchain, libassuan
JW created T5025: error: Cannot find a type to use in place of socklen_t in the S1 Public space.
Aug 14 2020, 9:11 AM · Solaris, toolchain, libassuan
JW added a comment to T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.

I understand your point, but your fix is not relevant

Aug 14 2020, 8:07 AM · gpgrt, Bug Report
JW added a comment to T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.

I'm feeling difficulty to talk to you.

Aug 14 2020, 7:54 AM · gpgrt, Bug Report
JW added a comment to T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.

... no-support of slash at the end of path and duplicated slash, we won't fix.

Aug 14 2020, 6:20 AM · gpgrt, Bug Report
JW added a comment to T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.

T5024: libtool problem for some platforms for 'make check' (program built with -no-install won't work without installation)

Aug 14 2020, 5:56 AM · gpgrt, Bug Report
JW added a comment to T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.

I wrote that "FAIL: gpg-error-config-test.sh" is because of your typo

Aug 14 2020, 5:39 AM · gpgrt, Bug Report
JW added a comment to T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.

... you are now describing another problem

Aug 14 2020, 5:30 AM · gpgrt, Bug Report

Aug 10 2020

JW added a comment to T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.

The problem appears to be the test framework is not setting a LD_LIBRARY_PATH (or DYNLD_LIBRARY_PATH on OS X).

Aug 10 2020, 4:12 PM · gpgrt, Bug Report
JW added a comment to T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.

As far as I know, the environment is set correctly. PKG_CONFIG_PATH, --prefix and --libdir are set. And runpaths are also set.

Aug 10 2020, 3:40 PM · gpgrt, Bug Report
JW added a comment to T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.

If you can point me to a commit, I can patch the package and retest it.

Aug 10 2020, 7:19 AM · gpgrt, Bug Report

Aug 5 2020

JW added a comment to T5013: OS X 10.11 and error: use of undeclared identifier 'getenv'.

According to OS X 10.9 man pages for getenv(3) (10.9 is what I have available), the source file editinteractor.cpp should include <stdlib.h>. Since its a c++ source file, I believe the include of interest is <cstdlib>. The man page also says the link library is -lc.

Aug 5 2020, 7:57 PM · gpgme, Bug Report
JW updated the task description for T5013: OS X 10.11 and error: use of undeclared identifier 'getenv'.
Aug 5 2020, 7:55 PM · gpgme, Bug Report
JW created T5013: OS X 10.11 and error: use of undeclared identifier 'getenv'.
Aug 5 2020, 7:53 PM · gpgme, Bug Report

Aug 2 2020

JW created T5009: OS X 10.12 and FAIL: random.
Aug 2 2020, 8:42 PM · libgcrypt, Bug Report
JW updated the task description for T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.
Aug 2 2020, 12:14 AM · gpgrt, Bug Report
JW created T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.
Aug 2 2020, 12:11 AM · gpgrt, Bug Report

Apr 6 2020

JW added a comment to T4906: error: call to 'vec_vsx_ld' is ambiguous.

I'd be interested in seeing the results of testing the patch. Can you provide a link to the results?

Apr 6 2020, 10:21 AM · Restricted Project, libgcrypt, Bug Report

Apr 3 2020

JW added a comment to T4906: error: call to 'vec_vsx_ld' is ambiguous.

You can test with newer compiler.

Apr 3 2020, 5:45 AM · Restricted Project, libgcrypt, Bug Report
JW added a comment to T4906: error: call to 'vec_vsx_ld' is ambiguous.

It looks like the recipe to build the source file is missing the necessary arch options. I.e., -mcpu=power7 -mvsx ...

Apr 3 2020, 4:51 AM · Restricted Project, libgcrypt, Bug Report
JW added a comment to T4906: error: call to 'vec_vsx_ld' is ambiguous.

I can't reproduce the error (no problem for build). My (cross-)compiler is:

Apr 3 2020, 4:43 AM · Restricted Project, libgcrypt, Bug Report

Apr 2 2020

JW added a comment to T4907: Spurious warning: ignoring return value of ‘write’ ....

There is nothing spiteful about this other than your actions.

Apr 2 2020, 12:11 PM · gnupg
JW created T4907: Spurious warning: ignoring return value of ‘write’ ... in the S1 Public space.
Apr 2 2020, 12:01 PM · gnupg
JW added a comment to T4904: argparse.c:286:22: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'.

werner closed this task as Spite.

Apr 2 2020, 1:06 AM · gpgrt, Bug Report
JW added a comment to T4903: Github sources are difficult to test.

We do not use Github.

Apr 2 2020, 12:12 AM · gnupg, Bug Report

Apr 1 2020

JW added a comment to T4903: Github sources are difficult to test.

Also see Issue #10, Add Travis testing in the GnuPG GitHub. The PR adds Travis testing to the entire GnuPG suite.

Apr 1 2020, 5:00 PM · gnupg, Bug Report
JW updated the task description for T4906: error: call to 'vec_vsx_ld' is ambiguous.
Apr 1 2020, 4:39 PM · Restricted Project, libgcrypt, Bug Report
JW created T4906: error: call to 'vec_vsx_ld' is ambiguous in the S1 Public space.
Apr 1 2020, 4:38 PM · Restricted Project, libgcrypt, Bug Report
JW created T4905: t-secmem: line 176: gcry_control ((GCRYCTL_INIT_SECMEM, pool_size, 0)) failed: General error in the S1 Public space.
Apr 1 2020, 4:34 PM · libgcrypt, Bug Report
JW created T4904: argparse.c:286:22: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' in the S1 Public space.
Apr 1 2020, 4:29 PM · gpgrt, Bug Report
JW updated the task description for T4903: Github sources are difficult to test.
Apr 1 2020, 3:48 PM · gnupg, Bug Report
JW created T4903: Github sources are difficult to test in the S1 Public space.
Apr 1 2020, 1:26 PM · gnupg, Bug Report
JW created T4902: libgpg-error and yat2m: can't open include file './version.texi': No such file or directory in the S1 Public space.
Apr 1 2020, 12:28 PM · gpgrt, Bug Report
JW created T4901: Libgcrypt-error 1.38 is missing from https://gnupg.org/ftp/gcrypt/libgpg-error in the S1 Public space.
Apr 1 2020, 11:30 AM · gnupg, Bug Report
JW updated the task description for T4900: OS X 10.12 and dyld: Library not loaded: /usr/local/lib/libgcrypt.20.dylib.
Apr 1 2020, 11:23 AM · MacOS, libgcrypt, Bug Report
JW updated the task description for T4900: OS X 10.12 and dyld: Library not loaded: /usr/local/lib/libgcrypt.20.dylib.
Apr 1 2020, 11:22 AM · MacOS, libgcrypt, Bug Report
JW updated the task description for T4900: OS X 10.12 and dyld: Library not loaded: /usr/local/lib/libgcrypt.20.dylib.
Apr 1 2020, 11:21 AM · MacOS, libgcrypt, Bug Report
JW updated the task description for T4900: OS X 10.12 and dyld: Library not loaded: /usr/local/lib/libgcrypt.20.dylib.
Apr 1 2020, 11:19 AM · MacOS, libgcrypt, Bug Report
JW updated the task description for T4900: OS X 10.12 and dyld: Library not loaded: /usr/local/lib/libgcrypt.20.dylib.
Apr 1 2020, 11:19 AM · MacOS, libgcrypt, Bug Report
JW created T4900: OS X 10.12 and dyld: Library not loaded: /usr/local/lib/libgcrypt.20.dylib.
Apr 1 2020, 11:18 AM · MacOS, libgcrypt, Bug Report
JW created T4899: Undefined behavior in sm/certdump.c.
Apr 1 2020, 7:48 AM · gnupg, Bug Report

Jan 29 2020

JW updated the task description for T4827: libgpg-error 1.36 and gawk: fatal: cannot use gawk builtin `namespace' as variable name.
Jan 29 2020, 8:34 AM · Duplicate, gpgrt, toolchain, Bug Report
JW updated the task description for T4827: libgpg-error 1.36 and gawk: fatal: cannot use gawk builtin `namespace' as variable name.
Jan 29 2020, 8:34 AM · Duplicate, gpgrt, toolchain, Bug Report
JW updated the task description for T4827: libgpg-error 1.36 and gawk: fatal: cannot use gawk builtin `namespace' as variable name.
Jan 29 2020, 8:31 AM · Duplicate, gpgrt, toolchain, Bug Report
JW updated the task description for T4827: libgpg-error 1.36 and gawk: fatal: cannot use gawk builtin `namespace' as variable name.
Jan 29 2020, 8:31 AM · Duplicate, gpgrt, toolchain, Bug Report
JW created T4827: libgpg-error 1.36 and gawk: fatal: cannot use gawk builtin `namespace' as variable name.
Jan 29 2020, 8:28 AM · Duplicate, gpgrt, toolchain, Bug Report

May 14 2019

JW added a comment to T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc.

In case of gcc 4.8 on Solaris, could you please try this patch (instead of configure patch) to see if it works?

May 14 2019, 7:35 AM · npth, Bug Report
JW added a comment to T4494: UBsan finding "armor.c:1159:11: runtime error: member access within null pointer...".

rG5b22d2c4008 tested good under Asan.

May 14 2019, 4:53 AM · gnupg
JW added a comment to T4499: Asan finding in libgcrypt.

I was talking to Thomas Dickey, who maintains Ncurses. Ncurses had a leak and he offered a config option to remove it. Ncurses config responds to --disable-leaks.

May 14 2019, 1:45 AM · libgcrypt

May 13 2019

JW added a comment to T4499: Asan finding in libgcrypt.

Dynamic loading of Libgcrypt is anyway not supported; those who do that are on their own.

May 13 2019, 10:17 PM · libgcrypt
JW added a comment to T4504: Asan findings in iconv configure test causing config failure.

I'm going to bring newest m4/iconv.m4 from original (gettext), which apparently fixed file descriptor leaks.

May 13 2019, 8:08 AM · gpgrt, gnupg
JW added a comment to T4504: Asan findings in iconv configure test causing config failure.

An FYI... Once we cleared the earlier findings GnuPG tested OK under Asan. GnuPG itself had no findings, and it did not cause any dependent libraries to generate findings.

May 13 2019, 7:20 AM · gpgrt, gnupg

May 12 2019

JW added a comment to T4504: Asan findings in iconv configure test causing config failure.

This patch tested OK.

May 12 2019, 11:44 AM · gpgrt, gnupg
JW created T4504: Asan findings in iconv configure test causing config failure in the S1 Public space.
May 12 2019, 10:26 AM · gpgrt, gnupg
JW added a comment to T4499: Asan finding in libgcrypt.

The second and third arguments passed to xgcry_control seem to be lost when calling gcry_control.

May 12 2019, 7:16 AM · libgcrypt
JW added a comment to T4499: Asan finding in libgcrypt.

Here are the next two failures I am seeing while testing libgrcypt. It appears to be related to GCRYCTL_INIT_SECMEM.

May 12 2019, 12:44 AM · libgcrypt

May 11 2019

JW added a comment to T4499: Asan finding in libgcrypt.

I'm still seeing a few odd outputs from make check, but I have not investigated them yet.

May 11 2019, 10:50 PM · libgcrypt
JW added a comment to T4499: Asan finding in libgcrypt.

Maybe cleaner option for mpi/mpiutil.c would be to statically allocate the constants

May 11 2019, 9:14 PM · libgcrypt
JW added a comment to T4499: Asan finding in libgcrypt.

Here's a couple of awful hacks that get me through make check. Feel free to restate how awful they are; I know it is a bad thing to do.

May 11 2019, 7:24 AM · libgcrypt

May 10 2019

JW updated the task description for T4499: Asan finding in libgcrypt.
May 10 2019, 11:44 PM · libgcrypt
JW created T4499: Asan finding in libgcrypt in the S1 Public space.
May 10 2019, 11:43 PM · libgcrypt
JW created T4498: Asan findings in tests/t-logging.c in the S1 Public space.
May 10 2019, 11:34 PM · gpgrt
JW added a comment to T4495: UBsan finding "certdump.c:695:3: runtime error: null pointer passed as argument 2".

It looks like this patch clears this finding:

May 10 2019, 9:26 PM · gnupg
JW created T4495: UBsan finding "certdump.c:695:3: runtime error: null pointer passed as argument 2" in the S1 Public space.
May 10 2019, 9:24 PM · gnupg
JW added a comment to T4494: UBsan finding "armor.c:1159:11: runtime error: member access within null pointer...".

It looks like this patch clears this finding:

May 10 2019, 9:07 PM · gnupg
JW created T4494: UBsan finding "armor.c:1159:11: runtime error: member access within null pointer..." in the S1 Public space.
May 10 2019, 8:31 PM · gnupg
JW added a comment to T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc.

It looks like Solaris only needs CFLAGS+=-std=c99. It was added for all programs and libraries listed at https://www.gnupg.org/download/index.html.

May 10 2019, 9:06 AM · npth, Bug Report
JW updated the task description for T4492: Gawk 5.0 and warning: regexp escape sequence `\#' is not a known regexp operator.
May 10 2019, 8:48 AM · Duplicate, gnupg
JW created T4492: Gawk 5.0 and warning: regexp escape sequence `\#' is not a known regexp operator in the S1 Public space.
May 10 2019, 8:46 AM · Duplicate, gnupg
JW created T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc.
May 10 2019, 8:01 AM · npth, Bug Report

Mar 8 2019

JW added a comment to T4397: GPG Error - version >= 1.25... no.

Similar issue with ntbtls:

Mar 8 2019, 10:33 AM · gpgrt, Bug Report

Mar 7 2019

JW added a comment to T4397: GPG Error - version >= 1.25... no.

Libassuan 2.5.3 has a similar problem:

Mar 7 2019, 9:01 PM · gpgrt, Bug Report
JW updated the task description for T4397: GPG Error - version >= 1.25... no.
Mar 7 2019, 8:51 PM · gpgrt, Bug Report
JW updated the task description for T4397: GPG Error - version >= 1.25... no.
Mar 7 2019, 8:51 PM · gpgrt, Bug Report
JW updated the task description for T4397: GPG Error - version >= 1.25... no.
Mar 7 2019, 8:32 PM · gpgrt, Bug Report
JW updated the task description for T4397: GPG Error - version >= 1.25... no.
Mar 7 2019, 8:30 PM · gpgrt, Bug Report
JW updated the task description for T4397: GPG Error - version >= 1.25... no.
Mar 7 2019, 8:30 PM · gpgrt, Bug Report
JW updated the task description for T4397: GPG Error - version >= 1.25... no.
Mar 7 2019, 8:29 PM · gpgrt, Bug Report
JW created T4397: GPG Error - version >= 1.25... no.
Mar 7 2019, 8:28 PM · gpgrt, Bug Report

Dec 30 2018

JW created T4306: nPth fails to compile in the S1 Public space.
Dec 30 2018, 1:12 AM · npth, Bug Report
JW added a project to T4305: NtbTLS fails to compile: Bug Report.
Dec 30 2018, 1:06 AM · Bug Report, ntbtls
JW added a project to T4304: gcry_control (GCRYCTL_INIT_SECMEM, 16384, 0) failed: General error: libgcrypt.
Dec 30 2018, 1:05 AM · Legacy OS, Fedora, libgcrypt, Bug Report
JW created T4305: NtbTLS fails to compile in the S1 Public space.
Dec 30 2018, 1:05 AM · Bug Report, ntbtls