toolchainTag
ActivePublic

Members

  • This project does not have any members.

Watchers

  • This project does not have any watchers.

Details

Description

Bug or other problem with the toolchain (compiler, etc)

Recent Activity

Mon, Feb 22

werner added a comment to T5205: GNuPG compile error.

The configure run tells you what libraries are missing - none in your case. However, something is wrong with your development setup: The configure run detected libksba but cc compiler did not found it anymore. Check that you don't have any special envvars set etc. What is the actual compiler command which failed (make sure not to pass V=0 to make for this).

Mon, Feb 22, 10:44 AM · gnupg (gpg22), toolchain, Support

Sun, Feb 21

rameshrella added a comment to T5205: GNuPG compile error.

Dear Werner,

Sun, Feb 21, 8:17 PM · gnupg (gpg22), toolchain, Support

Mon, Feb 15

aheinecke added a commit to T5302: autogen.sh --build-w32 fails with "configure: convert is missing": rW04b60b0b6f87: doc: Add imagemagick for convert dependency.
Mon, Feb 15, 8:23 AM · toolchain, gpg4win
aheinecke changed the status of T5302: autogen.sh --build-w32 fails with "configure: convert is missing" from Wontfix to Resolved.

Thanks, I try to keep the README always up to date with the debian depenencies as I find this useful myself without running configure multiple times to find all the dependencies.

Mon, Feb 15, 8:15 AM · toolchain, gpg4win

Sun, Feb 14

doug added a comment to T5302: autogen.sh --build-w32 fails with "configure: convert is missing".

No question a list like this is bound to be incomplete, but the argument "the README can only tell about those which we don't expect to be installed on a developer's box" does seem to apply to the other items already on the list. For instance texinfo, build-essentials, and automake are almost certainly on every developers machine already.

Sun, Feb 14, 6:43 PM · toolchain, gpg4win
werner closed T5302: autogen.sh --build-w32 fails with "configure: convert is missing" as Wontfix.

There is a message telling you what is missing. Thus I can not consider this a bug. There are just too many dependencies which are required for cross-compiling that the README can only tell about those which we don't expect to be installed on a developer's box.

Sun, Feb 14, 4:12 PM · toolchain, gpg4win

Fri, Feb 12

werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5157: libgcrypt: ARM64 Builds on macOS fail, as Resolved.
Fri, Feb 12, 12:34 PM · toolchain, MacOS, libgcrypt, Bug Report

Feb 1 2021

patrick added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

no, that doesn't change anything.

Feb 1 2021, 8:00 AM · toolchain, MacOS, libgcrypt, Bug Report

Jan 31 2021

jukivili added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

Does it build if configure with parameter 'ac_cv_sys_symbol_underscore=yes'? <path-to-libgcrypt-source>/configure ac_cv_sys_symbol_underscore=yes --host=aarch64-apple-darwin ...

Jan 31 2021, 7:32 PM · toolchain, MacOS, libgcrypt, Bug Report

Jan 30 2021

patrick added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

Compiling now works, but I get the following linker errors:

Jan 30 2021, 5:15 PM · toolchain, MacOS, libgcrypt, Bug Report

Jan 29 2021

werner changed the status of T5259: Release Libgcrypt 1.9.1, a subtask of T5157: libgcrypt: ARM64 Builds on macOS fail, from Open to Testing.
Jan 29 2021, 11:25 AM · toolchain, MacOS, libgcrypt, Bug Report

Jan 28 2021

gniibe added a subtask for T5157: libgcrypt: ARM64 Builds on macOS fail: T5259: Release Libgcrypt 1.9.1.
Jan 28 2021, 12:30 AM · toolchain, MacOS, libgcrypt, Bug Report

Jan 27 2021

jukivili added a commit to T5157: libgcrypt: ARM64 Builds on macOS fail: rC014fed515364: asm-common-aarch64: add MacOS support for GET_DATA_POINTER.
Jan 27 2021, 5:45 PM · toolchain, MacOS, libgcrypt, Bug Report
aheinecke removed a commit from T5157: libgcrypt: ARM64 Builds on macOS fail: rGb08418d22cc8: gpg: Fix ugly error message for an unknown symkey algorithm..
Jan 27 2021, 12:21 PM · toolchain, MacOS, libgcrypt, Bug Report
Jab added a commit to T5157: libgcrypt: ARM64 Builds on macOS fail: rGb08418d22cc8: gpg: Fix ugly error message for an unknown symkey algorithm..
Jan 27 2021, 11:55 AM · toolchain, MacOS, libgcrypt, Bug Report

