[Bug 276824] clang crashes on powerpc: Assertion failed: (count_if(VPlans, [VF](const VPlanPtr &Plan) { return Plan->hasVF(VF); }) == 1 && "Best VF has not a single VPlan."), function getBestPlanFor (port devel/quickcpplib)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 04 Feb 2024 20:26:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276824

Mark Millard <marklmi26-fbsd@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marklmi26-fbsd@yahoo.com

--- Comment #1 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
I'll note that the prior source file got an "Unsupported platform" error
(via a #error directive) and an undeclared identifier 'rdtscp' error:

/wrkdirs/usr/ports/devel/quickcpplib/work/quickcpplib-f9ab259/test/bitwise_trie.cpp
In file included from
/wrkdirs/usr/ports/devel/quickcpplib/work/quickcpplib-f9ab259/test/bitwise_trie.cpp:33:
/wrkdirs/usr/ports/devel/quickcpplib/work/quickcpplib-f9ab259/test/timing.h:113:2:
error: Unsupported platform
  113 | #error Unsupported platform
      |  ^
/wrkdirs/usr/ports/devel/quickcpplib/work/quickcpplib-f9ab259/test/timing.h:115:10:
error: use of undeclared identifier 'rdtscp'
  115 |   return rdtscp();
      |          ^

So, even if the Assertion failure is fixed, the port might well be
not buildable for the powerpc context.

-- 
You are receiving this mail because:
You are the assignee for the bug.