[llvm-bugs] [Bug 28735] New: error in backend when compiling v8 on s390x

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jul 27 01:58:20 PDT 2016


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

            Bug ID: 28735
           Summary: error in backend when compiling v8 on s390x
           Product: clang
           Version: 3.8
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: dan at danny.cz
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 16817
  --> https://llvm.org/bugs/attachment.cgi?id=16817&action=edit
preprocessed source file

when building v8-5.2.258 on Fedora/s390x with clang/llvm 3.8, the build fails
with

...
  /usr/bin/clang++ '-DV8_TARGET_ARCH_S390' '-DV8_TARGET_ARCH_S390X'
'-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS'
'-DV8_I18N_SUPPORT' '-DENABLE_HANDLE_ZAPPING' -I../.  -Wall -Werror
-Wno-unused-parameter -Wno-long-long -pthread -Wmissing-field-initializers
-fPIC -Wno-sign-compare -m64 -m64 -fdata-sections -ffunction-sections -O3
-fdata-sections -ffunction-sections -O3 -Wnon-virtual-dtor -fno-exceptions
-fno-rtti -std=gnu++11 -MMD -MF
/home/sharkcz/v8/v8-5.2.258/out/s390x.release/.deps//home/sharkcz/v8/v8-5.2.258/out/s390x.release/obj.target/v8_libbase/src/base/once.o.d.raw
 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -m64 -march=z10 -mtune=z10 -c -o
/home/sharkcz/v8/v8-5.2.258/out/s390x.release/obj.target/v8_libbase/src/base/once.o
../src/base/once.cc
fatal error: error in backend: Cannot select: 0x2aa3a6bf0d0: ch = AtomicFence
0x2aa3a6bed40:1, Constant:i64<7>, Constant:i64<1>
  0x2aa3a6bee70: i64 = Constant<7>
  0x2aa3a6befa0: i64 = Constant<1>
In function: _ZN2v84base12CallOnceImplEPlPFvPvES2_
clang-3.8: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
clang version 3.8.0 (tags/RELEASE_380/final)
Target: s390x-ibm-linux
Thread model: posix
InstalledDir: /usr/bin
clang-3.8: note: diagnostic msg: PLEASE submit a bug report to  and include the
crash backtrace, preprocessed source, and associated run script.
clang-3.8: note: diagnostic msg: 
********************

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

********************
src/v8_libbase.target.s390x.release.mk:178: recipe for target
'/home/sharkcz/v8/v8-5.2.258/out/s390x.release/obj.target/v8_libbase/src/base/once.o'
failed
make[1]: ***
[/home/sharkcz/v8/v8-5.2.258/out/s390x.release/obj.target/v8_libbase/src/base/once.o]
Error 70

-- 
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/20160727/c74a0cfd/attachment.html>


More information about the llvm-bugs mailing list