Jan 24 2021

jukivili added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

Does attached patch help?

Jan 24 2021, 3:49 PM · toolchain, MacOS, libgcrypt, Bug Report

Jan 23 2021

patrick added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

I tried it - that doesn't help. Same error message.

Jan 23 2021, 5:48 PM · toolchain, MacOS, libgcrypt, Bug Report
jukivili added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

Problem is in GET_DATA_POINTER macro. MacOS assembler expects data references in some different format than Linux. Could you try following edit and see if libgcrypt then compiles? In cipher/asm-common-aarch64.h, there is definition of GET_DATA_POINTER macro:

#ifdef _WIN32
#define GET_DATA_POINTER(reg, name) \
	adrp    reg, name ; \
	add     reg, reg, #:lo12:name ;
#else
#define GET_DATA_POINTER(reg, name) \
	adrp    reg, :got:name ; \
	ldr     reg, [reg, #:got_lo12:name] ;
#endif
Jan 23 2021, 4:49 PM · toolchain, MacOS, libgcrypt, Bug Report
patrick added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

I have now tried to build libgcrypt 1.9.0 for arm64 using clang. I get the following error:

Jan 23 2021, 10:52 AM · toolchain, MacOS, libgcrypt, Bug Report

Jan 5 2021

werner triaged T5190: g10 Compiler error as Low priority.
Jan 5 2021, 9:40 AM · AIX, toolchain, gnupg
werner triaged T5157: libgcrypt: ARM64 Builds on macOS fail as Normal priority.
Jan 5 2021, 9:18 AM · toolchain, MacOS, libgcrypt, Bug Report
werner triaged T5205: GNuPG compile error as Low priority.
Jan 5 2021, 9:12 AM · gnupg (gpg22), toolchain, Support

Dec 26 2020

werner edited projects for T5190: g10 Compiler error , added: toolchain, AIX; removed Info Needed.
Dec 26 2020, 8:54 PM · AIX, toolchain, gnupg

Dec 4 2020

patrick added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

OK, then we'll have to live with --disable-asm until the next major version is released, or switch to gcc.

Dec 4 2020, 9:20 PM · toolchain, MacOS, libgcrypt, Bug Report
werner added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

We should not do this.

Dec 4 2020, 12:17 PM · toolchain, MacOS, libgcrypt, Bug Report

Dec 3 2020

jukivili added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

AArch64 clang support was added to 'master' on 2018-03-28. One would need to backport commits 8ee38806245ca8452051b1a245f44082323f37f6...9b58e4a03ba3aeff7bae3f40da706977870c9649 to 1.8 branch.

Dec 3 2020, 7:39 PM · toolchain, MacOS, libgcrypt, Bug Report
patrick added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

ARM64 has been only tested on platforms which support ELF.

While it doesn't looks good (using AMD64 even if it's ARM64), I think this patch should be applied:

diff --git a/cipher/asm-common-aarch64.h b/cipher/asm-common-aarch64.h
...
Dec 3 2020, 5:48 PM · toolchain, MacOS, libgcrypt, Bug Report

Dec 1 2020

