Gentoo Archives: gentoo-commits

From: "Ryan Hill (rhill)" <rhill@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/patchsets/gcc/4.9.0/uclibc: 90_all_100-uclibc-conf.patch 90_all_301-missing-execinfo_h.patch 90_all_302-c99-snprintf.patch
Date: Thu, 01 May 2014 05:14:30
Message-Id: 20140501051426.3B34E2004C@flycatcher.gentoo.org
1 rhill 14/05/01 05:14:26
2
3 Added: 90_all_100-uclibc-conf.patch
4 90_all_301-missing-execinfo_h.patch
5 90_all_302-c99-snprintf.patch
6 Log:
7 Add patchset.
8
9 Revision Changes Path
10 1.1 src/patchsets/gcc/4.9.0/uclibc/90_all_100-uclibc-conf.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.9.0/uclibc/90_all_100-uclibc-conf.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.9.0/uclibc/90_all_100-uclibc-conf.patch?rev=1.1&content-type=text/plain
14
15 Index: 90_all_100-uclibc-conf.patch
16 ===================================================================
17 --- gcc/gcc/config/--- gcc/contrib/regression/objs-gcc.sh
18 +++ gcc/contrib/regression/objs-gcc.sh
19 @@ -105,6 +105,10 @@
20 then
21 make all-gdb all-dejagnu all-ld || exit 1
22 make install-gdb install-dejagnu install-ld || exit 1
23 +elif [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-uclibc ]
24 + then
25 + make all-gdb all-dejagnu all-ld || exit 1
26 + make install-gdb install-dejagnu install-ld || exit 1
27 elif [ $H_REAL_TARGET = $H_REAL_HOST ] ; then
28 make bootstrap || exit 1
29 make install || exit 1
30 --- gcc/libjava/classpath/ltconfig
31 +++ gcc/libjava/classpath/ltconfig
32 @@ -603,7 +603,7 @@
33
34 # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
35 case $host_os in
36 -linux-gnu*) ;;
37 +linux-gnu*|linux-uclibc*) ;;
38 linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
39 esac
40
41 @@ -1251,7 +1251,7 @@
42 ;;
43
44 # This must be Linux ELF.
45 -linux-gnu*)
46 +linux*)
47 version_type=linux
48 need_lib_prefix=no
49 need_version=no
50
51
52
53 1.1 src/patchsets/gcc/4.9.0/uclibc/90_all_301-missing-execinfo_h.patch
54
55 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.9.0/uclibc/90_all_301-missing-execinfo_h.patch?rev=1.1&view=markup
56 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.9.0/uclibc/90_all_301-missing-execinfo_h.patch?rev=1.1&content-type=text/plain
57
58 Index: 90_all_301-missing-execinfo_h.patch
59 ===================================================================
60 --- gcc-4.0.0/boehm-gc/include/gc.h-orig 2005-04-28 22:28:57.000000000 -0500
61 +++ gcc-4.0.0/boehm-gc/include/gc.h 2005-04-28 22:30:38.000000000 -0500
62 @@ -500,7 +500,7 @@
63 #ifdef __linux__
64 # include <features.h>
65 # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \
66 - && !defined(__ia64__)
67 + && !defined(__ia64__) && !defined(__UCLIBC__)
68 # ifndef GC_HAVE_BUILTIN_BACKTRACE
69 # define GC_HAVE_BUILTIN_BACKTRACE
70 # endif
71
72
73
74 1.1 src/patchsets/gcc/4.9.0/uclibc/90_all_302-c99-snprintf.patch
75
76 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.9.0/uclibc/90_all_302-c99-snprintf.patch?rev=1.1&view=markup
77 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.9.0/uclibc/90_all_302-c99-snprintf.patch?rev=1.1&content-type=text/plain
78
79 Index: 90_all_302-c99-snprintf.patch
80 ===================================================================
81 Index: gcc-4.3.0/libstdc++-v3/include/c_global/cstdio
82 ===================================================================
83 --- gcc-4.3.0/libstdc++-v3/include/c_global/cstdio (revision 129202)
84 +++ gcc-4.3.0/libstdc++-v3/include/c_global/cstdio (working copy)
85 @@ -144,7 +144,7 @@
86
87 _GLIBCXX_END_NAMESPACE
88
89 -#if _GLIBCXX_USE_C99
90 +#if _GLIBCXX_USE_C99 || defined __UCLIBC__
91
92 #undef snprintf
93 #undef vfscanf