Mon, 01 Jul 2013 19:50:52 +0200
Update to new vendor software version and hope for the best!
1 Index: config.guess
2 --- config.guess.orig 2011-06-06 12:34:35.000000000 +0200
3 +++ config.guess 2012-07-21 09:15:05.000000000 +0200
4 @@ -190,7 +190,7 @@
5 release='-gnu'
6 ;;
7 *)
8 - release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
9 + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*//'`
10 ;;
11 esac
12 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
13 Index: gcc/config/i386/sol2.h
14 --- gcc/config/i386/sol2.h.orig 2011-08-01 14:14:21.000000000 +0200
15 +++ gcc/config/i386/sol2.h 2012-07-21 09:15:05.000000000 +0200
16 @@ -99,6 +99,9 @@
17 #undef ASM_QUAD
18 #endif
20 +#undef DEFAULT_PCC_STRUCT_RETURN
21 +#define DEFAULT_PCC_STRUCT_RETURN 1
22 +
23 /* The Solaris assembler wants a .local for non-exported aliases. */
24 #define ASM_OUTPUT_DEF_FROM_DECLS(FILE, DECL, TARGET) \
25 do { \
26 Index: gcc/config/sol2-bi.h
27 --- gcc/config/sol2-bi.h.orig 2011-07-07 11:24:16.000000000 +0200
28 +++ gcc/config/sol2-bi.h 2012-07-21 09:31:52.000000000 +0200
29 @@ -75,7 +75,7 @@
30 %{YP,*} \
31 %{R*} \
32 %{!YP,*:%{p|pg:-Y P,%R/usr/lib/libp/" ARCH64_SUBDIR ":%R/lib/" ARCH64_SUBDIR ":%R/usr/lib/" ARCH64_SUBDIR "} \
33 - %{!p:%{!pg:-Y P,%R/lib/" ARCH64_SUBDIR ":%R/usr/lib/" ARCH64_SUBDIR "}}}"
34 + %{!p:%{!pg:-Y P,%R/lib/" ARCH64_SUBDIR ":%R/usr/lib/" ARCH64_SUBDIR "}} -rpath-link %R/lib/" ARCH64_SUBDIR ":%R/usr/lib/" ARCH64_SUBDIR "}"
36 #undef LINK_ARCH64_SPEC
37 #ifndef USE_GLD
38 Index: gcc/config/sol2.h
39 --- gcc/config/sol2.h.orig 2011-08-18 16:47:46.000000000 +0200
40 +++ gcc/config/sol2.h 2012-07-21 09:15:05.000000000 +0200
41 @@ -176,8 +176,8 @@
42 "%{h*} %{v:-V} \
43 %{!shared:%{!static:%{rdynamic: " RDYNAMIC_SPEC "}}} \
44 %{static:-dn -Bstatic} \
45 - %{shared:-G -dy %{!mimpure-text:-z text}} \
46 - %{symbolic:-Bsymbolic -G -dy -z text} \
47 + %{shared:-G -dy} \
48 + %{symbolic:-Bsymbolic -G -dy} \
49 %(link_arch) \
50 %{Qy:} %{!Qn:-Qy}"
52 Index: gcc/system.h
53 --- gcc/system.h.orig 2012-02-17 00:16:28.000000000 +0100
54 +++ gcc/system.h 2012-07-21 09:15:05.000000000 +0200
55 @@ -456,10 +456,6 @@
56 }
57 #endif
59 -#ifdef HAVE_MALLOC_H
60 -#include <malloc.h>
61 -#endif
62 -
63 #ifdef __cplusplus
64 extern "C" {
65 #endif
66 Index: libcpp/charset.c
67 --- libcpp/charset.c.orig 2011-01-03 21:52:22.000000000 +0100
68 +++ libcpp/charset.c 2012-07-21 09:15:05.000000000 +0200
69 @@ -74,6 +74,7 @@
70 #define iconv_open(x, y) (errno = EINVAL, (iconv_t)-1)
71 #define iconv(a,b,c,d,e) (errno = EINVAL, (size_t)-1)
72 #define iconv_close(x) (void)0
73 +#undef ICONV_CONST
74 #define ICONV_CONST
75 #endif
77 Index: libcpp/internal.h
78 --- libcpp/internal.h.orig 2012-01-09 09:48:43.000000000 +0100
79 +++ libcpp/internal.h 2012-07-21 09:15:05.000000000 +0200
80 @@ -28,6 +28,7 @@
81 #if HAVE_ICONV
82 #include <iconv.h>
83 #else
84 +#undef HAVE_ICONV
85 #define HAVE_ICONV 0
86 typedef int iconv_t; /* dummy */
87 #endif