gniibe added a comment to T5024: libtool problem for some platforms for 'make check' (program built with -no-install won't work without installation).

For macOS, with SIP, some program like libgcrypt/tests/random fails, because the hack for DYLD_LIBRARY_PATH by libtool doesn't work for child process:
https://developer.apple.com/library/archive/documentation/Security/Conceptual/System_Integrity_Protection_Guide/RuntimeProtections/RuntimeProtections.html

Dec 1 2020, 3:09 AM · toolchain

Nov 30 2020

jukivili added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

Another issue that comes in to mind is that current ARM/ARM64 HW feature detection most likely wont work on MacOS. Thus HW accelerated AES&SHA&GHASH implementation wont be used.

Nov 30 2020, 8:54 AM · toolchain, MacOS, libgcrypt, Bug Report
werner added a parent task for T5157: libgcrypt: ARM64 Builds on macOS fail: T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac.
Nov 30 2020, 8:47 AM · toolchain, MacOS, libgcrypt, Bug Report
jukivili added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

HAVE_COMPATIBLE_GCC_AMD64_PLATFORM_AS is never defined on ARM64 as it depends on "$mpi_cpu_arch" == "x86". Instead I think new check for GCC assembly ELF directives would be needed in configure.ac, similar to HAVE_GCC_ASM_CFI_DIRECTIVES check. Following check should work, but I have not yet tested it:

Nov 30 2020, 6:49 AM · toolchain, MacOS, libgcrypt, Bug Report
gniibe added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

ARM64 has been only tested on platforms which support ELF.

Nov 30 2020, 2:48 AM · toolchain, MacOS, libgcrypt, Bug Report

Nov 29 2020

patrick added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

Yes, I did. Identical result.

Nov 29 2020, 5:12 PM · toolchain, MacOS, libgcrypt, Bug Report
werner added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

Why the hell do they that? The standard compiler on a system is called cc which may translated to whatever the system installs for it. gcc is a specific implementation with certain properties. Di you try CC=clang to override this?

Nov 29 2020, 4:41 PM · toolchain, MacOS, libgcrypt, Bug Report
patrick added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

And the arm64 cross-compiler:

Nov 29 2020, 3:06 PM · toolchain, MacOS, libgcrypt, Bug Report
patrick added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

Sorry, I forgot to mention that Apple ships a gcc-wrapper for clang. It just accepts gcc command lines parameters and translates them to clang parameters.
Here is the output of gcc --version:

Nov 29 2020, 2:54 PM · toolchain, MacOS, libgcrypt, Bug Report
werner added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

You say that you build using clang but the log shows that you invoke gcc.

Nov 29 2020, 1:22 PM · toolchain, MacOS, libgcrypt, Bug Report
werner added projects to T5157: libgcrypt: ARM64 Builds on macOS fail: libgcrypt, MacOS, toolchain.
Nov 29 2020, 1:21 PM · toolchain, MacOS, libgcrypt, Bug Report

Oct 3 2020

werner added a commit to T5088: gpgme-1-13-1 test failure and errors and build errors: rM25e2d717f446: tests: Fix gcc incompatibility.
Oct 3 2020, 7:59 PM · gpgme, toolchain, Bug Report
werner closed T5088: gpgme-1-13-1 test failure and errors and build errors as Resolved.
Oct 3 2020, 7:55 PM · gpgme, toolchain, Bug Report

Aug 17 2020

werner triaged T5024: libtool problem for some platforms for 'make check' (program built with -no-install won't work without installation) as Normal priority.
Aug 17 2020, 9:41 AM · toolchain
werner closed T5025: error: Cannot find a type to use in place of socklen_t as Resolved.

No, c99 was never required. Meanwhile we use a few c99 features but those are supported without any compiler option.

Aug 17 2020, 9:27 AM · Solaris, toolchain, libassuan

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
werner added projects to T5025: error: Cannot find a type to use in place of socklen_t: toolchain, Solaris.

Please try with out supplied CFLAGS or change them from

Aug 14 2020, 9:40 AM · Solaris, toolchain, libassuan

Jul 16 2020

werner added a project to T3957: GPGME: mkdefsinc segfaults on windows: unreproducible.
Jul 16 2020, 3:29 PM · unreproducible, toolchain, Documentation, Windows, gpgme
werner closed T3957: GPGME: mkdefsinc segfaults on windows as Invalid.

No info received

Jul 16 2020, 3:27 PM · unreproducible, toolchain, Documentation, Windows, gpgme

Jun 28 2020

werner closed T4980: Libgpg-Error compilation fails if grep_options are enabled as Wontfix.
Jun 28 2020, 4:17 PM · toolchain, MacOS, Bug Report

Mar 20 2020

werner closed T4831: gnupg-2.2.19 fails to build on latest Fedora Rawhide as Resolved.
Mar 20 2020, 5:59 PM · gnupg (gpg22), toolchain, Bug Report

Mar 18 2020

werner moved T4831: gnupg-2.2.19 fails to build on latest Fedora Rawhide from Backlog to For next release on the gnupg (gpg22) board.
Mar 18 2020, 3:49 PM · gnupg (gpg22), toolchain, Bug Report

Feb 17 2020

werner triaged T4848: Usage of git in configure.ac for pinentry/gpa finds incorrect repositories as Normal priority.

Yeah, this can be done.

Feb 17 2020, 9:19 AM · pinentry, gpa, toolchain, Bug Report