Page MenuHome GnuPG
Feed Advanced Search

Mar 27 2018

werner triaged T3869: libgpg-error-1.28 on Solaris as High priority.
Mar 27 2018, 6:23 PM · Solaris, gpgrt, Bug Report

Mar 13 2018

werner added a hashtag to gpgrt: #gpgrt.
Mar 13 2018, 1:04 PM
werner changed hashtags for gpgrt, added #libgpg-error; removed #gpgrt.
Mar 13 2018, 1:04 PM
werner added a hashtag to gpgrt: #gpgrt.
Mar 13 2018, 1:02 PM

Mar 1 2018

werner closed T3202: add support for illumos to our version of libtool as Wontfix.

I close this bug as wontfix. If you can provide the requested changes for libtool please re-open this bug.

Mar 1 2018, 9:20 AM · Info Needed, gpgrt, Bug Report

Jan 12 2018

aheinecke renamed T3733: Kleopatra, Libgpg-error: Let the GUI change the language on Windows from Wrong display language to Kleopatra, Libgpg-error: Let the GUI change the language on Windows.
Jan 12 2018, 8:52 AM · Restricted Project, vsd33, kleopatra, gpg4win, Bug Report

Aug 24 2017

marcus placed T3202: add support for illumos to our version of libtool up for grabs.
Aug 24 2017, 2:54 PM · Info Needed, gpgrt, Bug Report
werner reopened T3202: add support for illumos to our version of libtool as "Open".

I merely said, that we won't replace libtool by the upstream version because that lacks other important changes we need. Upstream was not willing to integrate our changes for Windows support and also introduced a lot of other regressions as well as dropping support for some platforms. Thus we need to maintain our version.

Aug 24 2017, 8:16 AM · Info Needed, gpgrt, Bug Report

Aug 15 2017

marcus added a comment to T3202: add support for illumos to our version of libtool.

I know exactly what you mean, but werner disagrees so that's not going to happen.

Aug 15 2017, 7:12 PM · Info Needed, gpgrt, Bug Report
andy_js added a comment to T3202: add support for illumos to our version of libtool.

Forgive me. I was biting my tongue.

Aug 15 2017, 6:04 PM · Info Needed, gpgrt, Bug Report
marcus closed T3202: add support for illumos to our version of libtool as Wontfix.

No response.

Aug 15 2017, 5:36 PM · Info Needed, gpgrt, Bug Report

Aug 10 2017

marcus added a project to T2385: support more than 1024 fds.: gpgrt.
Aug 10 2017, 3:05 PM · gpgrt, Feature Request, gpgme

Aug 9 2017

marcus added a comment to T3315: 5/7 tests failed installing libgpg-error-1.27.

Maybe ask on a mailing list for help to find out why your environment is broken.

Aug 9 2017, 3:46 PM · gpgrt, Bug Report
marcus closed T3315: 5/7 tests failed installing libgpg-error-1.27 as Invalid.
Aug 9 2017, 3:45 PM · gpgrt, Bug Report

Aug 8 2017

marcus added a comment to T3315: 5/7 tests failed installing libgpg-error-1.27.

I tried on a fresh installation of Ubuntu 14.04.5 and could not reproduce the problem. Apparentlcy your test suite tries to link against an installed version of the library, which is very odd.

Aug 8 2017, 4:01 PM · gpgrt, Bug Report

Aug 4 2017

marcus added a comment to T3202: add support for illumos to our version of libtool.

Can you provide a patch for our version of the libtool macros that only adds support for illumos?

Aug 4 2017, 8:51 PM · Info Needed, gpgrt, Bug Report

Aug 3 2017

marcus renamed T3202: add support for illumos to our version of libtool from autogen.sh forgets to run libtoolize to add support for illumos to our version of libtool.
Aug 3 2017, 6:34 PM · Info Needed, gpgrt, Bug Report
marcus removed projects from T3202: add support for illumos to our version of libtool: Info Needed, Not A Bug, libgcrypt.

libgpg-error is a placeholder project for the master version of our libtool, but all other packages are likely to be affected as well.

Aug 3 2017, 6:33 PM · Info Needed, gpgrt, Bug Report
marcus reopened T3202: add support for illumos to our version of libtool as "Open".
Aug 3 2017, 6:33 PM · Info Needed, gpgrt, Bug Report
andy_js added a comment to T3202: add support for illumos to our version of libtool.

The platform is illumos, a fork of OpenSolaris.

Aug 3 2017, 6:04 PM · Info Needed, gpgrt, Bug Report
marcus closed T3202: add support for illumos to our version of libtool as Wontfix.

No response.

Aug 3 2017, 5:30 PM · Info Needed, gpgrt, Bug Report

Jul 31 2017

werner triaged T3315: 5/7 tests failed installing libgpg-error-1.27 as Normal priority.
Jul 31 2017, 11:30 AM · gpgrt, Bug Report

Jul 18 2017

werner added a project to T3202: add support for illumos to our version of libtool: Info Needed.
Jul 18 2017, 2:25 PM · Info Needed, gpgrt, Bug Report

Jun 13 2017

werner added a comment to T3202: add support for illumos to our version of libtool.

and the platform is ...

Jun 13 2017, 8:37 AM · Info Needed, gpgrt, Bug Report

Jun 12 2017

justus triaged T3202: add support for illumos to our version of libtool as Wishlist priority.
Jun 12 2017, 11:41 AM · Info Needed, gpgrt, Bug Report

Jun 9 2017

andy_js added a comment to T3202: add support for illumos to our version of libtool.

The version of libtool that you ship does not have the necessary patches required to support my platform. Normally this isn't a problem because autogen.sh (or autoreconf) will update it.

Jun 9 2017, 3:58 PM · Info Needed, gpgrt, Bug Report
werner added a project to T3202: add support for illumos to our version of libtool: Not A Bug.

You may not run your own version of libtool or libtoolize. Only the maintainer updates the autotools related files including libtool. This is to avoid bugs stemming from different or broken versions of autotools. This makes it much easier to reproduce bugs.

Jun 9 2017, 3:42 PM · Info Needed, gpgrt, Bug Report
andy_js created T3202: add support for illumos to our version of libtool.
Jun 9 2017, 12:10 PM · Info Needed, gpgrt, Bug Report

Jun 1 2017

werner triaged T3189: secmem routines should be in libgpg-error as gpgrt_* as Normal priority.
Jun 1 2017, 9:31 PM · gpgrt, libgcrypt

May 31 2017

gniibe created T3189: secmem routines should be in libgpg-error as gpgrt_*.
May 31 2017, 1:10 PM · gpgrt, libgcrypt

Apr 7 2017

werner closed T1893: The ABI of passing union with long double has changed in GCC 4.4 as Resolved.
Apr 7 2017, 2:33 PM · Mistaken, gpgrt

Mar 30 2017

admin created gpgrt.
Mar 30 2017, 6:42 PM

Jan 17 2017

werner closed T2370: libgpg-error: cross-compiling fails with "src/syscfg/lock-obj-pub.linux-gnueabi.h': No such file or directory" as Resolved.
Jan 17 2017, 12:36 PM · Info Needed, gpgrt, Gentoo, Bug Report
werner added a comment to T2370: libgpg-error: cross-compiling fails with "src/syscfg/lock-obj-pub.linux-gnueabi.h': No such file or directory".

No reply to my question, thus it seems not to be important. Closing.
Note that replying to this will re-open the bug.

Jan 17 2017, 12:36 PM · Info Needed, gpgrt, Gentoo, Bug Report

Dec 21 2016

werner added a comment to T2370: libgpg-error: cross-compiling fails with "src/syscfg/lock-obj-pub.linux-gnueabi.h': No such file or directory".

ping (see T2370 (wk on Nov 18 2016, 08:44 AM / Roundup))

Dec 21 2016, 1:01 PM · Info Needed, gpgrt, Gentoo, Bug Report

Nov 28 2016

werner closed T2845: libgpg-error 1.25 fails to build as Resolved.
Nov 28 2016, 10:12 AM · Bug Report, Not A Bug, gpgrt
werner added a comment to T2845: libgpg-error 1.25 fails to build.

What you describe is a standard requirement for many low level libraries and
tool when cross-compiling.

Please do not use the bug tracker for discussions but use gnupg-devel instead.
Thanks.

