[llvm-bugs] [Bug 46497] New: clang fails on armel with "fatal error: error in backend: Unsupported library call operation!"

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Jun 28 14:07:33 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=46497

            Bug ID: 46497
           Summary: clang fails on armel with "fatal error: error in
                    backend: Unsupported library call operation!"
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: Backend: ARM
          Assignee: unassignedbugs at nondot.org
          Reporter: sylvestre at debian.org
                CC: llvm-bugs at lists.llvm.org, smithp352 at googlemail.com,
                    Ties.Stuij at arm.com

Reported here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=963167


> [build CXX] workdir/UnpackedTarball/skia/src/gpu/geometry/GrQuadUtils.cpp
> S=/<<PKGBUILDDIR>> && I=$S/instdir && W=$S/workdir &&  mkdir -p $W/GenCxxObject/UnpackedTarball/skia/src/gpu/geometry/ $W/Dep/GenCxxObject/UnpackedTarball/skia/src/gpu/geometry/ && cd /<<PKGBUILDDIR>> &&   	  clang++ -DARM -DARM32 -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DCPPU_ENV=gcc3 -DLINUX -DNDEBUG -DOSL_DEBUG_LEVEL=0 -DUNIX -DUNX -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -D_PTHREADS -D_REENTRANT -Wdate-time -Wdate-time -D_FORTIFY_SOURCE=2 -DSKIA_IMPLEMENTATION=1 -DSKIA_DLL -DSK_USER_CONFIG_HEADER="<$S/config_host/config_skia.h>"  -DSYSTEM_ZLIB   -fvisibility=hidden         -Wall -Wno-missing-braces -Wnon-virtual-dtor -Wendif-labels -Wextra -Wundef -Wunreachable-code -Wunused-macros -finput-charset=UTF-8 -fmessage-length=0 -fno-common -pipe -Wdeprecated-copy-dtor -Wno-maybe-uninitialized -Wduplicated-cond -Wlogical-op -Wshift-overflow=2 -Wunused-const-variable=1 -Wno-cast-function-type -fvisibility-inlines-hidden -fPIC -Wshadow -Woverloaded-virtual -std=c++17 -pthread -g1 -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DEXCEPTIONS_ON -fexceptions -Os -w -DLIBO_INTERNAL_ONLY  -c $W/UnpackedTarball/skia/src/gpu/geometry/GrQuad.cpp -o $W/GenCxxObject/UnpackedTarball/skia/src/gpu/geometry/GrQuad.o -MMD -MT $W/GenCxxObject/UnpackedTarball/skia/src/gpu/geometry/GrQuad.o -MP -MF $W/Dep/GenCxxObject/UnpackedTarball/skia/src/gpu/geometry/GrQuad.d_ -I$S/include  -I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux -I$S/config_host     -isystem /usr/include/freetype2 -isystem /usr/include/libpng16     -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16     -isystem /usr/include/libpng16  -I$W/UnpackedTarball/skia -I$W/UnpackedTarball/skia/include/third_party/skcms/ -I$W/UnpackedTarball/skia/third_party/vulkanmemoryallocator/ -I$W/UnpackedTarball/skia/include/third_party/vulkan/   && mv $W/Dep/GenCxxObject/UnpackedTarball/skia/src/gpu/geometry/GrQuad.d_ $W/Dep/GenCxxObject/UnpackedTarball/skia/src/gpu/geometry/GrQuad.d
> test -f /<<PKGBUILDDIR>>/workdir/UnpackedTarball/skia/src/gpu/geometry/GrQuadUtils.cpp || (echo "Missing generated source file /<<PKGBUILDDIR>>/workdir/UnpackedTarball/skia/src/gpu/geometry/GrQuadUtils.cpp" && false)
> [build CXX] workdir/UnpackedTarball/skia/src/gpu/geometry/GrShape.cpp
> S=/<<PKGBUILDDIR>> && I=$S/instdir && W=$S/workdir &&  mkdir -p $W/GenCxxObject/UnpackedTarball/skia/src/gpu/geometry/ $W/Dep/GenCxxObject/UnpackedTarball/skia/src/gpu/geometry/ && cd /<<PKGBUILDDIR>> &&   	  clang++ -DARM -DARM32 -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DCPPU_ENV=gcc3 -DLINUX -DNDEBUG -DOSL_DEBUG_LEVEL=0 -DUNIX -DUNX -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -D_PTHREADS -D_REENTRANT -Wdate-time -Wdate-time -D_FORTIFY_SOURCE=2 -DSKIA_IMPLEMENTATION=1 -DSKIA_DLL -DSK_USER_CONFIG_HEADER="<$S/config_host/config_skia.h>"  -DSYSTEM_ZLIB   -fvisibility=hidden         -Wall -Wno-missing-braces -Wnon-virtual-dtor -Wendif-labels -Wextra -Wundef -Wunreachable-code -Wunused-macros -finput-charset=UTF-8 -fmessage-length=0 -fno-common -pipe -Wdeprecated-copy-dtor -Wno-maybe-uninitialized -Wduplicated-cond -Wlogical-op -Wshift-overflow=2 -Wunused-const-variable=1 -Wno-cast-function-type -fvisibility-inlines-hidden -fPIC -Wshadow -Woverloaded-virtual -std=c++17 -pthread -g1 -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DEXCEPTIONS_ON -fexceptions -Os -w -DLIBO_INTERNAL_ONLY  -c $W/UnpackedTarball/skia/src/gpu/geometry/GrQuadUtils.cpp -o $W/GenCxxObject/UnpackedTarball/skia/src/gpu/geometry/GrQuadUtils.o -MMD -MT $W/GenCxxObject/UnpackedTarball/skia/src/gpu/geometry/GrQuadUtils.o -MP -MF $W/Dep/GenCxxObject/UnpackedTarball/skia/src/gpu/geometry/GrQuadUtils.d_ -I$S/include  -I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux -I$S/config_host     -isystem /usr/include/freetype2 -isystem /usr/include/libpng16     -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16     -isystem /usr/include/libpng16  -I$W/UnpackedTarball/skia -I$W/UnpackedTarball/skia/include/third_party/skcms/ -I$W/UnpackedTarball/skia/third_party/vulkanmemoryallocator/ -I$W/UnpackedTarball/skia/include/third_party/vulkan/   && mv $W/Dep/GenCxxObject/UnpackedTarball/skia/src/gpu/geometry/GrQuadUtils.d_ $W/Dep/GenCxxObject/UnpackedTarball/skia/src/gpu/geometry/GrQuadUtils.d
> [...]
> fatal error: error in backend: Unsupported library call operation!
> clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
> clang version 9.0.1-12
> Target: arm-unknown-linux-gnueabi
> Thread model: posix
> InstalledDir: /usr/bin
> clang: note: diagnostic msg: PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
> clang: note: diagnostic msg:
> ********************
> 
> PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
> Preprocessed source(s) and associated run script(s) are located at:
> clang: note: diagnostic msg: /tmp/GrQuadUtils-5b7dca.cpp
> clang: note: diagnostic msg: /tmp/GrQuadUtils-5b7dca.sh
> clang: note: diagnostic msg:
> 
> ********************
> make[2]: *** [/<<PKGBUILDDIR>>/solenv/gbuild/LinkTarget.mk:351: /<<PKGBUILDDIR>>/workdir/GenCxxObject/UnpackedTarball/skia/src/gpu/geometry/GrQuadUtils.o] Error 70
> make[2]: *** Waiting for unfinished jobs....
> rm /<<PKGBUILDDIR>>/workdir/CustomTarget/i18npool/breakiterator/line.brk /<<PKGBUILDDIR>>/workdir/CustomTarget/i18npool/breakiterator/dict_word_nodash.brk /<<PKGBUILDDIR>>/workdir/CustomTarget/i18npool/breakiterator/count_word.txt /<<PKGBUILDDIR>>/workdir/CustomTarget/i18npool/breakiterator/edit_word.txt /<<PKGBUILDDIR>>/workdir/CustomTarget/i18npool/breakiterator/edit_word.brk /<<PKGBUILDDIR>>/workdir/CustomTarget/i18npool/breakiterator/char.txt /<<PKGBUILDDIR>>/workdir/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.brk /<<PKGBUILDDIR>>/workdir/CustomTarget/i18npool/breakiterator/char.brk /<<PKGBUILDDIR>>/workdir/CustomTarget/i18npool/breakiterator/edit_word_he.brk /<<PKGBUILDDIR>>/workdir/CustomTarget/i18npool/breakiterator/char_in.brk /<<PKGBUILDDIR>>/workdir/CustomTarget/i18npool/breakiterator/dict_word_he.txt /<<PKGBUILDDIR>>/workdir/CustomTarget/i18npool/breakiterator/dict_word_he.brk /<<PKGBUILDDIR>>/workdir/CustomTarget/i18npool/breakiterator/dict_word_hu.brk /<<PKGBUILDDIR>>/workdir/CustomTarget/i18npool/breakiterator/line.txt /<<PKGBUILDDIR>>/workdir/CustomTarget/i18npool/breakiterator/edit_word_hu.txt /<<PKGBUILDDIR>>/workdir/CustomTarget/i18npool/breakiterator/sent.brk /<<PKGBUILDDIR>>/workdir/CustomTarget/i18npool/breakiterator/dict_word.brk /<<PKGBUILDDIR>>/workdir/CustomTarget/i18npool/breakiterator/dict_word_hu.txt /<<PKGBUILDDIR>>/workdir/CustomTarget/i18npool/breakiterator/dict_word.txt /<<PKGBUILDDIR>>/workdir/CustomTarget/i18npool/breakiterator/count_word.brk /<<PKGBUILDDIR>>/workdir/CustomTarget/i18npool/breakiterator/dict_word_nodash.txt /<<PKGBUILDDIR>>/workdir/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.txt /<<PKGBUILDDIR>>/workdir/CustomTarget/i18npool/breakiterator/sent.txt /<<PKGBUILDDIR>>/workdir/CustomTarget/i18npool/breakiterator/edit_word_he.txt /<<PKGBUILDDIR>>/workdir/CustomTarget/i18npool/breakiterator/edit_word_hu.brk /<<PKGBUILDDIR>>/workdir/CustomTarget/i18npool/breakiterator/char_in.txt
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: *** [Makefile:274: build] Error 2
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make: *** [debian/rules:1878: debian/stampdir/build-arch] Error 2
> dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2

