s390x -O1 doesn't work either

/usr/bin/ld: /tmp/ccaNGd56.ltrans45.ltrans.o: in function `SfxMedium::CheckFileDate(com::sun::util::DateTime const&)':
/builddir/build/BUILD/libreoffice-7.4.0.2/include/com/sun/star/uno/Reference.hxx:158: undefined reference to `.LTHUNK8'
/usr/bin/ld: /builddir/build/BUILD/libreoffice-7.4.0.2/include/com/sun/star/uno/Reference.hxx:158: undefined reference to `.LTHUNK16'
/usr/bin/ld: /tmp/ccaNGd56.ltrans45.ltrans.o: in function `SfxMedium::ShowLockFileProblemDialog(SfxMedium::MessageDlg)':
/builddir/build/BUILD/libreoffice-7.4.0.2/include/com/sun/star/uno/Reference.hxx:158: undefined reference to `.LTHUNK8'
/usr/bin/ld: /builddir/build/BUILD/libreoffice-7.4.0.2/include/com/sun/star/uno/Reference.hxx:158: undefined reference to `.LTHUNK16'
/usr/bin/ld: /tmp/ccaNGd56.ltrans47.ltrans.o: in function `SfxMedium::LinkStubShowReloadEditableDialog(void*, void*)':
/builddir/build/BUILD/libreoffice-7.4.0.2/include/com/sun/star/uno/Reference.hxx:158: undefined reference to `.LTHUNK8'
/usr/bin/ld: /builddir/build/BUILD/libreoffice-7.4.0.2/include/com/sun/star/uno/Reference.hxx:158: undefined reference to `.LTHUNK16'
collect2: error: ld returned 1 exit status
f41
Caolán McNamara 2 years ago
parent e89e0de58b
commit a40f7d6135

@ -1040,7 +1040,7 @@ for i in $RPM_OPT_FLAGS; do
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106355 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106355
case "$i" in case "$i" in
-O2) -O2)
ARCH_FLAGS="$ARCH_FLAGS -O1" ARCH_FLAGS="$ARCH_FLAGS -O0"
continue;; continue;;
esac esac
%endif %endif

Loading…
Cancel
Save