* [Bug target/108678] Windows on ARM64 platform target aarch64-w64-mingw32
2023-02-05 14:43 [Bug c/108678] New: Windows on ARM64 platform target aarch64-w64-mingw32 brechtsanders at users dot sourceforge.net
@ 2023-02-05 17:39 ` pinskia at gcc dot gnu.org
2023-02-05 18:19 ` pinskia at gcc dot gnu.org
` (14 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-02-05 17:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108678
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=87334
Target| |Aarch64-mingw
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/108678] Windows on ARM64 platform target aarch64-w64-mingw32
2023-02-05 14:43 [Bug c/108678] New: Windows on ARM64 platform target aarch64-w64-mingw32 brechtsanders at users dot sourceforge.net
2023-02-05 17:39 ` [Bug target/108678] " pinskia at gcc dot gnu.org
@ 2023-02-05 18:19 ` pinskia at gcc dot gnu.org
2023-02-05 19:23 ` brechtsanders at users dot sourceforge.net
` (13 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-02-05 18:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108678
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I have not seen anyone step up to patch GCC for aarch64-mingw yet.
Most aarch64 developers don't use Windows at all. There is some support being
worked on for aarch64 darwin (Mac OS) though.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/108678] Windows on ARM64 platform target aarch64-w64-mingw32
2023-02-05 14:43 [Bug c/108678] New: Windows on ARM64 platform target aarch64-w64-mingw32 brechtsanders at users dot sourceforge.net
2023-02-05 17:39 ` [Bug target/108678] " pinskia at gcc dot gnu.org
2023-02-05 18:19 ` pinskia at gcc dot gnu.org
@ 2023-02-05 19:23 ` brechtsanders at users dot sourceforge.net
2023-06-24 20:14 ` brechtsanders at users dot sourceforge.net
` (12 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: brechtsanders at users dot sourceforge.net @ 2023-02-05 19:23 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108678
--- Comment #2 from Brecht Sanders <brechtsanders at users dot sourceforge.net> ---
I would love to give it a go if only I knew where to add the support.
I actually got a Windows on ARM device hoping I could figure it out, bit it
looks I will need tome help.
The "Unknown tune used in --with-tune=generic" error is where I'm currently
stuck, and I couldn't figure out in which file(s) I need to address this.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/108678] Windows on ARM64 platform target aarch64-w64-mingw32
2023-02-05 14:43 [Bug c/108678] New: Windows on ARM64 platform target aarch64-w64-mingw32 brechtsanders at users dot sourceforge.net
` (2 preceding siblings ...)
2023-02-05 19:23 ` brechtsanders at users dot sourceforge.net
@ 2023-06-24 20:14 ` brechtsanders at users dot sourceforge.net
2023-06-26 8:25 ` zac.walker at linaro dot org
` (11 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: brechtsanders at users dot sourceforge.net @ 2023-06-24 20:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108678
--- Comment #3 from Brecht Sanders <brechtsanders at users dot sourceforge.net> ---
Any pointers on which files to edit in order to support aarch64-mingw ?
I think it won't require reinventing the wheel as it will probably be a mix of
existing *-mingw and aarch64-* stuff...
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/108678] Windows on ARM64 platform target aarch64-w64-mingw32
2023-02-05 14:43 [Bug c/108678] New: Windows on ARM64 platform target aarch64-w64-mingw32 brechtsanders at users dot sourceforge.net
` (3 preceding siblings ...)
2023-06-24 20:14 ` brechtsanders at users dot sourceforge.net
@ 2023-06-26 8:25 ` zac.walker at linaro dot org
2023-06-26 18:05 ` brechtsanders at users dot sourceforge.net
` (10 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: zac.walker at linaro dot org @ 2023-06-26 8:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108678
Zac Walker <zac.walker at linaro dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |zac.walker at linaro dot org
--- Comment #4 from Zac Walker <zac.walker at linaro dot org> ---
I have been working on an experimental aarch64-w64-mingw32 toolchain. It can
build several C libraries and small executables successfully. Currently parked
here on github:
https://github.com/ZacWalk/mingw-woarm64-build
It is based on previous work by Mark Harmstone and Jedidiah Thompson. I am
currently working on structured exception handling support. This seems to be
the main missing part - without it C++ exceptions do not work.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/108678] Windows on ARM64 platform target aarch64-w64-mingw32
2023-02-05 14:43 [Bug c/108678] New: Windows on ARM64 platform target aarch64-w64-mingw32 brechtsanders at users dot sourceforge.net
` (4 preceding siblings ...)
2023-06-26 8:25 ` zac.walker at linaro dot org
@ 2023-06-26 18:05 ` brechtsanders at users dot sourceforge.net
2023-06-26 20:34 ` zac.walker at linaro dot org
` (9 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: brechtsanders at users dot sourceforge.net @ 2023-06-26 18:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108678
--- Comment #5 from Brecht Sanders <brechtsanders at users dot sourceforge.net> ---
Thanks Zac, how can I see what you actually changed?
Is there a particular GCC version I can diff
https://github.com/ZacWalk/gcc-woarm64 against?
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/108678] Windows on ARM64 platform target aarch64-w64-mingw32
2023-02-05 14:43 [Bug c/108678] New: Windows on ARM64 platform target aarch64-w64-mingw32 brechtsanders at users dot sourceforge.net
` (5 preceding siblings ...)
2023-06-26 18:05 ` brechtsanders at users dot sourceforge.net
@ 2023-06-26 20:34 ` zac.walker at linaro dot org
2023-06-26 22:05 ` redi at gcc dot gnu.org
` (8 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: zac.walker at linaro dot org @ 2023-06-26 20:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108678
--- Comment #6 from Zac Walker <zac.walker at linaro dot org> ---
I have been rebasing regularly to keep all my changes on top of the commit log.
You can use github's compare url to combine my changes into a single diff
(based on commit hash). For example:
https://github.com/ZacWalk/gcc-woarm64/compare/06a0f07..0248264
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/108678] Windows on ARM64 platform target aarch64-w64-mingw32
2023-02-05 14:43 [Bug c/108678] New: Windows on ARM64 platform target aarch64-w64-mingw32 brechtsanders at users dot sourceforge.net
` (6 preceding siblings ...)
2023-06-26 20:34 ` zac.walker at linaro dot org
@ 2023-06-26 22:05 ` redi at gcc dot gnu.org
2023-06-28 11:40 ` zac.walker at linaro dot org
` (7 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: redi at gcc dot gnu.org @ 2023-06-26 22:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108678
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The change to libstdc++-v3/src/c++17/fast_float/fast_float.h should be done
upstream: https://github.com/fastfloat/fast_float
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/108678] Windows on ARM64 platform target aarch64-w64-mingw32
2023-02-05 14:43 [Bug c/108678] New: Windows on ARM64 platform target aarch64-w64-mingw32 brechtsanders at users dot sourceforge.net
` (7 preceding siblings ...)
2023-06-26 22:05 ` redi at gcc dot gnu.org
@ 2023-06-28 11:40 ` zac.walker at linaro dot org
2023-11-09 3:47 ` pinskia at gcc dot gnu.org
` (6 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: zac.walker at linaro dot org @ 2023-06-28 11:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108678
--- Comment #8 from Zac Walker <zac.walker at linaro dot org> ---
Thanks Jonathan. I am still in test and cleanup up mode but hope to start
upstreaming in a few weeks.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/108678] Windows on ARM64 platform target aarch64-w64-mingw32
2023-02-05 14:43 [Bug c/108678] New: Windows on ARM64 platform target aarch64-w64-mingw32 brechtsanders at users dot sourceforge.net
` (8 preceding siblings ...)
2023-06-28 11:40 ` zac.walker at linaro dot org
@ 2023-11-09 3:47 ` pinskia at gcc dot gnu.org
2024-04-17 20:15 ` brechtsanders at users dot sourceforge.net
` (5 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-11-09 3:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108678
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2023-11-09
Status|UNCONFIRMED |NEW
--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/108678] Windows on ARM64 platform target aarch64-w64-mingw32
2023-02-05 14:43 [Bug c/108678] New: Windows on ARM64 platform target aarch64-w64-mingw32 brechtsanders at users dot sourceforge.net
` (9 preceding siblings ...)
2023-11-09 3:47 ` pinskia at gcc dot gnu.org
@ 2024-04-17 20:15 ` brechtsanders at users dot sourceforge.net
2024-04-17 20:20 ` pinskia at gcc dot gnu.org
` (4 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: brechtsanders at users dot sourceforge.net @ 2024-04-17 20:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108678
--- Comment #10 from Brecht Sanders <brechtsanders at users dot sourceforge.net> ---
What is the status of GCC support for aarch64-w64-mingw32 ?
I just tried GCC 14 snapshot 20240414 and it looks like it's still not
supported.
Build fails with:
*** Configuration aarch64-w64-mingw32 not supported
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/108678] Windows on ARM64 platform target aarch64-w64-mingw32
2023-02-05 14:43 [Bug c/108678] New: Windows on ARM64 platform target aarch64-w64-mingw32 brechtsanders at users dot sourceforge.net
` (10 preceding siblings ...)
2024-04-17 20:15 ` brechtsanders at users dot sourceforge.net
@ 2024-04-17 20:20 ` pinskia at gcc dot gnu.org
2024-04-18 9:14 ` clyon at gcc dot gnu.org
` (3 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-04-17 20:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108678
--- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Brecht Sanders from comment #10)
> What is the status of GCC support for aarch64-w64-mingw32 ?
>
> I just tried GCC 14 snapshot 20240414 and it looks like it's still not
> supported.
>
> Build fails with:
> *** Configuration aarch64-w64-mingw32 not supported
Patches have started to be posted but won't be fully reviewed/committed until
after GCC 14 is released due to them coming in late (during stage 4) in the
release cycle (See https://gcc.gnu.org/develop.html for the full gcc
release/development cycle).
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/108678] Windows on ARM64 platform target aarch64-w64-mingw32
2023-02-05 14:43 [Bug c/108678] New: Windows on ARM64 platform target aarch64-w64-mingw32 brechtsanders at users dot sourceforge.net
` (11 preceding siblings ...)
2024-04-17 20:20 ` pinskia at gcc dot gnu.org
@ 2024-04-18 9:14 ` clyon at gcc dot gnu.org
2024-05-14 8:08 ` unlvsur at live dot com
` (2 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: clyon at gcc dot gnu.org @ 2024-04-18 9:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108678
Christophe Lyon <clyon at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |clyon at gcc dot gnu.org
--- Comment #12 from Christophe Lyon <clyon at gcc dot gnu.org> ---
Indeed the plan is to commit the first series
(https://gcc.gnu.org/pipermail/gcc-patches/2024-April/649261.html) once stage-1
re-opens (as approved in
https://gcc.gnu.org/pipermail/gcc-patches/2024-April/649299.html
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/108678] Windows on ARM64 platform target aarch64-w64-mingw32
2023-02-05 14:43 [Bug c/108678] New: Windows on ARM64 platform target aarch64-w64-mingw32 brechtsanders at users dot sourceforge.net
` (12 preceding siblings ...)
2024-04-18 9:14 ` clyon at gcc dot gnu.org
@ 2024-05-14 8:08 ` unlvsur at live dot com
2024-05-14 9:56 ` unlvsur at live dot com
2024-06-05 13:39 ` Evgeny.Karpov at microsoft dot com
15 siblings, 0 replies; 17+ messages in thread
From: unlvsur at live dot com @ 2024-05-14 8:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108678
--- Comment #13 from cqwrteur <unlvsur at live dot com> ---
/home/cqwrteur/toolchains_build/gcc/gcc/c-family/c-format.cc:5159:(.text+0x7c1):
undefined reference to `msformat_init()'
/usr/local/lib/gcc/x86_64-pc-linux-gnu/15.0.0/../../../../x86_64-pc-linux-gnu/bin/ld:
c-family/c-format.o: in function `cmp_attribs(char const*, char const*)':
Can you explain to me what is going on? Thank you!
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/108678] Windows on ARM64 platform target aarch64-w64-mingw32
2023-02-05 14:43 [Bug c/108678] New: Windows on ARM64 platform target aarch64-w64-mingw32 brechtsanders at users dot sourceforge.net
` (13 preceding siblings ...)
2024-05-14 8:08 ` unlvsur at live dot com
@ 2024-05-14 9:56 ` unlvsur at live dot com
2024-06-05 13:39 ` Evgeny.Karpov at microsoft dot com
15 siblings, 0 replies; 17+ messages in thread
From: unlvsur at live dot com @ 2024-05-14 9:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108678
--- Comment #14 from cqwrteur <unlvsur at live dot com> ---
libgcc:
/home/cqwrteur/toolchains_build/gcc/libgcc/libgcov.h:49:10: fatal error:
sys/mman.h: No such file or directory
49 | #include <sys/mman.h>
| ^~~~~~~~~~~~
compilation terminated.
make[4]: *** [Makefile:933: _gcov_interval_profiler.o] Error 1
make[4]: *** Waiting for unfinished jobs....
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/108678] Windows on ARM64 platform target aarch64-w64-mingw32
2023-02-05 14:43 [Bug c/108678] New: Windows on ARM64 platform target aarch64-w64-mingw32 brechtsanders at users dot sourceforge.net
` (14 preceding siblings ...)
2024-05-14 9:56 ` unlvsur at live dot com
@ 2024-06-05 13:39 ` Evgeny.Karpov at microsoft dot com
15 siblings, 0 replies; 17+ messages in thread
From: Evgeny.Karpov at microsoft dot com @ 2024-06-05 13:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108678
Evgeny Karpov <Evgeny.Karpov at microsoft dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Evgeny.Karpov at microsoft dot com
--- Comment #15 from Evgeny Karpov <Evgeny.Karpov at microsoft dot com> ---
It looks like the same issue which was described here
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115083
Please specify only C language in the configuration for now.
^ permalink raw reply [flat|nested] 17+ messages in thread