Nov 28 2016, 10:12 AM · Bug Report, Not A Bug, gpgrt
werner added a project to T2845: libgpg-error 1.25 fails to build: Not A Bug.
Nov 28 2016, 10:12 AM · Bug Report, Not A Bug, gpgrt

Nov 26 2016

musluser added a comment to T2845: libgpg-error 1.25 fails to build.

sorry, but it is not acceptable to copy executables via ssh to native computers
and execute them there and copy the result back to the build machine during
crosscompilation.
the whole arch-specific stuff is unnecessary when you just use pthread_mutex_t
directly and be done with it. patch attached.
in case there's a system that doesnt use pthreads, fine, then you can do the
arch-specific dance there, but please do not ruin the buildprocess for anyone
using a POSIX conforming system for this madness.

Nov 26 2016, 4:02 PM · Bug Report, Not A Bug, gpgrt
musluser raised the priority of T2845: libgpg-error 1.25 fails to build from Normal to High.
Nov 26 2016, 4:02 PM · Bug Report, Not A Bug, gpgrt
musluser added a project to T2845: libgpg-error 1.25 fails to build: Bug Report.
Nov 26 2016, 4:02 PM · Bug Report, Not A Bug, gpgrt
musluser reopened T2845: libgpg-error 1.25 fails to build as "Open".
Nov 26 2016, 4:02 PM · Bug Report, Not A Bug, gpgrt
musluser added a comment to T2845: libgpg-error 1.25 fails to build.

D399: 921_0001-fix-libgpg-error-lock-madness.patch

Nov 26 2016, 4:02 PM · Bug Report, Not A Bug, gpgrt

Nov 20 2016

werner closed T2845: libgpg-error 1.25 fails to build as Invalid.
Nov 20 2016, 4:45 PM · Bug Report, Not A Bug, gpgrt
werner lowered the priority of T2845: libgpg-error 1.25 fails to build from Unbreak Now! to Normal.
Nov 20 2016, 4:45 PM · Bug Report, Not A Bug, gpgrt
werner removed a project from T2845: libgpg-error 1.25 fails to build: Bug Report.
Nov 20 2016, 4:45 PM · Bug Report, Not A Bug, gpgrt
werner added a comment to T2845: libgpg-error 1.25 fails to build.

Sorry, this is not a bug but clearly documented in the README in the section
"Cross-Compiling". Your log shows that you are dojng just that:

checking whether we are cross compiling... yes

Please search the gnupg-devel ML for a discussion on why this is the Right Thing
to do for this library.

Nov 20 2016, 4:45 PM · Bug Report, Not A Bug, gpgrt

Nov 18 2016

musluser added projects to T2845: libgpg-error 1.25 fails to build: gpgrt, Bug Report.
Nov 18 2016, 5:26 PM · Bug Report, Not A Bug, gpgrt
werner added a comment to T2370: libgpg-error: cross-compiling fails with "src/syscfg/lock-obj-pub.linux-gnueabi.h': No such file or directory".

Yes, I have seen that URL but what I like to get an answer to my question here
or on gnupg-devel. I do not want to follow a possible long thread of some Linux
distribution.

Nov 18 2016, 8:44 AM · Info Needed, gpgrt, Gentoo, Bug Report

Nov 14 2016

Nsane457 added a comment to T2370: libgpg-error: cross-compiling fails with "src/syscfg/lock-obj-pub.linux-gnueabi.h': No such file or directory".

There was a long drawn out discussion as to the validity of "-hardfloat" in the
triplet name. You can peruse at https://bugs.gentoo.org/show_bug.cgi?id=584052 .

I am not a dev and have pretty much given up. The Gentoo devs are adamant that this
is an upstream problem.

Nov 14 2016, 10:20 PM · Info Needed, gpgrt, Gentoo, Bug Report
werner removed a project from T2731: es_poll not supported under W32: Unreleased.
Nov 14 2016, 5:39 PM · Bug Report, gpgrt, Windows 32, gnupg (gpg22), Windows
werner added a comment to T2731: es_poll not supported under W32.

1.25 has been released.

