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環境での --param large-function-growth limit reached エラー対応 #1141

Merged
merged 1 commit into from
May 20, 2024

Conversation

n-kawauchi
Copy link

@n-kawauchi n-kawauchi commented May 16, 2024

close #1140

Identify the Bug

Link to #1140

Description of the Change

  • bookworm環境でのみ発生するエラーのため、Issueに示した前回の修正と同様に CMAKE_CXX_COMPILER_VERSION のバージョンが12.0.0以上にのみ --param large-function-growth=2000 を定義した
  • この2000という値は、gcc-4.1.0-auto (https://cknowledge.org/repo/web.php?wcid=36ebc331048475bb:1d5b2f134402945a) の資料で、large-function-growthのStop値が200となっていたため、500、1000を試してもエラー改善せず、2000にしたらエラーが解消したという理由で設定した

Verification

  • 今回の修正がCMAKE_CXX_COMPILER_VERSION のバージョンが12.0.0以上の条件に当てはまらないUbuntu22.04環境に影響しないことを確認した
  • Did you succeed the build?
  • No warnings for the build?
  • Have you passed the unit tests?

@n-kawauchi n-kawauchi changed the title Raspberry Pi OS bookworm環境での --param large-function-growth limit reached エラー Raspberry Pi OS bookworm環境での --param large-function-growth limit reached エラー対応 May 16, 2024
@n-kawauchi n-kawauchi requested a review from n-ando May 16, 2024 07:26
@n-kawauchi n-kawauchi self-assigned this May 16, 2024
@n-ando n-ando merged commit 02cc469 into OpenRTM:master May 20, 2024
4 of 8 checks passed
@n-kawauchi n-kawauchi deleted the bookworm_cxx_flag branch May 20, 2024 04:33
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環境で --param large-function-growth limit reached エラー発生
2 participants