most likely an issue which has to be addressed in libreoffice. Please
could you forward it?

** Also affects: libreoffice (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/2074375

Title:
  asm regression on armhf

Status in gcc-14 package in Ubuntu:
  New
Status in libreoffice package in Ubuntu:
  New
Status in gcc-14 package in Debian:
  Confirmed

Bug description:
  libreoffice started failing to build on armhf since gcc defaults to 14

  This first appeared in autopkgtests runs.

  Successfully build with 13.3.0-3ubuntu1
  
https://autopkgtest.ubuntu.com/results/autopkgtest-oracular/oracular/armhf/libr/libreoffice/20240724_153620_5548a@/log.gz

  Failed to build with 14.1.0-5ubuntu1:
  
https://autopkgtest.ubuntu.com/results/autopkgtest-oracular/oracular/armhf/libr/libreoffice/20240724_235317_2e9a0@/log.gz

  [build CXX] bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx
  S=/<<PKGBUILDDIR>> && I=$S/instdir && W=$S/workdir &&  mkdir -p 
$W/CxxObject/bridges/source/cpp_uno/gcc3_linux_arm/ 
$W/Dep/CxxObject/bridges/source/cpp_uno/gcc3_linux_arm/ && cd /<<PKGBUILDDIR>> 
&&           arm-linux-gnueabihf-g++ -DARM -DARM32 -DBOOST_SYSTEM_NO_DEPRECATED 
-DCPPU_ENV=gcc3 -DLINUX -DNDEBUG -DOSL_DEBUG_LEVEL=0 -DUNIX -DUNX 
-D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_PTHREADS 
-D_REENTRANT -D_TIME_BITS=64 -Wdate-time -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=0 
-DHAVE_POSIX_FALLOCATE   -fvisibility=hidden    -Wall -Wno-missing-braces 
-Wendif-labels -Wextra -Wundef -Wunreachable-code -Wshadow -Wunused-macros  
-finput-charset=UTF-8 -fmessage-length=0 -fno-common -pipe   
-Wdeprecated-copy-dtor -Wduplicated-cond -Wlogical-op -Wshift-overflow=2 
-Wunused-const-variable=1 -Wno-cast-function-type -fvisibility-inlines-hidden 
-fPIC -Wshadow -Woverloaded-virtual -std=c++20 -pthread  -g1 -O0 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -fno-stack-clash-protection 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/libreoffice-4:24.8.0~rc2-0ubuntu0.24.10.1~lo1
 -Wno-psabi  -O0 -Wp,-U_FORTIFY_SOURCE -fstrict-aliasing -fstrict-overflow 
-fexceptions -fno-enforce-eh-specs -fno-omit-frame-pointer -fno-strict-aliasing 
-fno-lto     -DLIBO_INTERNAL_ONLY  -c 
$S/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx -o 
$W/CxxObject/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.o -MMD -MT 
$W/CxxObject/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.o -MP -MF 
$W/Dep/CxxObject/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.d_ 
-I$S/bridges/inc -I$S/include -I/usr/lib/jvm/default-java/include 
-I/usr/lib/jvm/default-java/include/linux -I$S/config_host  
-I$W/UnoApiHeadersTarget/udkapi/comprehensive   && mv 
$W/Dep/CxxObject/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.d_ 
$W/Dep/CxxObject/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.d
  /<<PKGBUILDDIR>>/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx: In 
function ‘void {anonymous}::callVirtualMethod(void*, sal_Int32, void*, 
typelib_TypeDescriptionReference*, sal_uInt32*, sal_uInt32, sal_uInt32*, 
sal_uInt32, double*)’:
  /<<PKGBUILDDIR>>/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx:278:5: 
error: ‘asm’ operand has impossible constraints or there are not enough 
registers
    278 |     __asm__ __volatile__ (
        |     ^~~~~~~
  make[2]: *** [/<<PKGBUILDDIR>>/solenv/gbuild/LinkTarget.mk:338: 
/<<PKGBUILDDIR>>/workdir/CxxObject/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.o]
 Error 1

  
https://github.com/LibreOffice/core/blob/libreoffice-24-2/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx#L278-L301

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-14/+bug/2074375/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to