From nobody Sun Feb 25 09:36:14 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 4TjJXZ2zm4z5C5dP for ; Sun, 25 Feb 2024 09:36:14 +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 4TjJXZ0lm3z4h3y for ; Sun, 25 Feb 2024 09:36:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708853774; a=rsa-sha256; cv=none; b=I9c1HmhTy071tTTNe88peOvFREOWZ50xUkU5kLVxpKduNp/Bpx8b27NKFdOPbVtf0JzYC6 RTjbBTe+hrm8XNgL9zTy0cz9zTet82tLECbf8N1TULTbOMm0KLlYHOW7pt+Hhyq8SYH8b3 GpJ3Bb4cVm7a4z/Jf4h63IWRLe0CqSzuyKugalL9xpsK4OBG7eMRzVp1gHqz2tcAtKs49e 6mTDCLyUD0Y8mpfFb1f/3AxOTOV/8Jj9luQLI0VgnLqTnzNMKask5Wanmx/YBn/xwxouNA WjJeSRwbaFDG+sfhmahoQggSyU2kbKpsrH73ZMHf8d7T4mnySaWPHyIPWHDVdA== 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=1708853774; 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; bh=Lw2H133nVPwc1VLvArkTQkfBcXPjOaobo+p7qNijuqQ=; b=p0b0dka5nKv6Tc3SplndQ+qIfnJCo2BDQeCNGWtFBLS80zC5md2nVCoUEz4fle/qJuwMur n2/OX062f+gbGi1c7Ql/V31cL5DhdsBGs01SbFiooff53Jqf0ZHciuMxLeGolLj2tkERw8 kLwy8VlpmWyqMhV2GAEFA5h5BBaKFMf5tuc7W05qj2L9y1vLMMlkbmwfr7mriacGo5FwSc qtCJsC6jhtGCpdwADHPdsgnkbP09qHliyPPmNP02YMwzkD2QplM9jUu7Ta2ljUsMK6zdrW fAq7ghZe1se8A5aMts97v935IuJp0O7e73QGZNYNksnXmJFs5fBOnhU09mr4HQ== 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 4TjJXY6wCZzfJJ for ; Sun, 25 Feb 2024 09:36:13 +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 41P9aDF5009234 for ; Sun, 25 Feb 2024 09:36:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41P9aDtL009233 for bugs@FreeBSD.org; Sun, 25 Feb 2024 09:36:13 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 09:36:14 +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: 13.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: devnexen@gmail.com 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 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 Bug ID: 277291 Summary: machine/atomic.h on x86_64 build issue on a Linux's cross compiling context Product: Base System Version: 13.2-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: devnexen@gmail.com on rust, we try to upgrade the freebsd version for CI to 13.2 (actually 12.= 3) but because of "invalid" assembly (from a cross compile perspective it seem= s), we re blocked with the following : ``` /usr/local/x86_64-unknown-freebsd13/usr/include/machine/atomic.h:214:1: err= or: invalid output constraint '=3D@cce' in asm ATOMIC_CMPSET(char); /usr/local/x86_64-unknown-freebsd13/usr/include/machine/atomic.h:190:4: not= e: expanded from macro 'ATOMIC_CMPSET' /usr/local/x86_64-unknown-freebsd13/usr/include/machine/atomic.h:190:4: not= e: expanded from macro 'ATOMIC_CMPSET' : "=3D@cce" (res), /* 0 */ \ ^ /usr/local/x86_64-unknown-freebsd13/usr/include/machine/atomic.h:214:1: err= or: invalid output constraint '=3D@cce' in asm /usr/local/x86_64-unknown-freebsd13/usr/include/machine/atomic.h:206:4: not= e: expanded from macro 'ATOMIC_CMPSET' : "=3D@cce" (res), /* 0 */ \ ^ /usr/local/x86_64-unknown-freebsd13/usr/include/machine/atomic.h:215:1: err= or: invalid output constraint '=3D@cce' in asm ATOMIC_CMPSET(short); /usr/local/x86_64-unknown-freebsd13/usr/include/machine/atomic.h:190:4: not= e: expanded from macro 'ATOMIC_CMPSET' /usr/local/x86_64-unknown-freebsd13/usr/include/machine/atomic.h:190:4: not= e: expanded from macro 'ATOMIC_CMPSET' : "=3D@cce" (res), /* 0 */ \ ^ /usr/local/x86_64-unknown-freebsd13/usr/include/machine/atomic.h:215:1: err= or: invalid output constraint '=3D@cce' in asm /usr/local/x86_64-unknown-freebsd13/usr/include/machine/atomic.h:206:4: not= e: expanded from macro 'ATOMIC_CMPSET' : "=3D@cce" (res),=20=20=20=20=20 ``` same goes on with the other flavors for sure. https://productionresultssa15.blob.core.windows.net/actions-results/9c52c8f= 5-ceaf-47b1-be2f-a881fa0dfdfd/workflow-job-run-6b331a53-14f3-55fe-965a-00d6= 199df180/logs/job/job-logs.txt?rsct=3Dtext%2Fplain&se=3D2024-02-25T09%3A45%= 3A13Z&sig=3DCcYklcQ0WJT1U%2BCI86fIm0YWh%2BjveVOcqnwmHG2xpBM%3D&sp=3Dr&spr= =3Dhttps&sr=3Db&st=3D2024-02-25T09%3A35%3A08Z&sv=3D2021-12-02 --=20 You are receiving this mail because: You are the assignee for the bug.=