8000 MACHINE="qemuarm" + TCLIBC="musl" results in rust-hello-world failing to run · Issue #65 · meta-rust/meta-rust · GitHub
[go: up one dir, main page]

Skip to content
MACHINE="qemuarm" + TCLIBC="musl" results in rust-hello-world failing to run #65
@codyps

Description

@codyps
root@qemuarm:~# RUST_BACKTRACE=1 rust-hello-world 
thread '<unnamed>' panicked at 'failed to allocate a guard page', /home/x/obj/y/tmp/work-shared/rust-1.7.0-r0/rustc-1.7.0/src/libstd/sys/unix/thread.rs:252
stack backtrace:
   1:    0x19c23 - <unknown>
   2:    0x19c23 - <unknown>
   3:    0x19c23 - <unknown>
[... repeats the same thing to 100 frames ...]

local.conf has this appended to it (I'm testing with gcc 6 as I type this):

GCCVERSION = "5.%"
MACHINE = "qemuarm"
TCLIBC = "musl"
IMAGE_INSTALL_append = " rust-hello-world"

BUILD_CXXFLAGS_append = " -D_GLIBCXX_USE_CXX11_ABI=0"
TARGET_CXXFLAGS_append = " -D_GLIBCXX_USE_CXX11_ABI=0"
CXXFLAGS_append = " -D_GLIBCXX_USE_CXX11_ABI=0"

BUILD_CXXFLAGS_remove_pn-gcc-runtime = "-D_GLIBCXX_USE_CXX11_ABI=0"
TARGET_CXXFLAGS_remove_pn-gcc-runtime = "-D_GLIBCXX_USE_CXX11_ABI=0"
CXXFLAGS_remove_pn-gcc-runtime = "-D_GLIBCXX_USE_CXX11_ABI=0"

Image is core-image-minimal.

running via runqemu qemuarm serial.

48A2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0