From nobody Wed Apr 10 17:53:03 2024 X-Original-To: toolchain@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 4VF9R81LC7z5FnFj for ; Wed, 10 Apr 2024 17:53: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) 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 4VF9R34266z4H3s for ; Wed, 10 Apr 2024 17:53:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712771583; a=rsa-sha256; cv=none; b=NiYOsudEd8vrYULCTHG+JRm/8OSANP3+GvaJyJuHqAbhj1jHBfqQsui4lR4laEf+AAAxcp fz6iRevJGHNZ1uzsj6Uzssdv3jf37zzml4FI452aCaPMspUcePR/70THNND9YQGrWhrHVS UEIwJy0BmRTsC7RwBrvUEkB9bg7a3aoMVayCEBSZ1qg/4aPRn9T6hoO8oAFmlfREs/ncaq /+bkyNZ9HWfLFoe3cIwvHHKU9U6BnRitUnQ6ii4dm1N0frToxeX6wRmFfhVWkjIZBVxJuJ JyDkm8KPLsvyaljoQO8ngFJ83o8vazLvZuZfQOPwMCGe4mW85SvxtmuknY/k2g== 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=1712771583; 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=Nwn87ieWi1922RbdjuuspMXVKJ8TmaCJWSSkN4BVVCs=; b=d9ALJISZmUxw4e7yhXXo/heJpZl31D7ORFdY02GPTLPj0OsSYUawxdCm8sZTQeoprdeBis jQw0/tWJwRcLbAEN4zTVGno6R+aqU78Bi6m9Mx5DjGL/x6hLDWxojrZWigUWt+D0dFMf7i nTMjhn20lm0jC0yYUcijK7bxPwz6k4tPDQFwk0KjmuNUTCwhY3ysxKtembxozfBqrFk7y/ 2QdnjQghJhiimIXPuJz23Dfv6Onlrntyr7bYnzi9e6ahlv+KaSn+ugN9ZhkWq2ncK2iN8v 45WOoBwdPtvKBDyT4K7GIBkrLTWG1A/ERDBfUslU0DRiZ8dla0TCY0ICAi9zpw== 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 4VF9R33fHRznRy for ; Wed, 10 Apr 2024 17:53:03 +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 43AHr3df003051 for ; Wed, 10 Apr 2024 17:53:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43AHr3lO003050 for toolchain@FreeBSD.org; Wed, 10 Apr 2024 17:53:03 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: toolchain@FreeBSD.org Subject: [Bug 278271] Bug in LLVM's libc++ breaks g++13 (build of math/ceres-solver is broken on armv7) Date: Wed, 10 Apr 2024 17:53:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.0-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: toolchain@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: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278271 --- Comment #7 from Dimitry Andric --- Okay, my magic incantation was: --- a/math/ceres-solver/Makefile +++ b/math/ceres-solver/Makefile @@ -57,10 +57,10 @@ GFLAGS_LIB_DEPENDS=3D libgflags.so:devel/gflags GFLAGS_CMAKE_BOOL=3D GFLAGS OPENMP_CMAKE_ON=3D -DCERES_THREADING_MODEL:STRING=3D"OPENMP" -.if !exists(/usr/include/omp.h) +#.if !exists(/usr/include/omp.h) # XXX ports/199603: LLVM openmp in base doesn't support armv6, armv7 yet OPENMP_VARS=3D OPENMP=3Dgcc- -.endif +#.endif SCHUR_DESC=3D Fixed-size schur specializations SCHUR_CMAKE_BOOL=3D SCHUR_SPECIALIZATIONS so it would insist on using gcc13 by itself, and indeed it used -stdlib=3Dl= ibc++ everywhere. But still, it compiled totally fine, even without the fix. How can I reproduce the original problem, and verify that the fix works? (I don't want to have to build on armv7 since I don't have the time to setup t= he whole environment for that) --=20 You are receiving this mail because: You are the assignee for the bug.=