Nov 14 2016, 5:39 PM · Bug Report, gpgrt, Windows 32, gnupg (gpg22), Windows
werner added a project to T2370: libgpg-error: cross-compiling fails with "src/syscfg/lock-obj-pub.linux-gnueabi.h': No such file or directory": Info Needed.
Nov 14 2016, 3:53 PM · Info Needed, gpgrt, Gentoo, Bug Report
werner added a comment to T2370: libgpg-error: cross-compiling fails with "src/syscfg/lock-obj-pub.linux-gnueabi.h': No such file or directory".

ping

Nov 14 2016, 3:53 PM · Info Needed, gpgrt, Gentoo, Bug Report
werner closed T2378: t-lock and random tests crash on SPARC 32-bit as Resolved.
Nov 14 2016, 3:52 PM · Not A Bug, gpgrt, Bug Report
werner added a project to T2378: t-lock and random tests crash on SPARC 32-bit: Not A Bug.
Nov 14 2016, 3:52 PM · Not A Bug, gpgrt, Bug Report
werner added a comment to T2378: t-lock and random tests crash on SPARC 32-bit.

Distinguishing between 32 and 64 bit Windows in the same development package
works on Windows but only because 64 bit Windows also supports 32 bit Windows.
On most other platforms this is not the case. For a different ABI it is quite
common to require the installation of a platform specific development package.

You won't change the design to support sloppy build systems which would only
trigger hard to find bugs.

Nov 14 2016, 3:52 PM · Not A Bug, gpgrt, Bug Report
werner closed T2268: .git/config [filter "cleanpo"] added during build is incorrect as Resolved.
Nov 14 2016, 3:42 PM · Info Needed, Bug Report, gpgrt
justus closed T2731: es_poll not supported under W32 as Resolved.
Nov 14 2016, 10:39 AM · Bug Report, gpgrt, Windows 32, gnupg (gpg22), Windows
justus added a comment to T2731: es_poll not supported under W32.

Fixed in 40e5ff0a0084c0d9521b401db4f38885bfdae233.

Nov 14 2016, 10:39 AM · Bug Report, gpgrt, Windows 32, gnupg (gpg22), Windows
justus added a project to T2731: es_poll not supported under W32: Unreleased.
Nov 14 2016, 10:39 AM · Bug Report, gpgrt, Windows 32, gnupg (gpg22), Windows

Sep 30 2016

werner added projects to T2731: es_poll not supported under W32: Windows, gnupg (gpg22), Windows 32, gpgrt, Bug Report.
Sep 30 2016, 10:32 AM · Bug Report, gpgrt, Windows 32, gnupg (gpg22), Windows
werner updated subscribers of T2731: es_poll not supported under W32.
Sep 30 2016, 10:32 AM · Bug Report, gpgrt, Windows 32, gnupg (gpg22), Windows
werner added a project to T2268: .git/config [filter "cleanpo"] added during build is incorrect: Info Needed.
Sep 30 2016, 10:28 AM · Info Needed, Bug Report, gpgrt
werner added a comment to T2268: .git/config [filter "cleanpo"] added during build is incorrect.

ping

Sep 30 2016, 10:28 AM · Info Needed, Bug Report, gpgrt

Jul 29 2016

gniibe closed T2144: libgpg-error: assertion error on Solaris/sparc as Resolved.
Jul 29 2016, 3:43 AM · Bug Report, gpgrt
gniibe removed a project from T2144: libgpg-error: assertion error on Solaris/sparc: Restricted Project.
Jul 29 2016, 3:43 AM · Bug Report, gpgrt
gniibe added a comment to T2144: libgpg-error: assertion error on Solaris/sparc.

This particular problem of assertion error, it was fixed in 1.22. So, I close this.
We also have T2378 for a possible change for Solaris/sparc. Please continue
there.

Jul 29 2016, 3:42 AM · Bug Report, gpgrt
gniibe set External Link to https://java.net/projects/solaris-userland/pages/Home on T2378: t-lock and random tests crash on SPARC 32-bit.
Jul 29 2016, 3:25 AM · Not A Bug, gpgrt, Bug Report
gniibe closed T1931: libgpg-error-1.18 all tests core on Solaris10 with gcc4.9.2 as Resolved.
Jul 29 2016, 3:24 AM · Bug Report, gpgrt
gniibe removed a project from T1931: libgpg-error-1.18 all tests core on Solaris10 with gcc4.9.2: Restricted Project.
Jul 29 2016, 3:24 AM · Bug Report, gpgrt
gniibe added a comment to T1931: libgpg-error-1.18 all tests core on Solaris10 with gcc4.9.2.

I believe that it's fixed in 1.22. Closing.

Jul 29 2016, 3:24 AM · Bug Report, gpgrt
gniibe removed a project from T1671: libgpg-error 1.13 does not link on Solaris 10: Restricted Project.
Jul 29 2016, 3:22 AM · gpgrt, Bug Report
gniibe closed T1671: libgpg-error 1.13 does not link on Solaris 10 as Resolved.
Jul 29 2016, 3:22 AM · gpgrt, Bug Report
gniibe added a comment to T1671: libgpg-error 1.13 does not link on Solaris 10.

Closing, as I confirmed that -lrt is not needed any more in Solaris Userland
project:
https://hg.java.net/hg/solaris-userland~gate

Jul 29 2016, 3:22 AM · gpgrt, Bug Report

Jul 26 2016

jf added a comment to T2378: t-lock and random tests crash on SPARC 32-bit.

IMHO, it's pretty uncommon from the packaging point of view to deliver
different generic header files for different platforms (one can meet
platform related ifdefs much often). It necessarily moves the platform
decision rules into the source code of the library consumer.

Jul 26 2016, 7:00 PM · Not A Bug, gpgrt, Bug Report

Jul 19 2016

justus added a project to T2358: gnupg 2.1, gpg-agent crashing on 'assertion failed' (OS X, Homebrew): gpgrt.
Jul 19 2016, 12:01 PM · gpgrt, Duplicate, gpgagent, gnupg (gpg21), Bug Report
justus added a comment to T2358: gnupg 2.1, gpg-agent crashing on 'assertion failed' (OS X, Homebrew).

Yes, that is very likely the same bug. Feel free to reopen this report if yuo
can still reproduce it, in which case a backtrace would be very handy.

Fixed in 28fd0ab.

Jul 19 2016, 12:01 PM · gpgrt, Duplicate, gpgagent, gnupg (gpg21), Bug Report
justus removed a project from T2358: gnupg 2.1, gpg-agent crashing on 'assertion failed' (OS X, Homebrew): gnupg.
Jul 19 2016, 12:01 PM · gpgrt, Duplicate, gpgagent, gnupg (gpg21), Bug Report
justus closed T2358: gnupg 2.1, gpg-agent crashing on 'assertion failed' (OS X, Homebrew) as Resolved.
Jul 19 2016, 12:01 PM · gpgrt, Duplicate, gpgagent, gnupg (gpg21), Bug Report

Jul 14 2016

werner removed a project from T2257: libgpg-error test hangs due to stream locking race condition: Unreleased.
Jul 14 2016, 7:12 PM · Bug Report, gpgrt

Jun 19 2016

werner added a comment to T2370: libgpg-error: cross-compiling fails with "src/syscfg/lock-obj-pub.linux-gnueabi.h': No such file or directory".

I can't find an explanation why gentoo inserts "-hardfloat". I doubt that this
is willy-nilly and as long as this has not been figured out, there is a
possibility of a different ABI and thus we can't simply alias it. Can you
please work with Kristian or someone else from gentoo to figure this out?

Thanks for binutils link.

Jun 19 2016, 11:10 PM · Info Needed, gpgrt, Gentoo, Bug Report
Nsane457 added a comment to T2370: libgpg-error: cross-compiling fails with "src/syscfg/lock-obj-pub.linux-gnueabi.h': No such file or directory".

Again, the host is not my invention. I linked it before and I'll do it again:
https://wiki.gentoo.org/wiki/Raspberry_Pi.

Gentoo's cross-compile tool, crossdev, suggests using "-hardfloat-" and "-
softfloat-" in the vendor field.

