Skip to content

forced_unwind tests failing on armv7-linux #53849

Open
@rovka

Description

@rovka

'libc++abi :: forced_unwind1.pass.cpp' and 'libc++abi :: forced_unwind2.pass.cpp' are failing on armv7 with:

/home/tcwg-buildslave/workspace/tcwg-llvm-release/tcwg-tk1_32-build/rc1/llvm-project/libcxxabi/test/forced_unwind1.pass.cpp:41:42: error: typedef '_Unwind_Exception' cannot be referenced with a struct specifier
                                  struct _Unwind_Exception*,
                                         ^
/home/tcwg-buildslave/workspace/tcwg-llvm-release/tcwg-tk1_32-build/rc1/Phase3/Release/llvmCore-14.0.0-rc1.obj/lib/clang/14.0.0/include/unwind.h:67:38: note: declared here
typedef struct _Unwind_Control_Block _Unwind_Exception; /* Alias */
                                     ^
/home/tcwg-buildslave/workspace/tcwg-llvm-release/tcwg-tk1_32-build/rc1/llvm-project/libcxxabi/test/forced_unwind1.pass.cpp:49:49: error: typedef '_Unwind_Exception' cannot be referenced with a struct specifier
static void cleanup(_Unwind_Reason_Code, struct _Unwind_Exception* exc) {
                                                ^
/home/tcwg-buildslave/workspace/tcwg-llvm-release/tcwg-tk1_32-build/rc1/Phase3/Release/llvmCore-14.0.0-rc1.obj/lib/clang/14.0.0/include/unwind.h:67:38: note: declared here
typedef struct _Unwind_Control_Block _Unwind_Exception; /* Alias */
                                     ^
2 errors generated.

This might be fixed by backporting this commit, but I haven't tested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backend:ARMlibc++abilibc++abi C++ Runtime Library. Not libc++.

    Type

    No type

    Projects

    Status

    Needs Fix

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions