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

Build fixes for gcc13 #9

Merged
merged 1 commit into from
Jun 11, 2024
Merged

Conversation

tristanseifert
Copy link

Pull in upstream fixes to enable building on gcc13 or later (0b1dd29: gcc/target.cmake: fix build with gcc-13); this addresses build errors like the following:

CMake Error in CMakeLists.txt:
  Target "zephyr_interface" contains relative path in its
  INTERFACE_INCLUDE_DIRECTORIES:

    "include-fixed"

Configuration error:
| -- Configuring done (4.9s)
| CMake Error in CMakeLists.txt:
|   Target "zephyr_interface" contains relative path in its
|   INTERFACE_INCLUDE_DIRECTORIES:
|
|     "include-fixed"

With GCC-13, limits.h and syslimits.h header files
are always being installed to include folder.
https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=be9dd80f933480

Signed-off-by: Naveen Saini <[email protected]>
@tristanseifert tristanseifert requested a review from jrwhite June 10, 2024 20:30
@tristanseifert tristanseifert marked this pull request as ready for review June 11, 2024 00:05
@tristanseifert tristanseifert merged commit 0b7446f into carbon/master-v2 Jun 11, 2024
6 of 9 checks passed
@tristanseifert tristanseifert deleted the dev/tristan/gcc-13-fix branch June 11, 2024 01:22
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.

3 participants