Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raspberry Pi OS bookworm環境でのビルドエラー対応 #1133

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

n-kawauchi
Copy link

close #1132

Identify the Bug

Link to #1132

Description of the Change

  • gcc cold属性をチェックする際のバージョンを、11.9.9 から 12.9.9 へ更新した
  • 下記修正はbullseye, Ubuntu20.04, 22.04環境では不要なため、gccバージョンが12.0.0以上の場合のみに限定した
    • 「iteration invokes undefined behavior」エラー対応は、「-fno-aggressive-loop-optimizations」オプションを追加
    • 「inlining failed in call to」のエラーは、指摘されたCorbaPort.hのCorbaProviderHolderクラス、Manager.hのFactoryPredicateクラスの定義をcppファイルに移動させる修正ができなかったため、下記オプションで対応した
      • 「--param max-inline-insns-single=1000 --param inline-unit-growth=1000"」

Verification

  • Did you succeed the build?
  • No warnings for the build?
  • Have you passed the unit tests?

@n-kawauchi n-kawauchi requested a review from n-ando March 29, 2024 07:43
@n-kawauchi n-kawauchi self-assigned this Mar 29, 2024
@n-ando n-ando merged commit 6bf9f31 into OpenRTM:master Apr 1, 2024
1 of 9 checks passed
@n-kawauchi n-kawauchi deleted the gcc_attribute branch April 4, 2024 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Raspberry Pi OS bookworm環境でのビルドエラー対応
2 participants