Page MenuHome GnuPG
Feed Advanced Search

Aug 3 2017

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 · Not A Bug, Bug Report, 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 · Not A Bug, Bug Report, gpgrt
werner added a project to T2845: libgpg-error 1.25 fails to build: Not A Bug.
Nov 28 2016, 10:12 AM · Not A Bug, Bug Report, 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 · Not A Bug, Bug Report, gpgrt
musluser raised the priority of T2845: libgpg-error 1.25 fails to build from Normal to High.
Nov 26 2016, 4:02 PM · Not A Bug, Bug Report, gpgrt
musluser added a project to T2845: libgpg-error 1.25 fails to build: Bug Report.
Nov 26 2016, 4:02 PM · Not A Bug, Bug Report, gpgrt
musluser reopened T2845: libgpg-error 1.25 fails to build as "Open".
Nov 26 2016, 4:02 PM · Not A Bug, Bug Report, 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 · Not A Bug, Bug Report, gpgrt

Nov 20 2016

werner closed T2845: libgpg-error 1.25 fails to build as Invalid.
Nov 20 2016, 4:45 PM · Not A Bug, Bug Report, 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 · Not A Bug, Bug Report, gpgrt
werner removed a project from T2845: libgpg-error 1.25 fails to build: Bug Report.
Nov 20 2016, 4:45 PM · Not A Bug, Bug Report, 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 · Not A Bug, Bug Report, 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 · Not A Bug, 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".

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

Jun 13 2016

gniibe added a project to T2371: gnupg 2.1, gpg-agent crashing on 'assertion failed' (OS X, Homebrew): gpgrt.
Jun 13 2016, 7:10 AM · gpgrt, Bug Report

Jun 8 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".

I would except that config.sub already validates such names as 'armv7a-hardfloat-
linux-gnueabi' so there is nothing to fix. It is libgpg-error that doesn't. If
you feel it should invalidate such names please report that to the GNU config
folks instead. Their repo is at git://git.sv.gnu.org/config.git. Otherwise
pleases fix libgpg-error.

Jun 8 2016, 8:33 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, that is not acceptable for libgpg-error. Please report that to the GNU config
folks instead. Their repo is at git://git.sv.gnu.org/config.git

Jun 8 2016, 6:46 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".

If you decide to change your mind, this patch places the logic in configure.ac.

Jun 8 2016, 6:41 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".

D370: 845_libgpg-error-link-valid-header.patch

Jun 8 2016, 6:41 AM · Info Needed, gpgrt, Gentoo, Bug Report

Jun 6 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".

The host naming scheme accepted by this project is really just Debian oriented.
There is nothing saying you have to aid other distro's hostnames but I have yet to
witness a project more unfriendly to non-Debianesque distros that libgpg-error.
You don't have to accept the patch. Understandable, since mkheader would not
ideally be the way to go. But you should at least be open to the idea of
supporting the more liberal host naming schemes that other distros employ.

Jun 6 2016, 10:54 PM · Info Needed, gpgrt, Gentoo, Bug Report

Jun 4 2016

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

D375: 844_20_posix-lock-obj.patch

Jun 4 2016, 7:47 PM · Not A Bug, gpgrt, Bug Report
jf added a project to T2378: t-lock and random tests crash on SPARC 32-bit: gpgrt.
Jun 4 2016, 7:04 PM · Not A Bug, gpgrt, Bug Report

Jun 1 2016

werner renamed T2370: libgpg-error: cross-compiling fails with "src/syscfg/lock-obj-pub.linux-gnueabi.h': No such file or directory" from lib-gpgerror: cross-compiling fails with "src/syscfg/lock-obj-pub.linux-gnueabi.h': No such file or directory" to libgpg-error: cross-compiling fails with "src/syscfg/lock-obj-pub.linux-gnueabi.h': No such file or directory".
Jun 1 2016, 2:22 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".

Ian may have a different opinion on that (now) but the GNU build system defines
it in the way I described it.

Jun 1 2016, 2:22 PM · Info Needed, gpgrt, Gentoo, Bug Report

May 27 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".

Whether or not config.sub is up to date should be irrelevant as to whether
libgpg-error should be able to handle CPU variants and the second field of a
HOST. It is supposed to be treated as a freeform field (see
http://airs.com/ian/configure/configure_4.html). As to the precision of the r.e,
it is not supposed to fix or mimic the logic of config.sub. It is to
effectively pigeonhole some HOST strings to a valid header file. Can you give me
a scenario where arm*linux-gnueabi shouldn't map to
lock-obj-pub.arm-unknown-linux-gnueabi.h?

Also, what is the source of your assertion that armv7a-hardfloat-linux-gnueabi
is not a valid canonical triplet? Everything that I have ever read about HOST
strings such as "armv7a-hardfloat-linux-gnueabi" is that configure scripts treat
them as valid and parse them with case statements (as demonstrated here
http://airs.com/ian/configure/configure_4.html). They don't demand that the
end-user pass a generic version of HOST, like "arm-unknown-linux-gnueabi". The
only reason I chose to patch mkheader.c instead or configure.ac was to build on
the mapping logic already there.

May 27 2016, 5:25 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".

config.sub is indeed intended to canonicalize triplets. Thus a an up-to-date
config.sub should fix this. In any case you can always override the guessed
value like this:

  -/configure --build=$(build-aux/config.guess) --host=arm-unknown-linux-gnueabi

I fear that a single r.e. is not precise enough; config.sub has more complicated
rules.

May 27 2016, 11:53 AM · Info Needed, gpgrt, Gentoo, Bug Report
Nsane457 added projects to T2370: libgpg-error: cross-compiling fails with "src/syscfg/lock-obj-pub.linux-gnueabi.h': No such file or directory": Bug Report, Gentoo, gpgrt.
May 27 2016, 4:58 AM · Info Needed, gpgrt, Gentoo, Bug Report

Apr 26 2016

gniibe added a comment to T1671: libgpg-error 1.13 does not link on Solaris 10.

libgpg-error 1.22 is out with fix. Please test.

Apr 26 2016, 1:35 AM · gpgrt, Bug Report
gniibe added a comment to T1931: libgpg-error-1.18 all tests core on Solaris10 with gcc4.9.2.

libgpg-error 1.2.2 is out. Please test with it.

Apr 26 2016, 1:34 AM · Bug Report, gpgrt

Apr 15 2016

gniibe added a comment to T2144: libgpg-error: assertion error on Solaris/sparc.

Thank you for your patch. Yes, we already located the issue is the alignment.
I think that it were good if the MTX were placed at the head. While your patch
works, it changes ABI of the lock object for existing archs, unfortunately.

I fixed the detection of Solaris in:
http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgpg-error.git;a=commit;h=f7a77c5c236ecec846de9be46703026f9b01008f

And I believe that the bug reported here had gone.
Please test current development master.

Apr 15 2016, 1:12 AM · Bug Report, gpgrt

Apr 14 2016

jf added a comment to T2144: libgpg-error: assertion error on Solaris/sparc.

Apr 14 2016, 5:25 PM · Bug Report, gpgrt
jf added a comment to T2144: libgpg-error: assertion error on Solaris/sparc.

The attached is an analysis from the Solaris/SPARC point of view.

One of the possible SPARC specific fixes:

  • ./src/posix-lock-obj.h.orig Wed Apr 13 08:24:20 2016

+++ ./src/posix-lock-obj.h Wed Apr 13 08:24:25 2016
@@ -29,7 +29,7 @@

typedef struct
{

  • long vers;

+ long long vers;
#if USE_POSIX_THREADS

union {
  pthread_mutex_t mtx;
  • ./src/gen-posix-lock-obj.c.orig Wed Apr 13 08:23:59 2016

+++ ./src/gen-posix-lock-obj.c Wed Apr 13 08:24:29 2016
@@ -66,7 +66,7 @@

int i;

#endif

struct {
  • long vers;

+ long long vers;
#ifdef USE_POSIX_THREADS

pthread_mutex_t mtx;

#endif
@@ -105,7 +105,7 @@

   union and include a long and a pointer to a long.  */
printf ("typedef struct\n"
        "{\n"
  • " long _vers;\n"

+ " long long _vers;\n"

"  union {\n"
"    volatile char _priv[%d];\n"
"%s"

@@ -138,7 +138,7 @@

printf ("/* Dummy object - no locking available.  */\n"
        "typedef struct\n"
        "{\n"
  • " long _vers;\n"

+ " long long _vers;\n"

           "} gpgrt_lock_t;\n"
           "\n"
           "#define GPGRT_LOCK_INITIALIZER {%d}\n",

Note, that this was not fully tested on other platforms and might need
additional changes in the header files. I did some minor tests on
Solaris amd64/SPARCv9/SPARCv7, Linux amd64/SPARCv9.

Apr 14 2016, 5:25 PM · Bug Report, gpgrt