Rebuild with binutils 2.46 and enable bootstrapping

This commit is contained in:
2026-02-14 12:41:54 +02:00
parent 9102e1019e
commit f1f7ebab87
2 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
name: gcc
description: The GNU C Compiler
version: 15.2.0
revision: 5
revision: 6
url: https://gcc.gnu.org/
license: GPL3-or-later,LGPL3-or-later,GPL3 with GCC-exception
architecture: any
+10 -4
View File
@@ -2,12 +2,19 @@
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
# The prepare function is executed in the root of the temp directory
# This function is used for putting downloaded files to the correct location or applying patches
prepare() {
cd "$BPM_SOURCE"
# Fix building with glibc-2.43
sed -i 's/char [*]q/const &/' libgomp/affinity-fmt.c
# Install libraries to /usr/lib instead of /usr/lib64
sed -e '/m64=/s/lib64/lib/' -i.orig gcc/config/i386/t-linux64
}
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
# Install libraries to /usr/lib instead of /usr/lib64
sed -e '/m64=/s/lib64/lib/' -i.orig gcc/config/i386/t-linux64
mkdir build
cd build
@@ -18,7 +25,6 @@ build() {
--enable-default-ssp \
--enable-host-pie \
--disable-multilib \
--disable-bootstrap \
--disable-fixincludes \
--disable-libssp \
--with-system-zlib \