Your message dated Sat, 06 Dec 2025 10:11:33 +0000 with message-id <E1vRpGH-004bZ1-1o@fasolo.debian.org> and subject line Bug#1121530: fixed in libreoffice 4:26.2.0~beta1-1 has caused the Debian Bug report #1121530, regarding libreoffice: Please build with -fPIE on sparc64 to fix FTBFS to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 1121530: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1121530 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: libreoffice: Please build with -fPIE on sparc64 to fix FTBFS
- From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
- Date: Thu, 27 Nov 2025 22:13:24 +0100
- Message-id: <176427800474.2640251.5677411202118248.reportbug@login1.physik.fu-berlin.de>
Source: libreoffice Version: 4:25.8.3-1 Severity: normal Tags: patch User: debian-sparc@lists.debian.org Usertags: sparc64 X-Debbugs-Cc: debian-sparc@lists.debian.org Hi, on sparc64, libreoffice fails to build from source due to some GOT offsets being too large for the dynamic linker: lp_MDO.o: in function `getMDO': lp_MDO.c:(.text+0x6f4): relocation truncated to fit: R_SPARC_GOT13 against symbol `mdo_free' defined in .text section in lp_MDO.o lp_MDO.c:(.text+0x6fc): relocation truncated to fit: R_SPARC_GOT13 against symbol `mdo_calloc' defined in .text section in lp_MDO.o mmio.o: in function `mm_read_mtx_crd': mmio.c:(.text+0x938): relocation truncated to fit: R_SPARC_GOT13 against symbol `stdin@@GLIBC_2.2' defined in .data section in /lib/sparc64-linux-gnu/libc.so.6 mmio.c:(.text+0x9f8): relocation truncated to fit: R_SPARC_GOT13 against symbol `stdin@@GLIBC_2.2' defined in .data section in /lib/sparc64-linux-gnu/libc.so.6 mmio.c:(.text+0xa7c): relocation truncated to fit: R_SPARC_GOT13 against symbol `stdin@@GLIBC_2.2' defined in .data section in /lib/sparc64-linux-gnu/libc.so.6 mmio.o: in function `mm_read_unsymmetric_sparse': mmio.c:(.text+0xce8): relocation truncated to fit: R_SPARC_GOT13 against symbol `stderr@@GLIBC_2.2' defined in .data section in /lib/sparc64-linux-gnu/libc.so.6 mmio.c:(.text+0xd24): relocation truncated to fit: R_SPARC_GOT13 against symbol `stderr@@GLIBC_2.2' defined in .data section in /lib/sparc64-linux-gnu/libc.so.6 mmio.o: in function `mm_write_mtx_crd': mmio.c:(.text+0xdd0): relocation truncated to fit: R_SPARC_GOT13 against symbol `stdout@@GLIBC_2.2' defined in .data section in /lib/sparc64-linux-gnu/libc.so.6 mmio.c:(.text+0xf44): relocation truncated to fit: R_SPARC_GOT13 against symbol `stdout@@GLIBC_2.2' defined in .data section in /lib/sparc64-linux-gnu/libc.so.6 myblas.o: in function `is_nativeBLAS': myblas.c:(.text+0x7a0): relocation truncated to fit: R_SPARC_GOT13 against symbol `hBLAS' defined in .bss section in myblas.o myblas.o: in function `load_BLAS': myblas.c:(.text+0x7c0): additional relocation overflows omitted from the output collect2: error: ld returned 1 exit status This can be fixed by passing "-fPIE" which makes sure the compiler makes sure that the GOT entries are capable of handling large offsets. I propose the following patch: --- debian/rules.orig 2025-11-08 21:28:26.000000000 +0100 +++ debian/rules 2025-11-27 22:11:18.063514133 +0100 @@ -1146,6 +1146,11 @@ DEB_CXXFLAGS_MAINT_APPEND = -ffp-contract=off endif +ifneq (,$(filter sparc64,$(DEB_HOST_ARCH))) + DEB_CFLAGS_MAINT_APPEND = -fPIE + DEB_CXXFLAGS_MAINT_APPEND = -fPIE +endif + ifneq (,$(filter s390x,$(DEB_HOST_ARCH))) ifeq (,$(shell gcc -v 2>&1 | grep disable-s390-excess-float-precision)) DEB_CFLAGS_MAINT_APPEND = -fexcess-precision=fast I'm attaching the patch to this bug report as well. Thanks, Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913--- debian/rules.orig 2025-11-08 21:28:26.000000000 +0100 +++ debian/rules 2025-11-27 22:11:18.063514133 +0100 @@ -1146,6 +1146,11 @@ DEB_CXXFLAGS_MAINT_APPEND = -ffp-contract=off endif +ifneq (,$(filter sparc64,$(DEB_HOST_ARCH))) + DEB_CFLAGS_MAINT_APPEND = -fPIE + DEB_CXXFLAGS_MAINT_APPEND = -fPIE +endif + ifneq (,$(filter s390x,$(DEB_HOST_ARCH))) ifeq (,$(shell gcc -v 2>&1 | grep disable-s390-excess-float-precision)) DEB_CFLAGS_MAINT_APPEND = -fexcess-precision=fast
--- End Message ---
--- Begin Message ---
- To: 1121530-close@bugs.debian.org
- Subject: Bug#1121530: fixed in libreoffice 4:26.2.0~beta1-1
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Sat, 06 Dec 2025 10:11:33 +0000
- Message-id: <E1vRpGH-004bZ1-1o@fasolo.debian.org>
- Reply-to: Rene Engelhard <rene@debian.org>
Source: libreoffice Source-Version: 4:26.2.0~beta1-1 Done: Rene Engelhard <rene@debian.org> We believe that the bug you reported is fixed in the latest version of libreoffice, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1121530@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Rene Engelhard <rene@debian.org> (supplier of updated libreoffice package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Fri, 05 Dec 2025 21:46:11 +0100 Source: libreoffice Architecture: source Version: 4:26.2.0~beta1-1 Distribution: experimental Urgency: medium Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org> Changed-By: Rene Engelhard <rene@debian.org> Closes: 1121498 1121530 Changes: libreoffice (4:26.2.0~beta1-1) experimental; urgency=medium . * New upstream beta release . * debian/patches/pdfium-ports.diff: add patch to fix pdfium build on sparc64 (closes: #1121498) * debian/patches/lpsolve-fPIC.diff: build the shared internal lpsolve with -fPIC (as done in system-lpsolve) (closes: #1121530) . * debian/rules, debian/control.rust.in, debian/tests/control.rust.in: decouple rust build-dep conditionals/Architecture: fields and differentiate between "general rust support" (rustc/cargo/dh-cargo) and rust-uno/yrs. * debian/rules: - disable rust_uno on ppc64el (and ppc64), fails the example test. (Works on all the other (release) archs where it builds) - remove special-casing for ppc64el wrt clang, builds now and skia already checks for disabling musttail on ppc64el itself in the clang case Checksums-Sha1: 0bd8860253331afd6f0f250eff4c193b26c21d31 38694 libreoffice_26.2.0~beta1-1.dsc 3a2ac58b226ff2eb0c7074062a406e418e3eca15 57587980 libreoffice_26.2.0~beta1.orig-helpcontent2.tar.xz 1380c092c817adba9c95655333d19080879416e9 233546660 libreoffice_26.2.0~beta1.orig-translations.tar.xz e83fb7d3ab17c3d9352bf2c2fb9386a1498104e4 290615752 libreoffice_26.2.0~beta1.orig.tar.xz 706fde03e78997a85c0da48ac4cd29c4cc796752 833 libreoffice_26.2.0~beta1.orig.tar.xz.asc a8390192efe49b49e3e6e5c992e437cde9e6d6ab 26634088 libreoffice_26.2.0~beta1-1.debian.tar.xz 5b7f011b0854a98daea3eb6f11d66b1511ecb0e8 27504 libreoffice_26.2.0~beta1-1_source.buildinfo Checksums-Sha256: 263935c4a29907ce1a45fbeafa32a8a376974350595d36be96dd3b43d036e877 38694 libreoffice_26.2.0~beta1-1.dsc 1ea4e4581c86246c33b943e74042362c155852b14220b0306e26ecf4d197ab43 57587980 libreoffice_26.2.0~beta1.orig-helpcontent2.tar.xz a0092f2775af8ae8b64703a26f6f281eddec8e5a3f32f3d4d3eef6a289bc8451 233546660 libreoffice_26.2.0~beta1.orig-translations.tar.xz a81da993d0d48b451ee2c48c64cdd836aad064e49ffb5219ea3026c383fd31a6 290615752 libreoffice_26.2.0~beta1.orig.tar.xz 55d279c00b725139ff2c64e7c126d4980c9f57d82da360c871551d5ea175f965 833 libreoffice_26.2.0~beta1.orig.tar.xz.asc 5a0a785da1b649b863e74725588aa07b1c47b8a0f9a517ea6f1175f0a1d071a3 26634088 libreoffice_26.2.0~beta1-1.debian.tar.xz 007f6d0add5aa82a98fb92a9c8ea04af01707ee2f5557b91c3e4cc93b30b65a5 27504 libreoffice_26.2.0~beta1-1_source.buildinfo Files: d1def84016cf7fb4b9e90cb6a854e28e 38694 editors optional libreoffice_26.2.0~beta1-1.dsc 75ff34f212f54956670ed5166ce51a1b 57587980 editors optional libreoffice_26.2.0~beta1.orig-helpcontent2.tar.xz 53a968c080acec5cca64a46574d0072c 233546660 editors optional libreoffice_26.2.0~beta1.orig-translations.tar.xz 346deab96435830e621f37a91517a827 290615752 editors optional libreoffice_26.2.0~beta1.orig.tar.xz 826b873a2020af36279cd39cdce3823e 833 editors optional libreoffice_26.2.0~beta1.orig.tar.xz.asc 4c3430f5bf057b11aed2df08beb69e41 26634088 editors optional libreoffice_26.2.0~beta1-1.debian.tar.xz b944353662fc9521d2b556f8a2a116ee 27504 editors optional libreoffice_26.2.0~beta1-1_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJEBAEBCgAuFiEE4S3qRnUGcM+pYIAdCqBFcdA+PnAFAmkzSVkQHHJlbmVAZGVi aWFuLm9yZwAKCRAKoEVx0D4+cIKBEACblah6eOALI2SAMRRWSan+AiTKG+FjxGTX KPC9s6yau51DLNGXHr+IimzgNdxQDJ39zb/CJG6SrIRQG6qTOk2lhTCuLS3DhrlC tPzJblfbxc2Mev8HY2eUIsz8fYNARYCMlDMA1Ba/OzxIqBVjcVC5cqPlP0FiIMae qAzjh7vbEmlHuzpgZ6837NKcQUWi+BnDH0n8tzKOGSGE7QPAvGq7uTvBaelTgUSq H6VBL5GXfiYTxkjEl6sI8jG6OOg6S6Nl89SzgRa+rZD+HIAJ1TqoxO2Nyrjy4ohi OfRLvTNjrylOZXb+TQs47PsEDv1tYIj4jUqpsvw2aoZQjO9IcwxdqaX79ADhxvUU PctrnFSI45XGwzhuwOtW5DOdcFK1DZSuWf7xq0D/V8CUC6KsOVF05BmSrRSDNSvz rMCkLX6piyc/w6+cPcFHRVi4rar/H6e88dsBX4e51VkFq/zvHVD5otnihIJoDM+9 lT7Gv50FO0NFptNVy6l0ArqlS3jrBKIs5FoI9UzEcr2G9gXHSxZi50ppMszyXUan vH3sbqf50/ZPEVSSncckYR3SXaGXkiRDd+Dh0tdOXl2pyHUtviIfb94jrNafL5ZC ydsPi1sUDwX8n4cGL49iC07vHR6g06fkrB/YjsLBM75XqxYvEdeNbVpQjpOQJPf/ p9W8rW3HSg== =EZRO -----END PGP SIGNATURE-----Attachment: pgpmkg218c_PE.pgp
Description: PGP signature
--- End Message ---