Page MenuHome GnuPG

toolchainTag
ActivePublic

Members

  • This project does not have any members.
  • View All

Watchers

  • This project does not have any watchers.
  • View All

Details

Description

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

Recent Activity

May 16 2022

gniibe removed a project from T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared: Testing.
May 16 2022, 8:23 AM · toolchain, libksba, Bug Report

May 13 2022

werner closed T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared as Resolved.
May 13 2022, 3:48 PM · toolchain, libksba, Bug Report

May 10 2022

gniibe added a comment to T5899: Fix compilation of dirmngr with mingw.org's MinGW.

Pushed the changes for http.c.

May 10 2022, 7:58 AM · patch, Feature Request, Windows, toolchain

May 9 2022

gniibe closed T5581: buf_eq_const() function in cipher/bufhelp.h may get wrong result as Wontfix.

GCC 11.3 and GCC 12.1 are out with the fix.

May 9 2022, 3:02 AM · toolchain, libgcrypt, Bug Report

Mar 30 2022

gniibe claimed T5899: Fix compilation of dirmngr with mingw.org's MinGW.

Last part is applied. Let me consider how to solve, for other parts.

Mar 30 2022, 6:07 AM · patch, Feature Request, Windows, toolchain

Mar 22 2022

eliz added a comment to T5897: Fix MinGW compilation error with 'struct _stat32' in common/sysutils.c from gnupg-2.3.4.

I guess I don't understand what you mean by "native building". This build was with MinGW, which is as "native" as MinGW64 is.
The reason for the problem is (AFAIU) that MinGW64 went after Microsoft's change in stat due to the 32-bit vs 64-bit time and off_t values issue.s That change breaks backward compatibility in more than one way: programs compiled on some versions of Windows will not run on other versions. mingw.org's MinGW kept the original semantics and symbols, which is why _stat32 exists in the mingw.org's headers, but is not exposed by default.

Mar 22 2022, 1:52 PM · gnupg (gpg23), toolchain, Feature Request, patch
werner triaged T5897: Fix MinGW compilation error with 'struct _stat32' in common/sysutils.c from gnupg-2.3.4 as Normal priority.

Turned into a feature request because native building on Windows is not supported.

Mar 22 2022, 11:49 AM · gnupg (gpg23), toolchain, Feature Request, patch
werner triaged T5899: Fix compilation of dirmngr with mingw.org's MinGW as Normal priority.
Mar 22 2022, 11:43 AM · patch, Feature Request, Windows, toolchain

Mar 16 2022

gniibe closed T5157: libgcrypt: ARM64 Builds on macOS fail as Resolved.
Mar 16 2022, 3:09 PM · toolchain, MacOS, libgcrypt, Bug Report

Nov 23 2021

werner closed T5205: GNuPG compile error as Resolved.
Nov 23 2021, 9:17 AM · gnupg (gpg22), toolchain, Support

Oct 13 2021

gniibe added a project to T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared: Testing.
Oct 13 2021, 10:03 AM · toolchain, libksba, Bug Report
gniibe closed T4848: Usage of git in configure.ac for pinentry/gpa finds incorrect repositories as Resolved.
Oct 13 2021, 3:54 AM · pinentry, gpa, toolchain, Bug Report

Oct 12 2021

werner added a comment to T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared.

Bison used to be the de-facto standard yacc ;-)

Oct 12 2021, 2:33 PM · toolchain, libksba, Bug Report
gniibe claimed T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared.

