GCC-13.1.0.sfs

Moderators: kirk, jamesbond, p310don, JakeSFR, step, Forum moderators

Post Reply
User avatar
stemsee
Posts: 788
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 8
Has thanked: 188 times
Been thanked: 133 times

GCC-13.1.0.sfs

Post by stemsee »

I have compiled gcc 13.1.0 on fatdog, with prefix /opt/gcc-13.1.0
and pulled in and compiled the following.

gmp_version=6.2.1
mpfr_version=4.1.0
mpc_version=1.3.1
isl_version=0.24

There is a file that can be sourced to bring path variables into your environment, I have also included the script I used, which i got from github. I made three attempts. The first successfully compiled gcc-14.0.0 but the script used was for gcc-11.1.0 and not all variables were changed so extensions could not be resolved. 2nd attempt had a typo in the version number of isl.

I'm posting this here to hopefully get an appraisal. As this is a step towards building an updated glibc/llvm.
https://drive.google.com/file/d/1Twvskf ... NElXtgcvjM

User avatar
stemsee
Posts: 788
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 8
Has thanked: 188 times
Been thanked: 133 times

Re: GCC-13.1.0.sfs

Post by stemsee »

I built glibc-2.37 with gcc-13.1.0 without problems.
https://drive.google.com/file/d/18dbrmg ... ypZle_AMsj

User avatar
stemsee
Posts: 788
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 8
Has thanked: 188 times
Been thanked: 133 times

Re: GCC-13.1.0.sfs

Post by stemsee »

I have successfully upgraded my gcc cmake gmake zlib and glibc on fatdog 813. Not sure if everything is registered where it should be, but so far everything is working!

xscreenshot-20230504T191532.png
xscreenshot-20230504T191532.png (68.7 KiB) Viewed 740 times
jamesbond
Posts: 720
Joined: Tue Aug 11, 2020 3:02 pm
Location: The Pale Blue Dot
Has thanked: 124 times
Been thanked: 407 times

Re: GCC-13.1.0.sfs

Post by jamesbond »

I guess the next test is to compile a test program with the new gcc and glibc, and see if it can run. Or, if you replace the old glibc, you may want to test that the existing programs still run with the new glibc.

Not wanting to discourage your work, but you might as well wait for 900alpha to be released. It glibc 2.37 and gcc 12.

Post Reply

Return to “FatDog”