[Bug 265422] redefinition of enumerator '_UVRSC_CORE' on armv7

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 24 Jul 2022 18:09:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265422

            Bug ID: 265422
           Summary: redefinition of enumerator '_UVRSC_CORE' on armv7
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: arm
          Assignee: freebsd-arm@FreeBSD.org
          Reporter: yuri@freebsd.org

Testcase: science/simgrid

The code includes boost/stacktrace.hpp which in turn includes cxxabi.h and it
fails:


In file included from
/wrkdirs/usr/ports/science/simgrid/work/simgrid-04e3ca46dcefdd19f2f1fee3e75c27fb2f7fc2ec/src/xbt/backtrace.cpp:23:
In file included from /usr/local/include/boost/stacktrace.hpp:15:
In file included from /usr/local/include/boost/stacktrace/frame.hpp:61:
In file included from
/usr/local/include/boost/stacktrace/detail/frame_unwind.ipp:20:
In file included from /usr/local/include/boost/core/demangle.hpp:32:
In file included from /usr/include/c++/v1/cxxabi.h:27:
In file included from /usr/include/c++/v1/unwind.h:31:
/usr/include/c++/v1/unwind-arm.h:116:2: error: redefinition of enumerator
'_UVRSC_CORE'
        _UVRSC_CORE = 0,
        ^


Log:
http://ampere3.nyi.freebsd.org/data/130releng-armv7-default/a51002eeb3d0/logs/SimGrid-3.28_1.log

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