Revert gcc to 12.3 as at least one emulator segfaults with gcc 13.2(.0 & .1) (Dolphin).

This commit is contained in:
fewtarius 2024-01-03 19:06:44 +00:00
parent 22ec9a79b9
commit 6800f8ddeb
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
3 changed files with 180011 additions and 10 deletions

View file

@ -48,15 +48,10 @@ then
fi fi
pre_configure_target() { pre_configure_target() {
sed -i 's~#include <cstdlib>~#include <cstdlib>\n#include <cstdint>~g' ${PKG_BUILD}/Externals/VulkanMemoryAllocator/include/vk_mem_alloc.h PKG_CMAKE_OPTS_TARGET+=" -DENABLE_HEADLESS=ON \
sed -i 's~#include <cstdint>~#include <cstdint>\n#include <string>~g' ${PKG_BUILD}/Externals/VulkanMemoryAllocator/include/vk_mem_alloc.h
}
PKG_CMAKE_OPTS_TARGET+=" -DENABLE_HEADLESS=ON \
-DENABLE_EVDEV=ON \ -DENABLE_EVDEV=ON \
-DUSE_DISCORD_PRESENCE=OFF \ -DUSE_DISCORD_PRESENCE=OFF \
-DBUILD_SHARED_LIBS=OFF \ -DBUILD_SHARED_LIBS=OFF \
-DUSE_MGBA=OFF \
-DLINUX_LOCAL_DEV=ON \ -DLINUX_LOCAL_DEV=ON \
-DENABLE_PULSEAUDIO=ON \ -DENABLE_PULSEAUDIO=ON \
-DENABLE_ALSA=ON \ -DENABLE_ALSA=ON \
@ -67,7 +62,10 @@ PKG_CMAKE_OPTS_TARGET+=" -DENABLE_HEADLESS=ON \
-DENABLE_QT=OFF \ -DENABLE_QT=OFF \
-DENCODE_FRAMEDUMPS=OFF \ -DENCODE_FRAMEDUMPS=OFF \
-DENABLE_CLI_TOOL=OFF" -DENABLE_CLI_TOOL=OFF"
sed -i 's~#include <cstdlib>~#include <cstdlib>\n#include <cstdint>~g' ${PKG_BUILD}/Externals/VulkanMemoryAllocator/include/vk_mem_alloc.h
sed -i 's~#include <cstdint>~#include <cstdint>\n#include <string>~g' ${PKG_BUILD}/Externals/VulkanMemoryAllocator/include/vk_mem_alloc.h
}
makeinstall_target() { makeinstall_target() {
mkdir -p ${INSTALL}/usr/bin mkdir -p ${INSTALL}/usr/bin

View file

@ -4,7 +4,7 @@
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS) # Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
PKG_NAME="gcc" PKG_NAME="gcc"
PKG_VERSION="13.2.0" PKG_VERSION="12.3.0"
PKG_LICENSE="GPL-2.0-or-later" PKG_LICENSE="GPL-2.0-or-later"
PKG_SITE="https://gcc.gnu.org/" PKG_SITE="https://gcc.gnu.org/"
PKG_URL="https://ftp.gnu.org/gnu/gcc/${PKG_NAME}-${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.xz" PKG_URL="https://ftp.gnu.org/gnu/gcc/${PKG_NAME}-${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.xz"
@ -54,6 +54,7 @@ GCC_COMMON_CONFIGURE_OPTS="--target=${TARGET_NAME} \
--disable-libssp \ --disable-libssp \
--disable-static \ --disable-static \
--enable-shared \ --enable-shared \
--disable-werror \
--enable-__cxa_atexit" --enable-__cxa_atexit"
PKG_CONFIGURE_OPTS_BOOTSTRAP="${GCC_COMMON_CONFIGURE_OPTS} \ PKG_CONFIGURE_OPTS_BOOTSTRAP="${GCC_COMMON_CONFIGURE_OPTS} \
@ -68,7 +69,6 @@ PKG_CONFIGURE_OPTS_BOOTSTRAP="${GCC_COMMON_CONFIGURE_OPTS} \
--disable-threads \ --disable-threads \
--without-headers \ --without-headers \
--with-newlib \ --with-newlib \
--disable-werror \
${GCC_OPTS}" ${GCC_OPTS}"
PKG_CONFIGURE_OPTS_HOST="${GCC_COMMON_CONFIGURE_OPTS} \ PKG_CONFIGURE_OPTS_HOST="${GCC_COMMON_CONFIGURE_OPTS} \
@ -85,8 +85,6 @@ PKG_CONFIGURE_OPTS_HOST="${GCC_COMMON_CONFIGURE_OPTS} \
--enable-clocale=gnu \ --enable-clocale=gnu \
${GCC_OPTS}" ${GCC_OPTS}"
PKG_CONFIGURE_OPTS_TARGET="${PKG_CONFIGURE_OPTS_HOST}"
post_makeinstall_bootstrap() { post_makeinstall_bootstrap() {
GCC_VERSION=$(${TOOLCHAIN}/bin/${TARGET_NAME}-gcc -dumpversion) GCC_VERSION=$(${TOOLCHAIN}/bin/${TARGET_NAME}-gcc -dumpversion)
DATE="0401$(echo ${GCC_VERSION} | sed 's/\./0/g')" DATE="0401$(echo ${GCC_VERSION} | sed 's/\./0/g')"

File diff suppressed because it is too large Load diff