From owner-freebsd-ports-bugs@freebsd.org Thu Feb 1 05:13:45 2018 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BA92FF0E32F for ; Thu, 1 Feb 2018 05:13:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 515D86C4BF for ; Thu, 1 Feb 2018 05:13:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 79EEA123E6 for ; Thu, 1 Feb 2018 05:13:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w115Dibc096409 for ; Thu, 1 Feb 2018 05:13:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w115DiuL096407 for freebsd-ports-bugs@FreeBSD.org; Thu, 1 Feb 2018 05:13:44 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 225600] lang/rust fails with error: the clang compiler does not support '-march=native' Date: Thu, 01 Feb 2018 05:13:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gergely.czuczy@harmless.hu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rust@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2018 05:13:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225600 Bug ID: 225600 Summary: lang/rust fails with error: the clang compiler does not support '-march=3Dnative' 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: gergely.czuczy@harmless.hu Flags: maintainer-feedback?(rust@FreeBSD.org) Assignee: rust@FreeBSD.org Hello, I'm trying to build rust (dep for firefox) on -CURRENT/aarch64, and it fails with the following error: [ 6%] Building CXX object src/wasm/CMakeFiles/wasm.dir/wasm-binary.cpp.o gmake[7]: Leaving directory '/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unknown-freebsd/s= tage0-rustc/aarch64-unknown -freebsd/release/build/rustc_binaryen-cfb76adb9420e94c/out/build' gmake[6]: Leaving directory '/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unknown-freebsd/s= tage0-rustc/aarch64-unknown -freebsd/release/build/rustc_binaryen-cfb76adb9420e94c/out/build' gmake[5]: Leaving directory '/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unknown-freebsd/s= tage0-rustc/aarch64-unknown -freebsd/release/build/rustc_binaryen-cfb76adb9420e94c/out/build' gmake[4]: Leaving directory '/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unknown-freebsd/s= tage0-rustc/aarch64-unknown -freebsd/release/build/rustc_binaryen-cfb76adb9420e94c/out/build' --- stderr c++: error: the clang compiler does not support '-march=3Dnative' c++: error: the clang compiler does not support '-march=3Dnative' gmake[7]: *** [src/asmjs/CMakeFiles/asmjs.dir/build.make:63: src/asmjs/CMakeFiles/asmjs.dir/asm_v_wasm.cpp.o] Error 1 gmake[7]: *** [src/ir/CMakeFiles/ir.dir/build.make:63: src/ir/CMakeFiles/ir.dir/ExpressionAnalyzer.cpp.o] Error 1 gmake[6]: *** [CMakeFiles/Makefile2:610: src/asmjs/CMakeFiles/asmjs.dir/all] Error 2 gmake[6]: *** Waiting for unfinished jobs.... gmake[6]: *** [CMakeFiles/Makefile2:555: src/ir/CMakeFiles/ir.dir/all] Erro= r 2 c++: error: the clang compiler does not support '-march=3Dnative' gmake[7]: *** [src/wasm/CMakeFiles/wasm.dir/build.make:63: src/wasm/CMakeFiles/wasm.dir/literal.cpp.o] Error 1 gmake[7]: *** Waiting for unfinished jobs.... c++: error: the clang compiler does not support '-march=3Dnative' c++: error: the clang compiler does not support '-march=3Dnative' gmake[7]: *** [src/wasm/CMakeFiles/wasm.dir/build.make:87: src/wasm/CMakeFiles/wasm.dir/wasm.cpp.o] Error 1 gmake[7]: *** [src/wasm/CMakeFiles/wasm.dir/build.make:111: src/wasm/CMakeFiles/wasm.dir/wasm-binary.cpp.o] Error 1 gmake[6]: *** [CMakeFiles/Makefile2:885: src/wasm/CMakeFiles/wasm.dir/all] Error 2 gmake[5]: *** [CMakeFiles/Makefile2:171: CMakeFiles/binaryen.dir/rule] Erro= r 2 gmake[4]: *** [Makefile:190: binaryen] Error 2 thread 'main' panicked at ' command did not execute successfully, got: exit code: 2 build script failed, must exit now', src/vendor/cmake/src/lib.rs:631:4 note: Run with `RUST_BACKTRACE=3D1` for a backtrace. warning: build failed, waiting for other jobs to finish... error: build failed thread 'main' panicked at 'command did not execute successfully: "/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unknown-freebsd/s= tage0/bin/cargo" "build" "--target" "aarch64-unknown-freebsd" "--release" "--frozen" "--features" " jemalloc llvm" "--manifest-path" "/usr/ports/lang/rust/work/rustc-1.23.0-src/src/rustc/Cargo.toml" "--message-format" "json" expected success, got: exit code: 101', src/bootstrap/compile.rs:882:8 note: Run with `RUST_BACKTRACE=3D1` for a backtrace. # uname -a FreeBSD build-pine64.bealak.harmless.hu 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r328533M: Mon Jan 29 15:43:25 CET 2018=20=20=20=20 toor@marvin.harmless.hu:/tank/rpi3/crochet/work.pine64vanilla/obj/tank/rpi3= /src/arm64.aarch64/sys/GENERIC-NODEBUG arm64 It's after the clang-6.0.0 import. Could you please fix this? Best regards, Gergely --=20 You are receiving this mail because: You are the assignee for the bug.=