-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[COMPILER REQUEST]: Update arm-none-eabi-gcc #5545
Comments
It's true we usually only provide on GCC version for each tarrget arch. In particular, we don't provide systematically every target OS possible. But we can change that of course. Out of interest, could you provide an example of such difference? |
the linux target compilers require Don't have a concrete example right now, sadly. It's just something that comes up every now and then in our community. But the compiler is already there, it just needs updating. |
Ok, thanks for the details. I'll have a look later then and let you know. Adding another compiler is the simplest approach but I would like to investigate other alternative first before that. |
We have gotten these compilers from arm.com before, but their website has become even more of a maze since then. We'll need to do some digging. |
It's probably one of these https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads |
Yeah, arm.com lags behind by a version usually. The download link is the right one. |
The last our installs has been 11.2 it seems https://github.com/compiler-explorer/infra/blob/main/bin/yaml/cpp.yaml#L180 So we could at least install the v12 ones |
Is this the kind of error you get?
|
yeah. I know the flag fixed it but it causes some confusion for people "why do I need this flag here but not in my project, why does it give slightly different code" |
Ok, even if -marm, it gives different code in some cases? Is this because the compiler is configured to target something different or because the libc is different? |
yes. I'm not really sure why. The main difference I've seen is in stack usage/register allocations, and sometimes loop structure. Again I think the linux-eabi compilers might have different defaults for tuning options. I couldn't entirely figure out the reason. |
I can also add arm-none-eabi to the list of cross compiler we build, unless you need a specific version from ARM. |
If possible that would be ideal I think |
Tried a local build and it builds directly. I'll add this. Is it ok if I simply build 13.2.0 now and only update for later releases? Or do you need an older version? |
nope that would be perfect for us. Maybe the 12.3 from arm.com could still be included since some people in our community use it as an alternative but it's not super pressing. thank you very much for this |
Add a GCC 13.2 config for baremetal 32bits ARM. Also adjust the script used to update the config to handle this new target (it is still part of the arm group, but it must not conflict with arm-linux compiler). refs compiler-explorer/compiler-explorer#5545 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Add an arm-unknown-eabi GCC 13.2 as asked by GBA community. fix #5545 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Add a GCC 13.2 config for baremetal 32bits ARM. Also adjust the script used to update the config to handle this new target (it is still part of the arm group, but it must not conflict with arm-linux compiler). refs compiler-explorer/compiler-explorer#5545 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Add a GCC 13.2 config for baremetal 32bits ARM. refs compiler-explorer/compiler-explorer#5545 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Add an arm-unknown-eabi GCC 13.2 as asked by GBA community. fix #5545 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Add a GCC 13.2 config for baremetal 32bits ARM. refs compiler-explorer/compiler-explorer#5545 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Add a GCC 13.2 config for baremetal 32bits ARM. refs compiler-explorer/compiler-explorer#5545 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
sweet! thank you |
Everything is ready, but I'll wait until cppcon is over to merge anything that touches the live site, so most probably early next week :) |
Add an arm-unknown-eabi GCC 13.2 as asked by GBA community. fix #5545 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Compiler name
arm-none-eabi GCC
Compiler version
13.2.0
Compiler language
C++, C
Compiler homepage
https://gcc.gnu.org/gcc-13/
Motivation
The GBA homebrew development community makes extensive use of compiler explorer for testing code and bisecting problems. Of particular interest is the arm-none-eabi target, which is lagging behind the arm-linux-[gnu]eabi[hf] targets by several versions.
It would be nice if it could be updated, as testing code against a slightly different ARM target leads to issues with compiler flags and optimisation passes being different.
The text was updated successfully, but these errors were encountered: