Package Details: gcc12-libs 12.5.0-2

Git Clone URL: https://aur.archlinux.org/gcc12.git (read-only, click to copy)
Package Base: gcc12
Description: Runtime libraries shipped by 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.077358
First Submitted: 2024-05-10 03:32 (UTC)
Last Updated: 2025-08-22 11:20 (UTC)

Latest Comments

1 2 Next › Last »

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 4

And 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, gcc13 and the official gcc14 and gcc do 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 flex is part of the base-devel group, 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.cc
I have installed flex in order to build without error.

imraro commented on 2025-01-07 17:43 (UTC)

Why is git repo used instead of https://gcc.gnu.org/pub/gcc/releases ?

<deleted-account> commented on 2025-01-03 21:18 (UTC)

the building process breaks off

make[1]: *** [Makefile:25243: stage1-bubble] Fehler 2
make: *** [Makefile:25580: bootstrap] Fehler 2
==> FEHLER: Ein Fehler geschah in build().
    Breche ab...
Fehler: ‚gcc12-12.4.0-1 (gcc12-libs)‘ konnte nicht erstellt werden: 
Fehler: Pakete konnten nicht erstellt werden: gcc12-12.4.0-1 (gcc12-libs)