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

[BUG] - Compile Codex with GCC 14 #875

Closed
5 of 11 tasks
veaceslavdoina opened this issue Aug 12, 2024 · 5 comments
Closed
5 of 11 tasks

[BUG] - Compile Codex with GCC 14 #875

veaceslavdoina opened this issue Aug 12, 2024 · 5 comments
Assignees
Labels
bug Something isn't working Client See https://miro.com/app/board/uXjVNZ03E-c=/ for details

Comments

@veaceslavdoina
Copy link
Contributor

veaceslavdoina commented Aug 12, 2024

Describe the bug
Codex currently can't be compiled with GCC 14, which was released on Tue May 7 10:31:35 GMT 2024.

Based on the numbering scheme, this is a first v14 public release, 14.0 was used in the development process.

To Reproduce

  1. Follow Building Codex guide
  2. Install GCC 14
  3. Run make update - ✅
  4. Run make - ❌

Expected behavior
We should be able to compile Codex with GCC 14 and older versions as well.

Environment:

  • OS: Ubuntu, Windows
  • Version: latest
  • Tag/Commit: master
  • Arch: amd64

Additional context

Work in progress - nim-codex/.gitmodules

@veaceslavdoina veaceslavdoina added the bug Something isn't working label Aug 12, 2024
@veaceslavdoina veaceslavdoina changed the title [BUG] - Compile codex with GCC 14 [BUG] - Compile Codex with GCC 14 Aug 12, 2024
@benbierens
Copy link
Contributor

I think nim-datastore is working. PR: codex-storage/nim-datastore#69

@veaceslavdoina
Copy link
Contributor Author

@gmega gmega added the Client See https://miro.com/app/board/uXjVNZ03E-c=/ for details label Sep 18, 2024
@veaceslavdoina
Copy link
Contributor Author

Test on fresh Fedora 40 following our guide - Build Codex - ❌

gcc --version
gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Fedora is moving forward 🚀

@veaceslavdoina
Copy link
Contributor Author

veaceslavdoina commented Nov 23, 2024

GCC 15 Moves C Default Language Version To C23

GCC 15.1 as the first stable version of the GCC 15 series should be out in March~April...

@2-towns
Copy link
Contributor

2-towns commented Jan 10, 2025

Done with the Nim 2.0.14 update.

# Logs from CI
gcc --version
gcc.exe (Rev2, Built by MSYS2 project) 14.2.0
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

@2-towns 2-towns closed this as completed Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Client See https://miro.com/app/board/uXjVNZ03E-c=/ for details
Projects
None yet
Development

No branches or pull requests

4 participants