Skip to content

New warnings in Windows packaging jobs #537

@nuclearsandwich

Description

@nuclearsandwich

Description

New warnings when building on Windows in RelWithDebInfo configuration appeared in the 2020-10-06 nightly packaging jobs.

Building Custom Rule C:/ci/ws/src/ros2/rosbag2/rosbag2_py/CMakeLists.txt
  _reader.cpp
LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification [C:\ci\ws\build\rosbag2_py\_reader.vcxproj]
     Creating library C:/ci/ws/build/rosbag2_py/RelWithDebInfo/_reader.lib and object C:/ci/ws/build/rosbag2_py/RelWithDebInfo/_reader.exp
  Generating code
  Finished generating code
  _reader.vcxproj -> C:\ci\ws\build\rosbag2_py\RelWithDebInfo\_reader.cp38-win_amd64.pyd
  Building Custom Rule C:/ci/ws/src/ros2/rosbag2/rosbag2_py/CMakeLists.txt
  _storage.cpp
LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification [C:\ci\ws\build\rosbag2_py\_storage.vcxproj]
     Creating library C:/ci/ws/build/rosbag2_py/RelWithDebInfo/_storage.lib and object C:/ci/ws/build/rosbag2_py/RelWithDebInfo/_storage.exp
  Generating code
  Finished generating code
  _storage.vcxproj -> C:\ci\ws\build\rosbag2_py\RelWithDebInfo\_storage.cp38-win_amd64.pyd
  Building Custom Rule C:/ci/ws/src/ros2/rosbag2/rosbag2_py/CMakeLists.txt
  _writer.cpp
LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification [C:\ci\ws\build\rosbag2_py\_writer.vcxproj]
     Creating library C:/ci/ws/build/rosbag2_py/RelWithDebInfo/_writer.lib and object C:/ci/ws/build/rosbag2_py/RelWithDebInfo/_writer.exp
  Generating code
  Finished generating code

To Reproduce

Build a packaging job with https://ci.ros2.org/job/ci_packaging_windows/
You can also see the error present in the nightly packaging jobs beginning with packaging_windows #1895

System (please complete the following information)

  • OS: Windows 10
  • ROS 2 Distro: Rolling
  • Version: master as of at least 6e43912

Additional context

The PRs #526, #529, and #531 were all new during the first occurrence of this issue and #529 touched each of the files that now express the warning so perhaps that's a good first place to start.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions