Bug 1428717 - FTBFS on s390 due inline assembly code
Summary: FTBFS on s390 due inline assembly code
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: v8
Version: 26
Hardware: s390x
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ZedoraTracker
TreeView+ depends on / blocked
 
Reported: 2017-03-03 08:58 UTC by Dan Horák
Modified: 2018-05-29 12:04 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-29 12:04:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dan Horák 2017-03-03 08:58:20 UTC
Recent v8 package fails to build on s390x with an error about inline assembly code

from build.log at https://s390.koji.fedoraproject.org/koji/taskinfo?taskID=2509844
...

  /usr/bin/clang++ '-DV8_TARGET_ARCH_S390' '-DV8_TARGET_ARCH_S390X' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-DV8_I18N_SUPPORT' '-DV8_USE_EXTERNAL_STARTUP_DATA' '-DBUILDING_V8_SHARED' '-DV8_SHARED' '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' '-DU_USING_ICU_NAMESPACE=0' '-DU_ENABLE_DYLOAD=0' '-DU_NOEXCEPT=' '-DENABLE_HANDLE_ZAPPING' -I/builddir/build/BUILD/v8-5.2.258/out/s390x.release/obj/gen/shim_headers/icuuc/target -I/builddir/build/BUILD/v8-5.2.258/out/s390x.release/obj/gen/shim_headers/icui18n/target -I../. -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 /builddir/build/BUILD/v8-5.2.258/out/s390x.release/.deps//builddir/build/BUILD/v8-5.2.258/out/s390x.release/obj.target/v8_base/src/regexp/s390/regexp-macro-assembler-s390.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=zEC12 -mtune=z13 -c -o /builddir/build/BUILD/v8-5.2.258/out/s390x.release/obj.target/v8_base/src/regexp/s390/regexp-macro-assembler-s390.o ../src/regexp/s390/regexp-macro-assembler-s390.cc
  /usr/bin/clang++ '-DV8_TARGET_ARCH_S390' '-DV8_TARGET_ARCH_S390X' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-DV8_I18N_SUPPORT' '-DV8_USE_EXTERNAL_STARTUP_DATA' '-DBUILDING_V8_SHARED' '-DV8_SHARED' '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' '-DU_USING_ICU_NAMESPACE=0' '-DU_ENABLE_DYLOAD=0' '-DU_NOEXCEPT=' '-DENABLE_HANDLE_ZAPPING' -I/builddir/build/BUILD/v8-5.2.258/out/s390x.release/obj/gen/shim_headers/icuuc/target -I/builddir/build/BUILD/v8-5.2.258/out/s390x.release/obj/gen/shim_headers/icui18n/target -I../. -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 /builddir/build/BUILD/v8-5.2.258/out/s390x.release/.deps//builddir/build/BUILD/v8-5.2.258/out/s390x.release/obj.target/v8_base/src/s390/assembler-s390.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=zEC12 -mtune=z13 -c -o /builddir/build/BUILD/v8-5.2.258/out/s390x.release/obj.target/v8_base/src/s390/assembler-s390.o ../src/s390/assembler-s390.cc
  /usr/bin/clang++ '-DV8_TARGET_ARCH_S390' '-DV8_TARGET_ARCH_S390X' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-DV8_I18N_SUPPORT' '-DV8_USE_EXTERNAL_STARTUP_DATA' '-DBUILDING_V8_SHARED' '-DV8_SHARED' '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' '-DU_USING_ICU_NAMESPACE=0' '-DU_ENABLE_DYLOAD=0' '-DU_NOEXCEPT=' '-DENABLE_HANDLE_ZAPPING' -I/builddir/build/BUILD/v8-5.2.258/out/s390x.release/obj/gen/shim_headers/icuuc/target -I/builddir/build/BUILD/v8-5.2.258/out/s390x.release/obj/gen/shim_headers/icui18n/target -I../. -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 /builddir/build/BUILD/v8-5.2.258/out/s390x.release/.deps//builddir/build/BUILD/v8-5.2.258/out/s390x.release/obj.target/v8_base/src/s390/builtins-s390.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=zEC12 -mtune=z13 -c -o /builddir/build/BUILD/v8-5.2.258/out/s390x.release/obj.target/v8_base/src/s390/builtins-s390.o ../src/s390/builtins-s390.cc
  /usr/bin/clang++ '-DV8_TARGET_ARCH_S390' '-DV8_TARGET_ARCH_S390X' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-DV8_I18N_SUPPORT' '-DV8_USE_EXTERNAL_STARTUP_DATA' '-DBUILDING_V8_SHARED' '-DV8_SHARED' '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' '-DU_USING_ICU_NAMESPACE=0' '-DU_ENABLE_DYLOAD=0' '-DU_NOEXCEPT=' '-DENABLE_HANDLE_ZAPPING' -I/builddir/build/BUILD/v8-5.2.258/out/s390x.release/obj/gen/shim_headers/icuuc/target -I/builddir/build/BUILD/v8-5.2.258/out/s390x.release/obj/gen/shim_headers/icui18n/target -I../. -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 /builddir/build/BUILD/v8-5.2.258/out/s390x.release/.deps//builddir/build/BUILD/v8-5.2.258/out/s390x.release/obj.target/v8_base/src/s390/codegen-s390.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=zEC12 -mtune=z13 -c -o /builddir/build/BUILD/v8-5.2.258/out/s390x.release/obj.target/v8_base/src/s390/codegen-s390.o ../src/s390/codegen-s390.cc
  /usr/bin/clang++ '-DV8_TARGET_ARCH_S390' '-DV8_TARGET_ARCH_S390X' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-DV8_I18N_SUPPORT' '-DV8_USE_EXTERNAL_STARTUP_DATA' '-DBUILDING_V8_SHARED' '-DV8_SHARED' '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' '-DU_USING_ICU_NAMESPACE=0' '-DU_ENABLE_DYLOAD=0' '-DU_NOEXCEPT=' '-DENABLE_HANDLE_ZAPPING' -I/builddir/build/BUILD/v8-5.2.258/out/s390x.release/obj/gen/shim_headers/icuuc/target -I/builddir/build/BUILD/v8-5.2.258/out/s390x.release/obj/gen/shim_headers/icui18n/target -I../. -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 /builddir/build/BUILD/v8-5.2.258/out/s390x.release/.deps//builddir/build/BUILD/v8-5.2.258/out/s390x.release/obj.target/v8_base/src/s390/code-stubs-s390.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=zEC12 -mtune=z13 -c -o /builddir/build/BUILD/v8-5.2.258/out/s390x.release/obj.target/v8_base/src/s390/code-stubs-s390.o ../src/s390/code-stubs-s390.cc
../src/s390/assembler-s390.cc:147:9: error: invalid operand for instruction
        "lhi   0,0\n"
        ^
<inline asm>:1:8: note: instantiated into assembly here
        lhi   0,0
              ^
../src/s390/assembler-s390.cc:148:10: error: unknown directive
        ".insn s,0xb2b00000,%0\n"
         ^
<inline asm>:2:1: note: instantiated into assembly here
.insn s,0xb2b00000,160(%r15)
^
2 errors generated.
make[1]: *** [src/v8_base.target.s390x.release.mk:578: /builddir/build/BUILD/v8-5.2.258/out/s390x.release/obj.target/v8_base/src/s390/assembler-s390.o] Error 1
make[1]: *** Waiting for unfinished jobs....
rm third_party_icu_icu_gyp_icuuc_target_generate_icuuc_shim_headers.intermediate third_party_icu_icu_gyp_icui18n_target_generate_icui18n_shim_headers.intermediate
make[1]: Leaving directory '/builddir/build/BUILD/v8-5.2.258/out'
make: *** [Makefile:328: s390x.release] Error 2


It might be some clang vs gcc incompatibility ...

Version-Release number of selected component (if applicable):
v8-5.2.258-11.fc26

Comment 1 Fedora End Of Life 2018-05-03 08:44:09 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '26'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 2 Fedora End Of Life 2018-05-29 12:04:46 UTC
Fedora 26 changed to end-of-life (EOL) status on 2018-05-29. Fedora 26
is no longer maintained, which means that it will not receive any
further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.