Members

  • This project does not have any members.

Watchers

  • This project does not have any watchers.

Details

Description

asm related tasks. May need didcated knowledge of the target CPU.

Recent Activity

Today

jukivili added a commit to T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO: rC9f49e806f950: sha512/sha256: remove assembler macros from AMD64 implementations.
Tue, Jan 26, 6:54 PM · asm, libgcrypt, clang, Bug Report
jukivili added a commit to T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO: rC393bd6c3d1aa: configure.ac: run assembler checks through linker for better LTO support.
Tue, Jan 26, 6:54 PM · asm, libgcrypt, clang, Bug Report

Sat, Jan 23

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.

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

Fri, Jan 22

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.

Fri, Jan 22, 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".

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

Thu, Jan 21

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?

Thu, Jan 21, 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
Thu, Jan 21, 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:

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

Wed, Jan 20

jukivili added a commit to T5251: Compile error on ARMv7 for libgcrypt : rC81354e911bfa: tests/basic: fix build on ARM32 when NEON disabled.
Wed, Jan 20, 9:37 PM · asm, libgcrypt, Bug Report
werner triaged T5256: libgcrypt, convert Intel syntax x86_64 assembly files to AT&T syntax as Normal priority.
Wed, Jan 20, 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.
Wed, Jan 20, 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.
Wed, Jan 20, 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.
Wed, Jan 20, 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":

Wed, Jan 20, 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

Wed, Jan 20, 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.
Wed, Jan 20, 9:33 AM · asm, libgcrypt, clang, Bug Report
werner triaged T5251: Compile error on ARMv7 for libgcrypt as Normal priority.
Wed, Jan 20, 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 14 2019

jukivili added a commit to T4317: libgcrypt: cipher/camellia-aarch64.S is not PIC: rC09c27280cc09: camellia-aarch64: do not export look-up table globally.
Jan 14 2019, 10:14 PM · 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 commit to T3182: gnupg 1.4 built with gcc 7.0.1 fails the tests on ARM: rG782f804765b6: mpi: Fix ARM assembler in longlong.h..
Jul 4 2017, 11:24 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