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

Support the latest newlib, libc++ and GCC #442

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

alistair23
Copy link
Contributor

@bradjc you will need to update the pre-built versions to support GCC 14

Copy link
Member

@lschuermann lschuermann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating this! @bradjc do you want to build the toolchains or I should I try and get my hands dirty on Docker?

newlib/newlib-4.4.0.20231231.patch Outdated Show resolved Hide resolved
@lschuermann
Copy link
Member

Skimming over the scripts, it seems like you actually want to copy the files in docker/, instead of creating a .patch file.

Configuration.mk Outdated Show resolved Hide resolved
@bradjc
Copy link
Contributor

bradjc commented Jun 17, 2024

Yes this needs docker files.

Also, is this worth our time?

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
@alistair23
Copy link
Contributor Author

Docker files are added.

The current outdated libc++ and newlib fail to build with GCC 14, so we do need an update. This generally will probably need to be updated with each newlib and GCC release

RUN apt install -y libmpc-dev file

# Clone the libtock-c source so we can use the build scripts
RUN git clone https://github.com/alistair23/libtock-c
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
RUN git clone https://github.com/alistair23/libtock-c
RUN git clone https://github.com/tock/libtock-c

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then it won't build. It's a chicken and egg problem, you need 1607c6b merged first

@alistair23
Copy link
Contributor Author

Any progress on this?

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