Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

test_node build failed with limit sections with non-release builds on windows

Aperta
#3,311 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
52/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
cmake, cpp
Ambito
testing

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
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
  1. Go to ci.ros2.org
  2. In the CI_CMAKE_BUILD_TYPE field type RelWithDebInfo
  3. In build_args add --packages-up-to rosbag2_performance_benchmarking
  4. 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

You can find a reference build here with the failure: Build Status

Lingua principale
C++
Stelle
815
Fork
572
Merge medio
6g 8h
PR unite (30g)
20

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ros2/rclcpp

Tutte le issue di ros2/rclcpp

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.