Bug#1121498: libreoffice: Preprocessor macros in pdfium confuse arm64 with sparc64

Rene Engelhard <[email protected]>
Newsgroups gmane.linux.debian.devel.openoffice
Organization Debian Project
Message-ID <3d924692-e904-40b6-8d71-f12a0f040327__16227.1661961981$1764695484$gmane$org@debian.org>
Hi,

Am 02.12.25 um 18:04 schrieb John Paul Adrian Glaubitz:
> Hello,
>
> On Tue, 2025-12-02 at 18:03 +0100, Rene Engelhard wrote:
>> Am 02.12.25 um 17:58 schrieb John Paul Adrian Glaubitz:
>>> 14:43 <ricotz> (__arch64__) sollte wohl entfernt werden -https://pdfium.googlesource.com/pdfium/+/refs/heads/main/core/fxcrt/numerics/safe_conversions.h
>>> OK, I'll drop __arch64__ altogether then. I'm still struggling to fix my Gerrit access
>>> in the mean time to fix this issue upstream in pdfium.
>> If I understand that one right this *is* like this upstream in master already. That link is to
>>
>> https://pdfium.googlesource.com/pdfium/+/refs/heads/main
> What do you mean? The wrong check for the __arch64__ macro is still there, see:
>
> https://pdfium.googlesource.com/pdfium/+/refs/heads/main/core/fxcrt/numerics/safe_math_clang_gcc_impl.h#17

Ah, right, he mentioned the gcc one where this is the clang one (which is used).


Will remove in the patch anyways.


Regards,


Rene
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.