I think that a simple way is defining a table (string -> token) by ourselves in yylex, not enabling %token-table.
(Then, we don't need to depend on the feature of string with %token, which is not supported by POSIX yacc.)

Oct 12 2021, 9:50 AM · toolchain, libksba, Bug Report

Oct 11 2021

werner raised the priority of T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared from Normal to High.

Thanks for your findings. I recall that I read this in the announcement and cursed about this new tendency in GNU to break long standing APIs.

Oct 11 2021, 5:49 PM · toolchain, libksba, Bug Report
adrianvovk added a comment to T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared.

Looks like yytoknum was removed from Bison in version 3.8: http://git.savannah.gnu.org/cgit/bison.git/commit/?id=1efe31185ff6b0bc22ff527098971bedf1ace5f4

Oct 11 2021, 8:50 AM · toolchain, libksba, Bug Report

Sep 22 2021

werner triaged T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared as Normal priority.
Sep 22 2021, 9:55 PM · toolchain, libksba, Bug Report

Sep 1 2021

jukivili added a comment to T5581: buf_eq_const() function in cipher/bufhelp.h may get wrong result.

Based on GCC bugzilla, affected released GCC versions are 11.1 and 11.2.

Sep 1 2021, 3:44 PM · toolchain, libgcrypt, Bug Report
jukivili added a comment to T5581: buf_eq_const() function in cipher/bufhelp.h may get wrong result.

(ab | ba) >= 0 is used to make optimization analysis for compiler more difficult. I see that with (ab | ba) == 0, it would be much easier for compiler to conclude than loop could exit early as soon as first a[i] != b[i] is seen.

Sep 1 2021, 3:39 PM · toolchain, libgcrypt, Bug Report

Aug 31 2021

changyp6 updated the task description for T5581: buf_eq_const() function in cipher/bufhelp.h may get wrong result.
Aug 31 2021, 9:57 AM · toolchain, libgcrypt, Bug Report
werner triaged T5581: buf_eq_const() function in cipher/bufhelp.h may get wrong result as High priority.
Aug 31 2021, 7:58 AM · toolchain, libgcrypt, Bug Report

May 11 2021

werner triaged T5431: Use AC_PROG_CC_C99 as Normal priority.
May 11 2021, 8:23 AM · toolchain, gnupg (gpg23)

Apr 18 2021

werner added a comment to T5394: scute: Build failure with slibtool.

t-link does not do antthing useful, anyway. I don't think it is justified to add dlopen stuff. Running real test is anyway a manual action; for a full test automation we would need to emulate all supported cards.

Apr 18 2021, 7:40 PM · toolchain, Feature Request, scute

Apr 17 2021

gouttegd added a comment to T5394: scute: Build failure with slibtool.

the t-link test should dlopen scute.so in runtime rather than link against it in build-time.

Apr 17 2021, 4:15 PM · toolchain, Feature Request, scute

Apr 16 2021

midipix added a comment to T5394: scute: Build failure with slibtool.

As of slibtool commit 9c5ba5eb, scute now builds out of the box. I'd still recommend taking the above into consideration, though.

Apr 16 2021, 4:53 PM · toolchain, Feature Request, scute
midipix added a comment to T5394: scute: Build failure with slibtool.

For what it's worth, scute is in violation of gnu libtool's documentation. Building with gnu libtool:

Apr 16 2021, 10:21 AM · toolchain, Feature Request, scute

Apr 15 2021

gniibe changed the status of T4848: Usage of git in configure.ac for pinentry/gpa finds incorrect repositories from Open to Testing.

Done for gpa.
Please test.

Apr 15 2021, 7:08 AM · pinentry, gpa, toolchain, Bug Report
gniibe added a comment to T4848: Usage of git in configure.ac for pinentry/gpa finds incorrect repositories.

Done for pinentry.

Apr 15 2021, 6:36 AM · pinentry, gpa, toolchain, Bug Report

Apr 13 2021

midipix added a comment to T5394: scute: Build failure with slibtool.

Regarding slibtool: I would actually like to have an easier to maintain tool than libtool (of which we use our own version) for GnuPG related software. However, its requirement "the compiler should support -std=c99" is currently a no-starter for libgcrypt and some other libs.

Apr 13 2021, 9:13 PM · toolchain, Feature Request, scute
werner triaged T5394: scute: Build failure with slibtool as Normal priority.
Apr 13 2021, 8:13 AM · toolchain, Feature Request, scute

Mar 29 2021

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

Feb 22 2021

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).

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

Feb 21 2021

rameshrella added a comment to T5205: GNuPG compile error.

Dear Werner,

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

Feb 15 2021

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.

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

Feb 14 2021

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 not seem to apply to the other items already on the list. For instance build-essentials and automake are almost certainly on every developers machine already.

Feb 14 2021, 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.

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

Feb 12 2021

werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5157: libgcrypt: ARM64 Builds on macOS fail, as Resolved.
Feb 12 2021, 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 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