public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gcc] rhel-f41-base: 4.3.2-3
@ 2026-06-29 12:23 Jakub Jelinek
0 siblings, 0 replies; 2+ messages in thread
From: Jakub Jelinek @ 2026-06-29 12:23 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/gcc
Branch : rhel-f41-base
Commit : 5127525464309fd38842639e8c6790f02d1a6c14
Author : Jakub Jelinek <jakub@fedoraproject.org>
Date : 2008-09-05T22:15:57+00:00
Stats : +53/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/gcc/c/5127525464309fd38842639e8c6790f02d1a6c14?branch=rhel-f41-base
Log:
4.3.2-3
---
diff --git a/gcc43-altivec-tests.patch b/gcc43-altivec-tests.patch
new file mode 100644
index 0000000..010b8d8
--- /dev/null
+++ b/gcc43-altivec-tests.patch
@@ -0,0 +1,42 @@
+2008-08-26 Janis Johnson <janis187@us.ibm.com>
+
+ * g++.dg/ext/altivec-3.C: Move AltiVec code out of main.
+
+2008-04-04 Janis Johnson <janis187@us.ibm.com>
+
+ * gcc.dg/var-expand3.c: Skip for powerpc-linux if not on AltiVec HW.
+
+--- gcc/testsuite/g++.dg/ext/altivec-3.C (revision 139609)
++++ gcc/testsuite/g++.dg/ext/altivec-3.C (revision 139610)
+@@ -120,16 +120,19 @@ void baz2 (int i, ... )
+ CHECK_INVARIANT (vec_all_eq (vxi.v, vx_g.v));
+ }
+
+-int main(void)
++void main1(void)
+ {
+ CHECK_INVARIANT (sizeof(struct foo) == 8 && sizeof(struct vfoo) == 48);
+
+- altivec_check();
+-
+ bar(i_1, x_g, (short)i_2, (float)d_2, ld_1, (char)i_1, d_3);
+ baz(i_1, v_g, i_1, vx_g, i_1, v2_g, i_1, vx2_g);
+ quux(i_1, v_g, v_g);
+ baz2(i_1, vx_g);
+-
++}
++
++int main(void)
++{
++ altivec_check();
++ main1();
+ return 0;
+ }
+--- gcc/testsuite/gcc.dg/var-expand3.c (revision 133910)
++++ gcc/testsuite/gcc.dg/var-expand3.c (revision 133911)
+@@ -1,4 +1,4 @@
+-/* { dg-do run { target { powerpc*-*-* && powerpc_altivec_ok } } }} */
++/* { dg-do run { target { powerpc*-*-* && vmx_hw } } }} */
+ /* { dg-options "-O2 -funroll-loops -ffast-math -fvariable-expansion-in-unroller -maltivec -fdump-rtl-loop2" } */
+
+ #include "altivec.h"
diff --git a/gcc43.spec b/gcc43.spec
index d71c4e5..68afc2c 100644
--- a/gcc43.spec
+++ b/gcc43.spec
@@ -51,7 +51,7 @@ Source3: protoize.1
%define fastjar_ver 0.95
Source4: http://download.savannah.nongnu.org/releases/fastjar/fastjar-%{fastjar_ver}.tar.gz
URL: http://gcc.gnu.org
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n))
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# Need binutils with -pie support >= 2.14.90.0.4-4
# Need binutils which can omit dot symbols and overlap .opd on ppc64 >= 2.15.91.0.2-4
# Need binutils which handle -msecure-plt on ppc >= 2.16.91.0.2-2
@@ -152,6 +152,8 @@ Patch15: gcc43-sparc-config-detection.patch
Patch16: gcc43-libgomp-omp_h-multilib.patch
Patch17: gcc43-x86_64-va_start.patch
Patch18: gcc43-pr37189.patch
+Patch19: gcc43-altivec-tests.patch
+Patch20: gcc43-libtool-no-rpath.patch
# On ARM EABI systems, we do want -gnueabi to be part of the
# target triple.
@@ -454,6 +456,8 @@ which are required to run programs compiled with the GNAT.
%patch16 -p0 -b .libgomp-omp_h-multilib~
%patch17 -p0 -b .x86_64-va_start~
%patch18 -p0 -b .pr37189~
+%patch19 -p0 -b .altivec-tests~
+%patch20 -p0 -b .libtool-no-rpath~
tar xzf %{SOURCE4}
@@ -1702,6 +1706,12 @@ fi
%doc rpm.doc/changelogs/libmudflap/ChangeLog*
%changelog
+* Sat Sep 6 2008 Jakub Jelinek <jakub@redhat.com> 4.3.2-3
+- don't run tests that require Altivec hw on non-Altivec powerpcs
+- make sure none of libgcj binaries/libraries contains /usr/%{lib} in
+ RPATH
+- fix up BuildRoot
+
* Fri Sep 5 2008 Jakub Jelinek <jakub@redhat.com> 4.3.2-2
- update from gcc-4_3-branch
- PRs c++/37348, c/37261, fortran/36371, fortran/37193, middle-end/36449,
^ permalink raw reply related [flat|nested] 2+ messages in thread* [rpms/gcc] rhel-f41-base: 4.3.2-3
@ 2026-06-29 12:23 Jakub Jelinek
0 siblings, 0 replies; 2+ messages in thread
From: Jakub Jelinek @ 2026-06-29 12:23 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/gcc
Branch : rhel-f41-base
Commit : 34352b072b692c8499749b627993c21d5dab8eb1
Author : Jakub Jelinek <jakub@fedoraproject.org>
Date : 2008-09-05T22:45:28+00:00
Stats : +29/-2 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/gcc/c/34352b072b692c8499749b627993c21d5dab8eb1?branch=rhel-f41-base
Log:
4.3.2-3
---
diff --git a/gcc43-altivec-tests.patch b/gcc43-altivec-tests.patch
index 010b8d8..0b7a456 100644
--- a/gcc43-altivec-tests.patch
+++ b/gcc43-altivec-tests.patch
@@ -37,6 +37,6 @@
@@ -1,4 +1,4 @@
-/* { dg-do run { target { powerpc*-*-* && powerpc_altivec_ok } } }} */
+/* { dg-do run { target { powerpc*-*-* && vmx_hw } } }} */
- /* { dg-options "-O2 -funroll-loops -ffast-math -fvariable-expansion-in-unroller -maltivec -fdump-rtl-loop2" } */
+ /* { dg-options "-O2 -funroll-loops -ffast-math -fvariable-expansion-in-unroller -maltivec -dL" } */
#include "altivec.h"
diff --git a/gcc43-libtool-no-rpath.patch b/gcc43-libtool-no-rpath.patch
new file mode 100644
index 0000000..466c661
--- /dev/null
+++ b/gcc43-libtool-no-rpath.patch
@@ -0,0 +1,27 @@
+libtool sucks.
+--- ltmain.sh.jj 2007-12-07 14:53:21.000000000 +0100
++++ ltmain.sh 2008-09-05 21:51:48.000000000 +0200
+@@ -5394,6 +5394,7 @@ EOF
+ rpath="$finalize_rpath"
+ test "$mode" != relink && rpath="$compile_rpath$rpath"
+ for libdir in $rpath; do
++ case "$libdir" in /usr/lib|/usr/lib64|/usr/lib/../lib|/usr/lib/../lib64) continue;; esac
+ if test -n "$hardcode_libdir_flag_spec"; then
+ if test -n "$hardcode_libdir_separator"; then
+ if test -z "$hardcode_libdirs"; then
+@@ -6071,6 +6072,7 @@ EOF
+ rpath=
+ hardcode_libdirs=
+ for libdir in $compile_rpath $finalize_rpath; do
++ case "$libdir" in /usr/lib|/usr/lib64|/usr/lib/../lib|/usr/lib/../lib64) continue;; esac
+ if test -n "$hardcode_libdir_flag_spec"; then
+ if test -n "$hardcode_libdir_separator"; then
+ if test -z "$hardcode_libdirs"; then
+@@ -6120,6 +6122,7 @@ EOF
+ rpath=
+ hardcode_libdirs=
+ for libdir in $finalize_rpath; do
++ case "$libdir" in /usr/lib|/usr/lib64|/usr/lib/../lib|/usr/lib/../lib64) continue;; esac
+ if test -n "$hardcode_libdir_flag_spec"; then
+ if test -n "$hardcode_libdir_separator"; then
+ if test -z "$hardcode_libdirs"; then
diff --git a/gcc43.spec b/gcc43.spec
index 68afc2c..d63f377 100644
--- a/gcc43.spec
+++ b/gcc43.spec
@@ -3,7 +3,7 @@
%define gcc_version 4.3.2
# Note, gcc_release must be integer, if you want to add suffixes to
# %{release}, append them after %{gcc_release} on Release: line.
-%define gcc_release 2
+%define gcc_release 3
%define _unpackaged_files_terminate_build 0
%define multilib_64_archs sparc64 ppc64 s390x x86_64
%define include_gappletviewer 1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-06-29 12:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-29 12:23 [rpms/gcc] rhel-f41-base: 4.3.2-3 Jakub Jelinek
2026-06-29 12:23 Jakub Jelinek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox