Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to gcc 11.4.0 musl 1.2.4 binutils 2.41 isl 0.26 #179

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@

SOURCES = sources

CONFIG_SUB_REV = 3d5db9ebe860
BINUTILS_VER = 2.33.1
GCC_VER = 9.4.0
MUSL_VER = 1.2.3
GMP_VER = 6.1.2
MPC_VER = 1.1.0
MPFR_VER = 4.0.2
LINUX_VER = headers-4.19.88-1
CONFIG_SUB_REV = 28ea239c53a2
BINUTILS_VER = 2.41
GCC_VER = 11.4.0
MUSL_VER = 1.2.4
GMP_VER = 6.3.0
MPC_VER = 1.3.1
MPFR_VER = 4.2.1
LINUX_VER = 4.19.274

GNU_SITE = https://ftpmirror.gnu.org/gnu
GCC_SITE = $(GNU_SITE)/gcc
BINUTILS_SITE = $(GNU_SITE)/binutils
GMP_SITE = $(GNU_SITE)/gmp
MPC_SITE = $(GNU_SITE)/mpc
MPFR_SITE = $(GNU_SITE)/mpfr
ISL_SITE = http://isl.gforge.inria.fr/
ISL_SITE = https://libisl.sourceforge.io

MUSL_SITE = https://musl.libc.org/releases
MUSL_REPO = git://git.musl-libc.org/musl
Expand Down
1 change: 1 addition & 0 deletions hashes/binutils-2.35.2.tar.xz.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2dd8d1ce34dc7b1cb2073123e30c4901221835b0 binutils-2.35.2.tar.xz
1 change: 1 addition & 0 deletions hashes/binutils-2.41.tar.xz.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0e008260a958bbd10182ee3384672ae0a310eece binutils-2.41.tar.xz
1 change: 1 addition & 0 deletions hashes/config.sub.28ea239c53a2.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a5d79f0aaa1c5ce20a0b490f33ae0623e258d2ff config.sub
1 change: 1 addition & 0 deletions hashes/gcc-11.3.0.tar.xz.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cf86a48278f9a6f4b03d4390550577b20353b4e9 gcc-11.3.0.tar.xz
1 change: 1 addition & 0 deletions hashes/gcc-11.4.0.tar.xz.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
03f21dce9edf9092e38b4e23dd27b29f6ab56f63 gcc-11.4.0.tar.xz
1 change: 1 addition & 0 deletions hashes/gcc-13.2.0.tar.xz.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5f95b6d042fb37d45c6cbebfc91decfbc4fb493c gcc-13.2.0.tar.xz
1 change: 1 addition & 0 deletions hashes/gmp-6.3.0.tar.bz2.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
32d21c4fae046de45e8fce37bf4002236d283b71 gmp-6.3.0.tar.bz2
1 change: 1 addition & 0 deletions hashes/isl-0.26.tar.bz2.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7b6c2ed0d14a18214dccfffdcb12f277158e70d9 isl-0.26.tar.bz2
1 change: 1 addition & 0 deletions hashes/linux-4.19.274.tar.xz.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
865d31c52154c15b8ea946f93bacefea99a01a04 linux-4.19.274.tar.xz
1 change: 1 addition & 0 deletions hashes/linux-4.20.tar.xz.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f3e78fc0cf8ddd62f7859ac4a54a18a43b43e75a linux-4.20.tar.xz
1 change: 1 addition & 0 deletions hashes/mpc-1.3.1.tar.gz.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bac1c1fa79f5602df1e29e4684e103ad55714e02 mpc-1.3.1.tar.gz
1 change: 1 addition & 0 deletions hashes/mpfr-4.2.1.tar.gz.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ca7a96560f09b548855f7f97b20cba8106f2f203 mpfr-4.2.1.tar.gz
1 change: 1 addition & 0 deletions hashes/musl-1.2.4.tar.gz.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
78eb982244b857dbacb2ead25cc0f631ce44204d musl-1.2.4.tar.gz
561 changes: 561 additions & 0 deletions patches/binutils-2.41/0001-j2.diff

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions patches/gcc-11.4.0/0001-ssp_nonshared.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 7837553958b..3c81c5798d8 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -980,7 +980,8 @@ proper position among the other output files. */
#ifndef LINK_SSP_SPEC
#ifdef TARGET_LIBC_PROVIDES_SSP
#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \
- "|fstack-protector-strong|fstack-protector-explicit:}"
+ "|fstack-protector-strong|fstack-protector-explicit" \
+ ":-lssp_nonshared}"
#else
#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \
"|fstack-protector-strong|fstack-protector-explicit" \
30 changes: 30 additions & 0 deletions patches/gcc-11.4.0/0002-posix_memalign.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
diff --git a/gcc/config/i386/pmm_malloc.h b/gcc/config/i386/pmm_malloc.h
index 1b0bfe37852..d7b2b19bb3c 100644
--- a/gcc/config/i386/pmm_malloc.h
+++ b/gcc/config/i386/pmm_malloc.h
@@ -27,12 +27,13 @@
#include <stdlib.h>

/* We can't depend on <stdlib.h> since the prototype of posix_memalign
- may not be visible. */
+ may not be visible and we can't pollute the namespace either. */
#ifndef __cplusplus
-extern int posix_memalign (void **, size_t, size_t);
+extern int _mm_posix_memalign (void **, size_t, size_t)
#else
-extern "C" int posix_memalign (void **, size_t, size_t) throw ();
+extern "C" int _mm_posix_memalign (void **, size_t, size_t) throw ()
#endif
+__asm__("posix_memalign");

static __inline void *
_mm_malloc (size_t __size, size_t __alignment)
@@ -42,7 +43,7 @@ _mm_malloc (size_t __size, size_t __alignment)
return malloc (__size);
if (__alignment == 2 || (sizeof (void *) == 8 && __alignment == 4))
__alignment = sizeof (void *);
- if (posix_memalign (&__ptr, __alignment, __size) == 0)
+ if (_mm_posix_memalign (&__ptr, __alignment, __size) == 0)
return __ptr;
else
return NULL;
Loading