And here is how binutils handles this (they don't shy away from asterisks):
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob;f=bfd/config.bfd

Jun 19 2016, 9:58 PM · Info Needed, gpgrt, Gentoo, Bug Report

Jun 16 2016

werner added a comment to T2370: libgpg-error: cross-compiling fails with "src/syscfg/lock-obj-pub.linux-gnueabi.h': No such file or directory".

Is armv7a-hardfloat-linux-gnu guaranteed to be ABI compatible to some other arm
triplet? If that is the case, I suggest to either drop your(?) invention of
-hardfloat- or, better, to work with the config mainatiners to make sure it is
viewed as an alias.

How does binutils handle this triplet?

If you can describe the user base for that triplet, I may add an exception to
mkheader to get things done faster.

Jun 16 2016, 7:53 AM · Info Needed, gpgrt, Gentoo, Bug Report
Nsane457 added a comment to T2370: libgpg-error: cross-compiling fails with "src/syscfg/lock-obj-pub.linux-gnueabi.h': No such file or directory".

I'm sorry if your understanding of valid hostnames, acceptable by GNU projects, is
two decades old but this project happens to be the only one that assumes there
exists a finite list of valid hostnames without using pattern matching.

Using https://wiki.gentoo.org/wiki/Raspberry_Pi and a hostname of armv7a-
hardfloat-linux-gnu, with the notable exception of libgpg-error, I have been able
to compile and install all other GNU utilities included the core set of Gentoo
Linux, whether via the package's giving configure script or by use of autoreconf.

Hare are just a few of such GNU packages that I have personally been able to build
and install using the hostname "armv7a-hardfloat-linux-gnu":

coreutils-8.25
bash-4.3_p42
diffutils-3.3
findutils-4.6.0
grep-2.25
groff-1.22.3
gzip-1.8
tar-1.29
glibc-2.23
less-483
gawk-4.1.3
which-2.21
nettle-3.2
glibc-2.23
gcc-5.3.0
readline-6.3_p8
nano-2.5.3

The only other GNU package that doesn't compile for me is autogen. But that's due
to a lack of cross-compile support. It otherwise builds just fine natively on
armv7a-hardfloat-linux-gnu.

I would appreciate it if you could provide a specific GNU package using autotools
that you assert should fail to support such a hostname, other than this one, so
that I may provide a build log demonstrating that it indeed does.

Jun 16 2016, 1:04 AM · Info Needed, gpgrt, Gentoo, Bug Report

Jun 15 2016

werner closed T2371: gnupg 2.1, gpg-agent crashing on 'assertion failed' (OS X, Homebrew) as Resolved.
Jun 15 2016, 10:32 PM · gpgrt, Bug Report
werner removed a project from T2371: gnupg 2.1, gpg-agent crashing on 'assertion failed' (OS X, Homebrew): In Progress.
Jun 15 2016, 10:32 PM · gpgrt, Bug Report
werner added a comment to T2371: gnupg 2.1, gpg-agent crashing on 'assertion failed' (OS X, Homebrew).

1.23 has meanwhile been released.

Jun 15 2016, 10:32 PM · gpgrt, Bug Report
werner removed a project from T2257: libgpg-error test hangs due to stream locking race condition: In Progress.
Jun 15 2016, 3:02 PM · Bug Report, gpgrt
werner added a project to T2257: libgpg-error test hangs due to stream locking race condition: Unreleased.
Jun 15 2016, 3:02 PM · Bug Report, gpgrt
werner added a comment to T2257: libgpg-error test hangs due to stream locking race condition.

Fixed with commit 7ed1502 for 1.23. I used your method.

Jun 15 2016, 3:02 PM · Bug Report, gpgrt
werner closed T2257: libgpg-error test hangs due to stream locking race condition as Resolved.
Jun 15 2016, 3:02 PM · Bug Report, gpgrt
werner changed Version from 1.2.1 to 1.21 on T2268: .git/config [filter "cleanpo"] added during build is incorrect.
Jun 15 2016, 1:26 PM · Info Needed, Bug Report, gpgrt
werner added a comment to T2268: .git/config [filter "cleanpo"] added during build is incorrect.

What is smartgit? What OS are you using?

[gpg-error version seems to be 1.21]

Jun 15 2016, 1:26 PM · Info Needed, Bug Report, gpgrt
werner added a comment to T2370: libgpg-error: cross-compiling fails with "src/syscfg/lock-obj-pub.linux-gnueabi.h': No such file or directory".

Sorry, if _you_ want support for your _new target_ you should make sure that it
is supported by the GNU autotools which is used by a lot of software. This will
the soon be used by GnuPG etc.

It is entirely fine to point us new config versions with support for your
target. We will the update them in our packages - this is how we have done it
for close to 2 decades.

Jun 15 2016, 12:41 PM · Info Needed, gpgrt, Gentoo, Bug Report
werner added a comment to T2378: t-lock and random tests crash on SPARC 32-bit.

Re T2378 (jf on Jun 04 2016, 07:04 PM / Roundup): We consider a 32 bit and a 64 bit system different platforms and
thus you get different header files.

Jun 15 2016, 12:00 PM · Not A Bug, gpgrt, Bug Report
werner added a comment to T2371: gnupg 2.1, gpg-agent crashing on 'assertion failed' (OS X, Homebrew).

I applied your patch (commit 28fd0ab) and will do a new release soon.

Jun 15 2016, 11:53 AM · gpgrt, Bug Report
werner added a project to T2371: gnupg 2.1, gpg-agent crashing on 'assertion failed' (OS X, Homebrew): In Progress.
Jun 15 2016, 11:42 AM · gpgrt, Bug Report
jf added a comment to T2378: t-lock and random tests crash on SPARC 32-bit.

Note: the comment 2) in T2378 (jf on Jun 04 2016, 07:04 PM / Roundup) [https://bugs.gnupg.org/gnupg/msg8416]
is not correct. The original text says:

    • 8< ---
  1. the fix updates only the external gpgrt_lock_t; it's internal

counterpart _gpgrt_lock_t is not updated. This causes that functions
working with the POSIX mutexes (gpgrt_lock_*()) could access misaligned
addresses - that results in Bus Errors on SPARC.

  • 8< ---

The fact is that _gpgrt_lock_t already contains pthread_mutex_t thus it
is correctly aligned (alignes on 8B boundary). The problem pops up if
the outer gpgrt_lock_t is aligned on 4 bytes boundary, while the
internal _gpgrt_lock_t in aligned on 8 bytes.

Jun 15 2016, 9:24 AM · Not A Bug, gpgrt, Bug Report
jf added a comment to T2378: t-lock and random tests crash on SPARC 32-bit.

Please, find below the preliminary suggested fix:

  • ./src/gen-posix-lock-obj.c.orig Mon Jun 13 08:07:53 2016

+++ ./src/gen-posix-lock-obj.c Mon Jun 13 08:08:40 2016
@@ -42,21 +42,8 @@
#endif
#endif

-/* Special requirements for certain platforms. */

  • define USE_LONG_DOUBLE_FOR_ALIGNMENT 0

-#if defined(sun) && !defined (LP64__) && !defined(_LP64)
-/* Solaris on 32-bit architecture. */

  • define USE_DOUBLE_FOR_ALIGNMENT 1

-#else

  • define USE_DOUBLE_FOR_ALIGNMENT 0

-#endif
-#if defined(hppa)

  • define USE_16BYTE_ALIGNMENT 1

-#else

  • define USE_16BYTE_ALIGNMENT 0

-#endif

-#if USE_16BYTE_ALIGNMENT && !HAVE_GCC_ATTRIBUTE_ALIGNED
+#if defined(hppa) && !HAVE_GCC_ATTRIBUTE_ALIGNED

  1. error compiler is not able to enforce a 16 byte alignment #endif

@@ -122,12 +109,14 @@

"\n"
"#define GPGRT_LOCK_INITIALIZER {%d,{{",
SIZEOF_PTHREAD_MUTEX_T,
  • if USE_16BYTE_ALIGNMENT

+/* Special requirements for certain platforms. */
+# ifdef (hppa)

"    int _x16_align __attribute__ ((aligned (16)));\n",
    • elif USE_DOUBLE_FOR_ALIGNMENT
  • " double _xd_align;\n",
    • elif USE_LONG_DOUBLE_FOR_ALIGNMENT
  • " long double _xld_align;\n",

+# elif defined(sun)
+ "#if (defined(
sparc) || defined(sparc)) && \\\n"
+ " !defined (LP64) && !defined(_LP64)\n"
+ " double _xd_align;\n"
+ "#endif\n",

  1. else "",
  2. endif
Jun 15 2016, 9:18 AM · Not A Bug, gpgrt, Bug Report