Compare commits

..

5 Commits

Author SHA1 Message Date
Dave Murphy
b970a10d09 devkitPPC: release 47 2025-05-25 19:01:57 +01:00
Dave Murphy
dbcb7aa399 devkitPPC: remove stale patches 2025-05-25 19:01:57 +01:00
Dave Murphy
67b34f5df3 devkitPPC: update newlib to 4.5.0 2025-05-25 18:59:00 +01:00
Dave Murphy
141c30be36 devkitPPC: update gcc to 15.1.0 2025-05-25 18:58:59 +01:00
Dave Murphy
1e91020d5c devkitPPC: update binutils to 2.44 2025-05-25 18:58:59 +01:00
6 changed files with 2002 additions and 309 deletions

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash
#---------------------------------------------------------------------------------
# devkitARM release 66
# devkitPPC release 46.1
# devkitPPC release 47
# devkitA64 release 27
#---------------------------------------------------------------------------------

View File

@@ -10,8 +10,23 @@ index 11996247f15..f21b315ce8a 100644
gcn) thread_header=config/gcn/gthr-gcn.h ;;
lynx) thread_header=config/gthr-lynx.h ;;
mipssde) thread_header=config/mips/gthr-mipssde.h ;;
diff --git a/gcc/config/i386/host-mingw32.cc b/gcc/config/i386/host-mingw32.cc
index e083f49f3da..1b81e7e88ce 100644
--- a/gcc/config/i386/host-mingw32.cc
+++ b/gcc/config/i386/host-mingw32.cc
@@ -94,6 +94,10 @@ mingw32_gt_pch_get_address (size_t size, int)
If we allocate at bottom we need to reserve the address as early
as possible and at the same point in each invocation. */
+#if __MINGW64__
+ size = UINT64_C(64 * 1024 * 1024 * 1024);
+#endif
+
res = VirtualAlloc (NULL, size,
MEM_RESERVE | MEM_TOP_DOWN,
PAGE_NOACCESS);
diff --git a/gcc/config/newlib-stdint.h b/gcc/config/newlib-stdint.h
index a35aecaa7bd..63c67a9c7d6 100644
index 9295e0319a2..bc28e5380bd 100644
--- a/gcc/config/newlib-stdint.h
+++ b/gcc/config/newlib-stdint.h
@@ -25,7 +25,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
@@ -24,7 +39,7 @@ index a35aecaa7bd..63c67a9c7d6 100644
#define SIG_ATOMIC_TYPE "int"
diff --git a/gcc/config/rs6000/eabi.h b/gcc/config/rs6000/eabi.h
index d768459fbeb..b54041268e5 100644
index 3cbee36cd20..e0ffda81164 100644
--- a/gcc/config/rs6000/eabi.h
+++ b/gcc/config/rs6000/eabi.h
@@ -36,6 +36,8 @@
@@ -37,10 +52,10 @@ index d768459fbeb..b54041268e5 100644
} \
while (0)
diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h
index 2cde2e329b0..768470b753a 100644
index db6112a09e1..71cd6664a3e 100644
--- a/gcc/config/rs6000/rs6000.h
+++ b/gcc/config/rs6000/rs6000.h
@@ -197,6 +197,7 @@ ASM_OPT_ANY
@@ -193,6 +193,7 @@ ASM_OPT_ANY
/* -mcpu=native handling only makes sense with compiler running on
an PowerPC chip. If changing this condition, also change
the condition in driver-rs6000.cc. */
@@ -48,7 +63,7 @@ index 2cde2e329b0..768470b753a 100644
#if defined(__powerpc__) || defined(__POWERPC__) || defined(_AIX)
/* In driver-rs6000.cc. */
extern const char *host_detect_local_cpu (int argc, const char **argv);
@@ -208,6 +209,8 @@ extern const char *host_detect_local_cpu (int argc, const char **argv);
@@ -204,6 +205,8 @@ extern const char *host_detect_local_cpu (int argc, const char **argv);
#else
#define ASM_CPU_NATIVE_SPEC "%(asm_default)"
#endif
@@ -58,7 +73,7 @@ index 2cde2e329b0..768470b753a 100644
#ifndef CC1_CPU_SPEC
#ifdef HAVE_LOCAL_CPU_DETECT
diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h
index bcafa9d0cf4..d629d85bd17 100644
index afb5c6ad867..30d30d530e8 100644
--- a/gcc/config/rs6000/sysv4.h
+++ b/gcc/config/rs6000/sysv4.h
@@ -581,7 +581,11 @@ GNU_USER_TARGET_CC1_SPEC
@@ -161,7 +176,7 @@ index bcafa9d0cf4..d629d85bd17 100644
/* Motorola Yellowknife support. */
#define LIB_YELLOWKNIFE_SPEC "--start-group -lyk -lc --end-group"
@@ -842,6 +866,7 @@ ncrtn.o%s"
@@ -843,6 +867,7 @@ ncrtn.o%s"
#undef SUBTARGET_EXTRA_SPECS
#define SUBTARGET_EXTRA_SPECS \
{ "crtsavres_default", CRTSAVRES_DEFAULT_SPEC }, \
@@ -169,7 +184,7 @@ index bcafa9d0cf4..d629d85bd17 100644
{ "lib_ads", LIB_ADS_SPEC }, \
{ "lib_yellowknife", LIB_YELLOWKNIFE_SPEC }, \
{ "lib_mvme", LIB_MVME_SPEC }, \
@@ -851,6 +876,7 @@ ncrtn.o%s"
@@ -852,6 +877,7 @@ ncrtn.o%s"
{ "lib_netbsd", LIB_NETBSD_SPEC }, \
{ "lib_openbsd", LIB_OPENBSD_SPEC }, \
{ "lib_default", LIB_DEFAULT_SPEC }, \
@@ -177,7 +192,7 @@ index bcafa9d0cf4..d629d85bd17 100644
{ "startfile_ads", STARTFILE_ADS_SPEC }, \
{ "startfile_yellowknife", STARTFILE_YELLOWKNIFE_SPEC }, \
{ "startfile_mvme", STARTFILE_MVME_SPEC }, \
@@ -860,6 +886,7 @@ ncrtn.o%s"
@@ -861,6 +887,7 @@ ncrtn.o%s"
{ "startfile_netbsd", STARTFILE_NETBSD_SPEC }, \
{ "startfile_openbsd", STARTFILE_OPENBSD_SPEC }, \
{ "startfile_default", STARTFILE_DEFAULT_SPEC }, \
@@ -185,7 +200,7 @@ index bcafa9d0cf4..d629d85bd17 100644
{ "endfile_ads", ENDFILE_ADS_SPEC }, \
{ "endfile_yellowknife", ENDFILE_YELLOWKNIFE_SPEC }, \
{ "endfile_mvme", ENDFILE_MVME_SPEC }, \
@@ -871,7 +898,11 @@ ncrtn.o%s"
@@ -872,7 +899,11 @@ ncrtn.o%s"
{ "endfile_default", ENDFILE_DEFAULT_SPEC }, \
{ "link_shlib", LINK_SHLIB_SPEC }, \
{ "link_start", LINK_START_SPEC }, \
@@ -197,7 +212,7 @@ index bcafa9d0cf4..d629d85bd17 100644
{ "link_start_yellowknife", LINK_START_YELLOWKNIFE_SPEC }, \
{ "link_start_mvme", LINK_START_MVME_SPEC }, \
{ "link_start_sim", LINK_START_SIM_SPEC }, \
@@ -881,6 +912,7 @@ ncrtn.o%s"
@@ -882,6 +913,7 @@ ncrtn.o%s"
{ "link_start_openbsd", LINK_START_OPENBSD_SPEC }, \
{ "link_start_default", LINK_START_DEFAULT_SPEC }, \
{ "link_os", LINK_OS_SPEC }, \
@@ -205,7 +220,7 @@ index bcafa9d0cf4..d629d85bd17 100644
{ "link_os_ads", LINK_OS_ADS_SPEC }, \
{ "link_os_yellowknife", LINK_OS_YELLOWKNIFE_SPEC }, \
{ "link_os_mvme", LINK_OS_MVME_SPEC }, \
@@ -892,6 +924,9 @@ ncrtn.o%s"
@@ -893,6 +925,9 @@ ncrtn.o%s"
{ "link_os_default", LINK_OS_DEFAULT_SPEC }, \
{ "cc1_secure_plt_default", CC1_SECURE_PLT_DEFAULT_SPEC }, \
{ "link_secure_plt", LINK_SECURE_PLT_SPEC }, \
@@ -216,7 +231,7 @@ index bcafa9d0cf4..d629d85bd17 100644
{ "cpp_os_yellowknife", CPP_OS_YELLOWKNIFE_SPEC }, \
{ "cpp_os_mvme", CPP_OS_MVME_SPEC }, \
diff --git a/gcc/config/rs6000/sysv4.opt b/gcc/config/rs6000/sysv4.opt
index fdfe665fefa..42a1935d358 100644
index dc0b0e82d9e..20300b60da8 100644
--- a/gcc/config/rs6000/sysv4.opt
+++ b/gcc/config/rs6000/sysv4.opt
@@ -124,6 +124,26 @@ mads
@@ -247,10 +262,10 @@ index fdfe665fefa..42a1935d358 100644
Target RejectNegative
Link with libyk.a, libc.a and crt0.o.
diff --git a/gcc/configure b/gcc/configure
index abc8bfdc244..d0065dd166c 100755
index 16965953f05..7912de7061c 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -933,6 +933,7 @@ infodir
@@ -934,6 +934,7 @@ infodir
docdir
oldincludedir
includedir
@@ -258,7 +273,7 @@ index abc8bfdc244..d0065dd166c 100755
localstatedir
sharedstatedir
sysconfdir
@@ -1117,6 +1118,7 @@ datadir='${datarootdir}'
@@ -1120,6 +1121,7 @@ datadir='${datarootdir}'
sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
@@ -266,7 +281,7 @@ index abc8bfdc244..d0065dd166c 100755
includedir='${prefix}/include'
oldincludedir='/usr/include'
docdir='${datarootdir}/doc/${PACKAGE}'
@@ -1369,6 +1371,15 @@ do
@@ -1372,6 +1374,15 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
@@ -282,7 +297,7 @@ index abc8bfdc244..d0065dd166c 100755
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
@@ -1506,7 +1517,7 @@ fi
@@ -1509,7 +1520,7 @@ fi
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
datadir sysconfdir sharedstatedir localstatedir includedir \
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
@@ -291,7 +306,7 @@ index abc8bfdc244..d0065dd166c 100755
do
eval ac_val=\$$ac_var
# Remove trailing slashes.
@@ -1659,6 +1670,7 @@ Fine tuning of the installation directories:
@@ -1662,6 +1673,7 @@ Fine tuning of the installation directories:
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
@@ -299,7 +314,7 @@ index abc8bfdc244..d0065dd166c 100755
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
@@ -6229,7 +6241,7 @@ else
@@ -6253,7 +6265,7 @@ else
We can't simply define LARGE_OFF_T to be 9223372036854775807,
since some C++ compilers masquerading as C compilers
incorrectly reject 9223372036854775807. */
@@ -308,7 +323,7 @@ index abc8bfdc244..d0065dd166c 100755
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1];
@@ -6275,7 +6287,7 @@ else
@@ -6299,7 +6311,7 @@ else
We can't simply define LARGE_OFF_T to be 9223372036854775807,
since some C++ compilers masquerading as C compilers
incorrectly reject 9223372036854775807. */
@@ -317,7 +332,7 @@ index abc8bfdc244..d0065dd166c 100755
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1];
@@ -6299,7 +6311,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
@@ -6323,7 +6335,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
We can't simply define LARGE_OFF_T to be 9223372036854775807,
since some C++ compilers masquerading as C compilers
incorrectly reject 9223372036854775807. */
@@ -326,7 +341,7 @@ index abc8bfdc244..d0065dd166c 100755
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1];
@@ -6344,7 +6356,7 @@ else
@@ -6368,7 +6380,7 @@ else
We can't simply define LARGE_OFF_T to be 9223372036854775807,
since some C++ compilers masquerading as C compilers
incorrectly reject 9223372036854775807. */
@@ -335,7 +350,7 @@ index abc8bfdc244..d0065dd166c 100755
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1];
@@ -6368,7 +6380,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
@@ -6392,7 +6404,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
We can't simply define LARGE_OFF_T to be 9223372036854775807,
since some C++ compilers masquerading as C compilers
incorrectly reject 9223372036854775807. */
@@ -344,7 +359,7 @@ index abc8bfdc244..d0065dd166c 100755
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1];
@@ -13219,7 +13231,7 @@ case ${enable_threads} in
@@ -13164,7 +13176,7 @@ case ${enable_threads} in
# default
target_thread_file='single'
;;
@@ -353,29 +368,29 @@ index abc8bfdc244..d0065dd166c 100755
single | tpf | vxworks | win32 | mcf)
target_thread_file=${enable_threads}
;;
@@ -21575,7 +21587,7 @@ else
@@ -21520,7 +21532,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 21578 "configure"
+#line 21590 "configure"
-#line 21523 "configure"
+#line 21535 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -21681,7 +21693,7 @@ else
@@ -21626,7 +21638,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 21684 "configure"
+#line 21696 "configure"
-#line 21629 "configure"
+#line 21641 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 1d2cefa3f6a..1880a43edb7 100644
index 9f67e62950a..30e45e80291 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -2053,7 +2053,7 @@ case ${enable_threads} in
@@ -2089,7 +2089,7 @@ case ${enable_threads} in
# default
target_thread_file='single'
;;
@@ -398,7 +413,7 @@ index ea689a353c8..98f9d9b21b7 100755
;;
*)
diff --git a/libgcc/config/rs6000/crtrestvr.S b/libgcc/config/rs6000/crtrestvr.S
index 62709321d60..29474da45ac 100644
index 8761f612004..95cc245813b 100644
--- a/libgcc/config/rs6000/crtrestvr.S
+++ b/libgcc/config/rs6000/crtrestvr.S
@@ -24,7 +24,7 @@
@@ -416,7 +431,7 @@ index 62709321d60..29474da45ac 100644
#endif
+#endif
diff --git a/libgcc/config/rs6000/crtsavevr.S b/libgcc/config/rs6000/crtsavevr.S
index d5b96600911..58be7119b2d 100644
index 9d05c98c32d..1b7e1ca68b9 100644
--- a/libgcc/config/rs6000/crtsavevr.S
+++ b/libgcc/config/rs6000/crtsavevr.S
@@ -24,7 +24,7 @@
@@ -1135,10 +1150,10 @@ index fb812d3801f..7f6669d530f 100644
# This can't end up in shared libgcc
diff --git a/libgcc/configure b/libgcc/configure
index cff1eff9625..c4bb38358b3 100755
index 18418336c9b..0abc84af6c8 100755
--- a/libgcc/configure
+++ b/libgcc/configure
@@ -5754,6 +5754,7 @@ tm_file="${tm_file_}"
@@ -5724,6 +5724,7 @@ tm_file="${tm_file_}"
case $target_thread_file in
aix) thread_header=config/rs6000/gthr-aix.h ;;
dce) thread_header=config/pa/gthr-dce.h ;;
@@ -1147,7 +1162,7 @@ index cff1eff9625..c4bb38358b3 100755
lynx) thread_header=config/gthr-lynx.h ;;
mipssde) thread_header=config/mips/gthr-mipssde.h ;;
diff --git a/libgcc/crtstuff.c b/libgcc/crtstuff.c
index 38d3859a73c..f97358d9787 100644
index b9767cd1eee..362689c9f0b 100644
--- a/libgcc/crtstuff.c
+++ b/libgcc/crtstuff.c
@@ -326,7 +326,7 @@ register_tm_clones (void)
@@ -1160,7 +1175,7 @@ index 38d3859a73c..f97358d9787 100644
in every shared-object; in a main program its value is zero. The
object should in any case be protected. This means the instance
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
index 21abaeb0778..f16aacb03e6 100755
index 819a1d82876..be18f306f85 100755
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
@@ -893,6 +893,7 @@ infodir
@@ -1319,25 +1334,25 @@ index 21abaeb0778..f16aacb03e6 100755
int main()
{
typedef long long atomic_type;
@@ -16444,7 +16457,7 @@ $as_echo "mutex" >&6; }
@@ -16445,7 +16458,7 @@ $as_echo "mutex" >&6; }
# unnecessary for this test.
cat > conftest.$ac_ext << EOF
-#line 16447 "configure"
+#line 16460 "configure"
-#line 16448 "configure"
+#line 16461 "configure"
int main()
{
_Decimal32 d1;
@@ -16486,7 +16499,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
@@ -16487,7 +16500,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
# unnecessary for this test.
cat > conftest.$ac_ext << EOF
-#line 16489 "configure"
+#line 16502 "configure"
-#line 16490 "configure"
+#line 16503 "configure"
template<typename T1, typename T2>
struct same
{ typedef T2 type; };
@@ -28575,6 +28588,8 @@ _ACEOF
@@ -28602,6 +28615,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
$as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
@@ -1347,22 +1362,22 @@ index 21abaeb0778..f16aacb03e6 100755
case "${target}" in
*-rtems*)
diff --git a/libstdc++-v3/configure.ac b/libstdc++-v3/configure.ac
index 37396bd6ebb..1dadf658c08 100644
index a6c01b29e94..a8fb1200c8b 100644
--- a/libstdc++-v3/configure.ac
+++ b/libstdc++-v3/configure.ac
@@ -378,6 +378,7 @@ dnl # rather than hardcoding that information.
@@ -386,6 +386,7 @@ dnl # rather than hardcoding that information.
fi
AC_DEFINE(HAVE_ICONV)
AC_DEFINE(HAVE_MEMALIGN)
+ AC_DEFINE(HAVE_ALIGNED_ALLOC)
case "${target}" in
*-rtems*)
diff --git a/libstdc++-v3/include/std/fstream b/libstdc++-v3/include/std/fstream
index 1008a275540..d94296eb54c 100644
index 53e794162eb..08602c21949 100644
--- a/libstdc++-v3/include/std/fstream
+++ b/libstdc++-v3/include/std/fstream
@@ -51,7 +51,7 @@
@@ -53,7 +53,7 @@
// This can be overridden by the target's os_defines.h
#ifndef _GLIBCXX_BUFSIZ
@@ -1372,7 +1387,7 @@ index 1008a275540..d94296eb54c 100644
namespace std _GLIBCXX_VISIBILITY(default)
diff --git a/libstdc++-v3/libsupc++/eh_alloc.cc b/libstdc++-v3/libsupc++/eh_alloc.cc
index ec8c8fd13af..72b808b6ec0 100644
index 42ca2ea5116..04f75c43cf5 100644
--- a/libstdc++-v3/libsupc++/eh_alloc.cc
+++ b/libstdc++-v3/libsupc++/eh_alloc.cc
@@ -143,6 +143,7 @@ namespace
@@ -1400,10 +1415,10 @@ index ec8c8fd13af..72b808b6ec0 100644
{
__scoped_lock sentry(emergency_mutex);
diff --git a/libstdc++-v3/src/c++17/fs_ops.cc b/libstdc++-v3/src/c++17/fs_ops.cc
index 07bc2a0fa88..6c52045b377 100644
index 4f188153ae3..ea9d379e33a 100644
--- a/libstdc++-v3/src/c++17/fs_ops.cc
+++ b/libstdc++-v3/src/c++17/fs_ops.cc
@@ -1124,6 +1124,7 @@ fs::permissions(const path& p, perms prms, perm_options opts,
@@ -1153,6 +1153,7 @@ fs::permissions(const path& p, perms prms, perm_options opts,
}
int err = 0;
@@ -1411,7 +1426,7 @@ index 07bc2a0fa88..6c52045b377 100644
#if _GLIBCXX_USE_FCHMODAT
const int flag = (nofollow && is_symlink(st)) ? AT_SYMLINK_NOFOLLOW : 0;
if (::fchmodat(AT_FDCWD, p.c_str(), static_cast<mode_t>(prms), flag))
@@ -1133,6 +1134,7 @@ fs::permissions(const path& p, perms prms, perm_options opts,
@@ -1162,6 +1163,7 @@ fs::permissions(const path& p, perms prms, perm_options opts,
ec = std::__unsupported();
else if (posix::chmod(p.c_str(), static_cast<posix::mode_t>(prms)))
err = errno;
@@ -1420,10 +1435,10 @@ index 07bc2a0fa88..6c52045b377 100644
if (err)
diff --git a/libstdc++-v3/src/filesystem/ops-common.h b/libstdc++-v3/src/filesystem/ops-common.h
index d917fddbeb1..d2981fc22cd 100644
index 4feacfdb932..b8c49f49381 100644
--- a/libstdc++-v3/src/filesystem/ops-common.h
+++ b/libstdc++-v3/src/filesystem/ops-common.h
@@ -557,6 +557,7 @@ _GLIBCXX_BEGIN_NAMESPACE_FILESYSTEM
@@ -563,6 +563,7 @@ _GLIBCXX_BEGIN_NAMESPACE_FILESYSTEM
return false;
}
@@ -1431,7 +1446,7 @@ index d917fddbeb1..d2981fc22cd 100644
#if defined _GLIBCXX_USE_FCHMOD && ! defined _GLIBCXX_FILESYSTEM_IS_WINDOWS
if (::fchmod(out.fd, from_st->st_mode))
#elif defined _GLIBCXX_USE_FCHMODAT && ! defined _GLIBCXX_FILESYSTEM_IS_WINDOWS
@@ -570,6 +571,7 @@ _GLIBCXX_BEGIN_NAMESPACE_FILESYSTEM
@@ -576,6 +577,7 @@ _GLIBCXX_BEGIN_NAMESPACE_FILESYSTEM
ec.assign(errno, std::generic_category());
return false;
}
@@ -1440,10 +1455,10 @@ index d917fddbeb1..d2981fc22cd 100644
bool has_copied = false;
diff --git a/libstdc++-v3/src/filesystem/ops.cc b/libstdc++-v3/src/filesystem/ops.cc
index 4d23a804da0..400d2cdaf5b 100644
index 4e21e43b97a..d93c8985224 100644
--- a/libstdc++-v3/src/filesystem/ops.cc
+++ b/libstdc++-v3/src/filesystem/ops.cc
@@ -973,6 +973,7 @@ fs::permissions(const path& p, perms prms, error_code& ec) noexcept
@@ -987,6 +987,7 @@ fs::permissions(const path& p, perms prms, error_code& ec) noexcept
}
int err = 0;
@@ -1451,7 +1466,7 @@ index 4d23a804da0..400d2cdaf5b 100644
#if _GLIBCXX_USE_FCHMODAT
const int flag = (nofollow && is_symlink(st)) ? AT_SYMLINK_NOFOLLOW : 0;
if (::fchmodat(AT_FDCWD, p.c_str(), static_cast<mode_t>(prms), flag))
@@ -982,6 +983,7 @@ fs::permissions(const path& p, perms prms, error_code& ec) noexcept
@@ -996,6 +997,7 @@ fs::permissions(const path& p, perms prms, error_code& ec) noexcept
ec = std::__unsupported();
else if (posix::chmod(p.c_str(), static_cast<mode_t>(prms)))
err = errno;

File diff suppressed because one or more lines are too long

View File

@@ -101,7 +101,7 @@ then
--with-newlib \
--with-headers=../../newlib-$NEWLIB_VER/newlib/libc/include \
--prefix=$prefix \
--with-bugurl="https://github.com/devkitpro/buildscripts/issues" --with-pkgversion="devkitPPC release 46.1" \
--with-bugurl="https://github.com/devkitpro/buildscripts/issues" --with-pkgversion="devkitPPC release 47" \
$CROSS_PARAMS \
$CROSS_GCC_PARAMS \
$EXTRA_GCC_PARAMS \

View File

@@ -39,10 +39,10 @@ case "$VERSION" in
toolchain=DEVKITARM
;;
"2" )
GCC_VER=14.2.0
BINUTILS_VER=2.43.1
GCC_VER=15.1.0
BINUTILS_VER=2.44
MN_BINUTILS_VER=2.24
NEWLIB_VER=4.4.0.20231231
NEWLIB_VER=4.5.0.20241231
basedir='dkppc'
package=devkitPPC
target=powerpc-eabi