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 the gcc spkg to version 14.2.0 using iains/gcc-14-branch #38905

Merged
merged 5 commits into from
Nov 16, 2024
Merged
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
2 changes: 2 additions & 0 deletions build/pkgs/_prereq/distros/debian.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ binutils
make
m4
perl
# flex is needed to build gcc
flex
# python3-minimal is not enough on debian buster, ubuntu bionic - it does not have urllib
# system python for bootstrapping the build
python3
Expand Down
2 changes: 2 additions & 0 deletions build/pkgs/_prereq/distros/fedora.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@ which
diffutils
# Needed for openssl 3.0
perl-IPC-Cmd
# Needed to build gcc
flex
67 changes: 67 additions & 0 deletions build/pkgs/ecm/patches/assembler.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
*** a/x86_64/Makefile.in Mon Nov 4 14:08:05 2024
--- b/x86_64/Makefile.in Mon Nov 4 14:15:46 2024
***************
*** 355,361 ****
all: all-am

.SUFFIXES:
! .SUFFIXES: .asm .lo .o .obj .s
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
--- 355,361 ----
all: all-am

.SUFFIXES:
! .SUFFIXES: .asm .lo .o .obj .sx
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
***************
*** 406,418 ****
distclean-compile:
-rm -f *.tab.c

! .s.o:
$(AM_V_CCAS)$(CCASCOMPILE) -c -o $@ $<

! .s.obj:
$(AM_V_CCAS)$(CCASCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`

! .s.lo:
$(AM_V_CCAS)$(LTCCASCOMPILE) -c -o $@ $<

mostlyclean-libtool:
--- 406,418 ----
distclean-compile:
-rm -f *.tab.c

! .sx.o:
$(AM_V_CCAS)$(CCASCOMPILE) -c -o $@ $<

! .sx.obj:
$(AM_V_CCAS)$(CCASCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`

! .sx.lo:
$(AM_V_CCAS)$(LTCCASCOMPILE) -c -o $@ $<

mostlyclean-libtool:
***************
*** 706,713 ****
mulredc1_20.asm: mulredc1.m4
$(M4) -DLENGTH=20 $< > $@

! .asm.s:
! $(M4) -I../ -DOPERATION_$* `test -f $< || echo '$(srcdir)/'`$< >$*.s
# Nothing here needs the C preprocessor, and including this rule causes
# "make" to build .S, then .s files which fails on case-insensitive
# filesystems
--- 706,713 ----
mulredc1_20.asm: mulredc1.m4
$(M4) -DLENGTH=20 $< > $@

! .asm.sx:
! $(M4) -I../ -DOPERATION_$* `test -f $< || echo '$(srcdir)/'`$< >$*.sx
# Nothing here needs the C preprocessor, and including this rule causes
# "make" to build .S, then .s files which fails on case-insensitive
# filesystems
8 changes: 4 additions & 4 deletions build/pkgs/gcc/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tarball=gcc-VERSION.tar.xz
sha1=6501872415823c95d48be28853ce3ebd6c1040c4
sha256=0845e9621c9543a13f484e94584a49ffc0129970e9914624235fc1d061a0c083
upstream_url=https://mirrors.kernel.org/gnu/gcc/gcc-VERSION/gcc-VERSION.tar.xz
tarball=gcc-VERSION.tar.gz
sha1=c25c11e209fbfa795e80e354f8f48f181decd83b
sha256=23c2a1b2ce01e9d51948339869453229173c6889758137e7e517b545ae8bfc02
upstream_url=https://github.com/iains/gcc-14-branch/archive/refs/tags/gcc-14.2-darwin-r2.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/gcc/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
13.3.0
14.2.0
Loading
Loading