Search Criteria
Package Details: gcc12-fortran 12.5.0-2
Package Actions
| Git Clone URL: | https://aur.archlinux.org/gcc12.git (read-only, click to copy) |
|---|---|
| Package Base: | gcc12 |
| Description: | Fortran front-end for GCC (12.x.x) |
| Upstream URL: | https://gcc.gnu.org |
| Licenses: | custom, GPL3, LGPL, FDL |
| Submitter: | soh |
| Maintainer: | KarlLudwig |
| Last Packager: | KarlLudwig |
| Votes: | 4 |
| Popularity: | 0.025251 |
| First Submitted: | 2024-05-10 03:32 (UTC) |
| Last Updated: | 2025-08-22 11:20 (UTC) |
Dependencies (16)
- gcc12AUR
- libisl.so (libisl)
- binutils (make)
- doxygen (doxygen-gitAUR) (make)
- gcc-ada (gcc-ada-gitAUR, gcc-ada-debugAUR, gcc-ada-snapshotAUR) (make)
- gcc-d (gcc-d-gitAUR, gcc-d-snapshotAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- libisl (libisl-gitAUR) (make)
- libmpc (libmpc-gitAUR) (make)
- python (make)
- zstd (zstd-gitAUR, zstd-staticAUR) (make)
- dejagnu (dejagnu-gitAUR) (check)
- expect (check)
- inetutils (inetutils-gitAUR) (check)
- python-pytest (check)
- tcl (tcl-fossilAUR, tcl84AUR, tcl84AUR) (check)
Required by (1)
- fortran-fpm (make)
Latest Comments
1 2 Next › Last »
snack commented on 2025-10-31 14:33 (UTC)
I have been able to compile adding this patch:
@KarlLudwig please include it in a future release (if you have plans to do so), thank you.
snack commented on 2025-10-21 12:42 (UTC)
@KarlLudwig I get this error during build configuration:
KarlLudwig commented on 2025-08-22 02:15 (UTC) (edited on 2025-08-22 02:16 (UTC) by KarlLudwig)
Re:
/build/gcc12/src/gcc/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:441:31: error: invalid application of ‘sizeof’ to incomplete type ‘__sanitizer::termio’It's a breaking change in glibc 2.42.
I might take this opportunity to change to using the tarball release, as gcc 12 is end-of-life at this point, so no 12.5.1 release will ever exist that would warrant using git. Just patches borrowed from gentoo.
Should be updated in a few hours, let me know if anything else breaks.
TheZoid commented on 2025-08-21 18:54 (UTC)
After almost 3 hours of build time, I finally get:
/home/USERNAME/.cache/yay/gcc12/src/gcc/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:441:31: error: invalid application of ‘sizeof’ to incomplete type ‘__sanitizer::termio’ 441 | unsigned struct_termio_sz = sizeof(struct termio); | ^
make[4]: *** [Makefile:616: sanitizer_platform_limits_posix.lo] Error 1 make[4]: Leaving directory '/home/USERNAME/.cache/yay/gcc12/src/gcc-build/x86_64-pc-linux-gnu/libsanitizer/sanitizer_common' make[3]: *** [Makefile:533: all-recursive] Error 1 make[3]: Leaving directory '/home/USERNAME/.cache/yay/gcc12/src/gcc-build/x86_64-pc-linux-gnu/libsanitizer' make[2]: *** [Makefile:420: all] Error 2 make[2]: Leaving directory '/home/USERNAME/.cache/yay/gcc12/src/gcc-build/x86_64-pc-linux-gnu/libsanitizer' make[1]: *** [Makefile:18195: all-target-libsanitizer] Error 2 make[1]: Leaving directory '/home/USERNAME/.cache/yay/gcc12/src/gcc-build' make: *** [Makefile:25582: bootstrap] Error 2 ==> ERROR: A failure occurred in build(). Aborting... -> error making: gcc12-exit status 4And plenty of other errors within the entire build process!
It would be nice if there was something here explaining what's going wrong, and how to deal with it, like one of those "Manual intervention needed" notices.
Sorry but I have no clue what any of this means, but something tells me the build should have thrown up an error and aborted much earlier in the build, seeing that multiples of the same errors were throughout the build.
I read the comments below mentioning "flex" but also that it's needed to install stuff from the AUR which I do and have quite often, and so cannot see that it's the problem.
Sorry but more frustrating than a failed build is having no info on why anywhere to be found.
kjlsai commented on 2025-08-17 10:17 (UTC)
/build/gcc12/src/gcc/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:441:31: error: invalid application of ‘sizeof’ to incomplete type ‘__sanitizer::termio’
ashs commented on 2025-08-10 11:29 (UTC)
In a clean chroot environment, I am getting
/build/gcc12/src/gcc/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:441:31: error: invalid application of ‘sizeof’ to incomplete type ‘__sanitizer::termio’KarlLudwig commented on 2025-07-30 05:57 (UTC)
The reason it uses git is because that's what it was when I adopted it. Also,
gcc13and the officialgcc14andgccdo too.frankspace commented on 2025-07-30 03:29 (UTC)
I would also like to know why this is using git instead of tarball releases.
KarlLudwig commented on 2025-03-31 07:26 (UTC) (edited on 2025-03-31 07:26 (UTC) by KarlLudwig)
@europrimus
flexis part of thebase-develgroup, which is expected to be installed when building any package (AUR or otherwise).europrimus commented on 2025-03-31 06:47 (UTC) (edited on 2025-03-31 06:47 (UTC) by europrimus)
I have got a
fatal error gengtype-lex.ccI have installed
flexin order to build without error.1 2 Next › Last »