[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#985867: reverted



unarchive 985867
tag 985867 - patch
found 985867 1:7.2.1-1
thanks

Hi,

this was reverted. (There was no actual LTO usage anywyay ttbomk).

- It missed a chmod 755 so  that clang_wrapper was executable

  This was fixed in 1:7.2.0-3

- configure doesn't detect any clang and uses g++
  (cf.
  https://buildd.debian.org/status/fetch.php?pkg=libreoffice&arch=amd64&ver=1%3A7.2.0-3%2Bb1&stamp=1630963567&raw=0):

checking whether to build Skia... yes
checking for Clang... /<<PKGBUILDDIR>>/debian/usr/bin/clang / /<<PKGBUILDDIR>>/debian/usr/bin/clang++
clang: error: -E or -x required when input is from standard input
configure: WARNING: "" is too old or unrecognized, must be at least Clang 5.0.2
configure: WARNING: Clang compiler not found.

  (or - worse - fails directly if one actually wants to use clang as
  main compiler):

configure output:
[...]
checking for x86_64-linux-gnu-gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... configure: error: in `/home/rene/Debian/Pakete/LibreOffice/libreoffice/libreoffice-7.2.0.4':
configure: error: cannot compute suffix of executables: cannot compile and link
See `config.log' for more details
Error running configure at ./autogen.sh line 322.
[...]

config.log:

configure:7725: checking whether the C compiler works
configure:7747: clang -g -O2 -ffile-prefix-map=/home/rene/Debian/Pakete/LibreOffice/libreoffice/libreoffice-7.2.0.4=. -fstack-protector-strong -
Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro conftest.c  >&5
configure:7751: $? = 0
configure:7801: result: yes
configure:7804: checking for C compiler default output file name
configure:7806: result: a.out
configure:7812: checking for suffix of executables
configure:7819: clang -o conftest -g -O2 -ffile-prefix-map=/home/rene/Debian/Pakete/LibreOffice/libreoffice/libreoffice-7.2.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro conftest.c  >&5
clang: error: no such file or directory: 'conftest'
configure:7823: $? = 1
configure:7840: error: in `/home/rene/Debian/Pakete/LibreOffice/libreoffice/libreoffice-7.2.0.4':
configure:7842: error: cannot compute suffix of executables: cannot compile and link
See `config.log' for more details

Do you want to send a updated patch?

Regards,

Rene


Reply to: