test_node build failed with limit sections with non-release builds on windows
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- Half a day
- Newbie friendliness
- 52/100
Research direction
The MSVC C1128 error is raised while compiling rclcpp/test/rclcpp/test_node.cpp under RelWithDebInfo. Locate the CMake target that builds that test and add the /bigobj flag for MSVC (non-Release). Reproduce with the Windows CI job and packages-up-to/select rosbag2_performance_benchmarking. Done when the object file builds without exceeding the section limit.
Written by the indexing model from the issue text.
Description
Generated by Generative AI
No
Operating System:
```Windows 11 - ROS 2 CI``
ROS version or commit hash:
rolling
RMW implementation (if applicable):
n/a
RMW Configuration (if applicable):
n/a
Client library (if applicable):
rclcpp
'ros2 doctor --report' output
N/A
Steps to reproduce issue
- Go to ci.ros2.org
- In the
CI_CMAKE_BUILD_TYPEfield typeRelWithDebInfo - In build_args add
--packages-up-to rosbag2_performance_benchmarking - in test_args add
--packages-select rosbag2_performance_benchmarking
Expected behavior
It building like a charm
Actual behavior
Build failure like:
W:\src\ros2\rclcpp\rclcpp\test\rclcpp\test_node.cpp : fatal error C1128: number of sections exceeded object file format limit: compile with /bigobj
ninja: build stopped: subcommand failed.
Additional information
This issue was encountered in this PR for ROSbag2 https://github.com/ros2/rosbag2/pull/2494
- Dominant language
- C++
- Stars
- 829
- Forks
- 587
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 30
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
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 ros2/rclcpp
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Maintainers usually reply within 1 day
-
Memory grows per callback group created and destroyed on long lived nodesPossibly taken @jwallace42 claimed this 1 day ago. Openbug
Difficulty 4/5 3-5 days Newbie friendliness 28/100
ros2/rclcpp#3428 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
removing and immediately re-adding a node to the EventsCBGExecutor leaves its entities unregisteredPossibly taken @skyegalaxy claimed this 10 days ago. Openbug
ros2/rclcpp#3418 · 1 assignee ·
Maintainers usually reply within 1 day
-
[Humble] Removing a node with more than one auto-added callback group leaves a dangling guard condition in the executorPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 4/5 3-5 days Newbie friendliness 55/100
ros2/rclcpp#3410 · 2 comments ·
Maintainers usually reply within 1 day
Similar issues
-
bug
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
EchoTools/nevr-runtime#2912 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
category:port-update
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days
-
bug-unconfirmed
Difficulty 1/5 Under an hour Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
libc++
Difficulty 1/5 Under an hour Newbie friendliness 88/100
llvm/llvm-project#246508 ·
Maintainers usually reply within 1 day