From nobody Sun Nov 5 19:37:00 2023 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 4SNl9S4Lt9z507t5 for ; Sun, 5 Nov 2023 19:37:00 +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 4SNl9S2jPXz3gQl for ; Sun, 5 Nov 2023 19:37:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699213020; 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=ZTEd52qGgWwGM0+fyAcMUFJ66eAtT4vJgTJoCgLbDPc=; b=K/1cG2BktHl6XDTS+wqRFSOo98+1YmJDs6jg9xLDSXvFRz7rEeV+T00W6xNwZ2/0fwOSvv 6BYR41cmtKIn7cSIqETpgLvoopqykU74KYWJHzp/SM2/aANIjW3naUQkOhsPHThjH0fgm2 Vb5/ddbg+NinWhvsoxlS3JeSxApBIyE4OuYEMaTXz2Hf/31OGnHKpw4QFs5yD4C3igpYvZ +8qdLeJC7+JusSoLe0/N4BVX5ujrw1qBMDpg57qQOjfZVe0vxHV2nvNVSOMnhRsfF3PtoI FHhaRHGnwfRPpyHICbgcqFMe1ICROxg5mfmPPdObw8D/xhn/Vn79EmrHECuC6Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699213020; a=rsa-sha256; cv=none; b=o6ydmm5vn2JeCDjWj5T0Q+9ROadf+Cp9ZYI+aX/OdbiOiAyalr9Ebi5+J5Odd+6FTrvPqb ceETfMsBu4EBq12gByVFpsjYpr2hsiWP1BizYvq3pbUH74fVEof7X0p7LcGh44TMZVj6r9 lsSZtP/p7yLvCgBHlWVvVt5f+zAb4XYsJfEWDbYP4evVsX67qejZgTvh2iD8Aa89R0L90Z 35i8vablOUrEdpVUItJ8xSRQQ+kZLlREMSP/UPZpD4htpKwVhWxRtC/WirAb2kN/ggrNzf kBZiax9IuH3th8ED1FHiNwj+hDzm//gKUxEIl3cYl46AnyxlOVpsilUBOVJ9iQ== 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 4SNl9S1gZQzdGC for ; Sun, 5 Nov 2023 19:37:00 +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 3A5Jb0Yx081059 for ; Sun, 5 Nov 2023 19:37:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3A5Jb0pm081058 for bugs@FreeBSD.org; Sun, 5 Nov 2023 19:37:00 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 274927] Toolchain fails on the __sync_val_compare_and_swap function without -march=native (port biology/seqwish) Date: Sun, 05 Nov 2023 19:37:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yuri@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: 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=3D274927 Bug ID: 274927 Summary: Toolchain fails on the __sync_val_compare_and_swap function without -march=3Dnative (port biology/seqwish) Product: Base System Version: 13.2-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: yuri@freebsd.org The port biology/seqwish fails when -march=3Dnative is removed. I couldn't reproduce this on a smaller example. Un-commenting CMAKE_ARGS=3D-DEXTRA_FLAGS=3D"" in the port's makefile causes= removal of -march=3Dnative in the cmake script, which triggers this build failure: ld: error: undefined symbol: __sync_val_compare_and_swap_16 >>> referenced by transclosure.cpp >>> CMakeFiles/seqwish.dir/src/transclosure.cpp.o:(std::__1::= __function::__func&, std::__1::basic_st= ring, std::__1::allocator> const&, = mmmulti::iitree&, mmmulti::iitree&, unsigned long, unsigned long, unsigned long, bool, uns= igned long, std::__1::chrono::time_point>> cons= t&)::$_5, std::__1::allocator&, std::__= 1::basic_string, std::__1::allocator> const&, mmmulti::iitree&, mmmulti::iitree<= unsigned long, unsigned long>&, unsigned long, unsigned long, unsigned long= , bool, unsigned long, std::__1::chrono::time_point>> const&)::$_5>, void (unsigned long)>::operator()(unsigned long&&)) >>> referenced by transclosure.cpp >>> CMakeFiles/seqwish.dir/src/transclosure.cpp.o:(seqwish::D= isjointSets::unite(unsigned long, unsigned long)) >>> referenced by transclosure.cpp >>> CMakeFiles/seqwish.dir/src/transclosure.cpp.o:(seqwish::D= isjointSets::unite(unsigned long, unsigned long)) >>> referenced 2 more times c++: error: linker command failed with exit code 1 (use -v to see invocatio= n) --=20 You are receiving this mail because: You are the assignee for the bug.=