RISC-V: warning: fedisableexcept is not implemented and will always fail
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- testing-qa
Research direction
Reproduce the report with example.cpp and the shown riscv64-linux-gnu-g++-11 cross-compilation command. Start by tracing Boost.Test's floating-point exception handling that leads to feenableexcept and fedisableexcept, then establish whether the expected result is to avoid these calls on RISC-V and verify that the linker warnings no longer appear.
Written by the indexing model from the issue text.
Description
Cross-compiling a minimal Boost Test example for RISC-V:
#define BOOST_TEST_MODULE Example Test
#include <boost/test/included/unit_test.hpp>
BOOST_AUTO_TEST_CASE( test1 )
{
int i = 1;
BOOST_CHECK( i*i == 1 );
}
riscv64-linux-gnu-g++-11 --version
riscv64-linux-gnu-g++-11 (Ubuntu 11.2.0-16ubuntu1) 11.2.0
riscv64-linux-gnu-g++-11 example.cpp
/usr/lib/gcc-cross/riscv64-linux-gnu/11/../../../../riscv64-linux-gnu/bin/ld: /tmp/ccvQglzN.o: in function `.L0 ':
riscv_boost_test.cpp:(.text+0xd300): warning: fedisableexcept is not implemented and will always fail
/usr/lib/gcc-cross/riscv64-linux-gnu/11/../../../../riscv64-linux-gnu/bin/ld: riscv_boost_test.cpp:(.text+0xd2ac): warning: feenableexcept is not implemented and will always fail
- Dominant language
- C++
- Stars
- 213
- Forks
- 149
- Avg merge
- 18h 17m
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from boostorg/test
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
-
Conversion Warning with GCC15 when using operator<< within custom failure message and -WConversion Open
Difficulty 4/5 3-5 days Newbie friendliness 42/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
bug-unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
NVIDIA/cuda-samples#453 ·