ports/lang/gcc12-devel/files
Oleg Sidorkin 56b828239c
lang/gcc12-devel: Fix SIGBUS depending on CPUTYPE
Compiling GCC with some CPUTYPE values (e.g. broadwell) result in
breaking some applications (e.g. math/octave, cad/freecad), sending a
SIGBUS.

The issue is due to GCC generating instructions that require variables
to be aligned in memory on certain CPUs. Our libthr does not have the
required alignment so these CPUs fail to execute these instructions.

The patch disables the generation of such instructions.

PR:		285711
Reported by:	cracauer
Tested by:	cracauer, jbo
2025-04-16 15:20:36 +02:00
..
patch-arm-unwind-cxx-support
patch-clang-vec_step
patch-gcc_configure
patch-gets-no-more
patch-gfortran-libgcc
patch-libcxxrt
patch-libgcc_unwind.inc lang/gcc12-devel: Fix SIGBUS depending on CPUTYPE 2025-04-16 15:20:36 +02:00
patch-libsanitizer_asan_asan__linux.cpp
patch-libsanitizer_sanitizer__common_sanitizer__linux.cpp
patch-libsanitizer_sanitizer__common_sanitizer__linux__libcdep.cpp
pkg-message.in