The introductory comment in PKGBUILD
says:
# You probably don't need support for all the languages, feel free to remove the ones you don't
# Just edit the --enable-languages option as well as the pkgname array
Unfortunately, it isn't that simple. makepkg
still tries to build ALL packages; you will explicitly have to comment them out.
And, that is still not enough as in the gcc-libs-git
package section, you find the following statement
for lib in libatomic \
libgfortran \
libgo \
libgomp \
libitm \
libquadmath \
libsanitizer/{a,l,ub,t}san \
libstdc++-v3/src \
libvtv; do
make -C $CHOST/$lib DESTDIR="$pkgdir" install-toolexeclibLTLIBRARIES
done
This causes makepkg
to try to process all libraries which will fail if not all languages are enabled. Looks like this above-mentioned comment ist at least incomplete.
Pinned Comments
DAC324 commented on 2021-09-17 08:04 (UTC)
In addition to the jamespharvey20's sticky comment: The current GCC 12 versions are labelled "Experimental" for a reason. Development is ongoing, and there are still significant bugs. Hence, it is not recommended to use GCC 12 as a daily driver or on production systems.
At the moment, it is not even possible to build a working Linux kernel with GCC 12, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101941 .
jamespharvey20 commented on 2017-02-15 04:30 (UTC) (edited on 2017-02-15 11:01 (UTC) by jamespharvey20)