void-linux / void-packages

The Void source packages collection
https://voidlinux.org
Other
2.55k stars 2.13k forks source link

Package Request: GCC 9.1 #11663

Closed Jackojc closed 5 years ago

Jackojc commented 5 years ago

Just wondering if there is any plan or progress on GCC 9.1.

pullmoll commented 5 years ago

I'm currently testing bootstrapping with gcc-9.1.0. I'll push the updated packages onto my fork's master branch as soon as the base system and cross compilers are built:

My temporary repository with gcc-9.1.0 packages.

Gottox commented 5 years ago

Sidenote: Currently theres a corruption issue with bcache and newer linux kernels.

pullmoll commented 5 years ago

@Gottox that is certainly a show stopper.

I'm currently looking at how to reinstatiate a part of the former patch musl-ada.patch which is missing. The cross-*musl* compilers cannot build gcc-9.1.0 because of an unresolved symbol getpt(3)... Going to use posix_openpt(3) for all architectures, which also is what getpt(3) recommends. Rebuild from scratch one more time.

pullmoll commented 5 years ago

For those who want to do some testing, specifically the bcache corruption issue, you can use unsigned https://repo.voidlinux.de/gcc91/ packages to create a live ISO and test it.

pullmoll commented 5 years ago

I tried to enable the D language with the update and I added some new subpackages to gcc:

I'll also add gdmd as a new package to my fork. The idea is it should then be pssible to bootstrap dmd with the help of gdmd.

pullmoll commented 5 years ago

I just read Linux 5.1.12 fixed two bugs in bcache. I'll be testing if bcache works now in the next days.

pullmoll commented 5 years ago

Good news: the bcache bugs seem to be solved with linux4.19-4.19.53_1. I could create and use bcache devices with btrfs and subvolumes without problems.

I'll create two live ISOs for x86_64 for testers to run in a VM or on bare hardware. I'll upload them to my gcc91 repo's live directory.

It would also be interesting to have people test a mixture of packages from our main repo and (some) packages built with gcc-9.1.0, installed from https://repo.voidlinux.de/gcc91/, to see if and how well especially packages linking against libstdc++ play together.

Jackojc commented 5 years ago

Awesome, thanks @pullmoll !