Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Nov 2020 22:13:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 251337] lang/rust returns SIGSEGV building on arm64
Message-ID:  <bug-251337-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251337

            Bug ID: 251337
           Summary: lang/rust returns SIGSEGV building on arm64
           Product: Ports & Packages
           Version: Latest
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: rust@FreeBSD.org
          Reporter: dan.kotowski@a9development.com
          Assignee: rust@FreeBSD.org
             Flags: maintainer-feedback?(rust@FreeBSD.org)

When building lang/rust for 13.0 on arm64, we get SIGSEGV:

FreeBSD 13.0-CURRENT r367710
+D20835,D20974,D21017,D24423,D27306



=3D=3D=3D=3D=3DBEGIN CONSOLE=3D=3D=3D=3D=3D
c Assemble { target_compiler: Compiler { stage: 1, host: TargetSelection {
triple: "aarch64-unknown-freebsd", file: None } } }
> Cargo { compiler: Compiler { stage: 1, host: TargetSelection { triple: "a=
arch64-unknown-freebsd", file: None } }, target: TargetSelection { triple: =
"aarch64-unknown-freebsd", file: None } }
  > ToolBuild { compiler: Compiler { stage: 1, host: TargetSelection { trip=
le:
"aarch64-unknown-freebsd", file: None } }, target: TargetSelection { triple:
"aarch64-unknown-freebsd", file: None }, tool: "cargo", path:
"src/tools/cargo", mode: ToolRustc, is_optional_tool: false, source_type:
Submodule, extra_features: [] }
    > Rustc { target: TargetSelection { triple: "aarch64-unknown-freebsd",
file: None }, compiler: Compiler { stage: 1, host: TargetSelection { triple:
"aarch64-unknown-freebsd", file: None } } }
      c Std { target: TargetSelection { triple: "aarch64-unknown-freebsd",
file: None }, compiler: Compiler { stage: 1, host: TargetSelection { triple:
"aarch64-unknown-freebsd", file: None } } }
      c Assemble { target_compiler: Compiler { stage: 1, host: TargetSelect=
ion
{ triple: "aarch64-unknown-freebsd", file: None } } }
      c Assemble { target_compiler: Compiler { stage: 1, host: TargetSelect=
ion
{ triple: "aarch64-unknown-freebsd", file: None } } }
      c Std { target: TargetSelection { triple: "aarch64-unknown-freebsd",
file: None }, compiler: Compiler { stage: 1, host: TargetSelection { triple:
"aarch64-unknown-freebsd", file: None } } }
      c Sysroot { compiler: Compiler { stage: 1, host: TargetSelection {
triple: "aarch64-unknown-freebsd", file: None } } }
      c Sysroot { compiler: Compiler { stage: 1, host: TargetSelection {
triple: "aarch64-unknown-freebsd", file: None } } }
      c Sysroot { compiler: Compiler { stage: 1, host: TargetSelection {
triple: "aarch64-unknown-freebsd", file: None } } }
      c Sysroot { compiler: Compiler { stage: 1, host: TargetSelection {
triple: "aarch64-unknown-freebsd", file: None } } }
      c Sysroot { compiler: Compiler { stage: 1, host: TargetSelection {
triple: "aarch64-unknown-freebsd", file: None } } }
      c Llvm { target: TargetSelection { triple: "aarch64-unknown-freebsd",
file: None } }
Building stage1 compiler artifacts (aarch64-unknown-freebsd ->
aarch64-unknown-freebsd)
running: "/usr/ports/lang/rust/work/bootstrap/bin/cargo" "build" "--target"
"aarch64-unknown-freebsd" "-Zbinary-dep-depinfo" "-j" "16" "-v" "--release"
"--frozen" "--features" " llvm" "--manifest-path"
"/usr/ports/lang/rust/work/rustc-1.47.0-src/src/rustc/Cargo.toml"
"--message-format" "json-render-diagnostics"
   Compiling cfg-if v0.1.10
   Compiling libc v0.2.74
   Compiling autocfg v1.0.0
   Compiling lazy_static v1.4.0
   Compiling proc-macro2 v1.0.19
   Compiling scopeguard v1.1.0
command did not execute successfully:
"/usr/ports/lang/rust/work/bootstrap/bin/cargo" "build" "--target"
"aarch64-unknown-freebsd" "-Zbinary-dep-depinfo" "-j" "16" "-v" "--release"
"--frozen" "--features" " llvm" "--manifest-path"
"/usr/ports/lang/rust/work/rustc-1.47.0-src/src/rustc/Cargo.toml"
"--message-format" "json-render-diagnostics"
expected success, got: signal: 11
Traceback (most recent call last):
  File "x.py", line 11, in <module>
    bootstrap.main()
  File "/usr/ports/lang/rust/work/rustc-1.47.0-src/src/bootstrap/bootstrap.=
py",
line 1009, in main
    bootstrap(help_triggered)
  File "/usr/ports/lang/rust/work/rustc-1.47.0-src/src/bootstrap/bootstrap.=
py",
line 995, in bootstrap
    run(args, env=3Denv, verbose=3Dbuild.verbose)
  File "/usr/ports/lang/rust/work/rustc-1.47.0-src/src/bootstrap/bootstrap.=
py",
line 143, in run
    raise RuntimeError(err)
RuntimeError: failed to run:
/usr/ports/lang/rust/work/rustc-1.47.0-src/build/bootstrap/debug/bootstrap
build --jobs=3D16
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/lang/rust
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/rust
=3D=3D=3D=3D=3DEND CONSOLE=3D=3D=3D=3D=3D

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251337-7788>