Fails similarily with clang-10:

fatal error: error in backend: Unsupported library call operation!
Stack dump:
0.      Program arguments: clang++-10 -DARM -DARM32
-DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED
-DCPPU_ENV=gcc3 -DLINUX -DNDEBUG -DOSL_DEBUG_LEVEL=0 -DUNIX -DUNX
-D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -D_PTHREADS -D_REENTRANT
-Wdate-time -Wdate-time -D_FORTIFY_SOURCE=2 -DSKIA_IMPLEMENTATION=1
-DSKIA_DLL
-DSK_USER_CONFIG_HEADER=</home/rene/libreoffice-7.0.0~beta2/config_host/config_skia.h>
-DSYSTEM_ZLIB -fvisibility=hidden -Wall -Wno-missing-braces
-Wnon-virtual-dtor -Wendif-labels -Wextra -Wundef -Wunreachable-code
-Wunused-macros -finput-charset=UTF-8 -fmessage-length=0 -fno-common
-pipe -Wdeprecated-copy-dtor -Wno-maybe-uninitialized -Wduplicated-cond
-Wlogical-op -Wshift-overflow=2 -Wunused-const-variable=1
-Wno-cast-function-type -fvisibility-inlines-hidden -fPIC -Wshadow
-Woverloaded-virtual -std=c++17 -pthread -g1 -O2
-fdebug-prefix-map=/home/rene/libreoffice-7.0.0~beta2=.
-fstack-protector-strong -Wformat -Werror=format-security
-DEXCEPTIONS_ON -fexceptions -Os -w -DLIBO_INTERNAL_ONLY -c
/home/rene/libreoffice-7.0.0~beta2/workdir/UnpackedTarball/skia/src/gpu/geometry/GrQuadUtils.cpp
-o
/home/rene/libreoffice-7.0.0~beta2/workdir/GenCxxObject/UnpackedTarball/skia/src/gpu/geometry/GrQuadUtils.o
-MMD -MT
/home/rene/libreoffice-7.0.0~beta2/workdir/GenCxxObject/UnpackedTarball/skia/src/gpu/geometry/GrQuadUtils.o
-MP -MF
/home/rene/libreoffice-7.0.0~beta2/workdir/Dep/GenCxxObject/UnpackedTarball/skia/src/gpu/geometry/GrQuadUtils.d_
-I/home/rene/libreoffice-7.0.0~beta2/include
-I/usr/lib/jvm/default-java/include
-I/usr/lib/jvm/default-java/include/linux
-I/home/rene/libreoffice-7.0.0~beta2/config_host -isystem
/usr/include/freetype2 -isystem /usr/include/libpng16
-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16
-isystem /usr/include/libpng16
-I/home/rene/libreoffice-7.0.0~beta2/workdir/UnpackedTarball/skia
-I/home/rene/libreoffice-7.0.0~beta2/workdir/UnpackedTarball/skia/include/third_party/skcms/
-I/home/rene/libreoffice-7.0.0~beta2/workdir/UnpackedTarball/skia/third_party/vulkanmemoryallocator/
-I/home/rene/libreoffice-7.0.0~beta2/workdir/UnpackedTarball/skia/include/third_party/vulkan/ 
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module
'/home/rene/libreoffice-7.0.0~beta2/workdir/UnpackedTarball/skia/src/gpu/geometry/GrQuadUtils.cpp'.
4.      Running pass 'ARM Instruction Selection' on function
'@_ZN11GrQuadUtils18TessellationHelper8Vertices9moveAlongERKNS0_11EdgeVectorsERKN4skvx3VecILi4EfEE'
clang: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
clang version 10.0.0-4 
Target: arm-unknown-linux-gnueabi
Thread model: posix
InstalledDir: /usr/bin
clang: note: diagnostic msg: PLEASE submit a bug report to
https://bugs.llvm.org/ and include the crash backtrace, preprocessed
source, and associated run script.
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/GrQuadUtils-4fd4af.cpp
clang: note: diagnostic msg: /tmp/GrQuadUtils-4fd4af.sh
clang: note: diagnostic msg: 

********************
make[2]: ***
[/home/rene/libreoffice-7.0.0~beta2/solenv/gbuild/LinkTarget.mk:351:
/home/rene/libreoffice-7.0.0~beta2/workdir/GenCxxObject/UnpackedTarball/skia/src/gpu/geometry/GrQuadUtils.o]
Error 70
make[2]: *** Waiting for unfinished jobs....

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200628/cf084efa/attachment-0001.html>


More information about the llvm-bugs mailing list