RTEMS Source Builder | config/gmp: Add GCC 14+ compatibility warning (!165)
Joel Sherrill (@joel)
gitlab at rtems.org
Thu Aug 21 13:56:11 UTC 2025
Joel Sherrill started a new discussion on source-builder/config/gmp.cfg: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/165#note_129130
> + echo "==============================================================================="
> + echo "WARNING: GCC %{gcc_version_check} detected - GMP compilation may fail"
> + echo "==============================================================================="
> + echo ""
> + echo "GCC 14 and later default to C23 standard, which may cause compilation failures"
> + echo "with GMP %{gmp_version}. If you encounter build errors, consider using:"
> + echo ""
> + echo " - GCC 12 or GCC 13 (recommended)"
> + echo " - Or export CC=gcc-12 (or gcc-13) before running the build"
> + echo ""
> + echo "This is a known compatibility issue with newer GCC versions."
> + echo "==============================================================================="
> + echo ""
> + %endif
> +
> ./configure \
Why can't we add CFLAGS="-std=c++17"?
--
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/165#note_129130
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250821/c9fe5707/attachment-0001.htm>
More information about the bugs
mailing list