Closed kamelie1706 closed 4 years ago
Hi @kamelie1706 ,
The check fails because GCC moved to two digits, and bash is somewhat special treating numbers. I will change that check to work well with 2 digit version numbers.
It doesn't make any sense the error you are reporting on building hex2bin. It seems that it was built previously, as OBJs are not being rebuilt. Could you please execute setup.sh -cri
to make a clean rebuild and check if the error happens again?
Thank you for reporting.
After having a look at it, it seems that these errors are actually errors that previous versions of GCC didn't report as errors. Therefore, hex2bin build is actually broken, and has been since its start. I'm fixing it.
I've uploaded a simple change that makes it work again. Previous versions of GCC had implicit -fcommon
flag which permitted common declaration of global variables on multiple translation units. GCC 10 has changed this default setting to -fno-common
which is way more sensible, but that has triggered these errors. Just adding -fcommon
to both builds makes them back to their original status.
Everything should work now with respect to setup.sh
with GCC 10. @kamelie1706 , if you could test it and report new status, that would be much appreciated.
THx, it worked. Strange thing is git clone did not get me the latest version even if deleted the whole directory....
anyway change the line manually and it worked
Did you use CPCtelera 1.4.2 stable from master branch, or CPCtelera 1.5 WIP from development branch?
Did you use CPCtelera 1.4.2 stable from master branch, or CPCtelera 1.5 WIP from development branch?
My bad I was indeed on the stable branch!
Gracias
That's not a problem. On the contrary: I have also updated master branch because this is a bug and stable branch needed to be updated. Only thing is that you should say it to know it in advance, just to prevent confusion ;)
Thanks to you for reporting and collaborating!
Hi,
setup.sh
Strange! Disable the check and add english env (export LC_ALL=C) ... now fails to build the tools
Thx