armhf build fails

Bug #1642317 reported by Chris Coulson
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Chris Coulson

Bug Description

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

[13145/19378] python ../../v8/tools/ ./mksnapshot --startup_src gen/v8/ --random-seed 314159265 --startup_blob snapshot_blob.bin
FAILED: gen/v8/ snapshot_blob.bin
python ../../v8/tools/ ./mksnapshot --startup_src gen/v8/ --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
Revision history for this message
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/
#3 0xab054c98 in v8::internal::compiler::InstructionSelector::VisitSwitch () at ../../v8/src/compiler/arm/
#4 0xaac234e4 in v8::internal::compiler::InstructionSelector::VisitControl () at ../../v8/src/compiler/
#5 0xaac235d0 in v8::internal::compiler::InstructionSelector::VisitBlock () at ../../v8/src/compiler/
#6 0xaac237d6 in v8::internal::compiler::InstructionSelector::SelectInstructions () at ../../v8/src/compiler/
#7 0xaac771b0 in v8::internal::compiler::InstructionSelectionPhase::Run () at ../../v8/src/compiler/
#8 v8::internal::compiler::PipelineImpl::Run<v8::internal::compiler::InstructionSelectionPhase, v8::internal::compiler::Linkage*> () at ../../v8/src/compiler/
#9 0xaac7942c in v8::internal::compiler::PipelineImpl::ScheduleAndSelectInstructions () at ../../v8/src/compiler/
#10 0xaac7a3da in v8::internal::compiler::PipelineImpl::ScheduleAndGenerateCode () at ../../v8/src/compiler/
#11 v8::internal::compiler::Pipeline::GenerateCodeForCodeStub () at ../../v8/src/compiler/
#12 0xaabf7620 in v8::internal::compiler::CodeAssembler::GenerateCode () at ../../v8/src/compiler/
#13 0xaaba1bc6 in BuildWithCodeStubAssemblerCS () at ../../v8/src/builtins/
#14 0xaaba51a0 in v8::internal::Builtins::SetUp () at ../../v8/src/builtins/
#15 0xaae2086e in v8::internal::Isolate::Init () at ../../v8/src/
#16 0xaaafd2bc in v8::SnapshotCreator::SnapshotCreator () at ../../v8/src/
#17 0xaab05be2 in v8::V8::CreateSnapshotDataBlob () at ../../v8/src/
#18 0xaaaf4c84 in main () at ../../v8/src/snapshot/

Changed in oxide:
status: Triaged → In Progress
assignee: nobody → Chris Coulson (chrisccoulson)
Revision history for this message
Chris Coulson (chrisccoulson) wrote :
Revision history for this message
Chris Coulson (chrisccoulson) wrote :
Revision history for this message
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