Page MenuHome GnuPG
Feed Advanced Search

May 8 2024

jukivili closed T7111: aarch64 assembly code for chacha20 should use local symbols for internal data as Resolved.
May 8 2024, 9:02 PM · asm, arm, libgcrypt, Bug Report
jukivili claimed T7111: aarch64 assembly code for chacha20 should use local symbols for internal data.
May 8 2024, 9:01 PM · asm, arm, libgcrypt, Bug Report
jukivili added a comment to T7111: aarch64 assembly code for chacha20 should use local symbols for internal data.

Thanks for report. I've applied this change to master.

May 8 2024, 9:01 PM · asm, arm, libgcrypt, Bug Report

May 7 2024

saurik created T7111: aarch64 assembly code for chacha20 should use local symbols for internal data.
May 7 2024, 9:52 AM · asm, arm, libgcrypt, Bug Report

Aug 25 2021

gniibe closed T5251: Compile error on ARMv7 for libgcrypt as Resolved.
Aug 25 2021, 3:58 AM · asm, libgcrypt, Bug Report

Apr 26 2021

jukivili closed T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO as Resolved.
Apr 26 2021, 5:43 PM · asm, libgcrypt, clang, Bug Report

Feb 12 2021

werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5251: Compile error on ARMv7 for libgcrypt , as Resolved.
Feb 12 2021, 12:34 PM · asm, libgcrypt, Bug Report
werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO, as Resolved.
Feb 12 2021, 12:34 PM · asm, libgcrypt, clang, Bug Report

Feb 6 2021

jukivili closed T5256: libgcrypt, convert Intel syntax x86_64 assembly files to AT&T syntax as Resolved.

Problem with clang and these files was resolved by replacement of assembler macros with C preprocessor macros.

Feb 6 2021, 12:47 PM · asm, clang, libgcrypt
jukivili closed T5256: libgcrypt, convert Intel syntax x86_64 assembly files to AT&T syntax, a subtask of T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO, as Resolved.
Feb 6 2021, 12:47 PM · asm, libgcrypt, clang, Bug Report

Jan 29 2021

werner changed the status of T5259: Release Libgcrypt 1.9.1, a subtask of T5251: Compile error on ARMv7 for libgcrypt , from Open to Testing.
Jan 29 2021, 11:25 AM · asm, libgcrypt, Bug Report
werner changed the status of T5259: Release Libgcrypt 1.9.1, a subtask of T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO, from Open to Testing.
Jan 29 2021, 11:25 AM · asm, libgcrypt, clang, Bug Report
gniibe added a subtask for T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO: T5259: Release Libgcrypt 1.9.1.
Jan 29 2021, 1:11 AM · asm, libgcrypt, clang, Bug Report

Jan 28 2021

werner changed the status of T5251: Compile error on ARMv7 for libgcrypt from Open to Testing.
Jan 28 2021, 10:30 AM · asm, libgcrypt, Bug Report
gniibe added a subtask for T5251: Compile error on ARMv7 for libgcrypt : T5259: Release Libgcrypt 1.9.1.
Jan 28 2021, 12:37 AM · asm, libgcrypt, Bug Report

Jan 23 2021

jukivili added a comment to T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO.

That might be helpful. But, on the other hand, if I had just googled the problem I was seeing I would have gotten answer quite fast.

Jan 23 2021, 4:51 PM · asm, libgcrypt, clang, Bug Report

Jan 22 2021

werner added a comment to T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO.

Should we add this to the hints in the README? After all this does not seem to be the standard system compiler or it has not been properly setup as replacement.

Jan 22 2021, 5:47 PM · asm, libgcrypt, clang, Bug Report
jukivili added a comment to T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO.

Problem was that my build system was selecting "ar" and "ranlib", where as your build system selects "llvm-ar" and "llvm-ranlib".

Jan 22 2021, 5:33 PM · asm, libgcrypt, clang, Bug Report

Jan 21 2021

telans added a comment to T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO.

Unfortunately these are not enough to enable building with clang LTO. Build now fails when linking test executables (libgcrypt.so gets build however):

Any ideas what might be causing this?

Jan 21 2021, 9:47 PM · asm, libgcrypt, clang, Bug Report
jukivili added a comment to T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO.

Configure output has still has some differences LTO vs non-LTO:

--- non-lto.log 2021-01-21 22:25:14.966099577 +0200
+++ lto.log     2021-01-21 22:25:23.174086100 +0200
@@ -63,7 +63,7 @@
 checking for archiver @FILE support... @
 checking for strip... strip
 checking for ranlib... ranlib
-checking command to parse /usr/bin/nm -B output from clang object... ok
+checking command to parse /usr/bin/nm -B output from clang object... failed
 checking for sysroot... no
 checking for mt... mt
 checking if mt is a manifest tool... no
@@ -75,7 +75,7 @@
 checking if clang static flag -static works... yes
 checking if clang supports -c -o file.o... yes
 checking if clang supports -c -o file.o... (cached) yes
-checking whether the clang linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
+checking whether the clang linker (/usr/bin/ld) supports shared libraries... yes
 checking whether -lc should be explicitly linked in... no
 checking dynamic linker characteristics... GNU/Linux ld.so
 checking how to hardcode library paths into programs... immediate
@@ -168,8 +168,8 @@
 checking whether 'asm' assembler keyword is supported... yes
 checking whether '__asm__' assembler keyword is supported... yes
 checking whether inline assembly memory barrier is supported... yes
-checking whether GCC assembler is compatible for ARM assembly implementations... no
-checking whether GCC assembler is compatible for ARMv8/Aarch64 assembly implementations... no
+checking whether GCC assembler is compatible for ARM assembly implementations... yes
+checking whether GCC assembler is compatible for ARMv8/Aarch64 assembly implementations... yes
 checking whether GCC assembler supports for CFI directives... yes
 checking whether GCC assembler supports for ELF directives... yes
 checking for _ prefix in compiled symbols... no
@@ -240,7 +240,7 @@
 checking if gcc supports -Wno-missing-field-initializers... yes
 checking if gcc supports -Wpointer-arith... yes
 checking whether non excutable stack support is requested... yes
-checking whether assembler supports --noexecstack option... yes
+checking whether assembler supports --noexecstack option... no
 checking that generated files are newer than configure... done
 configure: creating ./config.status
 config.status: creating Makefile
Jan 21 2021, 9:27 PM · asm, libgcrypt, clang, Bug Report
jukivili added a comment to T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO.

Clang support Intel syntax after all, but not assembler macros that were used. Here's two patches that fix the configure.ac issue and removes use of assembly macros in Intel syntax assembly files:

Jan 21 2021, 9:23 PM · asm, libgcrypt, clang, Bug Report

Jan 20 2021

werner triaged T5256: libgcrypt, convert Intel syntax x86_64 assembly files to AT&T syntax as Normal priority.
Jan 20 2021, 2:11 PM · asm, clang, libgcrypt
jukivili removed a subtask for T5251: Compile error on ARMv7 for libgcrypt : T5256: libgcrypt, convert Intel syntax x86_64 assembly files to AT&T syntax.
Jan 20 2021, 1:24 PM · asm, libgcrypt, Bug Report
jukivili added a subtask for T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO: T5256: libgcrypt, convert Intel syntax x86_64 assembly files to AT&T syntax.
Jan 20 2021, 1:24 PM · asm, libgcrypt, clang, Bug Report
jukivili added a subtask for T5251: Compile error on ARMv7 for libgcrypt : T5256: libgcrypt, convert Intel syntax x86_64 assembly files to AT&T syntax.
Jan 20 2021, 1:22 PM · asm, libgcrypt, Bug Report
jukivili added a comment to T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO.

Breakage appears to happen in configure.ac. When building with clang without LTO following check gives "no":

Jan 20 2021, 1:14 PM · asm, libgcrypt, clang, Bug Report
telans added a comment to T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO.

Both are affected. I updated to reflect that I tested the newer version

Jan 20 2021, 9:39 AM · asm, libgcrypt, clang, Bug Report
werner triaged T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO as Normal priority.
Jan 20 2021, 9:33 AM · asm, libgcrypt, clang, Bug Report
werner triaged T5251: Compile error on ARMv7 for libgcrypt as Normal priority.
Jan 20 2021, 9:28 AM · asm, libgcrypt, Bug Report

Nov 28 2019

jukivili closed T4425: libgcrypt relocation error on aarch64 as Resolved.
Nov 28 2019, 4:15 PM · asm, libgcrypt, Bug Report

Apr 1 2019

jukivili placed T4425: libgcrypt relocation error on aarch64 up for grabs.

I think commit https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=09c27280cc09798d15369b3a143036b7ab5ddd69 should be backported to 1.8 branch of libgcrypt.

Apr 1 2019, 9:16 PM · asm, libgcrypt, Bug Report

Mar 25 2019

Chris6502 added a comment to T4425: libgcrypt relocation error on aarch64.

Thank you, it worked.

Mar 25 2019, 7:45 PM · asm, libgcrypt, Bug Report

Mar 24 2019

jukivili claimed T4425: libgcrypt relocation error on aarch64.
Mar 24 2019, 8:55 PM · asm, libgcrypt, Bug Report
jukivili closed T4317: libgcrypt: cipher/camellia-aarch64.S is not PIC as Resolved.
Mar 24 2019, 9:14 AM · asm, libgcrypt, Bug Report
jukivili claimed T4317: libgcrypt: cipher/camellia-aarch64.S is not PIC.
Mar 24 2019, 9:13 AM · asm, libgcrypt, Bug Report

Jan 10 2019

werner triaged T4317: libgcrypt: cipher/camellia-aarch64.S is not PIC as High priority.

Set to high because it breaks a build.

Jan 10 2019, 1:31 PM · asm, libgcrypt, Bug Report

Aug 15 2017

marcus closed T3182: gnupg 1.4 built with gcc 7.0.1 fails the tests on ARM as Resolved.

It's been a month since last release, no error reports so far.

Aug 15 2017, 5:44 PM · gnupg (gpg14), asm, Bug Report

Jul 4 2017

marcus changed the status of T3182: gnupg 1.4 built with gcc 7.0.1 fails the tests on ARM from Open to Testing.
Jul 4 2017, 11:25 PM · gnupg (gpg14), asm, Bug Report
marcus added a comment to T3182: gnupg 1.4 built with gcc 7.0.1 fails the tests on ARM.

Should be fixed in 782f804765b6f4226fd77843e59f57dcca61b6fb, can you verify that? Thanks!

Jul 4 2017, 11:23 PM · gnupg (gpg14), asm, Bug Report

Jun 7 2017

werner assigned T3182: gnupg 1.4 built with gcc 7.0.1 fails the tests on ARM to marcus.

Marcus, can you please check this?

Jun 7 2017, 1:15 PM · gnupg (gpg14), asm, Bug Report

Jun 1 2017

werner added a project to T3182: gnupg 1.4 built with gcc 7.0.1 fails the tests on ARM: asm.
Jun 1 2017, 9:38 PM · gnupg (gpg14), asm, Bug Report
werner set the icon for asm to Tag.
Jun 1 2017, 9:38 PM
werner updated the image for asm from F140398: fa-briefcase-yellow.png to F140401: profile.
Jun 1 2017, 9:37 PM
werner set the color for asm to Yellow.
Jun 1 2017, 9:36 PM