[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#68202] [PATCH 5/5] gnu: libsigsegv: Fix building for x86_64-linux-g
|
From: |
Mathieu Othacehe |
|
Subject: |
[bug#68202] [PATCH 5/5] gnu: libsigsegv: Fix building for x86_64-linux-gnux32. |
|
Date: |
Wed, 03 Jan 2024 09:43:32 +0100 |
|
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hello Efraim,
> + ;; On some architectures 'struct sigcontext' gets redefined from
> + ;; %linux-libre-headers/include/asm/sigcontext.h
> + ,@(cond ((target-mips64el?)
> + `(#:phases (modify-phases %standard-phases
> + (add-before 'configure 'patch-mips-old-h
> + (lambda _
> + (substitute* "src/fault-linux-mips-old.h"
> + (("#include <asm/sigcontext\\.h>")
> "")))))))
> + ((target-x32?)
> + `(#:phases (modify-phases %standard-phases
> + (add-before 'configure 'patch-linux-x86_64-old-h
> + (lambda _
> + (substitute* "src/fault-linux-x86_64-old.h"
> + (("#include <asm/sigcontext\\.h>")
> "")))))))
> + (else '()))))
> (description
> "GNU libsigsegv is a library to handle page faults, which occur when a
> program tries to access an unavailable region of memory, in user mode. By
#67859 is doing more or less the same thing, but for x86_64 as a
whole. Could you maybe replace `target-x32` by `target-x86`?
Maybe we should come up with a list of architectures that need that kind
of fix in libsigsegv and patch all the src/fault-linux-xxx-old-h?
The rest of the series seems fine to me.
Thanks,
Mathieu
- [bug#68202] [PATCH 0/5] Add support for x86_64-linux-gnux32, Efraim Flashner, 2024/01/02
- [bug#68202] [PATCH 3/5] gnu: openssl: Fix building on x86_64-linux-gnux32., Efraim Flashner, 2024/01/02
- [bug#68202] [PATCH 4/5] gnu: gmp: Fix building on x86_64-linux-gnux32., Efraim Flashner, 2024/01/02
- [bug#68202] [PATCH 5/5] gnu: libsigsegv: Fix building for x86_64-linux-gnux32., Efraim Flashner, 2024/01/02
- [bug#68202] [PATCH 5/5] gnu: libsigsegv: Fix building for x86_64-linux-gnux32.,
Mathieu Othacehe <=
- [bug#68202] [PATCH 2/5] gnu: Add target-x32?., Efraim Flashner, 2024/01/02
- [bug#68202] [PATCH 1/5] gnu: Add support for x86_64-linux-gnux32., Efraim Flashner, 2024/01/02
- bug#68202: [PATCH 0/5] Add support for x86_64-linux-gnux32, Efraim Flashner, 2024/01/05
- [bug#68202] [PATCH 0/5] Add support for x86_64-linux-gnux32, Ludovic Courtès, 2024/01/08