ports/lang/gcc15-devel/files
Lorenzo Salvadore 0c397ecd5d
lang/gcc15-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:40 +02:00
..
patch-arm-unwind-cxx-support
patch-gcc_configure
patch-gcc_jit_Make-lang.in
patch-gcc_Makefile.in
patch-gfortran-libgcc
patch-libcxxrt
patch-libgcc_enable-execute-stack-mprotect.c
patch-libgcc_unwind.inc lang/gcc15-devel: Fix SIGBUS depending on CPUTYPE 2025-04-16 15:20:40 +02:00
patch-libsanitizer_asan_asan__linux.cpp
patch-libsanitizer_asan_asan__thread.cpp
pkg-message.in