Page MenuHome GnuPG

hppaTag
ActivePublic

Members

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

Watchers (1)

Details

Description

HPPA cpu related reports.

See also "arm", "x86", "ppc", and "riscv".

Recent Activity

Mar 4 2024

thesamesam added a comment to T7022: libgcrypt-1.10.3 regression on hppa.

Thank you!

Mar 4 2024, 3:46 AM · libgcrypt, Gentoo, hppa, Bug Report
gniibe added a comment to T7022: libgcrypt-1.10.3 regression on hppa.

Applied to both (master and 1.10 branch).

Mar 4 2024, 1:11 AM · libgcrypt, Gentoo, hppa, Bug Report

Mar 1 2024

jukivili added a comment to T7022: libgcrypt-1.10.3 regression on hppa.

Looks good to me. __CLOBBER_CC is needed as PA-RISC has carry/borrow bits in status register for add/sub instructions.

Mar 1 2024, 8:02 PM · libgcrypt, Gentoo, hppa, Bug Report
gniibe changed the status of T7022: libgcrypt-1.10.3 regression on hppa from Open to Testing.

Since I don't like to introduce hppa specific workaround in a way like pragma (and I have no time to fix compiler itself), I tried to improve the ec-nist.c for hppa so that register pressure can be lower.
Here is my solution.

Mar 1 2024, 2:34 AM · libgcrypt, Gentoo, hppa, Bug Report

Feb 29 2024

gniibe added a comment to T7022: libgcrypt-1.10.3 regression on hppa.

Alternatively (more narrow workaround), when I add a line:

#pragma GCC optimize("O1")

before the function _gcry_mpi_ec_nist256_mod in mpi/ec-nist.c, it works for me on panama.debian.net (Debian porterbox for hppa).

Feb 29 2024, 5:27 AM · libgcrypt, Gentoo, hppa, Bug Report

Feb 28 2024

jukivili added a comment to T7022: libgcrypt-1.10.3 regression on hppa.

No, hardware barrier is not needed here. Compiler barrier is used here to prevent optimization removing mask generation and usage in following constant-time code.

Feb 28 2024, 9:34 PM · libgcrypt, Gentoo, hppa, Bug Report
matoro added a comment to T7022: libgcrypt-1.10.3 regression on hppa.

Clarification from Dave:

Feb 28 2024, 7:32 PM · libgcrypt, Gentoo, hppa, Bug Report
matoro added a comment to T7022: libgcrypt-1.10.3 regression on hppa.

Thanks, I can confirm that this patch fixes the issue. I'll let Sam decide if this is how we want to handle it downstream or wait for confirmation from gcc.

Feb 28 2024, 4:37 PM · libgcrypt, Gentoo, hppa, Bug Report
gniibe added a project to T7022: libgcrypt-1.10.3 regression on hppa: libgcrypt.
Feb 28 2024, 2:57 AM · libgcrypt, Gentoo, hppa, Bug Report
gniibe triaged T7022: libgcrypt-1.10.3 regression on hppa as Normal priority.

It looks like computation for NIST P-256 failed on hppa (32-bit big-endian, actually running on 64-bit machine, IIUC).
powerpc is similar (32-bit big-endian, actually running on 64-bit machine), but no failures.

Feb 28 2024, 2:47 AM · libgcrypt, Gentoo, hppa, Bug Report

Feb 27 2024

thesamesam added a project to T7022: libgcrypt-1.10.3 regression on hppa: Gentoo.
Feb 27 2024, 7:17 PM · libgcrypt, Gentoo, hppa, Bug Report
thesamesam updated subscribers of T7022: libgcrypt-1.10.3 regression on hppa.

cc @jukivili @gniibe

Feb 27 2024, 7:16 PM · libgcrypt, Gentoo, hppa, Bug Report
matoro created T7022: libgcrypt-1.10.3 regression on hppa.
Feb 27 2024, 4:58 PM · libgcrypt, Gentoo, hppa, Bug Report

Apr 13 2023

gniibe closed T5976: libgcrypt build failure on HPPA 1.1 (./.libs/libgcrypt.so: undefined reference to `__udiv_qrnnd') as Resolved.

Fixed in 1.10.2.

Apr 13 2023, 3:46 AM · backport, hppa, libgcrypt, Gentoo, Bug Report

Sep 22 2022

werner changed the status of T5976: libgcrypt build failure on HPPA 1.1 (./.libs/libgcrypt.so: undefined reference to `__udiv_qrnnd') from Open to Testing.
Sep 22 2022, 11:00 AM · backport, hppa, libgcrypt, Gentoo, Bug Report

Jul 12 2022

gniibe added a project to T5976: libgcrypt build failure on HPPA 1.1 (./.libs/libgcrypt.so: undefined reference to `__udiv_qrnnd'): backport.
Jul 12 2022, 10:30 AM · backport, hppa, libgcrypt, Gentoo, Bug Report

Jun 16 2022

gniibe added a comment to T5976: libgcrypt build failure on HPPA 1.1 (./.libs/libgcrypt.so: undefined reference to `__udiv_qrnnd').

Applied to 1.10 branch.

Jun 16 2022, 2:40 AM · backport, hppa, libgcrypt, Gentoo, Bug Report
gniibe added a comment to T5976: libgcrypt build failure on HPPA 1.1 (./.libs/libgcrypt.so: undefined reference to `__udiv_qrnnd').

didn't seem to work with 1.9.x

Jun 16 2022, 2:38 AM · backport, hppa, libgcrypt, Gentoo, Bug Report

Jun 15 2022

thesamesam added a comment to T5976: libgcrypt build failure on HPPA 1.1 (./.libs/libgcrypt.so: undefined reference to `__udiv_qrnnd').

Thanks! Interestingly didn't seem to work with 1.9.x but it does with 1.10x. Maybe I made some error when testing.

Jun 15 2022, 8:12 PM · backport, hppa, libgcrypt, Gentoo, Bug Report

Jun 1 2022

gniibe claimed T5976: libgcrypt build failure on HPPA 1.1 (./.libs/libgcrypt.so: undefined reference to `__udiv_qrnnd').
Jun 1 2022, 5:08 AM · backport, hppa, libgcrypt, Gentoo, Bug Report

May 17 2022

gniibe added a project to T5976: libgcrypt build failure on HPPA 1.1 (./.libs/libgcrypt.so: undefined reference to `__udiv_qrnnd'): Restricted Project.

Pushed the change.

May 17 2022, 3:47 AM · backport, hppa, libgcrypt, Gentoo, Bug Report

May 16 2022

gniibe added a comment to T5976: libgcrypt build failure on HPPA 1.1 (./.libs/libgcrypt.so: undefined reference to `__udiv_qrnnd').

Thanks for your confirmation.

May 16 2022, 4:05 AM · backport, hppa, libgcrypt, Gentoo, Bug Report

May 14 2022

thesamesam added a comment to T5976: libgcrypt build failure on HPPA 1.1 (./.libs/libgcrypt.so: undefined reference to `__udiv_qrnnd').

Okay, confirmed: I was just wrong and the build failure was only ever with --disable-asm (i.e. the log in this bug is the only relevant one). Patch works.

May 14 2022, 3:54 AM · backport, hppa, libgcrypt, Gentoo, Bug Report

May 13 2022

thesamesam added a watcher for hppa: thesamesam.
May 13 2022, 8:16 AM
werner added a project to T5976: libgcrypt build failure on HPPA 1.1 (./.libs/libgcrypt.so: undefined reference to `__udiv_qrnnd'): hppa.
May 13 2022, 8:06 AM · backport, hppa, libgcrypt, Gentoo, Bug Report
werner created hppa.
May 13 2022, 8:05 AM