From owner-freebsd-bugs@freebsd.org Thu Feb 13 18:31:08 2020 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EC5531CFC9B for ; Thu, 13 Feb 2020 18:31:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48JQ7c62H1z4KBK for ; Thu, 13 Feb 2020 18:31:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id CD41E1CFC9A; Thu, 13 Feb 2020 18:31:08 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CD03A1CFC99 for ; Thu, 13 Feb 2020 18:31:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48JQ7c516Wz4KBJ for ; Thu, 13 Feb 2020 18:31:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A7661EEE7 for ; Thu, 13 Feb 2020 18:31:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01DIV8G0097524 for ; Thu, 13 Feb 2020 18:31:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01DIV8E9097523 for bugs@FreeBSD.org; Thu, 13 Feb 2020 18:31:08 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: bugs@FreeBSD.org Subject: [Bug 244102] r357862 /lib/clang/libllvmminimal fails buildworld with cc1plus: error: unrecognized command line option "-std=c++11" Date: Thu, 13 Feb 2020 18:31:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dclarke@blastwave.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter 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-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Feb 2020 18:31:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244102 Bug ID: 244102 Summary: r357862 /lib/clang/libllvmminimal fails buildworld with cc1plus: error: unrecognized command line option "-std=3Dc++11" Product: Base System Version: CURRENT Hardware: powerpc OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: dclarke@blastwave.org Seems to be a mismatch between the code and the compiler options=20 here on FreeBSD on ppc64 :=20 hydra#=20 hydra# uname -apKU FreeBSD hydra 13.0-CURRENT FreeBSD 13.0-CURRENT r351523 GENERIC powerpc powerpc64 1300042 1300042 hydra#=20 hydra# make buildworld [Creating objdir /usr/obj/usr/src/r357862/powerpc.powerpc64...] make[1]: "/usr/src/r357862/Makefile.inc1" line 340: SYSTEM_LINKER: libclang will be built for bootstrapping a cross-linker. -------------------------------------------------------------- >>> World build started on Thu Feb 13 18:25:22 GMT 2020 -------------------------------------------------------------- -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- rm -rf /usr/obj/usr/src/r357862/powerpc.powerpc64/tmp cd /usr/src/r357862/tools/build; make DIRPRFX=3Dtools/build/ DESTDIR=3D/usr/obj/usr/src/r357862/powerpc.powerpc64/tmp/legacy installdirs [Creating objdir /usr/obj/usr/src/r357862/powerpc.powerpc64/tools/build...] mkdir -p /usr/obj/usr/src/r357862/powerpc.powerpc64/tmp/legacy/bin /usr/obj/usr/src/r357862/powerpc.powerpc64/tmp/legacy/lib/casper /usr/obj/usr/src/r357862/powerpc.powerpc64/tmp/legacy/lib/geom /usr/obj/usr/src/r357862/powerpc.powerpc64/tmp/legacy/usr/include/casper /usr/obj/usr/src/r357862/powerpc.powerpc64/tmp/legacy/usr/include/private/z= std /usr/obj/usr/src/r357862/powerpc.powerpc64/tmp/legacy/usr/lib /usr/obj/usr/src/r357862/powerpc.powerpc64/tmp/legacy/usr/libexec removing old non-symlink /usr/obj/usr/src/r357862/powerpc.powerpc64/tmp/legacy/sbin removing old non-symlink /usr/obj/usr/src/r357862/powerpc.powerpc64/tmp/legacy/usr/sbin removing old non-symlink /usr/obj/usr/src/r357862/powerpc.powerpc64/tmp/legacy/usr/bin ln -sfn bin /usr/obj/usr/src/r357862/powerpc.powerpc64/tmp/legacy/sbin . . . /usr/obj/usr/src/r357862/powerpc.powerpc64/tmp/legacy/bin/xz -> /usr/bin/xz /usr/obj/usr/src/r357862/powerpc.powerpc64/tmp/legacy/bin/unxz -> /usr/bin/= unxz =3D=3D=3D> lib/clang/libllvmminimal (obj,all,install) [Creating objdir /usr/obj/usr/src/r357862/powerpc.powerpc64/tmp/obj-tools/lib/clang/libllvmm= inimal...] [Creating nested objdir /usr/obj/usr/src/r357862/powerpc.powerpc64/tmp/obj-tools/lib/clang/libllvmm= inimal/Demangle...] [Creating nested objdir /usr/obj/usr/src/r357862/powerpc.powerpc64/tmp/obj-tools/lib/clang/libllvmm= inimal/Support...] [Creating nested objdir /usr/obj/usr/src/r357862/powerpc.powerpc64/tmp/obj-tools/lib/clang/libllvmm= inimal/TableGen...] c++ -O2 -pipe -I/usr/src/r357862/lib/clang/include -I/usr/src/r357862/contrib/llvm-project/llvm/include -D__STDC_CONSTANT_MACR= OS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DHAVE_VCS_VERSION_INC -DLLVM_DEFAULT_TARGET_TRIPLE=3D\"powerpc64-unknown-freebsd13.0\" -DLLVM_HOST_TRIPLE=3D\"powerpc64-unknown-freebsd13.0\" -DDEFAULT_SYSROOT=3D\"/usr/obj/usr/src/r357862/powerpc.powerpc64/tmp\" -DLLVM_TARGET_ENABLE_POWERPC -DLLVM_NATIVE_ASMPARSER=3DLLVMInitializePowerPCAsmParser -DLLVM_NATIVE_ASMPRINTER=3DLLVMInitializePowerPCAsmPrinter -DLLVM_NATIVE_DISASSEMBLER=3DLLVMInitializePowerPCDisassembler -DLLVM_NATIVE_TARGET=3DLLVMInitializePowerPCTarget -DLLVM_NATIVE_TARGETINFO=3DLLVMInitializePowerPCTargetInfo -DLLVM_NATIVE_TARGETMC=3DLLVMInitializePowerPCTargetMC -ffunction-sections -fdata-sections -g1 -MD -MF.depend.Demangle_ItaniumDemangle.o -MTDemangle/ItaniumDemangle.o -Wno-format-zero-length -I/usr/obj/usr/src/r357862/powerpc.powerpc64/tmp/legacy/usr/include=20 -fno-exceptions -fno-rtti -g1 -std=3Dc++11 -c /usr/src/r357862/contrib/llvm-project/llvm/lib/Demangle/ItaniumDemangle.cpp= -o Demangle/ItaniumDemangle.o cc1plus: warning: command line option "-Wno-format-zero-length" is valid for C/ObjC but not for C++ cc1plus: error: unrecognized command line option "-std=3Dc++11" *** Error code 1 Stop. make[3]: stopped in /usr/src/r357862/lib/clang/libllvmminimal *** Error code 1 Stop. make[2]: stopped in /usr/src/r357862 *** Error code 1 Stop. make[1]: stopped in /usr/src/r357862 *** Error code 1 Stop. make: stopped in /usr/src/r357862 hydra# --=20 You are receiving this mail because: You are the assignee for the bug.=