From nobody Sun Feb 25 11:56:50 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TjMfp58zDz5B53M for ; Sun, 25 Feb 2024 11:56:50 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TjMfp3SNNz42rT for ; Sun, 25 Feb 2024 11:56:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708862210; a=rsa-sha256; cv=none; b=lKCZYlDXa0Fe7sKYZylvZKJxfGRxixEM6Xu+unaSbtcE8kTkpsjp7ieiDvsiB4GA0vIhVv IoRIinEDNitHyhlGq96p8E0X7rEK2xzt7Rk/ceq8xyoFoLxMO2Srn/fA4v5NFyGGEdcH9G RuqKu1+Hcpix7cnFQiGIavgx4nPhPKs5vPcJNnuVAXsREsYBBXEEBExAkAvgL7BMvauaUE fbXttPhmjspEkHm72HIbgSN501UUVTzQLBKjvJak/DP4xPn1rTjgdne5RA6nnPo2ov1kb0 cesIFI3IQ5FYyO6Kj6c+h5jo4LOQwB+p79ceK6efJyaroswbIpKV3WWn+zks9w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708862210; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Yydttn/xX1SSVkpYw22jow0pdGu4xDrWg8BbuVzWmOY=; b=cWkNkS1ZecwzhcqBooXszjraNRtxNosvXbosYbVggN8uPag04gVwUHwEY1q66mJeHSI4j+ Bhuepo0ud7yDzAeZkMywP+BKyx8dLKi+OQvqrewBzmMR+CDoBDE1qOansap163xDBrB5uN 5I9BZrFIc28qK4zkvO5jlO+hypiVTT7tLM2dA6OfgxnFidvalVzb9D0pOPbZPFA4kisSia ms2aJZTOB1bADT2EsMHlldk8+T4KqBp7MgBmWQcp0ZvK30zHNfA573hH1BkafNOvZJRQ6n 7L+2S0anPiHdTY8wNccc/ULQB1VCYT4EhXPmfDSvTVSkS7A+RpS4ErNKibUnRg== 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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TjMfp2CV3zjw1 for ; Sun, 25 Feb 2024 11:56:50 +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 41PBuoRe047225 for ; Sun, 25 Feb 2024 11:56:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41PBuouS047224 for bugs@FreeBSD.org; Sun, 25 Feb 2024 11:56:50 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 277291] machine/atomic.h on x86_64 build issue on a Linux's cross compiling context Date: Sun, 25 Feb 2024 11:56:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: dim@FreeBSD.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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277291 --- Comment #3 from Dimitry Andric --- It appears to be running a /usr/local/bin/x86_64-unknown-freebsd13-clang++ binary: 2024-02-25T03:45:40.9530114Z sccache /usr/local/bin/x86_64-unknown-freebsd13-clang++ -DHAVE_RPC_XDR_H=3D0 -I/checkout/src/llvm-project/compiler-rt/lib/sanitizer_common/.. -ffunction-sections -fdata-sections -fPIC --target=3Dx86_64-unknown-freebsd= -Wall -Wno-unused-parameter -O3 -DNDEBUG -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=3Dsafe-stack -fvisibility=3Dhidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-= gnu -Wno-variadic-macros -Wno-c99-extensions -nostdinc++ -Wno-format -fno-rtti -Wframe-larger-than=3D570 -Wglobal-constructors -std=3Dc++17 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_linu= x.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_linu= x.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_linu= x.cpp.o -c /checkout/src/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_linux= .cpp 2024-02-25T03:45:40.9538046Z In file included from /checkout/src/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_linux= .cpp:85: 2024-02-25T03:45:40.9539349Z /usr/local/x86_64-unknown-freebsd13/usr/include/machine/atomic.h:214:1: err= or: invalid output constraint '=3D@cce' in asm 2024-02-25T03:45:40.9540101Z ATOMIC_CMPSET(char); 2024-02-25T03:45:40.9540385Z ^ which is initialized somewhere at the start of the build with: 2024-02-25T03:28:53.1887125Z ENV \ 2024-02-25T03:28:53.1887562Z=20=20=20=20 AR_x86_64_unknown_freebsd=3Dx86_64-unknown-freebsd13-ar \ 2024-02-25T03:28:53.1888187Z=20=20=20=20 CC_x86_64_unknown_freebsd=3Dx86_64-unknown-freebsd13-clang \ 2024-02-25T03:28:53.1888807Z=20=20=20=20 CXX_x86_64_unknown_freebsd=3Dx86_64-unknown-freebsd13-clang++ but the only version identifier I can find in there is from the CMake configuration phase: 2024-02-25T03:45:36.3095785Z -- The C compiler identification is Clang 6.0.0 2024-02-25T03:45:36.3526050Z -- The CXX compiler identification is Clang 6.= 0.0 Is this really clang 6.0? That is extremely old by now, and should be upgra= ded ASAP :-) --=20 You are receiving this mail because: You are the assignee for the bug.=