Browse Source

Clifford Wolf:

added a workaround for an gcc33 ICE in building glibc for the x86_64
architecture


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2464 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Clifford Wolf 21 years ago
parent
commit
b56a21795b
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      package/base/glibc23/gcc33-hotfix.patch

+ 12
- 0
package/base/glibc23/gcc33-hotfix.patch

@ -21,6 +21,7 @@
# --- ROCK-COPYRIGHT-NOTE-END ---
Rene Rebe: This fixes compilation with gcc-3.3
Clifford: And the soinit.c thing is a workaroung for an x86_64 ICE
--- glibc-2.3.2/stdio-common/sscanf.c 2002-08-10 20:09:08.000000000 +0200
+++ glibc-2.3.2/stdio-common/sscanf.c 2003-05-13 09:46:19.000000000 +0200
@ -39,3 +40,14 @@ Rene Rebe: This fixes compilation with gcc-3.3
va_start (arg, format);
done = __vsscanf (s, format, arg);
--- ./elf/soinit.c.orig Tue Feb 24 15:55:00 2004
+++ ./elf/soinit.c Tue Feb 24 16:31:08 2004
@@ -25,7 +25,7 @@
}
#ifdef HAVE_DWARF2_UNWIND_INFO
-static char __EH_FRAME_BEGIN__[]
+const static char __EH_FRAME_BEGIN__[]
__attribute__ ((section (".eh_frame")))
= { };
# ifdef HAVE_DWARF2_UNWIND_INFO_STATIC

Loading…
Cancel
Save