armhf build fails

Bug #1642317 reported by Chris Coulson on 2016-11-16
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Oxide
Critical
Chris Coulson

Bug Description

This doesn't seem to affect cross builds, but only archive builds:

[13145/19378] python ../../v8/tools/run.py ./mksnapshot --startup_src gen/v8/snapshot.cc --random-seed 314159265 --startup_blob snapshot_blob.bin
FAILED: gen/v8/snapshot.cc snapshot_blob.bin
python ../../v8/tools/run.py ./mksnapshot --startup_src gen/v8/snapshot.cc --random-seed 314159265 --startup_blob snapshot_blob.bin
ninja: build stopped: subcommand failed.
oxide/CMakeFiles/build_all.dir/build.make:60: recipe for target 'oxide/CMakeFiles/build_all' failed
make[4]: *** [oxide/CMakeFiles/build_all] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-arm-linux-gnueabihf'
CMakeFiles/Makefile2:234: recipe for target 'oxide/CMakeFiles/build_all.dir/all' failed
make[3]: *** [oxide/CMakeFiles/build_all.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-arm-linux-gnueabihf'
Makefile:141: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-arm-linux-gnueabihf'
dh_auto_build: make -j4 returned exit code 2
debian/rules:20: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:14: recipe for target 'build-arch' failed
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2

Changed in oxide:
importance: Undecided → Critical
status: New → Triaged
milestone: none → branch-1.20
Chris Coulson (chrisccoulson) wrote :

Running mksnapshot on a porter box, I see it crash like this:

Thread 1 "mksnapshot" received signal SIGBUS, Bus error.
std::__fill_a<v8::internal::compiler::InstructionOperand*, v8::internal::compiler::InstructionOperand> () at /usr/include/c++/6/bits/stl_algobase.h:685
685 *__first = __value;
(gdb) bt
#0 std::__fill_a<v8::internal::compiler::InstructionOperand*, v8::internal::compiler::InstructionOperand> () at /usr/include/c++/6/bits/stl_algobase.h:685
#1 std::fill<v8::internal::compiler::InstructionOperand*, v8::internal::compiler::InstructionOperand> () at /usr/include/c++/6/bits/stl_algobase.h:731
#2 v8::internal::compiler::InstructionSelector::EmitTableSwitch () at ../../v8/src/compiler/instruction-selector.cc:1511
#3 0xab054c98 in v8::internal::compiler::InstructionSelector::VisitSwitch () at ../../v8/src/compiler/arm/instruction-selector-arm.cc:2042
#4 0xaac234e4 in v8::internal::compiler::InstructionSelector::VisitControl () at ../../v8/src/compiler/instruction-selector.cc:917
#5 0xaac235d0 in v8::internal::compiler::InstructionSelector::VisitBlock () at ../../v8/src/compiler/instruction-selector.cc:822
#6 0xaac237d6 in v8::internal::compiler::InstructionSelector::SelectInstructions () at ../../v8/src/compiler/instruction-selector.cc:69
#7 0xaac771b0 in v8::internal::compiler::InstructionSelectionPhase::Run () at ../../v8/src/compiler/pipeline.cc:1253
#8 v8::internal::compiler::PipelineImpl::Run<v8::internal::compiler::InstructionSelectionPhase, v8::internal::compiler::Linkage*> () at ../../v8/src/compiler/pipeline.cc:706
#9 0xaac7942c in v8::internal::compiler::PipelineImpl::ScheduleAndSelectInstructions () at ../../v8/src/compiler/pipeline.cc:1804
#10 0xaac7a3da in v8::internal::compiler::PipelineImpl::ScheduleAndGenerateCode () at ../../v8/src/compiler/pipeline.cc:1905
#11 v8::internal::compiler::Pipeline::GenerateCodeForCodeStub () at ../../v8/src/compiler/pipeline.cc:1692
#12 0xaabf7620 in v8::internal::compiler::CodeAssembler::GenerateCode () at ../../v8/src/compiler/code-assembler.cc:76
#13 0xaaba1bc6 in BuildWithCodeStubAssemblerCS () at ../../v8/src/builtins/builtins.cc:110
#14 0xaaba51a0 in v8::internal::Builtins::SetUp () at ../../v8/src/builtins/builtins.cc:153
#15 0xaae2086e in v8::internal::Isolate::Init () at ../../v8/src/isolate.cc:2533
#16 0xaaafd2bc in v8::SnapshotCreator::SnapshotCreator () at ../../v8/src/api.cc:484
#17 0xaab05be2 in v8::V8::CreateSnapshotDataBlob () at ../../v8/src/api.cc:593
#18 0xaaaf4c84 in main () at ../../v8/src/snapshot/mksnapshot.cc:164

Changed in oxide:
status: Triaged → In Progress
assignee: nobody → Chris Coulson (chrisccoulson)
Olivier Tilloy (osomon) wrote :

This seems to be affecting 1.19 too, and also at run time (see bug #1648891).

Changed in oxide:
milestone: branch-1.20 → branch-1.21
Changed in oxide:
milestone: branch-1.21 → branch-1.22
status: In Progress → Fix Committed
Changed in oxide:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers