gcc-12.2.0
This commit is contained in:
@@ -61,10 +61,10 @@ def setup():
|
|||||||
pisitools.dosed("gcc/configure", "^(ac_cpp='\$CPP\s\$CPPFLAGS)", r"\1 -O2")
|
pisitools.dosed("gcc/configure", "^(ac_cpp='\$CPP\s\$CPPFLAGS)", r"\1 -O2")
|
||||||
pisitools.dosed("libiberty/configure", "^(ac_cpp='\$CPP\s\$CPPFLAGS)", r"\1 -O2")
|
pisitools.dosed("libiberty/configure", "^(ac_cpp='\$CPP\s\$CPPFLAGS)", r"\1 -O2")
|
||||||
|
|
||||||
shelltools.move("../isl-0.21", "isl")
|
# shelltools.move("isl-0.25", "isl")
|
||||||
#shelltools.move("mpfr-4.1.0", "mpfr")
|
# shelltools.move("mpfr-4.2.0", "mpfr")
|
||||||
#shelltools.move("mpc-1.2.0", "mpc")
|
# shelltools.move("mpc-1.3.1", "mpc")
|
||||||
#shelltools.move("gmp-6.2.0", "gmp")
|
# shelltools.move("gmp-6.2.1", "gmp")
|
||||||
|
|
||||||
#shelltools.cd("../")
|
#shelltools.cd("../")
|
||||||
shelltools.makedirs("build")
|
shelltools.makedirs("build")
|
||||||
|
|||||||
@@ -1,33 +1,33 @@
|
|||||||
diff -Nuar gcc-4.7.1.old/gcc/output.h gcc-4.7.1/gcc/output.h
|
diff -Nuar a/gcc/output.h b/gcc/output.h
|
||||||
--- gcc-4.7.1.old/gcc/output.h 2012-03-22 12:40:31.000000000 +0200
|
--- a/gcc/output.h 2022-08-19 11:09:52.000000000 +0300
|
||||||
+++ gcc-4.7.1/gcc/output.h 2012-07-22 08:03:30.669774211 +0300
|
+++ b/gcc/output.h 2023-01-28 19:08:24.361651050 +0300
|
||||||
@@ -661,6 +661,7 @@
|
@@ -616,6 +616,7 @@
|
||||||
extern void default_file_start (void);
|
extern void default_file_start (void);
|
||||||
extern void file_end_indicate_exec_stack (void);
|
extern void file_end_indicate_exec_stack (void);
|
||||||
extern void file_end_indicate_split_stack (void);
|
extern void file_end_indicate_split_stack (void);
|
||||||
+extern void pisilinux_file_end_indicate_optflags (void);
|
+extern void pisilinux_file_end_indicate_optflags (void);
|
||||||
|
|
||||||
extern void default_elf_asm_output_external (FILE *file, tree,
|
extern void default_elf_asm_output_external (FILE *file, tree,
|
||||||
const char *);
|
const char *);
|
||||||
diff -Nuar gcc-4.7.1.old/gcc/toplev.c gcc-4.7.1/gcc/toplev.c
|
diff -Nuar a/gcc/toplev.cc b/gcc/toplev.cc
|
||||||
--- gcc-4.7.1.old/gcc/toplev.c 2012-01-05 17:08:42.000000000 +0200
|
--- a/gcc/toplev.cc 2022-08-19 11:09:54.000000000 +0300
|
||||||
+++ gcc-4.7.1/gcc/toplev.c 2012-07-22 08:05:04.729598301 +0300
|
+++ b/gcc/toplev.cc 2023-01-28 19:09:28.469849588 +0300
|
||||||
@@ -674,6 +674,8 @@
|
@@ -582,6 +582,8 @@
|
||||||
|
|
||||||
/* Invoke registered plugin callbacks. */
|
/* Invoke registered plugin callbacks. */
|
||||||
invoke_plugin_callbacks (PLUGIN_FINISH_UNIT, NULL);
|
invoke_plugin_callbacks (PLUGIN_FINISH_UNIT, NULL);
|
||||||
+
|
|
||||||
+ pisilinux_file_end_indicate_optflags ();
|
+ pisilinux_file_end_indicate_optflags ();
|
||||||
|
+
|
||||||
/* This must be at the end. Some target ports emit end of file directives
|
/* This must be at the end. Some target ports emit end of file directives
|
||||||
into the assembly file here, and hence we can not output anything to the
|
into the assembly file here, and hence we cannot output anything to the
|
||||||
diff -Nuar gcc-4.7.1.old/gcc/varasm.c gcc-4.7.1/gcc/varasm.c
|
assembly file after this point. */
|
||||||
--- gcc-4.7.1.old/gcc/varasm.c 2012-04-24 09:10:53.000000000 +0300
|
diff -Nuar a/gcc/varasm.cc b/gcc/varasm.cc
|
||||||
+++ gcc-4.7.1/gcc/varasm.c 2012-07-22 08:01:31.878259309 +0300
|
--- a/gcc/varasm.cc 2022-08-19 11:09:54.000000000 +0300
|
||||||
@@ -7165,14 +7165,34 @@
|
+++ b/gcc/varasm.cc 2023-01-28 19:11:30.730321121 +0300
|
||||||
|
@@ -7762,14 +7762,34 @@
|
||||||
switch_to_section (get_section (".note.GNU-stack", flags, NULL));
|
switch_to_section (get_section (".note.GNU-stack", flags, NULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
-/* Emit a special section directive to indicate that this object file
|
-/* Emit a special section directive to indicate that this object file
|
||||||
- was compiled with -fsplit-stack. This is used to let the linker
|
- was compiled with -fsplit-stack. This is used to let the linker
|
||||||
- detect calls between split-stack code and non-split-stack code, so
|
- detect calls between split-stack code and non-split-stack code, so
|
||||||
@@ -64,6 +64,6 @@ diff -Nuar gcc-4.7.1.old/gcc/varasm.c gcc-4.7.1/gcc/varasm.c
|
|||||||
+ switch_to_section (get_section (".comment.PISILINUX.OPTs", flags, NULL));
|
+ switch_to_section (get_section (".comment.PISILINUX.OPTs", flags, NULL));
|
||||||
+ ASM_OUTPUT_ASCII (asm_out_file, opts_buffer, strlen (opts_buffer) + 1);
|
+ ASM_OUTPUT_ASCII (asm_out_file, opts_buffer, strlen (opts_buffer) + 1);
|
||||||
+}
|
+}
|
||||||
|
|
||||||
void
|
void
|
||||||
file_end_indicate_split_stack (void)
|
file_end_indicate_split_stack (void)
|
||||||
|
|||||||
@@ -14,13 +14,14 @@
|
|||||||
<IsA>library</IsA>
|
<IsA>library</IsA>
|
||||||
<Summary>The GNU Compiler Collection, includes C, C++, Objective-C and Fortran compilers</Summary>
|
<Summary>The GNU Compiler Collection, includes C, C++, Objective-C and Fortran compilers</Summary>
|
||||||
<Description>The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, as well as libraries for these languages</Description>
|
<Description>The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, as well as libraries for these languages</Description>
|
||||||
<Archive sha1sum="fb51ed1660c065898c75951fb38e1ebad7d49feb" type="tarxz">https://sourceware.org/pub/gcc/releases/gcc-10.3.0/gcc-10.3.0.tar.xz</Archive>
|
<Archive sha1sum="5dce6dc0091b8049b530d1587513a07201691760" type="tarxz">https://sourceware.org/pub/gcc/releases/gcc-12.2.0/gcc-12.2.0.tar.xz</Archive>
|
||||||
<!-- <Archive sha1sum="159c3a58705662bfde4dc93f2617f3660855ead6" target="gcc-10.2.0" type="tarxz">http://ftp.gnu.org/gnu/mpfr/mpfr-4.1.0.tar.xz</Archive> -->
|
|
||||||
<!-- <Archive sha1sum="0abdc94acab0c9bfdaa391347cdfd7bbdb1cf017" target="gcc-10.2.0" type="targz">http://ftp.gnu.org/gnu/mpc/mpc-1.2.0.tar.gz</Archive> -->
|
<!-- <Archive sha1sum="4f734ca3ebceac28e2f944b131a47133b19e2c5e" target="gcc-12.2.0" type="tarxz">http://ftp.gnu.org/gnu/mpfr/mpfr-4.2.0.tar.xz</Archive> -->
|
||||||
<Archive sha1sum="33e366d59d32330432b5c7f2d0c2fb6664eff224" type="tarbz2">https://mirror.sobukus.de/files/src/isl/isl-0.21.tar.bz2</Archive>
|
<!-- <Archive sha1sum="bac1c1fa79f5602df1e29e4684e103ad55714e02" target="gcc-12.2.0" type="targz">http://ftp.gnu.org/gnu/mpc/mpc-1.3.1.tar.gz</Archive> -->
|
||||||
<!-- <Archive sha1sum="052a5411dc74054240eec58132d2cf41211d0ff6" target="gcc-10.2.0" type="tarxz">mirrors://gnu/gmp/gmp-6.2.0.tar.xz</Archive> -->
|
<!-- <Archive sha1sum="0578d48607ec0e272177d175fd1807c30b00fdf2" target="gcc-12.2.0" type="tarxz">mirrors://gnu/gmp/gmp-6.2.1.tar.xz</Archive> --> --> -->
|
||||||
|
<!-- <Archive sha1sum="247eecb538ff310e8fb77badd629ee32a3895a98" target="gcc-12.2.0" type="tarxz">https://mirror.sobukus.de/files/src/isl/isl-0.25.tar.xz</Archive> -->
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency versionFrom="2.36.1">binutils</Dependency>
|
<Dependency versionFrom="2.40">binutils</Dependency>
|
||||||
<Dependency>bison</Dependency>
|
<Dependency>bison</Dependency>
|
||||||
<Dependency>gettext</Dependency>
|
<Dependency>gettext</Dependency>
|
||||||
<Dependency>ncurses</Dependency>
|
<Dependency>ncurses</Dependency>
|
||||||
@@ -33,7 +34,7 @@
|
|||||||
<Dependency>gmp-devel</Dependency>
|
<Dependency>gmp-devel</Dependency>
|
||||||
<Dependency>mpfr-devel</Dependency>
|
<Dependency>mpfr-devel</Dependency>
|
||||||
<Dependency>libmpc-devel</Dependency>
|
<Dependency>libmpc-devel</Dependency>
|
||||||
<!-- <Dependency>isl-devel</Dependency> -->
|
<Dependency>isl-devel</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<Patches>
|
<Patches>
|
||||||
<!-- Pisilinux Patches -->
|
<!-- Pisilinux Patches -->
|
||||||
@@ -161,7 +162,7 @@
|
|||||||
|
|
||||||
<Dependency>mpfr</Dependency>
|
<Dependency>mpfr</Dependency>
|
||||||
<Dependency>libmpc</Dependency>
|
<Dependency>libmpc</Dependency>
|
||||||
<!-- <Dependency>isl</Dependency> -->
|
<Dependency>isl</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="executable">/lib</Path>
|
<Path fileType="executable">/lib</Path>
|
||||||
@@ -180,6 +181,13 @@
|
|||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="13">
|
||||||
|
<Date>2023-01-28</Date>
|
||||||
|
<Version>12.2.0</Version>
|
||||||
|
<Comment>Version bump.</Comment>
|
||||||
|
<Name>Mustafa Cinasal</Name>
|
||||||
|
<Email>muscnsl@gmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="12">
|
<Update release="12">
|
||||||
<Date>2022-07-18</Date>
|
<Date>2022-07-18</Date>
|
||||||
<Version>10.3.0</Version>
|
<Version>10.3.0</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user