1 |
vapier 09/12/03 03:28:37 |
2 |
|
3 |
Modified: 6026_all_alpha-fix-rtld-fPIC.patch README.history |
4 |
Added: 1120_all_glibc-2.11-longjmp-chk-fallback.patch |
5 |
6023_all_alpha-fcntl-updates.patch |
6 |
6024_all_alpha-settime-typo.patch |
7 |
Log: |
8 |
get alpha building |
9 |
|
10 |
Revision Changes Path |
11 |
1.2 src/patchsets/glibc/2.11/6026_all_alpha-fix-rtld-fPIC.patch |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/glibc/2.11/6026_all_alpha-fix-rtld-fPIC.patch?rev=1.2&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/glibc/2.11/6026_all_alpha-fix-rtld-fPIC.patch?rev=1.2&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/glibc/2.11/6026_all_alpha-fix-rtld-fPIC.patch?r1=1.1&r2=1.2 |
16 |
|
17 |
Index: 6026_all_alpha-fix-rtld-fPIC.patch |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo/src/patchsets/glibc/2.11/6026_all_alpha-fix-rtld-fPIC.patch,v |
20 |
retrieving revision 1.1 |
21 |
retrieving revision 1.2 |
22 |
diff -u -r1.1 -r1.2 |
23 |
--- 6026_all_alpha-fix-rtld-fPIC.patch 2 Dec 2009 02:38:23 -0000 1.1 |
24 |
+++ 6026_all_alpha-fix-rtld-fPIC.patch 3 Dec 2009 03:28:36 -0000 1.2 |
25 |
@@ -1,20 +1,17 @@ |
26 |
2009-05-26 Aurelien Jarno <aurelien@×××××××.net> |
27 |
|
28 |
* sysdeps/alpha/Makefile (CFLAGS-rtld.c): add $(PIC-ccflag). |
29 |
- |
30 |
---- |
31 |
- ports/sysdeps/alpha/Makefile | 3 ++- |
32 |
- 1 file changed, 2 insertions(+), 1 deletion(-) |
33 |
+ (CFLAGS-dl-close.c): Likewise. |
34 |
|
35 |
--- ports/sysdeps/alpha/Makefile |
36 |
+++ ports/sysdeps/alpha/Makefile |
37 |
-@@ -35,7 +35,8 @@ |
38 |
- |
39 |
+@@ -35,6 +35,9 @@ |
40 |
ifeq ($(subdir),elf) |
41 |
# The ld.so startup code cannot use literals until it self-relocates. |
42 |
--CFLAGS-rtld.c = -mbuild-constants |
43 |
+ CFLAGS-rtld.c = -mbuild-constants |
44 |
+# It uses more than 64k for the small data area. |
45 |
-+CFLAGS-rtld.c = -mbuild-constants $(PIC-ccflag) |
46 |
++CFLAGS-rtld.c += $(PIC-ccflag) |
47 |
++CFLAGS-dl-close.c = $(PIC-ccflag) |
48 |
endif |
49 |
|
50 |
# Build everything with full IEEE math support, and with dynamic rounding; |
51 |
|
52 |
|
53 |
|
54 |
1.10 src/patchsets/glibc/2.11/README.history |
55 |
|
56 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/glibc/2.11/README.history?rev=1.10&view=markup |
57 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/glibc/2.11/README.history?rev=1.10&content-type=text/plain |
58 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/glibc/2.11/README.history?r1=1.9&r2=1.10 |
59 |
|
60 |
Index: README.history |
61 |
=================================================================== |
62 |
RCS file: /var/cvsroot/gentoo/src/patchsets/glibc/2.11/README.history,v |
63 |
retrieving revision 1.9 |
64 |
retrieving revision 1.10 |
65 |
diff -u -r1.9 -r1.10 |
66 |
--- README.history 2 Dec 2009 02:38:23 -0000 1.9 |
67 |
+++ README.history 3 Dec 2009 03:28:36 -0000 1.10 |
68 |
@@ -1,3 +1,9 @@ |
69 |
+5 [pending] |
70 |
+ + 1120_all_glibc-2.11-longjmp-chk-fallback.patch |
71 |
+ + 6023_all_alpha-fcntl-updates.patch |
72 |
+ + 6024_all_alpha-settime-typo.patch |
73 |
+ U 6026_all_alpha-fix-rtld-fPIC.patch |
74 |
+ |
75 |
4 01.12.2009 |
76 |
- 0040_all_glibc-i586-chk.patch |
77 |
+ 0044_all_glibc-2.10-resolv-nameserver-fallback.patch |
78 |
|
79 |
|
80 |
|
81 |
1.1 src/patchsets/glibc/2.11/1120_all_glibc-2.11-longjmp-chk-fallback.patch |
82 |
|
83 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/glibc/2.11/1120_all_glibc-2.11-longjmp-chk-fallback.patch?rev=1.1&view=markup |
84 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/glibc/2.11/1120_all_glibc-2.11-longjmp-chk-fallback.patch?rev=1.1&content-type=text/plain |
85 |
|
86 |
Index: 1120_all_glibc-2.11-longjmp-chk-fallback.patch |
87 |
=================================================================== |
88 |
--- debug/____longjmp_chk.c |
89 |
+++ debug/____longjmp_chk.c |
90 |
@@ -0,0 +1,7 @@ |
91 |
+/* Stub to make building happy -- no fortify checks, but |
92 |
+ it at least does the correct thing (longjmps). */ |
93 |
+#include <setjmp.h> |
94 |
+void ____longjmp_chk (__jmp_buf env, int val) |
95 |
+{ |
96 |
+ return __longjmp (env, val); |
97 |
+} |
98 |
|
99 |
|
100 |
|
101 |
1.1 src/patchsets/glibc/2.11/6023_all_alpha-fcntl-updates.patch |
102 |
|
103 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/glibc/2.11/6023_all_alpha-fcntl-updates.patch?rev=1.1&view=markup |
104 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/glibc/2.11/6023_all_alpha-fcntl-updates.patch?rev=1.1&content-type=text/plain |
105 |
|
106 |
Index: 6023_all_alpha-fcntl-updates.patch |
107 |
=================================================================== |
108 |
--- ports/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h |
109 |
+++ ports/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h |
110 |
@@ -87,6 +87,8 @@ |
111 |
#ifdef __USE_GNU |
112 |
# define F_SETSIG 10 /* Set number of signal to be sent. */ |
113 |
# define F_GETSIG 11 /* Get number of signal to be sent. */ |
114 |
+# define F_SETOWN_EX 15 /* Get owner (thread receiving SIGIO). */ |
115 |
+# define F_GETOWN_EX 16 /* Set owner (thread receiving SIGIO). */ |
116 |
#endif |
117 |
|
118 |
#ifdef __USE_GNU |
119 |
@@ -157,6 +159,23 @@ struct flock64 |
120 |
}; |
121 |
#endif |
122 |
|
123 |
+#ifdef __USE_GNU |
124 |
+/* Owner types. */ |
125 |
+enum __pid_type |
126 |
+ { |
127 |
+ F_OWNER_TID = 0, /* Kernel thread. */ |
128 |
+ F_OWNER_PID, /* Process. */ |
129 |
+ F_OWNER_PGRP, /* Process group. */ |
130 |
+ F_OWNER_GID = F_OWNER_PGRP /* Alternative, obsolete name. */ |
131 |
+ }; |
132 |
+ |
133 |
+/* Structure to use with F_GETOWN_EX and F_SETOWN_EX. */ |
134 |
+struct f_owner_ex |
135 |
+ { |
136 |
+ enum __pid_type type; /* Owner type of ID. */ |
137 |
+ __pid_t pid; /* ID of owner. */ |
138 |
+ }; |
139 |
+#endif |
140 |
|
141 |
/* Define some more compatibility macros to be backward compatible with |
142 |
BSD systems which did not managed to hide these kernel macros. */ |
143 |
|
144 |
|
145 |
|
146 |
1.1 src/patchsets/glibc/2.11/6024_all_alpha-settime-typo.patch |
147 |
|
148 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/glibc/2.11/6024_all_alpha-settime-typo.patch?rev=1.1&view=markup |
149 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/glibc/2.11/6024_all_alpha-settime-typo.patch?rev=1.1&content-type=text/plain |
150 |
|
151 |
Index: 6024_all_alpha-settime-typo.patch |
152 |
=================================================================== |
153 |
--- ports/sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c |
154 |
+++ ports/sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c |
155 |
@@ -1 +1 @@ |
156 |
-#include <nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c> |
157 |
+#include <nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c> |