1 | %global DATE 20100726 |
---|
2 | %global SVNREV 162526 |
---|
3 | ##VINE## change 1 for building gcc from stock tarball |
---|
4 | %global stock_tarball 1 |
---|
5 | |
---|
6 | %global gcc_version 4.4.5 |
---|
7 | %global gcc_release 6%{?_dist_release} |
---|
8 | %global _unpackaged_files_terminate_build 0 |
---|
9 | %global multilib_64_archs sparc64 ppc64 s390x x86_64 |
---|
10 | ##VINE## I only have ppc32 arch machines at the moment... |
---|
11 | %global biarch_on_ppc32 0 |
---|
12 | |
---|
13 | ##VINE## isable ada, java, cloop for Vine |
---|
14 | ##VINE## ifarch %{ix86} x86_64 ia64 ppc ppc64 alpha |
---|
15 | ##VINE## global build_ada 1 |
---|
16 | ##VINE## else |
---|
17 | %global build_ada 0 |
---|
18 | ##VINE## endif |
---|
19 | %global build_java 1 |
---|
20 | %global include_gappletviewer 0 |
---|
21 | ##VINE## ifarch %{sparc} |
---|
22 | %global build_cloog 0 |
---|
23 | ##VINE## else |
---|
24 | ##VINE## global build_cloog 1 |
---|
25 | ##VINE## endif |
---|
26 | %global build_libstdcxx_docs 1 |
---|
27 | # If you don't have already a usable gcc-java and libgcj for your arch, |
---|
28 | # do on some arch which has it rpmbuild -bc --with java_tar gcc41.spec |
---|
29 | # which creates libjava-classes-%{version}-%{release}.tar.bz2 |
---|
30 | # With this then on the new arch do rpmbuild -ba -v --with java_bootstrap gcc41.spec |
---|
31 | %global bootstrap_java %{?_with_java_bootstrap:%{build_java}}%{!?_with_java_bootstrap:0} |
---|
32 | %global build_java_tar %{?_with_java_tar:%{build_java}}%{!?_with_java_tar:0} |
---|
33 | |
---|
34 | %ifarch s390x |
---|
35 | %global multilib_32_arch s390 |
---|
36 | %endif |
---|
37 | %ifarch sparc64 |
---|
38 | %global multilib_32_arch sparcv9 |
---|
39 | %endif |
---|
40 | %ifarch ppc64 |
---|
41 | %global multilib_32_arch ppc |
---|
42 | %endif |
---|
43 | %ifarch x86_64 |
---|
44 | %global multilib_32_arch i686 |
---|
45 | %endif |
---|
46 | |
---|
47 | Summary: GNU Compiler Collection (C, C++, Objective-C, Java, ...) |
---|
48 | Summary(ja): GNU コンパイラコレクション (C, C++, Objective-C, Java, ...) |
---|
49 | Name: gcc |
---|
50 | Version: %{gcc_version} |
---|
51 | Release: %{gcc_release} |
---|
52 | # libgcc, libgfortran, libmudflap, libgomp, libstdc++ and crtstuff have |
---|
53 | # GCC Runtime Exception. |
---|
54 | License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions |
---|
55 | Group: Development/Languages |
---|
56 | %if %{stock_tarball} |
---|
57 | Source0: gcc-%{version}.tar.bz2 |
---|
58 | %else |
---|
59 | # The source for this package was pulled from upstream's vcs. Use the |
---|
60 | # following commands to generate the tarball: |
---|
61 | # svn export svn://gcc.gnu.org/svn/gcc/branches/redhat/gcc-4_4-branch@%{SVNREV} gcc-%{version}-%{DATE} |
---|
62 | # tar cf - gcc-%{version}-%{DATE} | bzip2 -9 > gcc-%{version}-%{DATE}.tar.bz2 |
---|
63 | Source0: gcc-%{version}-%{DATE}.tar.bz2 |
---|
64 | %endif |
---|
65 | Source1: libgcc_post_upgrade.c |
---|
66 | Source2: README.libgcjwebplugin.so |
---|
67 | Source3: protoize.1 |
---|
68 | URL: http://gcc.gnu.org |
---|
69 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
70 | # Need binutils with -pie support >= 2.14.90.0.4-4 |
---|
71 | # Need binutils which can omit dot symbols and overlap .opd on ppc64 >= 2.15.91.0.2-4 |
---|
72 | # Need binutils which handle -msecure-plt on ppc >= 2.16.91.0.2-2 |
---|
73 | # Need binutils which support .weakref >= 2.16.91.0.3-1 |
---|
74 | # Need binutils which support --hash-style=gnu >= 2.17.50.0.2-7 |
---|
75 | # Need binutils which support mffgpr and mftgpr >= 2.17.50.0.2-8 |
---|
76 | # Need binutils which support --build-id >= 2.17.50.0.17-3 |
---|
77 | # Need binutils which support %gnu_unique_object >= 2.19.51.0.14 |
---|
78 | # Need binutils which support .cfi_sections >= 2.19.51.0.14-33 |
---|
79 | BuildRequires: binutils >= 2.19.51.0.14-33 |
---|
80 | # While gcc doesn't include statically linked binaries, during testing |
---|
81 | # -static is used several times. |
---|
82 | BuildRequires: glibc-devel |
---|
83 | BuildRequires: zlib-devel, gettext, dejagnu, bison, flex, texinfo, sharutils |
---|
84 | # For VTA guality testing |
---|
85 | BuildRequires: gdb |
---|
86 | %if %{build_java} |
---|
87 | ##VINE##BuildRequires: /usr/share/java/eclipse-ecj.jar, zip, unzip |
---|
88 | BuildRequires: ecj, zip, unzip |
---|
89 | BuildRequires: fastjar |
---|
90 | %if %{bootstrap_java} |
---|
91 | Source10: libjava-classes-%{version}-%{release}.tar.bz2 |
---|
92 | %else |
---|
93 | BuildRequires: gcc-java >= 4.4.3-6vl6 |
---|
94 | BuildRequires: libgcj >= 4.4.3-6vl6 |
---|
95 | %endif |
---|
96 | %endif |
---|
97 | # Make sure pthread.h doesn't contain __thread tokens |
---|
98 | # Make sure glibc supports stack protector |
---|
99 | # Make sure glibc supports DT_GNU_HASH |
---|
100 | BuildRequires: glibc-devel >= 2.4.90-13 |
---|
101 | BuildRequires: glibc-static |
---|
102 | BuildRequires: elfutils-devel >= 0.72 |
---|
103 | %ifarch x86_64 |
---|
104 | BuildRequires: compat32-glibc-devel |
---|
105 | %endif |
---|
106 | %ifarch ppc ppc64 s390 s390x sparc sparcv9 alpha |
---|
107 | # Make sure glibc supports TFmode long double |
---|
108 | BuildRequires: glibc >= 2.3.90-35 |
---|
109 | %endif |
---|
110 | %if %{biarch_on_ppc32} |
---|
111 | %ifarch %{multilib_64_archs} sparcv9 ppc |
---|
112 | # Ensure glibc{,-devel} is installed for both multilib arches |
---|
113 | BuildRequires: /lib/libc.so.6 /usr/lib/libc.so /lib64/libc.so.6 /usr/lib64/libc.so |
---|
114 | %endif |
---|
115 | %endif |
---|
116 | %if %{build_ada} |
---|
117 | # Ada requires Ada to build |
---|
118 | BuildRequires: gcc-gnat >= 3.1, libgnat >= 3.1 |
---|
119 | %endif |
---|
120 | %ifarch ia64 |
---|
121 | BuildRequires: libunwind >= 0.98 |
---|
122 | %endif |
---|
123 | %if %{build_cloog} |
---|
124 | BuildRequires: ppl >= 0.10, ppl-devel >= 0.10, cloog-ppl >= 0.15, cloog-ppl-devel >= 0.15 |
---|
125 | %endif |
---|
126 | %if %{build_libstdcxx_docs} |
---|
127 | BuildRequires: doxygen |
---|
128 | BuildRequires: graphviz |
---|
129 | %endif |
---|
130 | Requires: gcc-cpp = %{version}-%{release} |
---|
131 | # Need .eh_frame ld optimizations |
---|
132 | # Need proper visibility support |
---|
133 | # Need -pie support |
---|
134 | # Need --as-needed/--no-as-needed support |
---|
135 | # On ppc64, need omit dot symbols support and --non-overlapping-opd |
---|
136 | # Need binutils that owns /usr/bin/c++filt |
---|
137 | # Need binutils that support .weakref |
---|
138 | # Need binutils that supports --hash-style=gnu |
---|
139 | # Need binutils that support mffgpr/mftgpr |
---|
140 | # Need binutils that support --build-id |
---|
141 | # Need binutils that support %gnu_unique_object |
---|
142 | # Need binutils that support .cfi_sections |
---|
143 | Requires: binutils >= 2.19.51.0.14-33 |
---|
144 | # Make sure gdb will understand DW_FORM_strp |
---|
145 | Conflicts: gdb < 5.1-2 |
---|
146 | Requires: glibc-devel >= 2.2.90-12 |
---|
147 | %ifarch ppc ppc64 s390 s390x sparc sparcv9 alpha |
---|
148 | # Make sure glibc supports TFmode long double |
---|
149 | Requires: glibc >= 2.3.90-35 |
---|
150 | %endif |
---|
151 | Requires: libgcc >= %{version}-%{release} |
---|
152 | Requires: libgomp = %{version}-%{release} |
---|
153 | %if !%{build_ada} |
---|
154 | Obsoletes: gcc-gnat < %{version}-%{release} |
---|
155 | Obsoletes: libgnat < %{version}-%{release} |
---|
156 | %endif |
---|
157 | %if %{build_cloog} |
---|
158 | Requires: cloog-ppl >= 0.15 |
---|
159 | %endif |
---|
160 | |
---|
161 | ##VINE##Obsoletes: gcc3 |
---|
162 | Obsoletes: egcs |
---|
163 | %ifarch sparc |
---|
164 | Obsoletes: gcc-sparc32 |
---|
165 | Obsoletes: gcc-c++-sparc32 |
---|
166 | %endif |
---|
167 | %ifarch ppc |
---|
168 | Obsoletes: gcc-ppc32 |
---|
169 | Obsoletes: gcc-c++-ppc32 |
---|
170 | %endif |
---|
171 | Obsoletes: gcc-chill |
---|
172 | %ifarch sparc sparc64 |
---|
173 | Obsoletes: egcs64 |
---|
174 | %endif |
---|
175 | Obsoletes: gcc34 |
---|
176 | Obsoletes: gcc35 |
---|
177 | Obsoletes: gcc4 |
---|
178 | Provides: gcc4 = %{version}-%{release} |
---|
179 | Requires(post): /sbin/update-alternatives |
---|
180 | Requires(postun): /sbin/update-alternatives |
---|
181 | AutoReq: true |
---|
182 | |
---|
183 | Patch0: gcc44-hack.patch |
---|
184 | Patch1: gcc44-build-id.patch |
---|
185 | Patch2: gcc44-c++-builtin-redecl.patch |
---|
186 | Patch3: gcc44-ia64-libunwind.patch |
---|
187 | Patch4: gcc44-java-nomulti.patch |
---|
188 | Patch5: gcc44-ppc32-retaddr.patch |
---|
189 | Patch6: gcc44-pr33763.patch |
---|
190 | Patch7: gcc44-rh330771.patch |
---|
191 | Patch8: gcc44-i386-libgomp.patch |
---|
192 | Patch9: gcc44-sparc-config-detection.patch |
---|
193 | Patch10: gcc44-libgomp-omp_h-multilib.patch |
---|
194 | Patch11: gcc44-libtool-no-rpath.patch |
---|
195 | Patch12: gcc44-cloog-dl.patch |
---|
196 | Patch13: gcc44-unwind-debug-hook.patch |
---|
197 | Patch14: gcc445-pr38757.patch |
---|
198 | Patch15: gcc44-libstdc++-docs.patch |
---|
199 | Patch16: gcc445-ppc64-aixdesc.patch |
---|
200 | Patch17: gcc44-no-add-needed.patch |
---|
201 | Patch18: gcc445-pr44542.patch |
---|
202 | Patch19: gcc44-rh610785.patch |
---|
203 | Patch20: gcc44-rh533181.patch |
---|
204 | |
---|
205 | # On ARM EABI systems, we do want -gnueabi to be part of the |
---|
206 | # target triple. |
---|
207 | %ifnarch %{arm} |
---|
208 | %global _gnu %{nil} |
---|
209 | %endif |
---|
210 | %ifarch sparcv9 |
---|
211 | %global gcc_target_platform sparc64-%{_vendor}-%{_target_os} |
---|
212 | %endif |
---|
213 | %ifarch ppc |
---|
214 | %if %{biarch_on_ppc32} |
---|
215 | %global gcc_target_platform ppc64-%{_vendor}-%{_target_os} |
---|
216 | %else |
---|
217 | %global gcc_target_platform %{_target_platform} |
---|
218 | %endif |
---|
219 | %endif |
---|
220 | %ifnarch sparcv9 ppc |
---|
221 | %global gcc_target_platform %{_target_platform} |
---|
222 | %endif |
---|
223 | |
---|
224 | ################################################# gcc |
---|
225 | |
---|
226 | %description |
---|
227 | The gcc package contains the GNU Compiler Collection version %{version}. |
---|
228 | You'll need this package in order to compile C code. |
---|
229 | |
---|
230 | %description -l ja |
---|
231 | gcc パッケージには、GNU Compiler Collection バージョン %{version} が |
---|
232 | 含まれています。C のソースコードをコンパイルするにはこのパッケージが |
---|
233 | 必要となります。 |
---|
234 | |
---|
235 | ################################################# libgcc |
---|
236 | |
---|
237 | %package -n libgcc |
---|
238 | Summary: GCC version %{version} shared support library |
---|
239 | Summary(ja): GCC バージョン %{version} 共有サポートライブラリ |
---|
240 | Group: System Environment/Libraries |
---|
241 | Autoreq: false |
---|
242 | |
---|
243 | %description -n libgcc |
---|
244 | This package contains GCC shared support library which is needed |
---|
245 | e.g. for exception handling support. |
---|
246 | |
---|
247 | %description -n libgcc -l ja |
---|
248 | このパッケージには GCC 共有サポートライブラリが含まれます。 |
---|
249 | これは例えば例外ハンドリングサポートに必要です。 |
---|
250 | |
---|
251 | ################################################# c++ |
---|
252 | |
---|
253 | %package c++ |
---|
254 | Summary: C++ support for GCC |
---|
255 | Summary(ja): GNU コンパイラ集 - C++ サポート |
---|
256 | Group: Development/Languages |
---|
257 | Requires: gcc = %{version}-%{release} |
---|
258 | Requires: libstdc++ = %{version}-%{release} |
---|
259 | Requires: libstdc++-devel = %{version}-%{release} |
---|
260 | ##VINE##Obsoletes: gcc3-c++ |
---|
261 | Obsoletes: gcc34-c++ |
---|
262 | Obsoletes: gcc35-c++ |
---|
263 | Obsoletes: gcc4-c++ |
---|
264 | Provides: gcc4-c++ = %{version}-%{release} |
---|
265 | Requires(post): /sbin/update-alternatives |
---|
266 | Requires(postun): /sbin/update-alternatives |
---|
267 | Autoreq: true |
---|
268 | |
---|
269 | %description c++ |
---|
270 | This package adds C++ support to the GNU Compiler Collection. |
---|
271 | It includes support for most of the current C++ specification, |
---|
272 | including templates and exception handling. |
---|
273 | |
---|
274 | %description c++ -l ja |
---|
275 | このパッケージは GNU Compiler Collection に C++ サポートを追加します。 |
---|
276 | テンプレートと例外ハンドリングサポートを含む、現在の C++ 仕様の多くを |
---|
277 | サポートします。 |
---|
278 | |
---|
279 | ################################################# libstdc++ |
---|
280 | |
---|
281 | %package -n libstdc++ |
---|
282 | Summary: GNU Standard C++ Library |
---|
283 | Summary(ja): GNU 標準 C++ ライブラリ |
---|
284 | Group: System Environment/Libraries |
---|
285 | ##VINE##Obsoletes: libstdc++3 |
---|
286 | Obsoletes: libstdc++34 |
---|
287 | Provides: libstdc++34 = %{version}-%{release} |
---|
288 | Autoreq: true |
---|
289 | |
---|
290 | %description -n libstdc++ |
---|
291 | The libstdc++ package contains a rewritten standard compliant GCC Standard |
---|
292 | C++ Library. |
---|
293 | |
---|
294 | %description -n libstdc++ -l ja |
---|
295 | libstdc++ パッケージには、標準準拠に書き直された |
---|
296 | GCC 標準 C++ ライブラリが収録されています。 |
---|
297 | |
---|
298 | ################################################# libstdc++-devel |
---|
299 | |
---|
300 | %package -n libstdc++-devel |
---|
301 | Summary: Header files and libraries for C++ development |
---|
302 | Summary(ja): C++ 開発用ヘッダ/ライブラリ |
---|
303 | Group: Development/Libraries |
---|
304 | Requires: libstdc++ = %{version}-%{release} |
---|
305 | Requires: %{_prefix}/%{_lib}/libstdc++.so.6 |
---|
306 | ##VINE##Obsoletes: libstdc++3-devel |
---|
307 | Obsoletes: libstdc++34-devel |
---|
308 | Provides: libstdc++34-devel = %{version}-%{release} |
---|
309 | Autoreq: true |
---|
310 | |
---|
311 | %description -n libstdc++-devel |
---|
312 | This is the GNU implementation of the standard C++ libraries. This |
---|
313 | package includes the header files and libraries needed for C++ |
---|
314 | development. This includes rewritten implementation of STL. |
---|
315 | |
---|
316 | %description -n libstdc++-devel |
---|
317 | これは標準 C++ ライブラリの GNU 実装です。 |
---|
318 | このパッケージには C++ 開発に必要なヘッダファイルとライブラリが |
---|
319 | 収録されています。これには STL の実装も含まれます。 |
---|
320 | |
---|
321 | ################################################# libstdc++-devel |
---|
322 | |
---|
323 | %package -n libstdc++-docs |
---|
324 | Summary: Documentation for the GNU standard C++ library |
---|
325 | Summary(ja): GNU 標準 C++ ライブラリのドキュメント |
---|
326 | Group: Development/Documentation |
---|
327 | Autoreq: true |
---|
328 | |
---|
329 | %description -n libstdc++-docs |
---|
330 | Manual, doxygen generated API information and Frequently Asked Questions |
---|
331 | for the GNU standard C++ library. |
---|
332 | |
---|
333 | ################################################# objc |
---|
334 | |
---|
335 | |
---|
336 | %package objc |
---|
337 | Summary: Objective-C support for GCC |
---|
338 | Summary(ja): GNU コンパイラ集 - Objective C サポート |
---|
339 | Group: Development/Languages |
---|
340 | Requires: gcc = %{version}-%{release} |
---|
341 | Requires: libobjc = %{version}-%{release} |
---|
342 | ##VINE##Obsoletes: gcc3-objc |
---|
343 | Autoreq: true |
---|
344 | |
---|
345 | %description objc |
---|
346 | gcc-objc provides Objective-C support for the GCC. |
---|
347 | Mainly used on systems running NeXTSTEP, Objective-C is an |
---|
348 | object-oriented derivative of the C language. |
---|
349 | |
---|
350 | %description objc -l ja |
---|
351 | gcc-objc パッケージは GCC に Objective-C サポートを追加します。 |
---|
352 | Objective-C は C 言語から派生したオブジェクト指向言語で、 |
---|
353 | 主に NeXTSTEP システムで使われてきました。 |
---|
354 | |
---|
355 | ################################################# objc++ |
---|
356 | |
---|
357 | %package objc++ |
---|
358 | Summary: Objective-C++ support for GCC |
---|
359 | Summary(ja): GNU コンパイラ集 - Objective C++ サポート |
---|
360 | Group: Development/Languages |
---|
361 | Requires: gcc-c++ = %{version}-%{release} |
---|
362 | Requires: gcc-objc = %{version}-%{release} |
---|
363 | Autoreq: true |
---|
364 | |
---|
365 | %description objc++ |
---|
366 | gcc-objc++ package provides Objective-C++ support for the GCC. |
---|
367 | |
---|
368 | %description objc++ -l ja |
---|
369 | gcc-objc++ パッケージは GCC に Objective-C++ サポートを追加します。 |
---|
370 | |
---|
371 | ################################################# libobjc |
---|
372 | |
---|
373 | %package -n libobjc |
---|
374 | Summary: Objective-C runtime |
---|
375 | Summary(ja): Objective C ランタイムライブラリ |
---|
376 | Group: System Environment/Libraries |
---|
377 | Autoreq: true |
---|
378 | |
---|
379 | %description -n libobjc |
---|
380 | This package contains Objective-C shared library which is needed to run |
---|
381 | Objective-C dynamically linked programs. |
---|
382 | |
---|
383 | %description -n libobjc -l ja |
---|
384 | このパッケージには Objective-C 共有ライブラリが収められています。 |
---|
385 | これは Objective-C にダイナミックリンクされたプログラムの実行に必要と |
---|
386 | なります。 |
---|
387 | |
---|
388 | ################################################# gfortran |
---|
389 | |
---|
390 | %package gfortran |
---|
391 | Summary: Fortran support |
---|
392 | Summary(ja): GNU コンパイラ集 - Fortran サポート |
---|
393 | Group: Development/Languages |
---|
394 | Requires: gcc = %{version}-%{release} |
---|
395 | Requires: libgfortran = %{version}-%{release} |
---|
396 | BuildRequires: gmp-devel >= 4.2.2-3vl2 |
---|
397 | BuildRequires: mpfr-devel >= 2.2.1 |
---|
398 | ##VINE##Obsoletes: gcc3-g77 |
---|
399 | ##VINE##Obsoletes: gcc-g77 |
---|
400 | Obsoletes: gcc4-gfortran |
---|
401 | Requires(post): /sbin/update-alternatives |
---|
402 | Requires(postun): /sbin/update-alternatives |
---|
403 | Autoreq: true |
---|
404 | |
---|
405 | %description gfortran |
---|
406 | The gcc-gfortran package provides support for compiling Fortran |
---|
407 | programs with the GNU Compiler Collection. |
---|
408 | |
---|
409 | %description gfortran -l ja |
---|
410 | gcc-gfortran パッケージは GNU Compiler Collection に |
---|
411 | Fortran プログラムをコンパイルする機能を追加するものです。 |
---|
412 | |
---|
413 | ################################################# libgfortran |
---|
414 | |
---|
415 | %package -n libgfortran |
---|
416 | Summary: Fortran runtime |
---|
417 | Summary(ja): Fortran ランタイム |
---|
418 | Group: System Environment/Libraries |
---|
419 | ##VINE##Obsoletes: libf2c |
---|
420 | Autoreq: true |
---|
421 | |
---|
422 | %description -n libgfortran |
---|
423 | This package contains Fortran shared library which is needed to run |
---|
424 | Fortran 95 dynamically linked programs. |
---|
425 | |
---|
426 | %description -n libgfortran -l ja |
---|
427 | このパッケージには Fortran 共有ライブラリが収められています。 |
---|
428 | これは Fortran にダイナミックリンクされたプログラムの実行に |
---|
429 | 必要となります。 |
---|
430 | |
---|
431 | ################################################# libgomp |
---|
432 | |
---|
433 | %package -n libgomp |
---|
434 | Summary: GCC OpenMP v3.0 shared support library |
---|
435 | Summary(ja): GCC OpenMP v3.0 共有ライブラリ |
---|
436 | Group: System Environment/Libraries |
---|
437 | |
---|
438 | %description -n libgomp |
---|
439 | This package contains GCC shared support library which is needed |
---|
440 | for OpenMP v3.0 support. |
---|
441 | |
---|
442 | %description -n libgomp -l ja |
---|
443 | このパッケージには OpenMP v3.0 をサポートする GCC 共有ライブラリが |
---|
444 | 収められています。 |
---|
445 | |
---|
446 | ################################################# libmudflap |
---|
447 | |
---|
448 | %package -n libmudflap |
---|
449 | Summary: GCC mudflap shared support library |
---|
450 | Summary(ja): GCC mudflap 共有ライブラリ |
---|
451 | Group: System Environment/Libraries |
---|
452 | |
---|
453 | %description -n libmudflap |
---|
454 | This package contains GCC shared support library which is needed |
---|
455 | for mudflap support. |
---|
456 | |
---|
457 | %description -n libmudflap -l ja |
---|
458 | このパッケージには mudflap をサポートする GCC 共有ライブラリが |
---|
459 | 収められています。 |
---|
460 | |
---|
461 | ################################################# libmudflap-devel |
---|
462 | |
---|
463 | %package -n libmudflap-devel |
---|
464 | Summary: GCC mudflap support |
---|
465 | Summary(ja): GCC mudflap サポート |
---|
466 | Group: Development/Libraries |
---|
467 | Requires: libmudflap = %{version}-%{release} |
---|
468 | Requires: gcc = %{version}-%{release} |
---|
469 | |
---|
470 | %description -n libmudflap-devel |
---|
471 | This package contains headers and static libraries for building |
---|
472 | mudflap-instrumented programs. |
---|
473 | |
---|
474 | To instrument a non-threaded program, add -fmudflap |
---|
475 | option to GCC and when linking add -lmudflap, for threaded programs |
---|
476 | also add -fmudflapth and -lmudflapth. |
---|
477 | |
---|
478 | ################################################# java |
---|
479 | |
---|
480 | %package java |
---|
481 | Summary: Java support for GCC |
---|
482 | Summary(ja): GNU コンパイラ集 - Java サポート |
---|
483 | Group: Development/Languages |
---|
484 | Requires: gcc = %{version}-%{release} |
---|
485 | Requires: libgcj = %{version}-%{release} |
---|
486 | Requires: libgcj-devel = %{version}-%{release} |
---|
487 | #Requires: /usr/share/java/eclipse-ecj.jar |
---|
488 | Requires: ecj |
---|
489 | Obsoletes: gcc34-java |
---|
490 | Obsoletes: gcc35-java |
---|
491 | Obsoletes: gcc4-java |
---|
492 | Provides: gcc4-java |
---|
493 | Autoreq: true |
---|
494 | Requires(post): /sbin/update-alternatives |
---|
495 | Requires(postun): /sbin/update-alternatives |
---|
496 | |
---|
497 | %description java |
---|
498 | This package adds support for compiling Java(tm) programs and |
---|
499 | bytecode into native code. |
---|
500 | |
---|
501 | %description java -l ja |
---|
502 | このパッケージは Java(tm) のプログラムやバイトコードを |
---|
503 | ネイティブコードにコンパイルする機能を追加するものです。 |
---|
504 | |
---|
505 | ################################################# libgcj |
---|
506 | |
---|
507 | %package -n libgcj |
---|
508 | Summary: Java runtime library for gcc |
---|
509 | Summary(ja): GNU コンパイラ集 - Java ランタイムライブラリ |
---|
510 | Group: System Environment/Libraries |
---|
511 | Requires: zip >= 2.1 |
---|
512 | Requires: gtk2 >= 2.4.0 |
---|
513 | Requires: glib2 >= 2.4.0 |
---|
514 | Requires: libart_lgpl >= 2.1.0 |
---|
515 | %if %{build_java} |
---|
516 | BuildRequires: gtk2-devel >= 2.4.0 |
---|
517 | BuildRequires: glib2-devel >= 2.4.0 |
---|
518 | %if %{include_gappletviewer} |
---|
519 | BuildRequires: gecko-devel |
---|
520 | %endif |
---|
521 | BuildRequires: libart_lgpl-devel >= 2.1.0 |
---|
522 | BuildRequires: alsa-lib-devel |
---|
523 | BuildRequires: libXtst-devel |
---|
524 | BuildRequires: libXt-devel |
---|
525 | %endif |
---|
526 | Obsoletes: gcc-libgcj |
---|
527 | ##VINE##Obsoletes: libgcj3 |
---|
528 | Obsoletes: libgcj34 |
---|
529 | Obsoletes: libgcj4 |
---|
530 | Provides: libgcj4 |
---|
531 | Autoreq: true |
---|
532 | |
---|
533 | %description -n libgcj |
---|
534 | The Java(tm) runtime library. You will need this package to run your Java |
---|
535 | programs compiled using the Java compiler from GNU Compiler Collection (gcj). |
---|
536 | |
---|
537 | Java(tm) ランタイムライブラリです。 |
---|
538 | このパッケージは GNU Compiler Collection の Java コンパイラ (gcj) を |
---|
539 | 使ってコンパイルされたプログラムを実行するのに必要となります。 |
---|
540 | |
---|
541 | ################################################# libgcj-devel |
---|
542 | |
---|
543 | %package -n libgcj-devel |
---|
544 | Summary: Libraries for Java development using GCC |
---|
545 | Summary(ja): GNU コンパイラ集 - GCC 向け Java 開発用ライブラリ |
---|
546 | Group: Development/Languages |
---|
547 | Requires: libgcj = %{version}-%{release} |
---|
548 | Requires: zlib-devel |
---|
549 | Requires: gawk |
---|
550 | Obsoletes: libgcj34-devel |
---|
551 | Obsoletes: libgcj4-devel |
---|
552 | Provides: libgcj4-devel |
---|
553 | Autoreq: false |
---|
554 | Autoprov: false |
---|
555 | |
---|
556 | %description -n libgcj-devel |
---|
557 | The Java(tm) static libraries and C header files. You will need this |
---|
558 | package to compile your Java programs using the GCC Java compiler (gcj). |
---|
559 | |
---|
560 | %description -n libgcj-devel -l ja |
---|
561 | Java(tm) スタティックライブラリと C ヘッダファイルです。 |
---|
562 | GCC Java コンパイラ (gcj) を使って Java プログラムをコンパイルする際に |
---|
563 | このパッケージをインストールする必要があります。 |
---|
564 | |
---|
565 | ################################################# libgcj-src |
---|
566 | |
---|
567 | %package -n libgcj-src |
---|
568 | Summary: Java library sources from GCC4 preview |
---|
569 | Group: System Environment/Libraries |
---|
570 | Requires: libgcj = %{version}-%{release} |
---|
571 | Obsoletes: libgcj4-src |
---|
572 | Provides: libgcj4-src |
---|
573 | Autoreq: true |
---|
574 | |
---|
575 | %description -n libgcj-src |
---|
576 | The Java(tm) runtime library sources for use in Eclipse. |
---|
577 | |
---|
578 | ################################################# cpp |
---|
579 | |
---|
580 | %package cpp |
---|
581 | Summary: The C Preprocessor. |
---|
582 | Summary(ja): C プリプロセッサ |
---|
583 | Group: Development/Languages |
---|
584 | Provides: cpp = %{version}-%{release} |
---|
585 | Autoreq: true |
---|
586 | Requires(post): /sbin/update-alternatives |
---|
587 | Requires(postun): /sbin/update-alternatives |
---|
588 | |
---|
589 | %description cpp |
---|
590 | Cpp is the GNU C-Compatible Compiler Preprocessor. |
---|
591 | Cpp is a macro processor which is used automatically |
---|
592 | by the C compiler to transform your program before actual |
---|
593 | compilation. It is called a macro processor because it allows |
---|
594 | you to define macros, abbreviations for longer |
---|
595 | constructs. |
---|
596 | |
---|
597 | The C preprocessor provides four separate functionalities: the |
---|
598 | inclusion of header files (files of declarations that can be |
---|
599 | substituted into your program); macro expansion (you can define macros, |
---|
600 | and the C preprocessor will replace the macros with their definitions |
---|
601 | throughout the program); conditional compilation (using special |
---|
602 | preprocessing directives, you can include or exclude parts of the |
---|
603 | program according to various conditions); and line control (if you use |
---|
604 | a program to combine or rearrange source files into an intermediate |
---|
605 | file which is then compiled, you can use line control to inform the |
---|
606 | compiler about where each source line originated). |
---|
607 | |
---|
608 | You should install this package if you are a C programmer and you use |
---|
609 | macros. |
---|
610 | |
---|
611 | ################################################# gnat |
---|
612 | |
---|
613 | %package gnat |
---|
614 | Summary: Ada 95 support for GCC |
---|
615 | Summary(ja): GNU コンパイラ集 - Ada 95 サポート |
---|
616 | Group: Development/Languages |
---|
617 | Requires: gcc = %{version}-%{release} |
---|
618 | Requires: libgnat = %{version}-%{release} |
---|
619 | Obsoletes: gnat-devel, gcc3-gnat |
---|
620 | Autoreq: true |
---|
621 | Requires(post): /sbin/update-alternatives |
---|
622 | Requires(postun): /sbin/update-alternatives |
---|
623 | |
---|
624 | %description gnat |
---|
625 | GNAT is a GNU Ada 95 front-end to GCC. This package includes development tools, |
---|
626 | the documents and Ada 95 compiler. |
---|
627 | |
---|
628 | %description gnat -l ja |
---|
629 | GNAT は GCC 用の GNU Ada 95 フロントエンドです。 |
---|
630 | このパッケージには Ada 95 コンパイラ、開発ツール、ドキュメントが |
---|
631 | 収録されています。 |
---|
632 | |
---|
633 | ################################################# libgnat |
---|
634 | |
---|
635 | %package -n libgnat |
---|
636 | Summary: GNU Ada 95 runtime shared libraries |
---|
637 | Summary(ja): GNU コンパイラ集 - Ada 95 ランタイム共有ライブラリ |
---|
638 | Group: System Environment/Libraries |
---|
639 | Obsoletes: gnat libgnat3 |
---|
640 | Autoreq: true |
---|
641 | |
---|
642 | %description -n libgnat |
---|
643 | GNAT is a GNU Ada 95 front-end to GCC. This package includes shared libraries, |
---|
644 | which are required to run programs compiled with the GNAT. |
---|
645 | |
---|
646 | %description -n libgnat -l ja |
---|
647 | GNAT は GCC 用の GNU Ada 95 フロントエンドです。 |
---|
648 | このパッケージには GNAT でコンパイルされたプログラムを実行するために必要な |
---|
649 | 共有ライブラリが収録されています。 |
---|
650 | |
---|
651 | ################################################# tools |
---|
652 | |
---|
653 | %package tools |
---|
654 | Summary: Coverage tool and prototizing tool for GCC |
---|
655 | Summary(ja): GNU コンパイラ集 - テストカバレージツールとプロトタイプツール |
---|
656 | Group: Development/Languages |
---|
657 | |
---|
658 | %description tools |
---|
659 | GNU CC coverage tool and prototizing tool. |
---|
660 | see the info of gcc. |
---|
661 | |
---|
662 | %description tools -l ja |
---|
663 | GNU CC のテストカバレージツールとプロトタイプツールです。 |
---|
664 | 詳しくは gcc の Info をご覧ください。 |
---|
665 | |
---|
666 | ################################################# docs |
---|
667 | |
---|
668 | %package docs |
---|
669 | Summary: Documents (info, man) of GNU Compiler Collection |
---|
670 | Summary(ja): GNU コンパイラ集 - GNU CC関係 の man および info です |
---|
671 | Group: Applications/Documentation |
---|
672 | Requires(post): /sbin/install-info |
---|
673 | Requires(preun): /sbin/install-info |
---|
674 | |
---|
675 | %description docs |
---|
676 | The documents (info, man) of GNU Compiler Collection. |
---|
677 | includes gcc, g++, gfortran, cpp and more. |
---|
678 | |
---|
679 | %description docs -l ja |
---|
680 | GNU Compiler Collection 関係 の man および info です。 |
---|
681 | includes gcc, g++, gfortran, cpp の man / info などを含みます。 |
---|
682 | |
---|
683 | ##################################################################### |
---|
684 | |
---|
685 | %prep |
---|
686 | %if %{stock_tarball} |
---|
687 | %setup -q |
---|
688 | %else |
---|
689 | %setup -q -n gcc-%{version}-%{DATE} |
---|
690 | %endif |
---|
691 | %patch0 -p0 -b .hack~ |
---|
692 | %patch1 -p0 -b .build-id~ |
---|
693 | %patch2 -p0 -b .c++-builtin-redecl~ |
---|
694 | %patch3 -p0 -b .ia64-libunwind~ |
---|
695 | %patch4 -p0 -b .java-nomulti~ |
---|
696 | %patch5 -p0 -b .ppc32-retaddr~ |
---|
697 | %patch6 -p0 -b .pr33763~ |
---|
698 | %patch7 -p0 -b .rh330771~ |
---|
699 | %patch8 -p0 -b .i386-libgomp~ |
---|
700 | %patch9 -p0 -b .sparc-config-detection~ |
---|
701 | %patch10 -p0 -b .libgomp-omp_h-multilib~ |
---|
702 | %patch11 -p0 -b .libtool-no-rpath~ |
---|
703 | %if %{build_cloog} |
---|
704 | %patch12 -p0 -b .cloog-dl~ |
---|
705 | %endif |
---|
706 | %patch13 -p0 -b .unwind-debug-hook~ |
---|
707 | %patch14 -p0 -b .pr38757~ |
---|
708 | %if %{build_libstdcxx_docs} |
---|
709 | %patch15 -p0 -b .libstdc++-docs~ |
---|
710 | %endif |
---|
711 | %patch16 -p0 -b .ppc64-aixdesc~ |
---|
712 | %if %{?_dist_release} > vl6 |
---|
713 | %patch17 -p0 -b .no-add-needed~ |
---|
714 | %endif |
---|
715 | %patch18 -p0 -b .pr44542~ |
---|
716 | %patch19 -p0 -b .rh610785~ |
---|
717 | %patch20 -p0 -b .rh533181~ |
---|
718 | |
---|
719 | # This testcase doesn't compile. |
---|
720 | rm libjava/testsuite/libjava.lang/PR35020* |
---|
721 | |
---|
722 | %if %{bootstrap_java} |
---|
723 | tar xjf %{SOURCE10} |
---|
724 | %endif |
---|
725 | |
---|
726 | #sed -i -e 's/4\.4\.5/4.4.4/' gcc/BASE-VER |
---|
727 | echo 'Vine Linux %{version}-%{gcc_release}' > gcc/DEV-PHASE |
---|
728 | sed -i -e 's/gcj-\$gcjversion-\$libgcj_soversion/gcj-\$gcjversion/g' libjava/configure |
---|
729 | |
---|
730 | # Default to -gdwarf-3 rather than -gdwarf-2 |
---|
731 | sed -i '/UInteger Var(dwarf_version)/s/Init(2)/Init(3)/' gcc/common.opt |
---|
732 | sed -i 's/\(may be either 2 or 3; the default version is \)2\./\13./' gcc/doc/invoke.texi |
---|
733 | |
---|
734 | cp -a libstdc++-v3/config/cpu/i{4,3}86/atomicity.h |
---|
735 | |
---|
736 | # Hack to avoid building multilib libjava |
---|
737 | perl -pi -e 's/^all: all-redirect/ifeq (\$(MULTISUBDIR),)\nall: all-redirect\nelse\nall:\n\techo Multilib libjava build disabled\nendif/' libjava/Makefile.in |
---|
738 | perl -pi -e 's/^install: install-redirect/ifeq (\$(MULTISUBDIR),)\ninstall: install-redirect\nelse\ninstall:\n\techo Multilib libjava install disabled\nendif/' libjava/Makefile.in |
---|
739 | perl -pi -e 's/^check: check-redirect/ifeq (\$(MULTISUBDIR),)\ncheck: check-redirect\nelse\ncheck:\n\techo Multilib libjava check disabled\nendif/' libjava/Makefile.in |
---|
740 | perl -pi -e 's/^all: all-recursive/ifeq (\$(MULTISUBDIR),)\nall: all-recursive\nelse\nall:\n\techo Multilib libjava build disabled\nendif/' libjava/Makefile.in |
---|
741 | perl -pi -e 's/^install: install-recursive/ifeq (\$(MULTISUBDIR),)\ninstall: install-recursive\nelse\ninstall:\n\techo Multilib libjava install disabled\nendif/' libjava/Makefile.in |
---|
742 | perl -pi -e 's/^check: check-recursive/ifeq (\$(MULTISUBDIR),)\ncheck: check-recursive\nelse\ncheck:\n\techo Multilib libjava check disabled\nendif/' libjava/Makefile.in |
---|
743 | |
---|
744 | ./contrib/gcc_update --touch |
---|
745 | |
---|
746 | LC_ALL=C sed -i -e 's/\xa0/ /' gcc/doc/options.texi |
---|
747 | |
---|
748 | %ifarch ppc |
---|
749 | %if %{biarch_on_ppc32} |
---|
750 | if [ -d libstdc++-v3/config/abi/post/powerpc64-linux-gnu ]; then |
---|
751 | mkdir -p libstdc++-v3/config/abi/post/powerpc64-linux-gnu/64 |
---|
752 | mv libstdc++-v3/config/abi/post/powerpc64-linux-gnu/{,64/}baseline_symbols.txt |
---|
753 | mv libstdc++-v3/config/abi/post/powerpc64-linux-gnu/{32/,}baseline_symbols.txt |
---|
754 | rm -rf libstdc++-v3/config/abi/post/powerpc64-linux-gnu/32 |
---|
755 | fi |
---|
756 | %endif |
---|
757 | %endif |
---|
758 | %ifarch sparc |
---|
759 | if [ -d libstdc++-v3/config/abi/post/sparc64-linux-gnu ]; then |
---|
760 | mkdir -p libstdc++-v3/config/abi/post/sparc64-linux-gnu/64 |
---|
761 | mv libstdc++-v3/config/abi/post/sparc64-linux-gnu/{,64/}baseline_symbols.txt |
---|
762 | mv libstdc++-v3/config/abi/post/sparc64-linux-gnu/{32/,}baseline_symbols.txt |
---|
763 | rm -rf libstdc++-v3/config/abi/post/sparc64-linux-gnu/32 |
---|
764 | fi |
---|
765 | %endif |
---|
766 | |
---|
767 | %build |
---|
768 | rm -fr obj-%{gcc_target_platform} |
---|
769 | mkdir obj-%{gcc_target_platform} |
---|
770 | cd obj-%{gcc_target_platform} |
---|
771 | |
---|
772 | %if %{build_java} |
---|
773 | %if !%{bootstrap_java} |
---|
774 | # If we don't have gjavah in $PATH, try to build it with the old gij |
---|
775 | mkdir java_hacks |
---|
776 | cd java_hacks |
---|
777 | cp -a ../../libjava/classpath/tools/external external |
---|
778 | mkdir -p gnu/classpath/tools |
---|
779 | cp -a ../../libjava/classpath/tools/gnu/classpath/tools/{common,javah,getopt} gnu/classpath/tools/ |
---|
780 | cp -a ../../libjava/classpath/tools/resource/gnu/classpath/tools/common/Messages.properties gnu/classpath/tools/common |
---|
781 | cp -a ../../libjava/classpath/tools/resource/gnu/classpath/tools/getopt/Messages.properties gnu/classpath/tools/getopt |
---|
782 | cd external/asm; for i in `find . -name \*.java`; do gcj --encoding ISO-8859-1 -C $i -I.; done; cd ../.. |
---|
783 | for i in `find gnu -name \*.java`; do gcj -C $i -I. -Iexternal/asm/; done |
---|
784 | gcj -findirect-dispatch -O2 -fmain=gnu.classpath.tools.javah.Main -I. -Iexternal/asm/ `find . -name \*.class` -o gjavah.real |
---|
785 | cat > gjavah <<EOF |
---|
786 | #!/bin/sh |
---|
787 | export CLASSPATH=`pwd`${CLASSPATH:+:$CLASSPATH} |
---|
788 | exec `pwd`/gjavah.real "\$@" |
---|
789 | EOF |
---|
790 | chmod +x `pwd`/gjavah |
---|
791 | |
---|
792 | cat > ecj1 <<EOF |
---|
793 | #!/bin/sh |
---|
794 | #java -cp `pwd`/ecj.jar org.eclipse.jdt.internal.compiler.batch.GCCMain "\$@" |
---|
795 | exec gij -cp /usr/share/java/eclipse-ecj.jar org.eclipse.jdt.internal.compiler.batch.GCCMain "\$@" |
---|
796 | EOF |
---|
797 | chmod +x `pwd`/ecj1 |
---|
798 | export PATH=`pwd`${PATH:+:$PATH} |
---|
799 | cd .. |
---|
800 | %endif |
---|
801 | %endif |
---|
802 | |
---|
803 | |
---|
804 | CC=gcc |
---|
805 | OPT_FLAGS=`echo %{optflags}|sed -e 's/\(-Wp,\)\?-D_FORTIFY_SOURCE=[12]//g'` |
---|
806 | OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-m64//g;s/-m32//g;s/-m31//g'` |
---|
807 | %ifarch sparc |
---|
808 | OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mcpu=ultrasparc/-mtune=ultrasparc/g;s/-mcpu=v[78]//g'` |
---|
809 | %endif |
---|
810 | %ifarch %{ix86} |
---|
811 | OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-march=i.86//g'` |
---|
812 | %endif |
---|
813 | %ifarch sparc64 |
---|
814 | cat > gcc64 <<"EOF" |
---|
815 | #!/bin/sh |
---|
816 | exec /usr/bin/gcc -m64 "$@" |
---|
817 | EOF |
---|
818 | chmod +x gcc64 |
---|
819 | CC=`pwd`/gcc64 |
---|
820 | %endif |
---|
821 | %ifarch ppc64 |
---|
822 | if gcc -m64 -xc -S /dev/null -o - > /dev/null 2>&1; then |
---|
823 | cat > gcc64 <<"EOF" |
---|
824 | #!/bin/sh |
---|
825 | exec /usr/bin/gcc -m64 "$@" |
---|
826 | EOF |
---|
827 | chmod +x gcc64 |
---|
828 | CC=`pwd`/gcc64 |
---|
829 | fi |
---|
830 | %endif |
---|
831 | OPT_FLAGS=`echo "$OPT_FLAGS" | sed -e 's/[[:blank:]]\+/ /g'` |
---|
832 | case "$OPT_FLAGS" in |
---|
833 | *-fasynchronous-unwind-tables*) |
---|
834 | sed -i -e 's/-fno-exceptions /-fno-exceptions -fno-asynchronous-unwind-tables/' \ |
---|
835 | ../gcc/Makefile.in |
---|
836 | ;; |
---|
837 | esac |
---|
838 | CC="$CC" CFLAGS="$OPT_FLAGS" CXXFLAGS="`echo $OPT_FLAGS | sed 's/ -Wall / /g'`" XCFLAGS="$OPT_FLAGS" TCFLAGS="$OPT_FLAGS" \ |
---|
839 | GCJFLAGS="$OPT_FLAGS" \ |
---|
840 | ../configure --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \ |
---|
841 | --enable-bootstrap \ |
---|
842 | --enable-shared --enable-threads=posix --enable-checking=release \ |
---|
843 | --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions \ |
---|
844 | --enable-gnu-unique-object \ |
---|
845 | %if !%{build_ada} |
---|
846 | --enable-languages=c,c++,objc,obj-c++,java,fortran \ |
---|
847 | %else |
---|
848 | --enable-languages=c,c++,objc,obj-c++,java,fortran,ada \ |
---|
849 | %endif |
---|
850 | %if !%{build_java} |
---|
851 | --disable-libgcj \ |
---|
852 | %else |
---|
853 | --enable-java-awt=gtk --disable-dssi \ |
---|
854 | --with-native-libdir=%{_libdir}/gcj-%{version} \ |
---|
855 | %if %{include_gappletviewer} |
---|
856 | --enable-plugin \ |
---|
857 | %endif |
---|
858 | --with-java-home=%{_prefix}/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre \ |
---|
859 | --enable-libgcj-multifile \ |
---|
860 | %if !%{bootstrap_java} |
---|
861 | --enable-java-maintainer-mode \ |
---|
862 | %endif |
---|
863 | --with-ecj-jar=/usr/share/java/eclipse-ecj.jar \ |
---|
864 | --disable-libjava-multilib \ |
---|
865 | %endif |
---|
866 | %if %{build_cloog} |
---|
867 | --with-ppl --with-cloog \ |
---|
868 | %endif |
---|
869 | %ifarch %{arm} |
---|
870 | --disable-sjlj-exceptions \ |
---|
871 | %endif |
---|
872 | %ifarch ppc ppc64 |
---|
873 | --enable-secureplt \ |
---|
874 | %endif |
---|
875 | %ifarch sparc ppc ppc64 s390 s390x alpha |
---|
876 | --with-long-double-128 \ |
---|
877 | %endif |
---|
878 | %ifarch sparc |
---|
879 | --disable-linux-futex \ |
---|
880 | %endif |
---|
881 | %ifarch sparc64 |
---|
882 | --with-cpu=ultrasparc \ |
---|
883 | %endif |
---|
884 | %ifarch sparc sparcv9 |
---|
885 | --host=%{gcc_target_platform} --build=%{gcc_target_platform} --target=%{gcc_target_platform} --with-cpu=v7 |
---|
886 | %endif |
---|
887 | %ifarch ppc ppc64 |
---|
888 | %if %{biarch_on_ppc32} |
---|
889 | --with-cpu-32=power4 --with-tune-32=power6 --with-cpu-64=power4 --with-tune-64=power6 \ |
---|
890 | %endif |
---|
891 | %endif |
---|
892 | %ifarch ppc |
---|
893 | %if !%{biarch_on_ppc32} |
---|
894 | --disable-multilib \ |
---|
895 | %endif |
---|
896 | --host=%{gcc_target_platform} --build=%{gcc_target_platform} --target=%{gcc_target_platform} --with-cpu=default32 |
---|
897 | %endif |
---|
898 | %ifarch %{ix86} |
---|
899 | --with-arch=i686 \ |
---|
900 | %endif |
---|
901 | %ifarch x86_64 |
---|
902 | --with-arch_32=i686 \ |
---|
903 | %endif |
---|
904 | %ifarch s390 s390x |
---|
905 | --with-arch=z9-109 --with-tune=z10 \ |
---|
906 | %endif |
---|
907 | %ifnarch sparc sparcv9 ppc |
---|
908 | --host=%{gcc_target_platform} --build=%{gcc_target_platform} |
---|
909 | %endif |
---|
910 | |
---|
911 | GCJFLAGS="$OPT_FLAGS" make %{?_smp_mflags} BOOT_CFLAGS="$OPT_FLAGS" bootstrap |
---|
912 | #GCJFLAGS="$OPT_FLAGS" make %{?_smp_mflags} BOOT_CFLAGS="$OPT_FLAGS" profiledbootstrap |
---|
913 | #GCJFLAGS="$OPT_FLAGS" make %{?_smp_mflags} BOOT_CFLAGS="$OPT_FLAGS" bootstrap-lean |
---|
914 | |
---|
915 | # Make protoize |
---|
916 | make -C gcc CC="./xgcc -B ./ -O2" proto |
---|
917 | |
---|
918 | # Make generated man pages even if Pod::Man is not new enough |
---|
919 | perl -pi -e 's/head3/head2/' ../contrib/texi2pod.pl |
---|
920 | for i in ../gcc/doc/*.texi; do |
---|
921 | cp -a $i $i.orig; sed 's/ftable/table/' $i.orig > $i |
---|
922 | done |
---|
923 | make -C gcc generated-manpages |
---|
924 | for i in ../gcc/doc/*.texi; do mv -f $i.orig $i; done |
---|
925 | |
---|
926 | # Make generated doxygen pages. |
---|
927 | %if %{build_libstdcxx_docs} |
---|
928 | cd %{gcc_target_platform}/libstdc++-v3 |
---|
929 | make doc-html-doxygen |
---|
930 | make doc-man-doxygen |
---|
931 | cd ../.. |
---|
932 | %endif |
---|
933 | |
---|
934 | # Copy various doc files here and there |
---|
935 | cd .. |
---|
936 | mkdir -p rpm.doc/gfortran rpm.doc/objc |
---|
937 | ##VINE## mkdir -p rpm.doc/boehm-gc rpm.doc/fastjar rpm.doc/libffi rpm.doc/libjava |
---|
938 | mkdir -p rpm.doc/boehm-gc rpm.doc/libffi rpm.doc/libjava |
---|
939 | mkdir -p rpm.doc/changelogs/{gcc/cp,gcc/java,gcc/ada,libstdc++-v3,libobjc,libmudflap,libgomp} |
---|
940 | sed -e 's,@VERSION@,%{gcc_version},' %{SOURCE2} > rpm.doc/README.libgcjwebplugin.so |
---|
941 | |
---|
942 | for i in {gcc,gcc/cp,gcc/java,gcc/ada,libstdc++-v3,libobjc,libmudflap,libgomp}/ChangeLog*; do |
---|
943 | cp -p $i rpm.doc/changelogs/$i |
---|
944 | done |
---|
945 | |
---|
946 | (cd gcc/fortran; for i in ChangeLog*; do |
---|
947 | cp -p $i ../../rpm.doc/gfortran/$i |
---|
948 | done) |
---|
949 | (cd libgfortran; for i in ChangeLog*; do |
---|
950 | cp -p $i ../rpm.doc/gfortran/$i.libgfortran |
---|
951 | done) |
---|
952 | (cd gcc/objc; for i in README*; do |
---|
953 | cp -p $i ../../rpm.doc/objc/$i.objc |
---|
954 | done) |
---|
955 | (cd libobjc; for i in README*; do |
---|
956 | cp -p $i ../rpm.doc/objc/$i.libobjc |
---|
957 | done) |
---|
958 | (cd boehm-gc; for i in ChangeLog*; do |
---|
959 | cp -p $i ../rpm.doc/boehm-gc/$i.gc |
---|
960 | done) |
---|
961 | ##VINE## (cd fastjar-%{fastjar_ver}; for i in ChangeLog* README*; do |
---|
962 | ##VINE## cp -p $i ../rpm.doc/fastjar/$i.fastjar |
---|
963 | ##VINE## done) |
---|
964 | (cd libffi; for i in ChangeLog* README* LICENSE; do |
---|
965 | cp -p $i ../rpm.doc/libffi/$i.libffi |
---|
966 | done) |
---|
967 | (cd libjava; for i in ChangeLog* README*; do |
---|
968 | cp -p $i ../rpm.doc/libjava/$i.libjava |
---|
969 | done) |
---|
970 | cp -p libjava/LIBGCJ_LICENSE rpm.doc/libjava/ |
---|
971 | |
---|
972 | rm -f rpm.doc/changelogs/gcc/ChangeLog.[1-9] |
---|
973 | find rpm.doc -name \*ChangeLog\* | xargs bzip2 -9 |
---|
974 | |
---|
975 | %if %{build_java_tar} |
---|
976 | find libjava -name \*.h -type f | xargs grep -l '// DO NOT EDIT THIS FILE - it is machine generated' > libjava-classes.list |
---|
977 | find libjava -name \*.class -type f >> libjava-classes.list |
---|
978 | find libjava/testsuite -name \*.jar -type f >> libjava-classes.list |
---|
979 | tar cf - -T libjava-classes.list | bzip2 -9 > $RPM_SOURCE_DIR/libjava-classes-%{version}-%{release}.tar.bz2 |
---|
980 | %endif |
---|
981 | |
---|
982 | %install |
---|
983 | rm -fr $RPM_BUILD_ROOT |
---|
984 | |
---|
985 | cd obj-%{gcc_target_platform} |
---|
986 | |
---|
987 | %if %{build_java} |
---|
988 | export GCJ_PROPERTIES=jdt.compiler.useSingleThread=true |
---|
989 | ##VINE## export PATH=`pwd`/../fastjar-%{fastjar_ver}/obj-%{gcc_target_platform}${PATH:+:$PATH} |
---|
990 | %if !%{bootstrap_java} |
---|
991 | export PATH=`pwd`/java_hacks${PATH:+:$PATH} |
---|
992 | %endif |
---|
993 | %endif |
---|
994 | |
---|
995 | TARGET_PLATFORM=%{gcc_target_platform} |
---|
996 | |
---|
997 | # There are some MP bugs in libstdc++ Makefiles |
---|
998 | make -C %{gcc_target_platform}/libstdc++-v3 |
---|
999 | |
---|
1000 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
1001 | %if %{build_java} |
---|
1002 | make DESTDIR=$RPM_BUILD_ROOT -C %{gcc_target_platform}/libjava install-src.zip |
---|
1003 | %endif |
---|
1004 | %if %{build_ada} |
---|
1005 | chmod 644 $RPM_BUILD_ROOT%{_infodir}/gnat* |
---|
1006 | %endif |
---|
1007 | |
---|
1008 | FULLPATH=$RPM_BUILD_ROOT%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version} |
---|
1009 | FULLEPATH=$RPM_BUILD_ROOT%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version} |
---|
1010 | |
---|
1011 | # fix some things |
---|
1012 | ln -sf gcc $RPM_BUILD_ROOT%{_prefix}/bin/cc |
---|
1013 | mkdir -p $RPM_BUILD_ROOT/lib |
---|
1014 | ln -sf ..%{_prefix}/bin/cpp $RPM_BUILD_ROOT/lib/cpp |
---|
1015 | ln -sf gfortran $RPM_BUILD_ROOT%{_prefix}/bin/f95 |
---|
1016 | rm -f $RPM_BUILD_ROOT%{_infodir}/dir |
---|
1017 | gzip -9 $RPM_BUILD_ROOT%{_infodir}/*.info* |
---|
1018 | ##VINE## will be handled with alternatives |
---|
1019 | #ln -sf gcc $RPM_BUILD_ROOT%{_prefix}/bin/gnatgcc |
---|
1020 | |
---|
1021 | cxxconfig="`find %{gcc_target_platform}/libstdc++-v3/include -name c++config.h`" |
---|
1022 | for i in `find %{gcc_target_platform}/[36]*/libstdc++-v3/include -name c++config.h 2>/dev/null`; do |
---|
1023 | if ! diff -up $cxxconfig $i; then |
---|
1024 | cat > $RPM_BUILD_ROOT%{_prefix}/include/c++/%{gcc_version}/%{gcc_target_platform}/bits/c++config.h <<EOF |
---|
1025 | #ifndef _CPP_CPPCONFIG_WRAPPER |
---|
1026 | #define _CPP_CPPCONFIG_WRAPPER 1 |
---|
1027 | #include <bits/wordsize.h> |
---|
1028 | #if __WORDSIZE == 32 |
---|
1029 | %ifarch %{multilib_64_archs} |
---|
1030 | `cat $(find %{gcc_target_platform}/32/libstdc++-v3/include -name c++config.h)` |
---|
1031 | %else |
---|
1032 | `cat $(find %{gcc_target_platform}/libstdc++-v3/include -name c++config.h)` |
---|
1033 | %endif |
---|
1034 | #else |
---|
1035 | %ifarch %{multilib_64_archs} |
---|
1036 | `cat $(find %{gcc_target_platform}/libstdc++-v3/include -name c++config.h)` |
---|
1037 | %else |
---|
1038 | `cat $(find %{gcc_target_platform}/64/libstdc++-v3/include -name c++config.h)` |
---|
1039 | %endif |
---|
1040 | #endif |
---|
1041 | #endif |
---|
1042 | EOF |
---|
1043 | break |
---|
1044 | fi |
---|
1045 | done |
---|
1046 | |
---|
1047 | for f in `find $RPM_BUILD_ROOT%{_prefix}/include/c++/%{gcc_version}/%{gcc_target_platform}/ -name c++config.h`; do |
---|
1048 | for i in 1 2 4 8; do |
---|
1049 | sed -i -e 's/#define _GLIBCXX_ATOMIC_BUILTINS_'$i' 1/#ifdef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_'$i'\ |
---|
1050 | &\ |
---|
1051 | #endif/' $f |
---|
1052 | done |
---|
1053 | done |
---|
1054 | |
---|
1055 | # Nuke bits/stdc++.h.gch dirs |
---|
1056 | # 1) there is no bits/stdc++.h header installed, so when gch file can't be |
---|
1057 | # used, compilation fails |
---|
1058 | # 2) sometimes it is hard to match the exact options used for building |
---|
1059 | # libstdc++-v3 or they aren't desirable |
---|
1060 | # 3) there are multilib issues, conflicts etc. with this |
---|
1061 | # 4) it is huge |
---|
1062 | # People can always precompile on their own whatever they want, but |
---|
1063 | # shipping this for everybody is unnecessary. |
---|
1064 | rm -rf $RPM_BUILD_ROOT%{_prefix}/include/c++/%{gcc_version}/%{gcc_target_platform}/bits/stdc++.h.gch |
---|
1065 | |
---|
1066 | %if %{build_libstdcxx_docs} |
---|
1067 | rm -rf ../rpm.doc/libstdc++-v3/html/api |
---|
1068 | |
---|
1069 | libstdcxx_doc_builddir=%{gcc_target_platform}/libstdc++-v3/doc/doxygen |
---|
1070 | mkdir -p ../rpm.doc/libstdc++-v3 |
---|
1071 | cp -r -p ../libstdc++-v3/doc/html ../rpm.doc/libstdc++-v3/html |
---|
1072 | ##VINE## mv $libstdcxx_doc_builddir/html ../rpm.doc/libstdc++-v3/html/api |
---|
1073 | cp -r -p $libstdcxx_doc_builddir/html ../rpm.doc/libstdc++-v3/html/api |
---|
1074 | mkdir -p $RPM_BUILD_ROOT%{_mandir} |
---|
1075 | ##VINE## mv $libstdcxx_doc_builddir/man/man3 $RPM_BUILD_ROOT%{_mandir}/man3/ |
---|
1076 | cp -r -p $libstdcxx_doc_builddir/man/man3 $RPM_BUILD_ROOT%{_mandir}/man3 |
---|
1077 | find ../rpm.doc/libstdc++-v3 -name \*~ | xargs rm |
---|
1078 | %endif |
---|
1079 | |
---|
1080 | %ifarch sparcv9 sparc64 |
---|
1081 | ln -f $RPM_BUILD_ROOT%{_prefix}/bin/%{gcc_target_platform}-gcc \ |
---|
1082 | $RPM_BUILD_ROOT%{_prefix}/bin/sparc-%{_vendor}-%{_target_os}-gcc |
---|
1083 | %endif |
---|
1084 | %ifarch ppc ppc64 |
---|
1085 | %if %{biarch_on_ppc32} |
---|
1086 | ln -f $RPM_BUILD_ROOT%{_prefix}/bin/%{gcc_target_platform}-gcc \ |
---|
1087 | $RPM_BUILD_ROOT%{_prefix}/bin/ppc-%{_vendor}-%{_target_os}-gcc |
---|
1088 | %endif |
---|
1089 | %endif |
---|
1090 | |
---|
1091 | %ifarch sparcv9 ppc |
---|
1092 | %if %{biarch_on_ppc32} |
---|
1093 | FULLLPATH=$FULLPATH/lib32 |
---|
1094 | %endif |
---|
1095 | %endif |
---|
1096 | %ifarch sparc64 ppc64 |
---|
1097 | FULLLPATH=$FULLPATH/lib64 |
---|
1098 | %endif |
---|
1099 | if [ -n "$FULLLPATH" ]; then |
---|
1100 | mkdir -p $FULLLPATH |
---|
1101 | else |
---|
1102 | FULLLPATH=$FULLPATH |
---|
1103 | fi |
---|
1104 | |
---|
1105 | find $RPM_BUILD_ROOT -name \*.la | xargs rm -f |
---|
1106 | %if %{build_java} |
---|
1107 | # gcj -static doesn't work properly anyway, unless using --whole-archive |
---|
1108 | # and saving 35MB is not bad. |
---|
1109 | find $RPM_BUILD_ROOT -name libgcj.a -o -name libgtkpeer.a \ |
---|
1110 | -o -name libgjsmalsa.a -o -name libgcj-tools.a \ |
---|
1111 | -o -name libjvm.a -o -name libgij.a -o -name libgcj_bc.a \ |
---|
1112 | -o -name libjavamath.a | xargs rm -f |
---|
1113 | |
---|
1114 | mv $RPM_BUILD_ROOT%{_prefix}/lib/libgcj.spec $FULLPATH/ |
---|
1115 | sed -i -e 's/lib: /&%%{static:%%eJava programs cannot be linked statically}/' \ |
---|
1116 | $FULLPATH/libgcj.spec |
---|
1117 | %endif |
---|
1118 | |
---|
1119 | mkdir -p $RPM_BUILD_ROOT/%{_lib} |
---|
1120 | %if !%{stock_tarball} |
---|
1121 | mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libgcc_s.so.1 $RPM_BUILD_ROOT/%{_lib}/libgcc_s-%{gcc_version}-%{DATE}.so.1 |
---|
1122 | chmod 755 $RPM_BUILD_ROOT/%{_lib}/libgcc_s-%{gcc_version}-%{DATE}.so.1 |
---|
1123 | ln -sf libgcc_s-%{gcc_version}-%{DATE}.so.1 $RPM_BUILD_ROOT/%{_lib}/libgcc_s.so.1 |
---|
1124 | ln -sf /%{_lib}/libgcc_s.so.1 $FULLPATH/libgcc_s.so |
---|
1125 | %ifarch %{multilib_64_archs} |
---|
1126 | mv -f $RPM_BUILD_ROOT%{_prefix}/lib/libgcc_s.so.1 $RPM_BUILD_ROOT/lib/libgcc_s-%{gcc_version}-%{DATE}.so.1 |
---|
1127 | chmod 755 $RPM_BUILD_ROOT/lib/libgcc_s-%{gcc_version}-%{DATE}.so.1 |
---|
1128 | ln -sf libgcc_s-%{gcc_version}-%{DATE}.so.1 $RPM_BUILD_ROOT/lib/libgcc_s.so.1 |
---|
1129 | %endif |
---|
1130 | %else |
---|
1131 | |
---|
1132 | mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libgcc_s.so.1 $RPM_BUILD_ROOT/%{_lib}/libgcc_s-%{gcc_version}.so.1 |
---|
1133 | chmod 755 $RPM_BUILD_ROOT/%{_lib}/libgcc_s-%{gcc_version}.so.1 |
---|
1134 | ln -sf libgcc_s-%{gcc_version}.so.1 $RPM_BUILD_ROOT/%{_lib}/libgcc_s.so.1 |
---|
1135 | ln -sf /%{_lib}/libgcc_s.so.1 $FULLPATH/libgcc_s.so |
---|
1136 | %ifarch %{multilib_64_archs} |
---|
1137 | mv -f $RPM_BUILD_ROOT%{_prefix}/lib/libgcc_s.so.1 $RPM_BUILD_ROOT/lib/libgcc_s-%{gcc_version}.so.1 |
---|
1138 | chmod 755 $RPM_BUILD_ROOT/lib/libgcc_s-%{gcc_version}.so.1 |
---|
1139 | ln -sf libgcc_s-%{gcc_version}.so.1 $RPM_BUILD_ROOT/lib/libgcc_s.so.1 |
---|
1140 | %endif |
---|
1141 | |
---|
1142 | %endif |
---|
1143 | |
---|
1144 | %ifarch sparcv9 ppc |
---|
1145 | %if %{biarch_on_ppc32} |
---|
1146 | ln -sf /lib64/libgcc_s.so.1 $FULLPATH/64/libgcc_s.so |
---|
1147 | %endif |
---|
1148 | %endif |
---|
1149 | %ifarch %{multilib_64_archs} |
---|
1150 | ln -sf /lib/libgcc_s.so.1 $FULLPATH/32/libgcc_s.so |
---|
1151 | %endif |
---|
1152 | |
---|
1153 | %ifarch ppc |
---|
1154 | rm -f $FULLPATH/libgcc_s.so |
---|
1155 | echo '/* GNU ld script |
---|
1156 | Use the shared library, but some functions are only in |
---|
1157 | the static library, so try that secondarily. */ |
---|
1158 | OUTPUT_FORMAT(elf32-powerpc) |
---|
1159 | GROUP ( /lib/libgcc_s.so.1 libgcc.a )' > $FULLPATH/libgcc_s.so |
---|
1160 | %endif |
---|
1161 | %ifarch ppc64 |
---|
1162 | rm -f $FULLPATH/32/libgcc_s.so |
---|
1163 | echo '/* GNU ld script |
---|
1164 | Use the shared library, but some functions are only in |
---|
1165 | the static library, so try that secondarily. */ |
---|
1166 | OUTPUT_FORMAT(elf32-powerpc) |
---|
1167 | GROUP ( /lib/libgcc_s.so.1 libgcc.a )' > $FULLPATH/32/libgcc_s.so |
---|
1168 | %endif |
---|
1169 | |
---|
1170 | mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libgomp.spec $FULLPATH/ |
---|
1171 | |
---|
1172 | %if %{build_ada} |
---|
1173 | mv -f $FULLPATH/adalib/libgnarl-*.so $RPM_BUILD_ROOT%{_prefix}/%{_lib}/ |
---|
1174 | mv -f $FULLPATH/adalib/libgnat-*.so $RPM_BUILD_ROOT%{_prefix}/%{_lib}/ |
---|
1175 | rm -f $FULLPATH/adalib/libgnarl.so* $FULLPATH/adalib/libgnat.so* |
---|
1176 | %endif |
---|
1177 | |
---|
1178 | mkdir -p $RPM_BUILD_ROOT%{_prefix}/libexec/getconf |
---|
1179 | if gcc/xgcc -B gcc/ -E -dD -xc /dev/null | grep __LONG_MAX__.*2147483647; then |
---|
1180 | ln -sf POSIX_V6_ILP32_OFF32 $RPM_BUILD_ROOT%{_prefix}/libexec/getconf/default |
---|
1181 | else |
---|
1182 | ln -sf POSIX_V6_LP64_OFF64 $RPM_BUILD_ROOT%{_prefix}/libexec/getconf/default |
---|
1183 | fi |
---|
1184 | |
---|
1185 | %if %{build_java} |
---|
1186 | if [ "%{_lib}" != "lib" ]; then |
---|
1187 | mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{_lib}/pkgconfig |
---|
1188 | sed '/^libdir/s/lib$/%{_lib}/' $RPM_BUILD_ROOT%{_prefix}/lib/pkgconfig/libgcj-*.pc \ |
---|
1189 | > $RPM_BUILD_ROOT%{_prefix}/%{_lib}/pkgconfig/`basename %{buildroot}%{_prefix}/lib/pkgconfig/libgcj-*.pc` |
---|
1190 | fi |
---|
1191 | %endif |
---|
1192 | |
---|
1193 | pushd $FULLPATH |
---|
1194 | if [ "%{_lib}" = "lib" ]; then |
---|
1195 | ln -sf ../../../libobjc.so.2 libobjc.so |
---|
1196 | ln -sf ../../../libstdc++.so.6.* libstdc++.so |
---|
1197 | ln -sf ../../../libgfortran.so.3.* libgfortran.so |
---|
1198 | ln -sf ../../../libgomp.so.1.* libgomp.so |
---|
1199 | ln -sf ../../../libmudflap.so.0.* libmudflap.so |
---|
1200 | ln -sf ../../../libmudflapth.so.0.* libmudflapth.so |
---|
1201 | %if %{build_java} |
---|
1202 | ln -sf ../../../libgcj.so.10.* libgcj.so |
---|
1203 | ln -sf ../../../libgcj-tools.so.10.* libgcj-tools.so |
---|
1204 | ln -sf ../../../libgij.so.10.* libgij.so |
---|
1205 | %if %{biarch_on_ppc32} |
---|
1206 | mv ../../../libgcj_bc.so libgcj_bc.so |
---|
1207 | %endif |
---|
1208 | %endif |
---|
1209 | else |
---|
1210 | ln -sf ../../../../%{_lib}/libobjc.so.2 libobjc.so |
---|
1211 | ln -sf ../../../../%{_lib}/libstdc++.so.6.* libstdc++.so |
---|
1212 | ln -sf ../../../../%{_lib}/libgfortran.so.3.* libgfortran.so |
---|
1213 | ln -sf ../../../../%{_lib}/libgomp.so.1.* libgomp.so |
---|
1214 | ln -sf ../../../../%{_lib}/libmudflap.so.0.* libmudflap.so |
---|
1215 | ln -sf ../../../../%{_lib}/libmudflapth.so.0.* libmudflapth.so |
---|
1216 | %if %{build_java} |
---|
1217 | ln -sf ../../../../%{_lib}/libgcj.so.10.* libgcj.so |
---|
1218 | ln -sf ../../../../%{_lib}/libgcj-tools.so.10.* libgcj-tools.so |
---|
1219 | ln -sf ../../../../%{_lib}/libgij.so.10.* libgij.so |
---|
1220 | %if %{biarch_on_ppc32} |
---|
1221 | mv ../../../../%{_lib}/libgcj_bc.so libgcj_bc.so |
---|
1222 | %endif |
---|
1223 | %endif |
---|
1224 | fi |
---|
1225 | |
---|
1226 | %if %{build_java} |
---|
1227 | mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libgcj_bc.so $FULLLPATH/ |
---|
1228 | %endif |
---|
1229 | mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libstdc++.*a $FULLLPATH/ |
---|
1230 | mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libsupc++.*a . |
---|
1231 | mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libgfortran.*a . |
---|
1232 | mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libobjc.*a . |
---|
1233 | mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libgomp.*a . |
---|
1234 | mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libmudflap{,th}.*a . |
---|
1235 | |
---|
1236 | %if %{build_ada} |
---|
1237 | %ifarch sparcv9 ppc |
---|
1238 | rm -rf $FULLPATH/64/ada{include,lib} |
---|
1239 | %endif |
---|
1240 | %ifarch %{multilib_64_archs} |
---|
1241 | rm -rf $FULLPATH/32/ada{include,lib} |
---|
1242 | %endif |
---|
1243 | if [ "$FULLPATH" != "$FULLLPATH" ]; then |
---|
1244 | mv -f $FULLPATH/ada{include,lib} $FULLLPATH/ |
---|
1245 | pushd $FULLLPATH/adalib |
---|
1246 | if [ "%{_lib}" = "lib" ]; then |
---|
1247 | ln -sf ../../../../../libgnarl-*.so libgnarl.so |
---|
1248 | ln -sf ../../../../../libgnarl-*.so libgnarl-4.4.so |
---|
1249 | ln -sf ../../../../../libgnat-*.so libgnat.so |
---|
1250 | ln -sf ../../../../../libgnat-*.so libgnat-4.4.so |
---|
1251 | else |
---|
1252 | ln -sf ../../../../../../%{_lib}/libgnarl-*.so libgnarl.so |
---|
1253 | ln -sf ../../../../../../%{_lib}/libgnarl-*.so libgnarl-4.4.so |
---|
1254 | ln -sf ../../../../../../%{_lib}/libgnat-*.so libgnat.so |
---|
1255 | ln -sf ../../../../../../%{_lib}/libgnat-*.so libgnat-4.4.so |
---|
1256 | fi |
---|
1257 | popd |
---|
1258 | else |
---|
1259 | pushd $FULLPATH/adalib |
---|
1260 | if [ "%{_lib}" = "lib" ]; then |
---|
1261 | ln -sf ../../../../libgnarl-*.so libgnarl.so |
---|
1262 | ln -sf ../../../../libgnarl-*.so libgnarl-4.4.so |
---|
1263 | ln -sf ../../../../libgnat-*.so libgnat.so |
---|
1264 | ln -sf ../../../../libgnat-*.so libgnat-4.4.so |
---|
1265 | else |
---|
1266 | ln -sf ../../../../../%{_lib}/libgnarl-*.so libgnarl.so |
---|
1267 | ln -sf ../../../../../%{_lib}/libgnarl-*.so libgnarl-4.4.so |
---|
1268 | ln -sf ../../../../../%{_lib}/libgnat-*.so libgnat.so |
---|
1269 | ln -sf ../../../../../%{_lib}/libgnat-*.so libgnat-4.4.so |
---|
1270 | fi |
---|
1271 | popd |
---|
1272 | fi |
---|
1273 | %endif |
---|
1274 | |
---|
1275 | %ifarch sparcv9 ppc |
---|
1276 | %if %{biarch_on_ppc32} |
---|
1277 | ln -sf ../../../../../lib64/libobjc.so.2 64/libobjc.so |
---|
1278 | ln -sf ../`echo ../../../../lib/libstdc++.so.6.* | sed s~/lib/~/lib64/~` 64/libstdc++.so |
---|
1279 | ln -sf ../`echo ../../../../lib/libgfortran.so.3.* | sed s~/lib/~/lib64/~` 64/libgfortran.so |
---|
1280 | ln -sf ../`echo ../../../../lib/libgomp.so.1.* | sed s~/lib/~/lib64/~` 64/libgomp.so |
---|
1281 | rm -f libmudflap.so libmudflapth.so |
---|
1282 | echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib/libmudflap.so.0.* | sed 's,^.*libm,libm,'`' )' > libmudflap.so |
---|
1283 | echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib/libmudflapth.so.0.* | sed 's,^.*libm,libm,'`' )' > libmudflapth.so |
---|
1284 | echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libmudflap.so.0.* | sed 's,^.*libm,libm,'`' )' > 64/libmudflap.so |
---|
1285 | echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libmudflapth.so.0.* | sed 's,^.*libm,libm,'`' )' > 64/libmudflapth.so |
---|
1286 | %if %{build_java} |
---|
1287 | ln -sf ../`echo ../../../../lib/libgcj.so.10.* | sed s~/lib/~/lib64/~` 64/libgcj.so |
---|
1288 | ln -sf ../`echo ../../../../lib/libgcj-tools.so.10.* | sed s~/lib/~/lib64/~` 64/libgcj-tools.so |
---|
1289 | ln -sf ../`echo ../../../../lib/libgij.so.10.* | sed s~/lib/~/lib64/~` 64/libgij.so |
---|
1290 | ln -sf lib32/libgcj_bc.so libgcj_bc.so |
---|
1291 | ln -sf ../lib64/libgcj_bc.so 64/libgcj_bc.so |
---|
1292 | ##VINE## if %{biarch_on_ppc32} |
---|
1293 | ##VINE## mv ../../../../lib64/libgcj_bc.so 64/libgcj_bc.so |
---|
1294 | ##VINE## endif |
---|
1295 | %endif |
---|
1296 | mv -f $RPM_BUILD_ROOT%{_prefix}/lib64/libsupc++.*a 64/ |
---|
1297 | mv -f $RPM_BUILD_ROOT%{_prefix}/lib64/libgfortran.*a 64/ |
---|
1298 | mv -f $RPM_BUILD_ROOT%{_prefix}/lib64/libobjc.*a 64/ |
---|
1299 | mv -f $RPM_BUILD_ROOT%{_prefix}/lib64/libgomp.*a 64/ |
---|
1300 | mv -f $RPM_BUILD_ROOT%{_prefix}/lib64/libmudflap{,th}.*a 64/ |
---|
1301 | ln -sf lib32/libstdc++.a libstdc++.a |
---|
1302 | ln -sf ../lib64/libstdc++.a 64/libstdc++.a |
---|
1303 | ln -sf lib32/libmudflap.a libmudflap.a |
---|
1304 | ln -sf ../lib64/libmudflap.a 64/libmudflap.a |
---|
1305 | ln -sf lib32/libmudflapth.a libmudflapth.a |
---|
1306 | ln -sf ../lib64/libmudflapth.a 64/libmudflapth.a |
---|
1307 | %if %{build_ada} |
---|
1308 | ln -sf lib32/adainclude adainclude |
---|
1309 | ln -sf ../lib64/adainclude 64/adainclude |
---|
1310 | ln -sf lib32/adalib adalib |
---|
1311 | ln -sf ../lib64/adalib 64/adalib |
---|
1312 | %endif |
---|
1313 | %endif |
---|
1314 | %endif |
---|
1315 | |
---|
1316 | %ifarch %{multilib_64_archs} |
---|
1317 | mkdir -p 32 |
---|
1318 | ln -sf ../../../../libobjc.so.2 32/libobjc.so |
---|
1319 | ln -sf ../`echo ../../../../lib64/libstdc++.so.6.* | sed s~/../lib64/~/~` 32/libstdc++.so |
---|
1320 | ln -sf ../`echo ../../../../lib64/libgfortran.so.1.* | sed s~/../lib64/~/~` 32/libgfortran.so |
---|
1321 | ln -sf ../`echo ../../../../lib64/libgomp.so.1.* | sed s~/../lib64/~/~` 32/libgomp.so |
---|
1322 | rm -f libmudflap.so libmudflapth.so |
---|
1323 | echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libmudflap.so.0.* | sed 's,^.*libm,libm,'`' )' > libmudflap.so |
---|
1324 | echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libmudflapth.so.0.* | sed 's,^.*libm,libm,'`' )' > libmudflapth.so |
---|
1325 | echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libmudflap.so.0.* | sed 's,^.*libm,libm,'`' )' > 32/libmudflap.so |
---|
1326 | echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libmudflapth.so.0.* | sed 's,^.*libm,libm,'`' )' > 32/libmudflapth.so |
---|
1327 | %if %{build_java} |
---|
1328 | ln -sf ../`echo ../../../../lib64/libgcj.so.10.* | sed s~/../lib64/~/~` 32/libgcj.so |
---|
1329 | ln -sf ../`echo ../../../../lib64/libgcj-tools.so.10.* | sed s~/../lib64/~/~` 32/libgcj-tools.so |
---|
1330 | ln -sf ../`echo ../../../../lib64/libgij.so.10.* | sed s~/../lib64/~/~` 32/libgij.so |
---|
1331 | %endif |
---|
1332 | mv -f $RPM_BUILD_ROOT%{_prefix}/lib/libsupc++.*a 32/ |
---|
1333 | mv -f $RPM_BUILD_ROOT%{_prefix}/lib/libgfortran.*a 32/ |
---|
1334 | mv -f $RPM_BUILD_ROOT%{_prefix}/lib/libobjc.*a 32/ |
---|
1335 | mv -f $RPM_BUILD_ROOT%{_prefix}/lib/libgomp.*a 32/ |
---|
1336 | %endif |
---|
1337 | %ifarch sparc64 ppc64 |
---|
1338 | ln -sf ../lib32/libstdc++.a 32/libstdc++.a |
---|
1339 | ln -sf lib64/libstdc++.a libstdc++.a |
---|
1340 | ln -sf ../lib32/libmudflap.a 32/libmudflap.a |
---|
1341 | ln -sf lib64/libmudflap.a libmudflap.a |
---|
1342 | ln -sf ../lib32/libmudflapth.a 32/libmudflapth.a |
---|
1343 | ln -sf lib64/libmudflapth.a libmudflapth.a |
---|
1344 | %if %{build_java} |
---|
1345 | ln -sf ../lib32/libgcj_bc.so 32/libgcj_bc.so |
---|
1346 | ln -sf lib64/libgcj_bc.so libgcj_bc.so |
---|
1347 | %endif |
---|
1348 | %if %{build_ada} |
---|
1349 | ln -sf ../lib32/adainclude 32/adainclude |
---|
1350 | ln -sf lib64/adainclude adainclude |
---|
1351 | ln -sf ../lib32/adalib 32/adalib |
---|
1352 | ln -sf lib64/adalib adalib |
---|
1353 | %endif |
---|
1354 | %else |
---|
1355 | %ifarch %{multilib_64_archs} |
---|
1356 | %ifarch x86_64 |
---|
1357 | mv -f $RPM_BUILD_ROOT%{_prefix}/lib/libstdc++.a 32/ |
---|
1358 | mv -f $RPM_BUILD_ROOT%{_prefix}/lib/libmudflap.a 32/ |
---|
1359 | mv -f $RPM_BUILD_ROOT%{_prefix}/lib/libmudflapth.a 32/ |
---|
1360 | %else |
---|
1361 | ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_version}/libstdc++.a 32/libstdc++.a |
---|
1362 | ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_version}/libmudflap.a 32/libmudflap.a |
---|
1363 | ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_version}/libmudflapth.a 32/libmudflapth.a |
---|
1364 | %endif |
---|
1365 | %if %{build_java} |
---|
1366 | ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_version}/libgcj_bc.so 32/libgcj_bc.so |
---|
1367 | %endif |
---|
1368 | %if %{build_ada} |
---|
1369 | ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_version}/adainclude 32/adainclude |
---|
1370 | ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_version}/adalib 32/adalib |
---|
1371 | %endif |
---|
1372 | %endif |
---|
1373 | %endif |
---|
1374 | |
---|
1375 | # Strip debug info from Fortran/ObjC/Java static libraries |
---|
1376 | strip -g `find . \( -name libgfortran.a -o -name libobjc.a -o -name libgomp.a \ |
---|
1377 | -o -name libmudflap.a -o -name libmudflapth.a \ |
---|
1378 | -o -name libgcc.a -o -name libgcov.a \) -a -type f` |
---|
1379 | popd |
---|
1380 | |
---|
1381 | chmod 755 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libgfortran.so.3.* |
---|
1382 | chmod 755 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libgomp.so.1.* |
---|
1383 | chmod 755 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libmudflap{,th}.so.0.* |
---|
1384 | chmod 755 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libobjc.so.2.* |
---|
1385 | %if %{build_ada} |
---|
1386 | chmod 755 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libgnarl*so* |
---|
1387 | chmod 755 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libgnat*so* |
---|
1388 | %endif |
---|
1389 | |
---|
1390 | mv $FULLPATH/include-fixed/syslimits.h $FULLPATH/include/syslimits.h |
---|
1391 | mv $FULLPATH/include-fixed/limits.h $FULLPATH/include/limits.h |
---|
1392 | for h in `find $FULLPATH/include -name \*.h`; do |
---|
1393 | if grep -q 'It has been auto-edited by fixincludes from' $h; then |
---|
1394 | rh=`grep -A2 'It has been auto-edited by fixincludes from' $h | tail -1 | sed 's|^.*"\(.*\)".*$|\1|'` |
---|
1395 | diff -up $rh $h || : |
---|
1396 | rm -f $h |
---|
1397 | fi |
---|
1398 | done |
---|
1399 | |
---|
1400 | cat > $RPM_BUILD_ROOT%{_prefix}/bin/c89-%{gcc_version} <<"EOF" |
---|
1401 | #!/bin/sh |
---|
1402 | fl="-std=c89" |
---|
1403 | for opt; do |
---|
1404 | case "$opt" in |
---|
1405 | -ansi|-std=c89|-std=iso9899:1990) fl="";; |
---|
1406 | -std=*) echo "`basename $0` called with non ANSI/ISO C option $opt" >&2 |
---|
1407 | exit 1;; |
---|
1408 | esac |
---|
1409 | done |
---|
1410 | exec gcc $fl ${1+"$@"} |
---|
1411 | EOF |
---|
1412 | cat > $RPM_BUILD_ROOT%{_prefix}/bin/c99-%{gcc_version} <<"EOF" |
---|
1413 | #!/bin/sh |
---|
1414 | fl="-std=c99" |
---|
1415 | for opt; do |
---|
1416 | case "$opt" in |
---|
1417 | -std=c99|-std=iso9899:1999) fl="";; |
---|
1418 | -std=*) echo "`basename $0` called with non ISO C99 option $opt" >&2 |
---|
1419 | exit 1;; |
---|
1420 | esac |
---|
1421 | done |
---|
1422 | exec gcc $fl ${1+"$@"} |
---|
1423 | EOF |
---|
1424 | chmod 755 $RPM_BUILD_ROOT%{_prefix}/bin/c?9-%{gcc_version} |
---|
1425 | |
---|
1426 | mkdir -p $RPM_BUILD_ROOT%{_prefix}/sbin |
---|
1427 | gcc -static -Os %{SOURCE1} -o $RPM_BUILD_ROOT%{_prefix}/sbin/libgcc_post_upgrade |
---|
1428 | strip $RPM_BUILD_ROOT%{_prefix}/sbin/libgcc_post_upgrade |
---|
1429 | |
---|
1430 | # for alternatives |
---|
1431 | pushd $RPM_BUILD_ROOT%{_bindir} |
---|
1432 | for i in gcc cpp c++ g++ gfortran f95 \ |
---|
1433 | gnat gnatbind gnatbl gnatchop gnatfind gnatkr gnatlink \ |
---|
1434 | gnatls gnatmake gnatprep gnatxref gprmake \ |
---|
1435 | gcj gjavah gcjh jcf-dump \ |
---|
1436 | jv-convert gij gjar grmic grmid grmiregistry \ |
---|
1437 | gtnameserv gkeytool gorbd gserialver gcj-dbtool gjarsigner \ |
---|
1438 | %{gcc_target_platform}-gcc \ |
---|
1439 | %{gcc_target_platform}-g++ \ |
---|
1440 | %{gcc_target_platform}-c++ \ |
---|
1441 | %{gcc_target_platform}-gfortran \ |
---|
1442 | %{gcc_target_platform}-gcj ; do |
---|
1443 | if [ -f "$i" ] ; then |
---|
1444 | mv $i $i-%{gcc_version} |
---|
1445 | # ln -sf $i-%{gcc_version} $i |
---|
1446 | fi |
---|
1447 | done |
---|
1448 | |
---|
1449 | %ifarch sparc ppc |
---|
1450 | %if %{biarch_on_ppc32} |
---|
1451 | mv %{_target_platform}-gcc \ |
---|
1452 | %{_target_platform}-gcc-${gcc_version} |
---|
1453 | %endif |
---|
1454 | %endif |
---|
1455 | %ifarch sparc64 |
---|
1456 | mv sparc-%{_vendor}-%{_target_os}-gcc \ |
---|
1457 | sparc-%{_vendor}-%{_target_os}-gcc-%{gcc_version} \ |
---|
1458 | %endif |
---|
1459 | %ifarch ppc64 |
---|
1460 | mv ppc-%{_vendor}-%{_target_os}-gcc \ |
---|
1461 | ppc-%{_vendor}-%{_target_os}-gcc-%{gcc_version} |
---|
1462 | %endif |
---|
1463 | |
---|
1464 | popd |
---|
1465 | pushd $RPM_BUILD_ROOT%{_prefix}/%{_lib}/security |
---|
1466 | mv classpath.security classpath.security-%{gcc_version} |
---|
1467 | popd |
---|
1468 | |
---|
1469 | cd .. |
---|
1470 | %find_lang %{name} |
---|
1471 | %find_lang cpplib |
---|
1472 | |
---|
1473 | # Remove binaries we will not be including, so that they don't end up in |
---|
1474 | # gcc-debuginfo |
---|
1475 | rm -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/{libffi*,libiberty.a} |
---|
1476 | rm -f $FULLEPATH/install-tools/{mkheaders,fixincl} |
---|
1477 | rm -f $RPM_BUILD_ROOT%{_prefix}/lib/{32,64}/libiberty.a |
---|
1478 | rm -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libssp* |
---|
1479 | rm -f $RPM_BUILD_ROOT%{_prefix}/bin/gnative2ascii |
---|
1480 | |
---|
1481 | %ifarch %{multilib_64_archs} |
---|
1482 | # Remove libraries for the other arch on multilib arches |
---|
1483 | %ifarch x86_64 |
---|
1484 | rm -f $RPM_BUILD_ROOT%{_prefix}/lib/{libffi*,libiberty.a} |
---|
1485 | rm -f $RPM_BUILD_ROOT%{_prefix}/lib/libssp* |
---|
1486 | %else |
---|
1487 | rm -f $RPM_BUILD_ROOT%{_prefix}/lib/lib*.so* |
---|
1488 | rm -f $RPM_BUILD_ROOT%{_prefix}/lib/lib*.a |
---|
1489 | %endif |
---|
1490 | %else |
---|
1491 | %ifarch sparcv9 ppc |
---|
1492 | %if %{biarch_on_ppc32} |
---|
1493 | rm -f $RPM_BUILD_ROOT%{_prefix}/lib64/lib*.so* |
---|
1494 | rm -f $RPM_BUILD_ROOT%{_prefix}/lib64/lib*.a |
---|
1495 | %endif |
---|
1496 | %endif |
---|
1497 | %endif |
---|
1498 | |
---|
1499 | %if %{build_java} |
---|
1500 | mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/java/gcj-endorsed \ |
---|
1501 | $RPM_BUILD_ROOT%{_prefix}/%{_lib}/gcj-%{gcc_version}/classmap.db.d |
---|
1502 | chmod 755 $RPM_BUILD_ROOT%{_prefix}/share/java/gcj-endorsed \ |
---|
1503 | $RPM_BUILD_ROOT%{_prefix}/%{_lib}/gcj-%{gcc_version} \ |
---|
1504 | $RPM_BUILD_ROOT%{_prefix}/%{_lib}/gcj-%{gcc_version}/classmap.db.d |
---|
1505 | touch $RPM_BUILD_ROOT%{_prefix}/%{_lib}/gcj-%{gcc_version}/classmap.db |
---|
1506 | %endif |
---|
1507 | |
---|
1508 | install -m644 %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/man1/protoize.1 |
---|
1509 | echo '.so man1/protoize.1' > $RPM_BUILD_ROOT%{_mandir}/man1/unprotoize.1 |
---|
1510 | chmod 644 $RPM_BUILD_ROOT%{_mandir}/man1/unprotoize.1 |
---|
1511 | |
---|
1512 | |
---|
1513 | %check |
---|
1514 | %if 0 |
---|
1515 | cd obj-%{gcc_target_platform} |
---|
1516 | |
---|
1517 | # run the tests. |
---|
1518 | make %{?_smp_mflags} -k check ALT_CC_UNDER_TEST=gcc ALT_CXX_UNDER_TEST=g++ RUNTESTFLAGS="--target_board=unix/'{,-fstack-protector}'" || : |
---|
1519 | echo ====================TESTING========================= |
---|
1520 | ( LC_ALL=C ../contrib/test_summary || : ) 2>&1 | sed -n '/^cat.*EOF/,/^EOF/{/^cat.*EOF/d;/^EOF/d;/^LAST_UPDATED:/d;p;}' |
---|
1521 | echo ====================TESTING END===================== |
---|
1522 | mkdir testlogs-%{_target_platform}-%{version}-%{release} |
---|
1523 | for i in `find . -name \*.log | grep -F testsuite/ | grep -v 'config.log\|acats.*/tests/'`; do |
---|
1524 | ln $i testlogs-%{_target_platform}-%{version}-%{release}/ || : |
---|
1525 | done |
---|
1526 | tar cf - testlogs-%{_target_platform}-%{version}-%{release} | bzip2 -9c \ |
---|
1527 | | uuencode testlogs-%{_target_platform}.tar.bz2 || : |
---|
1528 | rm -rf testlogs-%{_target_platform}-%{version}-%{release} |
---|
1529 | %endif |
---|
1530 | |
---|
1531 | %clean |
---|
1532 | rm -rf $RPM_BUILD_ROOT |
---|
1533 | |
---|
1534 | # %post |
---|
1535 | # /sbin/install-info \ |
---|
1536 | # --info-dir=%{_infodir} %{_infodir}/gcc.info.gz |
---|
1537 | # |
---|
1538 | # %preun |
---|
1539 | # if [ $1 = 0 ]; then |
---|
1540 | # /sbin/install-info --delete \ |
---|
1541 | # --info-dir=%{_infodir} %{_infodir}/gcc.info.gz |
---|
1542 | # fi |
---|
1543 | # |
---|
1544 | # |
---|
1545 | # %post cpp |
---|
1546 | # /sbin/install-info \ |
---|
1547 | # --info-dir=%{_infodir} %{_infodir}/cpp.info.gz |
---|
1548 | # |
---|
1549 | # %preun cpp |
---|
1550 | # if [ $1 = 0 ]; then |
---|
1551 | # /sbin/install-info --delete \ |
---|
1552 | # --info-dir=%{_infodir} %{_infodir}/cpp.info.gz |
---|
1553 | # fi |
---|
1554 | # |
---|
1555 | # |
---|
1556 | # %post gfortran |
---|
1557 | # /sbin/install-info \ |
---|
1558 | # --info-dir=%{_infodir} %{_infodir}/gfortran.info.gz |
---|
1559 | # |
---|
1560 | # %preun gfortran |
---|
1561 | # if [ $1 = 0 ]; then |
---|
1562 | # /sbin/install-info --delete \ |
---|
1563 | # --info-dir=%{_infodir} %{_infodir}/gfortran.info.gz |
---|
1564 | # fi |
---|
1565 | # |
---|
1566 | # |
---|
1567 | # %post java |
---|
1568 | # /sbin/install-info \ |
---|
1569 | # --info-dir=%{_infodir} %{_infodir}/gcj.info.gz |
---|
1570 | # |
---|
1571 | # %preun java |
---|
1572 | # if [ $1 = 0 ]; then |
---|
1573 | # /sbin/install-info --delete \ |
---|
1574 | # --info-dir=%{_infodir} %{_infodir}/gcj.info.gz |
---|
1575 | # fi |
---|
1576 | # |
---|
1577 | # |
---|
1578 | # %post gnat |
---|
1579 | # /sbin/install-info \ |
---|
1580 | # --info-dir=%{_infodir} %{_infodir}/gnat_rm.info.gz |
---|
1581 | # /sbin/install-info \ |
---|
1582 | # --info-dir=%{_infodir} %{_infodir}/gnat_ugn_unw.info.gz |
---|
1583 | # /sbin/install-info \ |
---|
1584 | # --info-dir=%{_infodir} %{_infodir}/gnat-style.info.gz |
---|
1585 | # |
---|
1586 | # |
---|
1587 | # %preun gnat |
---|
1588 | # if [ $1 = 0 ]; then |
---|
1589 | # /sbin/install-info --delete \ |
---|
1590 | # --info-dir=%{_infodir} %{_infodir}/gnat_rm.info.gz |
---|
1591 | # /sbin/install-info --delete \ |
---|
1592 | # --info-dir=%{_infodir} %{_infodir}/gnat_ugn_unw.info.gz |
---|
1593 | # /sbin/install-info --delete \ |
---|
1594 | # --info-dir=%{_infodir} %{_infodir}/gnat-style.info.gz |
---|
1595 | # fi |
---|
1596 | |
---|
1597 | # Because glibc Prereq's libgcc and /sbin/ldconfig |
---|
1598 | # comes from glibc, it might not exist yet when |
---|
1599 | # libgcc is installed |
---|
1600 | %post -n libgcc -p %{_prefix}/sbin/libgcc_post_upgrade |
---|
1601 | |
---|
1602 | %post -n libstdc++ -p /sbin/ldconfig |
---|
1603 | |
---|
1604 | %postun -n libstdc++ -p /sbin/ldconfig |
---|
1605 | |
---|
1606 | %post -n libobjc -p /sbin/ldconfig |
---|
1607 | |
---|
1608 | %postun -n libobjc -p /sbin/ldconfig |
---|
1609 | |
---|
1610 | %post -n libgcj |
---|
1611 | /sbin/ldconfig |
---|
1612 | /sbin/update-alternatives \ |
---|
1613 | --install %{_bindir}/gij gij %{_bindir}/gij-%{gcc_version} 30 \ |
---|
1614 | --slave %{_bindir}/jv-convert jv-convert %{_bindir}/jv-convert-%{gcc_version} \ |
---|
1615 | --slave %{_bindir}/gjar gjar %{_bindir}/gjar-%{gcc_version} \ |
---|
1616 | --slave %{_bindir}/grmic grmic %{_bindir}/grmic-%{gcc_version} \ |
---|
1617 | --slave %{_bindir}/grmid grmid %{_bindir}/grmid-%{gcc_version} \ |
---|
1618 | --slave %{_bindir}/grmiregistry grmiregistry %{_bindir}/grmiregistry-%{gcc_version} \ |
---|
1619 | --slave %{_bindir}/gtnameserv gtnameserv %{_bindir}/gtnameserv-%{gcc_version} \ |
---|
1620 | --slave %{_bindir}/gkeytool gkeytool %{_bindir}/gkeytool-%{gcc_version} \ |
---|
1621 | --slave %{_bindir}/gorbd gorbd %{_bindir}/gorbd-%{gcc_version} \ |
---|
1622 | --slave %{_bindir}/gserialver gserialver %{_bindir}/gserialver-%{gcc_version} \ |
---|
1623 | --slave %{_bindir}/gcj-dbtool gcj-dbtool %{_bindir}/gcj-dbtool-%{gcc_version} \ |
---|
1624 | --slave %{_bindir}/gjarsigner gjarsigner %{_bindir}/gjarsigner-%{gcc_version} \ |
---|
1625 | --slave %{_prefix}/%{_lib}/security/classpath.security classpath.security %{_prefix}/%{_lib}/security/classpath.security-%{gcc_version} |
---|
1626 | |
---|
1627 | %posttrans -n libgcj |
---|
1628 | # fix broken symlink if it's there |
---|
1629 | if [ ! -f %{_bindir}/gij ] ; then |
---|
1630 | /sbin/update-alternatives --auto gij |
---|
1631 | fi |
---|
1632 | |
---|
1633 | %postun -n libgcj |
---|
1634 | /sbin/ldconfig |
---|
1635 | if ! ( readlink -e %{_bindir}/gij-%{gcc_version} > /dev/null ); then |
---|
1636 | /sbin/update-alternatives --remove gij %{_bindir}/gij-%{gcc_version} |
---|
1637 | fi |
---|
1638 | |
---|
1639 | %post |
---|
1640 | SLAVE="" |
---|
1641 | %ifarch sparc ppc |
---|
1642 | %if %{biarch_on_ppc32} |
---|
1643 | SLAVE="--slave %{_bindir}/%{_target_platform}-gcc \ |
---|
1644 | %{_target_platform}-gcc |
---|
1645 | %{_bindir}/%{_target_platform}-gcc-%{gcc_version} " |
---|
1646 | %endif |
---|
1647 | %endif |
---|
1648 | %ifarch sparc64 |
---|
1649 | SLAVE=$SLAVE" --slave %{_bindir}/sparc-%{_vendor}-%{_target_os}-gcc \ |
---|
1650 | sparc-%{_vendor}-%{_target_os}-gcc \ |
---|
1651 | %{_bindir}/sparc-%{_vendor}-%{_target_os}-gcc-%{gcc_version} " |
---|
1652 | %endif |
---|
1653 | %ifarch ppc64 |
---|
1654 | SLAVE=$SLAVE" --slave %{_bindir}/ppc-%{_vendor}-%{_target_os}-gcc \ |
---|
1655 | ppc-%{_vendor}-%{_target_os}-gcc \ |
---|
1656 | %{_bindir}/ppc-%{_vendor}-%{_target_os}-gcc-%{gcc_version} " |
---|
1657 | %endif |
---|
1658 | |
---|
1659 | /sbin/update-alternatives \ |
---|
1660 | --install %{_bindir}/gcc gcc %{_bindir}/gcc-%{gcc_version} 30 \ |
---|
1661 | --slave %{_bindir}/cc cc %{_bindir}/gcc-%{gcc_version} \ |
---|
1662 | --slave %{_bindir}/%{gcc_target_platform}-gcc \ |
---|
1663 | %{gcc_target_platform}-gcc \ |
---|
1664 | %{_bindir}/%{gcc_target_platform}-gcc-%{gcc_version} \ |
---|
1665 | --slave %{_bindir}/c89 c89 %{_bindir}/c89-%{gcc_version} \ |
---|
1666 | --slave %{_bindir}/c99 c99 %{_bindir}/c99-%{gcc_version} $SLAVE |
---|
1667 | |
---|
1668 | %posttrans |
---|
1669 | # fix broken symlink if it's there |
---|
1670 | if [ ! -f %{_bindir}/gcc ] ; then |
---|
1671 | /sbin/update-alternatives --auto gcc |
---|
1672 | fi |
---|
1673 | |
---|
1674 | %postun |
---|
1675 | if ! ( readlink -e %{_bindir}/gcc-%{gcc_version} > /dev/null ); then |
---|
1676 | /sbin/update-alternatives --remove gcc %{_bindir}/gcc-%{gcc_version} |
---|
1677 | fi |
---|
1678 | |
---|
1679 | %post c++ |
---|
1680 | /sbin/update-alternatives \ |
---|
1681 | --install %{_bindir}/g++ g++ %{_bindir}/g++-%{gcc_version} 30 \ |
---|
1682 | --slave %{_bindir}/c++ c++ %{_bindir}/g++-%{gcc_version} \ |
---|
1683 | --slave %{_bindir}/%{gcc_target_platform}-g++ \ |
---|
1684 | %{gcc_target_platform}-g++ \ |
---|
1685 | %{_bindir}/%{gcc_target_platform}-g++-%{gcc_version} \ |
---|
1686 | --slave %{_bindir}/%{gcc_target_platform}-c++ \ |
---|
1687 | %{gcc_target_platform}-c++ \ |
---|
1688 | %{_bindir}/%{gcc_target_platform}-c++-%{gcc_version} |
---|
1689 | |
---|
1690 | %posttrans c++ |
---|
1691 | # fix broken symlink if it's there |
---|
1692 | if [ ! -f %{_bindir}/g++ ] ; then |
---|
1693 | /sbin/update-alternatives --auto g++ |
---|
1694 | fi |
---|
1695 | |
---|
1696 | %postun c++ |
---|
1697 | if ! ( readlink -e %{_bindir}/g++-%{gcc_version} > /dev/null ); then |
---|
1698 | /sbin/update-alternatives --remove g++ %{_bindir}/g++-%{gcc_version} |
---|
1699 | fi |
---|
1700 | |
---|
1701 | %post cpp |
---|
1702 | /sbin/update-alternatives \ |
---|
1703 | --install %{_bindir}/cpp cpp %{_bindir}/cpp-%{gcc_version} 30 \ |
---|
1704 | --slave /lib/cpp libcpp %{_bindir}/cpp-%{gcc_version} |
---|
1705 | |
---|
1706 | %posttrans cpp |
---|
1707 | # fix broken symlink if it's there |
---|
1708 | if [ ! -f %{_bindir}/cpp ] ; then |
---|
1709 | /sbin/update-alternatives --auto cpp |
---|
1710 | fi |
---|
1711 | |
---|
1712 | %postun cpp |
---|
1713 | if ! ( readlink -e %{_bindir}/cpp-%{gcc_version} > /dev/null ); then |
---|
1714 | /sbin/update-alternatives --remove cpp %{_bindir}/cpp-%{gcc_version} |
---|
1715 | fi |
---|
1716 | |
---|
1717 | %post gfortran |
---|
1718 | /sbin/update-alternatives \ |
---|
1719 | --install %{_bindir}/gfortran gfortran %{_bindir}/gfortran-%{gcc_version} 30 \ |
---|
1720 | --slave %{_bindir}/f95 f95 %{_bindir}/gfortran-%{gcc_version} \ |
---|
1721 | --slave %{_bindir}/%{gcc_target_platform}-gfortran \ |
---|
1722 | %{gcc_target_platform}-gfortran \ |
---|
1723 | %{_bindir}/%{gcc_target_platform}-gfortran-%{gcc_version} |
---|
1724 | |
---|
1725 | %posttrans gfortran |
---|
1726 | # fix broken symlink if it's there |
---|
1727 | if [ ! -f %{_bindir}/gfortran ] ; then |
---|
1728 | /sbin/update-alternatives --auto gfortran |
---|
1729 | fi |
---|
1730 | |
---|
1731 | %postun gfortran |
---|
1732 | if ! ( readlink -e %{_bindir}/gfortran-%{gcc_version} > /dev/null ); then |
---|
1733 | /sbin/update-alternatives --remove gfortran %{_bindir}/gfortran-%{gcc_version} |
---|
1734 | fi |
---|
1735 | |
---|
1736 | %post gnat |
---|
1737 | /sbin/update-alternatives \ |
---|
1738 | --install %{_bindir}/gnat gnat %{_bindir}/gnat-%{gcc_version} 30 \ |
---|
1739 | --slave %{_bindir}/gnatbind gnatbind %{_bindir}/gnatbind-%{gcc_version} \ |
---|
1740 | --slave %{_bindir}/gnatbl gnatbl %{_bindir}/gnatbl-%{gcc_version} \ |
---|
1741 | --slave %{_bindir}/gnatchop gnatchop %{_bindir}/gnatchop-%{gcc_version} \ |
---|
1742 | --slave %{_bindir}/gnatfind gnatfind %{_bindir}/gnatfind-%{gcc_version} \ |
---|
1743 | --slave %{_bindir}/gnatgcc gnatgcc %{_bindir}/gcc-%{gcc_version} \ |
---|
1744 | --slave %{_bindir}/gnatkr gnatkr %{_bindir}/gnatkr-%{gcc_version} \ |
---|
1745 | --slave %{_bindir}/gnatlink gnatlink %{_bindir}/gnatlink-%{gcc_version} \ |
---|
1746 | --slave %{_bindir}/gnatls gnatls %{_bindir}/gnatls-%{gcc_version} \ |
---|
1747 | --slave %{_bindir}/gnatmake gnatmake %{_bindir}/gnatmake-%{gcc_version} \ |
---|
1748 | --slave %{_bindir}/gnatprep gnatprep %{_bindir}/gnatprep-%{gcc_version} \ |
---|
1749 | --slave %{_bindir}/gnatxref gnatxref %{_bindir}/gnatxref-%{gcc_version} \ |
---|
1750 | --slave %{_bindir}/gprmake gprmake %{_bindir}/gprmake-%{gcc_version} \ |
---|
1751 | |
---|
1752 | %posttrans gnat |
---|
1753 | # fix broken symlink if it's there |
---|
1754 | if [ ! -f %{_bindir}/gnat ] ; then |
---|
1755 | /sbin/update-alternatives --auto gnat |
---|
1756 | fi |
---|
1757 | |
---|
1758 | %postun gnat |
---|
1759 | if ! ( readlink -e %{_bindir}/gnat-%{gcc_version} > /dev/null ); then |
---|
1760 | /sbin/update-alternatives --remove gnat %{_bindir}/gnat-%{gcc_version} |
---|
1761 | fi |
---|
1762 | |
---|
1763 | %post java |
---|
1764 | /sbin/update-alternatives \ |
---|
1765 | --install %{_bindir}/gcj gcj %{_bindir}/gcj-%{gcc_version} 30 \ |
---|
1766 | --slave %{_bindir}/gjavah gjavah %{_bindir}/gjavah-%{gcc_version} \ |
---|
1767 | --slave %{_bindir}/gcjh gcjh %{_bindir}/gcjh-%{gcc_version} \ |
---|
1768 | --slave %{_bindir}/jcf-dump jcf-dump %{_bindir}/jcf-dump-%{gcc_version} \ |
---|
1769 | --slave %{_bindir}/%{gcc_target_platform}-gcj \ |
---|
1770 | %{gcc_target_platform}-gcj \ |
---|
1771 | %{_bindir}/%{gcc_target_platform}-gcj-%{gcc_version} |
---|
1772 | |
---|
1773 | %posttrans java |
---|
1774 | # fix broken symlink if it's there |
---|
1775 | if [ ! -f %{_bindir}/gcj ] ; then |
---|
1776 | /sbin/update-alternatives --auto gcj |
---|
1777 | fi |
---|
1778 | |
---|
1779 | %postun java |
---|
1780 | if ! ( readlink -e %{_bindir}/gcj-%{gcc_version} > /dev/null ); then |
---|
1781 | /sbin/update-alternatives --remove gcj %{_bindir}/gcj-%{gcc_version} |
---|
1782 | fi |
---|
1783 | |
---|
1784 | %post -n libgfortran -p /sbin/ldconfig |
---|
1785 | |
---|
1786 | %postun -n libgfortran -p /sbin/ldconfig |
---|
1787 | |
---|
1788 | %post -n libgnat -p /sbin/ldconfig |
---|
1789 | |
---|
1790 | %postun -n libgnat -p /sbin/ldconfig |
---|
1791 | |
---|
1792 | %post -n libgomp -p /sbin/ldconfig |
---|
1793 | |
---|
1794 | %postun -n libgomp -p /sbin/ldconfig |
---|
1795 | |
---|
1796 | %post -n libmudflap -p /sbin/ldconfig |
---|
1797 | |
---|
1798 | %postun -n libmudflap -p /sbin/ldconfig |
---|
1799 | |
---|
1800 | %post docs |
---|
1801 | %if %{build_ada} |
---|
1802 | /sbin/install-info \ |
---|
1803 | --info-dir=%{_infodir} %{_infodir}/gnat_rm.info.gz |
---|
1804 | /sbin/install-info \ |
---|
1805 | --info-dir=%{_infodir} %{_infodir}/gnat_ugn_unw.info.gz |
---|
1806 | /sbin/install-info \ |
---|
1807 | --info-dir=%{_infodir} %{_infodir}/gnat-style.info.gz |
---|
1808 | %endif |
---|
1809 | |
---|
1810 | for i in gcc cpp gfortran gcj ; do |
---|
1811 | /sbin/install-info --info-dir=%{_infodir} %{_infodir}/$i.info.gz |
---|
1812 | done |
---|
1813 | |
---|
1814 | |
---|
1815 | %preun docs |
---|
1816 | if [ $1 = 0 ] ; then |
---|
1817 | %if %{build_ada} |
---|
1818 | /sbin/install-info --delete \ |
---|
1819 | --info-dir=%{_infodir} %{_infodir}/gnat_rm.info.gz |
---|
1820 | /sbin/install-info --delete \ |
---|
1821 | --info-dir=%{_infodir} %{_infodir}/gnat_ugn_unw.info.gz |
---|
1822 | /sbin/install-info --delete \ |
---|
1823 | --info-dir=%{_infodir} %{_infodir}/gnat-style.info.gz |
---|
1824 | %endif |
---|
1825 | for i in gcc cpp gfortran gcj; do |
---|
1826 | /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/$i.info.gz |
---|
1827 | done |
---|
1828 | fi |
---|
1829 | |
---|
1830 | |
---|
1831 | %triggerpostun -- gcc < 4.4.5-4 |
---|
1832 | if ( readlink %{_bindir}/gcc > /dev/null ); then |
---|
1833 | if ! ( readlink -e %{_bindir}/gcc > /dev/null ); then |
---|
1834 | echo " broken alternatives link detected, try to fix it..." |
---|
1835 | /sbin/update-alternatives --remove gcc `/usr/bin/readlink -m %{_bindir}/gcc` > /dev/null 2>&1 ||: |
---|
1836 | fi |
---|
1837 | fi |
---|
1838 | |
---|
1839 | %triggerpostun -- gcc-c++ < 4.4.5-4 |
---|
1840 | if ( readlink %{_bindir}/g++ > /dev/null ); then |
---|
1841 | if ! ( readlink -e %{_bindir}/g++ > /dev/null ); then |
---|
1842 | echo " broken alternatives link detected, try to fix it..." |
---|
1843 | /sbin/update-alternatives --remove g++ `/usr/bin/readlink -m %{_bindir}/g++` > /dev/null 2>&1 ||: |
---|
1844 | fi |
---|
1845 | fi |
---|
1846 | |
---|
1847 | %triggerpostun -- libgcj < 4.4.5-4 |
---|
1848 | if ( readlink %{_bindir}/gij > /dev/null ); then |
---|
1849 | if ! ( readlink -e %{_bindir}/gij > /dev/null ); then |
---|
1850 | echo " broken alternatives link detected, try to fix it..." |
---|
1851 | /sbin/update-alternatives --remove gij `/usr/bin/readlink -m %{_bindir}/gij` > /dev/null 2>&1 ||: |
---|
1852 | fi |
---|
1853 | fi |
---|
1854 | |
---|
1855 | %triggerpostun -- gcc-cpp < 4.4.5-4 |
---|
1856 | if ( readlink %{_bindir}/cpp > /dev/null ); then |
---|
1857 | if ! ( readlink -e %{_bindir}/cpp > /dev/null ); then |
---|
1858 | echo " broken alternatives link detected, try to fix it..." |
---|
1859 | /sbin/update-alternatives --remove cpp `/usr/bin/readlink -m %{_bindir}/cpp` > /dev/null 2>&1 ||: |
---|
1860 | fi |
---|
1861 | fi |
---|
1862 | |
---|
1863 | %triggerpostun -- gcc-gfortran < 4.4.5-4 |
---|
1864 | if ( readlink %{_bindir}/gfortran > /dev/null ); then |
---|
1865 | if ! ( readlink -e %{_bindir}/gfortran > /dev/null ); then |
---|
1866 | echo " broken alternatives link detected, try to fix it..." |
---|
1867 | /sbin/update-alternatives --remove gfortran `/usr/bin/readlink -m %{_bindir}/gfortran` > /dev/null 2>&1 ||: |
---|
1868 | fi |
---|
1869 | fi |
---|
1870 | |
---|
1871 | %triggerpostun -- gcc-gnat < 4.4.5-4 |
---|
1872 | if ( readlink %{_bindir}/gnat > /dev/null ); then |
---|
1873 | if ! ( readlink -e %{_bindir}/gnat > /dev/null ); then |
---|
1874 | echo " broken alternatives link detected, try to fix it..." |
---|
1875 | /sbin/update-alternatives --remove gnat `/usr/bin/readlink -m %{_bindir}/gnat` > /dev/null 2>&1 ||: |
---|
1876 | fi |
---|
1877 | fi |
---|
1878 | |
---|
1879 | %triggerpostun -- gcc-java < 4.4.5-4 |
---|
1880 | if ( readlink %{_bindir}/gcj > /dev/null ); then |
---|
1881 | if ! ( readlink -e %{_bindir}/gcj > /dev/null ); then |
---|
1882 | echo " broken alternatives link detected, try to fix it..." |
---|
1883 | /sbin/update-alternatives --remove gcj `/usr/bin/readlink -m %{_bindir}/gcj` > /dev/null 2>&1 ||: |
---|
1884 | fi |
---|
1885 | fi |
---|
1886 | |
---|
1887 | ##################################################################### |
---|
1888 | |
---|
1889 | |
---|
1890 | %files -f %{name}.lang |
---|
1891 | %defattr(-,root,root) |
---|
1892 | ##VINE##%{_prefix}/bin/cc |
---|
1893 | %{_prefix}/bin/c89-%{gcc_version} |
---|
1894 | %{_prefix}/bin/c99-%{gcc_version} |
---|
1895 | %{_prefix}/bin/gcc-%{gcc_version} |
---|
1896 | ##VINE##%{_prefix}/bin/gcov |
---|
1897 | ##VINE##%{_prefix}/bin/protoize |
---|
1898 | ##VINE##%{_prefix}/bin/unprotoize |
---|
1899 | %ifarch ppc |
---|
1900 | %if %{biarch_on_ppc32} |
---|
1901 | %{_prefix}/bin/%{_target_platform}-gcc-%{gcc_version} |
---|
1902 | %endif |
---|
1903 | %endif |
---|
1904 | %ifarch sparc64 sparcv9 |
---|
1905 | %{_prefix}/bin/sparc-%{_vendor}-%{_target_os}-gcc-%{gcc_version} |
---|
1906 | %endif |
---|
1907 | %ifarch ppc64 |
---|
1908 | %{_prefix}/bin/ppc-%{_vendor}-%{_target_os}-gcc-%{gcc_version} |
---|
1909 | %endif |
---|
1910 | %{_prefix}/bin/%{gcc_target_platform}-gcc-%{gcc_version} |
---|
1911 | ##VINE##%{_mandir}/man1/gcc.1* |
---|
1912 | ##VINE##%{_mandir}/man1/gcov.1* |
---|
1913 | ##VINE##%{_infodir}/gcc* |
---|
1914 | %dir %{_prefix}/lib/gcc |
---|
1915 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform} |
---|
1916 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version} |
---|
1917 | %dir %{_prefix}/libexec/gcc |
---|
1918 | %dir %{_prefix}/libexec/gcc/%{gcc_target_platform} |
---|
1919 | %dir %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version} |
---|
1920 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include |
---|
1921 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/SYSCALLS.c.X |
---|
1922 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/stddef.h |
---|
1923 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/stdarg.h |
---|
1924 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/stdfix.h |
---|
1925 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/varargs.h |
---|
1926 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/float.h |
---|
1927 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/limits.h |
---|
1928 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/stdbool.h |
---|
1929 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/iso646.h |
---|
1930 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/syslimits.h |
---|
1931 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/unwind.h |
---|
1932 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/omp.h |
---|
1933 | %ifarch %{ix86} x86_64 |
---|
1934 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/mmintrin.h |
---|
1935 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/mmintrin-common.h |
---|
1936 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/xmmintrin.h |
---|
1937 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/emmintrin.h |
---|
1938 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/pmmintrin.h |
---|
1939 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/tmmintrin.h |
---|
1940 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/ammintrin.h |
---|
1941 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/smmintrin.h |
---|
1942 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/nmmintrin.h |
---|
1943 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/bmmintrin.h |
---|
1944 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/wmmintrin.h |
---|
1945 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/immintrin.h |
---|
1946 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/avxintrin.h |
---|
1947 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/x86intrin.h |
---|
1948 | #{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/fma4intrin.h |
---|
1949 | #{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/xopintrin.h |
---|
1950 | #{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/lwpintrin.h |
---|
1951 | #{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/abmintrin.h |
---|
1952 | #{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/popcntintrin.h |
---|
1953 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/mm_malloc.h |
---|
1954 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/mm3dnow.h |
---|
1955 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/cpuid.h |
---|
1956 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/cross-stdarg.h |
---|
1957 | %endif |
---|
1958 | %ifarch ia64 |
---|
1959 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/ia64intrin.h |
---|
1960 | %endif |
---|
1961 | %ifarch ppc ppc64 |
---|
1962 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/ppc-asm.h |
---|
1963 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/altivec.h |
---|
1964 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/spe.h |
---|
1965 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/paired.h |
---|
1966 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/ppu_intrinsics.h |
---|
1967 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/si2vmx.h |
---|
1968 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/spu2vmx.h |
---|
1969 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/vec_types.h |
---|
1970 | %endif |
---|
1971 | %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/collect2 |
---|
1972 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/crt*.o |
---|
1973 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgcc.a |
---|
1974 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgcov.a |
---|
1975 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgcc_eh.a |
---|
1976 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgcc_s.so |
---|
1977 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgomp.spec |
---|
1978 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgomp.a |
---|
1979 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgomp.so |
---|
1980 | %ifarch sparcv9 ppc |
---|
1981 | %if %{biarch_on_ppc32} |
---|
1982 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64 |
---|
1983 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/crt*.o |
---|
1984 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgcc.a |
---|
1985 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgcov.a |
---|
1986 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgcc_eh.a |
---|
1987 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgcc_s.so |
---|
1988 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgomp.a |
---|
1989 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgomp.so |
---|
1990 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libmudflap.a |
---|
1991 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libmudflapth.a |
---|
1992 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libmudflap.so |
---|
1993 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libmudflapth.so |
---|
1994 | %endif |
---|
1995 | %endif |
---|
1996 | %ifarch %{multilib_64_archs} |
---|
1997 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32 |
---|
1998 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/crt*.o |
---|
1999 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgcc.a |
---|
2000 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgcov.a |
---|
2001 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgcc_eh.a |
---|
2002 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgcc_s.so |
---|
2003 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgomp.a |
---|
2004 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgomp.so |
---|
2005 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libmudflap.a |
---|
2006 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libmudflapth.a |
---|
2007 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libmudflap.so |
---|
2008 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libmudflapth.so |
---|
2009 | %endif |
---|
2010 | %ifarch sparcv9 sparc64 ppc ppc64 |
---|
2011 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflap.a |
---|
2012 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflapth.a |
---|
2013 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflap.so |
---|
2014 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflapth.so |
---|
2015 | %endif |
---|
2016 | %dir %{_prefix}/libexec/getconf |
---|
2017 | %{_prefix}/libexec/getconf/default |
---|
2018 | %doc gcc/README* rpm.doc/changelogs/gcc/ChangeLog* gcc/COPYING* |
---|
2019 | |
---|
2020 | |
---|
2021 | %files cpp -f cpplib.lang |
---|
2022 | %defattr(-,root,root) |
---|
2023 | /lib/cpp |
---|
2024 | %{_prefix}/bin/cpp-%{gcc_version} |
---|
2025 | ##VINE##%{_mandir}/man1/cpp.1* |
---|
2026 | ##VINE##%{_infodir}/cpp* |
---|
2027 | %dir %{_prefix}/libexec/gcc |
---|
2028 | %dir %{_prefix}/libexec/gcc/%{gcc_target_platform} |
---|
2029 | %dir %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version} |
---|
2030 | %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cc1 |
---|
2031 | |
---|
2032 | |
---|
2033 | %files -n libgcc |
---|
2034 | %defattr(-,root,root) |
---|
2035 | %if %{stock_tarball} |
---|
2036 | /%{_lib}/libgcc_s-%{gcc_version}.so.1 |
---|
2037 | %ifarch %{multilib_64_archs} |
---|
2038 | /lib/libgcc_s-%{gcc_version}.so.1 |
---|
2039 | %endif |
---|
2040 | %else |
---|
2041 | /%{_lib}/libgcc_s-%{gcc_version}-%{DATE}.so.1 |
---|
2042 | %ifarch %{multilib_64_archs} |
---|
2043 | /lib/libgcc_s-%{gcc_version}-%{DATE}.so.1 |
---|
2044 | %endif |
---|
2045 | %endif |
---|
2046 | /%{_lib}/libgcc_s.so.1 |
---|
2047 | %ifarch %{multilib_64_archs} |
---|
2048 | /lib/libgcc_s.so.1 |
---|
2049 | %endif |
---|
2050 | %{_prefix}/sbin/libgcc_post_upgrade |
---|
2051 | %doc gcc/COPYING.LIB |
---|
2052 | |
---|
2053 | |
---|
2054 | %files c++ |
---|
2055 | %defattr(-,root,root) |
---|
2056 | %{_prefix}/bin/%{gcc_target_platform}-*++-%{gcc_version} |
---|
2057 | %{_prefix}/bin/g++-%{gcc_version} |
---|
2058 | %{_prefix}/bin/c++-%{gcc_version} |
---|
2059 | ##VINE##%{_mandir}/man1/g++.1* |
---|
2060 | %dir %{_prefix}/lib/gcc |
---|
2061 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform} |
---|
2062 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version} |
---|
2063 | %dir %{_prefix}/libexec/gcc |
---|
2064 | %dir %{_prefix}/libexec/gcc/%{gcc_target_platform} |
---|
2065 | %dir %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version} |
---|
2066 | %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cc1plus |
---|
2067 | %ifarch sparcv9 ppc |
---|
2068 | %if %{biarch_on_ppc32} |
---|
2069 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64 |
---|
2070 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libstdc++.so |
---|
2071 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libstdc++.a |
---|
2072 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libsupc++.a |
---|
2073 | %endif |
---|
2074 | %endif |
---|
2075 | %ifarch %{multilib_64_archs} |
---|
2076 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32 |
---|
2077 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libstdc++.so |
---|
2078 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libstdc++.a |
---|
2079 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libsupc++.a |
---|
2080 | %endif |
---|
2081 | %ifarch sparcv9 ppc %{multilib_64_archs} |
---|
2082 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libstdc++.so |
---|
2083 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libsupc++.a |
---|
2084 | %endif |
---|
2085 | %ifarch sparc sparc64 ppc ppc64 |
---|
2086 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libstdc++.a |
---|
2087 | %endif |
---|
2088 | %doc rpm.doc/changelogs/gcc/cp/ChangeLog* |
---|
2089 | |
---|
2090 | |
---|
2091 | #-f libstdc++.lang |
---|
2092 | %files -n libstdc++ |
---|
2093 | %defattr(-,root,root) |
---|
2094 | %{_prefix}/%{_lib}/libstdc++.so.6* |
---|
2095 | %ifarch x86_64 |
---|
2096 | %{_prefix}/lib/libstdc++.so.6* |
---|
2097 | %endif |
---|
2098 | |
---|
2099 | %files -n libstdc++-devel |
---|
2100 | %defattr(-,root,root) |
---|
2101 | %dir %{_prefix}/include/c++ |
---|
2102 | %dir %{_prefix}/include/c++/%{gcc_version} |
---|
2103 | %{_prefix}/include/c++/%{gcc_version}/[^gjos]* |
---|
2104 | %{_prefix}/include/c++/%{gcc_version}/os* |
---|
2105 | %{_prefix}/include/c++/%{gcc_version}/s[^u]* |
---|
2106 | %dir %{_prefix}/lib/gcc |
---|
2107 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform} |
---|
2108 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version} |
---|
2109 | %ifarch sparcv9 ppc |
---|
2110 | %if %{biarch_on_ppc32} |
---|
2111 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32 |
---|
2112 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libstdc++.a |
---|
2113 | %endif |
---|
2114 | %endif |
---|
2115 | %ifarch sparc64 ppc64 |
---|
2116 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64 |
---|
2117 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libstdc++.a |
---|
2118 | %endif |
---|
2119 | %ifnarch sparc sparc64 ppc ppc64 |
---|
2120 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libstdc++.a |
---|
2121 | %endif |
---|
2122 | %ifnarch sparc ppc %{multilib_64_archs} |
---|
2123 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libstdc++.so |
---|
2124 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libsupc++.a |
---|
2125 | %endif |
---|
2126 | %doc rpm.doc/changelogs/libstdc++-v3/ChangeLog* libstdc++-v3/README* |
---|
2127 | |
---|
2128 | %if %{build_libstdcxx_docs} |
---|
2129 | %files -n libstdc++-docs |
---|
2130 | %defattr(-,root,root) |
---|
2131 | %{_mandir}/man3/* |
---|
2132 | %doc rpm.doc/libstdc++-v3/html |
---|
2133 | %endif |
---|
2134 | |
---|
2135 | %files objc |
---|
2136 | %defattr(-,root,root) |
---|
2137 | %dir %{_prefix}/lib/gcc |
---|
2138 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform} |
---|
2139 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version} |
---|
2140 | %dir %{_prefix}/libexec/gcc |
---|
2141 | %dir %{_prefix}/libexec/gcc/%{gcc_target_platform} |
---|
2142 | %dir %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version} |
---|
2143 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include |
---|
2144 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/objc |
---|
2145 | %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cc1obj |
---|
2146 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libobjc.a |
---|
2147 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libobjc.so |
---|
2148 | %ifarch sparcv9 ppc |
---|
2149 | %if %{biarch_on_ppc32} |
---|
2150 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64 |
---|
2151 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libobjc.a |
---|
2152 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libobjc.so |
---|
2153 | %endif |
---|
2154 | %endif |
---|
2155 | %ifarch %{multilib_64_archs} |
---|
2156 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32 |
---|
2157 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libobjc.a |
---|
2158 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libobjc.so |
---|
2159 | %endif |
---|
2160 | %doc rpm.doc/objc/* |
---|
2161 | %doc libobjc/THREADS* rpm.doc/changelogs/libobjc/ChangeLog* |
---|
2162 | |
---|
2163 | |
---|
2164 | %files objc++ |
---|
2165 | %defattr(-,root,root) |
---|
2166 | %dir %{_prefix}/libexec/gcc |
---|
2167 | %dir %{_prefix}/libexec/gcc/%{gcc_target_platform} |
---|
2168 | %dir %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version} |
---|
2169 | %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cc1objplus |
---|
2170 | |
---|
2171 | |
---|
2172 | %files -n libobjc |
---|
2173 | %defattr(-,root,root) |
---|
2174 | %{_prefix}/%{_lib}/libobjc.so.2* |
---|
2175 | %ifarch x86_64 |
---|
2176 | %{_prefix}/lib/libobjc.so.2* |
---|
2177 | %endif |
---|
2178 | |
---|
2179 | |
---|
2180 | %files gfortran |
---|
2181 | %defattr(-,root,root) |
---|
2182 | %{_prefix}/bin/gfortran-%{gcc_version} |
---|
2183 | %{_prefix}/bin/f95 |
---|
2184 | ##VINE##%{_mandir}/man1/gfortran.1* |
---|
2185 | ##VINE##%{_infodir}/gfortran* |
---|
2186 | %{_prefix}/bin/%{gcc_target_platform}-gfortran-%{gcc_version} |
---|
2187 | %dir %{_prefix}/lib/gcc |
---|
2188 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform} |
---|
2189 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version} |
---|
2190 | %dir %{_prefix}/libexec/gcc |
---|
2191 | %dir %{_prefix}/libexec/gcc/%{gcc_target_platform} |
---|
2192 | %dir %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version} |
---|
2193 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/finclude |
---|
2194 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/finclude/omp_lib.h |
---|
2195 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/finclude/omp_lib.f90 |
---|
2196 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/finclude/omp_lib.mod |
---|
2197 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/finclude/omp_lib_kinds.mod |
---|
2198 | %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/f951 |
---|
2199 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgfortranbegin.a |
---|
2200 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgfortran.a |
---|
2201 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgfortran.so |
---|
2202 | %ifarch sparcv9 ppc |
---|
2203 | %if %{biarch_on_ppc32} |
---|
2204 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64 |
---|
2205 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgfortranbegin.a |
---|
2206 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgfortran.a |
---|
2207 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgfortran.so |
---|
2208 | %endif |
---|
2209 | %endif |
---|
2210 | %ifarch %{multilib_64_archs} |
---|
2211 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32 |
---|
2212 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgfortranbegin.a |
---|
2213 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgfortran.a |
---|
2214 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgfortran.so |
---|
2215 | %endif |
---|
2216 | %doc rpm.doc/gfortran/* |
---|
2217 | |
---|
2218 | |
---|
2219 | %files -n libgfortran |
---|
2220 | %defattr(-,root,root) |
---|
2221 | %{_prefix}/%{_lib}/libgfortran.so.3* |
---|
2222 | %ifarch x86_64 |
---|
2223 | %{_prefix}/lib/libgfortran.so.3* |
---|
2224 | %endif |
---|
2225 | |
---|
2226 | |
---|
2227 | %if %{build_java} |
---|
2228 | %files java |
---|
2229 | %defattr(-,root,root) |
---|
2230 | %{_prefix}/bin/gcj-%{gcc_version} |
---|
2231 | %{_prefix}/bin/gjavah-%{gcc_version} |
---|
2232 | %{_prefix}/bin/gcjh-%{gcc_version} |
---|
2233 | %{_prefix}/bin/jcf-dump-%{gcc_version} |
---|
2234 | %{_prefix}/bin/%{gcc_target_platform}-gcj-%{gcc_version} |
---|
2235 | ##VINE##%{_mandir}/man1/gcj.1* |
---|
2236 | ##VINE##%{_mandir}/man1/gcjh.1* |
---|
2237 | ##VINE##%{_mandir}/man1/gjnih.1* |
---|
2238 | ##VINE##%{_mandir}/man1/jcf-dump.1* |
---|
2239 | ##VINE##%{_mandir}/man1/jv-scan.1* |
---|
2240 | ##VINE##%{_infodir}/gcj* |
---|
2241 | ##VINE##%{_prefix}/bin/%{gcc_target_platform}-gcj-%{gcc_version} |
---|
2242 | ##VINE##%{_prefix}/bin/%{gcc_target_platform}-gcjh-%{gcc_version} |
---|
2243 | %dir %{_prefix}/libexec/gcc |
---|
2244 | %dir %{_prefix}/libexec/gcc/%{gcc_target_platform} |
---|
2245 | %dir %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version} |
---|
2246 | %dir %{_prefix}/lib/gcc |
---|
2247 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform} |
---|
2248 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version} |
---|
2249 | %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/jc1 |
---|
2250 | %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/ecj1 |
---|
2251 | %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/jvgenmain |
---|
2252 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgcj.so |
---|
2253 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgcj-tools.so |
---|
2254 | %ifarch sparcv9 sparc64 ppc ppc64 |
---|
2255 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgcj_bc.so |
---|
2256 | %endif |
---|
2257 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgij.so |
---|
2258 | %ifarch sparcv9 ppc |
---|
2259 | %if %{biarch_on_ppc32} |
---|
2260 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64 |
---|
2261 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgcj.so |
---|
2262 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgcj-tools.so |
---|
2263 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgcj_bc.so |
---|
2264 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgij.so |
---|
2265 | %endif |
---|
2266 | %endif |
---|
2267 | %ifarch %{multilib_64_archs} |
---|
2268 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32 |
---|
2269 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgcj.so |
---|
2270 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgcj-tools.so |
---|
2271 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgcj_bc.so |
---|
2272 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgij.so |
---|
2273 | %endif |
---|
2274 | %doc rpm.doc/changelogs/gcc/java/ChangeLog* |
---|
2275 | |
---|
2276 | |
---|
2277 | %files -n libgcj |
---|
2278 | %defattr(-,root,root) |
---|
2279 | %{_prefix}/bin/jv-convert-%{gcc_version} |
---|
2280 | %{_prefix}/bin/gij-%{gcc_version} |
---|
2281 | %{_prefix}/bin/gjar-%{gcc_version} |
---|
2282 | #{_prefix}/bin/fastjar |
---|
2283 | #{_prefix}/bin/grepjar |
---|
2284 | %{_prefix}/bin/grmic-%{gcc_version} |
---|
2285 | %{_prefix}/bin/grmid-%{gcc_version} |
---|
2286 | %{_prefix}/bin/grmiregistry-%{gcc_version} |
---|
2287 | %{_prefix}/bin/gtnameserv-%{gcc_version} |
---|
2288 | %{_prefix}/bin/gkeytool-%{gcc_version} |
---|
2289 | %{_prefix}/bin/gorbd-%{gcc_version} |
---|
2290 | %{_prefix}/bin/gserialver-%{gcc_version} |
---|
2291 | %{_prefix}/bin/gcj-dbtool-%{gcc_version} |
---|
2292 | %if %{include_gappletviewer} |
---|
2293 | %{_prefix}/bin/gappletviewer |
---|
2294 | %endif |
---|
2295 | %{_prefix}/bin/gjarsigner-%{gcc_version} |
---|
2296 | ##VINE##%{_mandir}/man1/fastjar.1* |
---|
2297 | ##VINE##%{_mandir}/man1/grepjar.1* |
---|
2298 | ##VINE##%{_mandir}/man1/jv-convert.1* |
---|
2299 | ##VINE##%{_mandir}/man1/gij.1* |
---|
2300 | ##VINE##%{_mandir}/man1/grmic.1* |
---|
2301 | ##VINE##%{_mandir}/man1/grmiregistry.1* |
---|
2302 | ##VINE##%{_mandir}/man1/gcj-dbtool.1* |
---|
2303 | ##VINE##%{_infodir}/fastjar* |
---|
2304 | %{_prefix}/%{_lib}/libgcj.so.* |
---|
2305 | %{_prefix}/%{_lib}/libgcj-tools.so.* |
---|
2306 | %{_prefix}/%{_lib}/libgcj_bc.so.* |
---|
2307 | %if %{biarch_on_ppc32} |
---|
2308 | %{_prefix}/%{_lib}/libgcj_bc.so.* |
---|
2309 | %endif |
---|
2310 | %{_prefix}/%{_lib}/libgij.so.* |
---|
2311 | %dir %{_prefix}/%{_lib}/gcj-%{gcc_version} |
---|
2312 | %{_prefix}/%{_lib}/gcj-%{version}/libgtkpeer.so |
---|
2313 | %{_prefix}/%{_lib}/gcj-%{version}/libgjsmalsa.so |
---|
2314 | %{_prefix}/%{_lib}/gcj-%{version}/libjawt.so |
---|
2315 | %if %{include_gappletviewer} |
---|
2316 | %{_prefix}/%{_lib}/gcj-%{version}/libgcjwebplugin.so |
---|
2317 | %endif |
---|
2318 | %{_prefix}/%{_lib}/gcj-%{version}/libjvm.so |
---|
2319 | %{_prefix}/%{_lib}/gcj-%{version}/libjavamath.so |
---|
2320 | %dir %{_prefix}/share/java |
---|
2321 | %{_prefix}/share/java/[^sl]* |
---|
2322 | %{_prefix}/share/java/libgcj-%{version}.jar |
---|
2323 | %dir %{_prefix}/%{_lib}/security |
---|
2324 | %config(noreplace) %{_prefix}/%{_lib}/security/classpath.security-%{gcc_version} |
---|
2325 | %{_prefix}/%{_lib}/logging.properties |
---|
2326 | %dir %{_prefix}/%{_lib}/gcj-%{gcc_version}/classmap.db.d |
---|
2327 | %attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) %{_prefix}/%{_lib}/gcj-%{gcc_version}/classmap.db |
---|
2328 | ##VINE##%doc rpm.doc/README.libgcjwebplugin.so |
---|
2329 | |
---|
2330 | %files -n libgcj-devel |
---|
2331 | %defattr(-,root,root) |
---|
2332 | #{_prefix}/bin/addr2name.awk |
---|
2333 | %dir %{_prefix}/lib/gcc |
---|
2334 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform} |
---|
2335 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version} |
---|
2336 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include |
---|
2337 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/gcj |
---|
2338 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/jawt.h |
---|
2339 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/jawt_md.h |
---|
2340 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/jni.h |
---|
2341 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/jni_md.h |
---|
2342 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/jvmpi.h |
---|
2343 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgcj.spec |
---|
2344 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgcj.so |
---|
2345 | %ifarch sparcv9 ppc |
---|
2346 | %if %{biarch_on_ppc32} |
---|
2347 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32 |
---|
2348 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libgcj_bc.so |
---|
2349 | %endif |
---|
2350 | %endif |
---|
2351 | %ifarch sparc64 ppc64 |
---|
2352 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64 |
---|
2353 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libgcj_bc.so |
---|
2354 | %endif |
---|
2355 | %ifnarch sparcv9 sparc64 ppc ppc64 |
---|
2356 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgcj_bc.so |
---|
2357 | %endif |
---|
2358 | %dir %{_prefix}/include/c++ |
---|
2359 | %dir %{_prefix}/include/c++/%{gcc_version} |
---|
2360 | %{_prefix}/include/c++/%{gcc_version}/[gj]* |
---|
2361 | %{_prefix}/include/c++/%{gcc_version}/org |
---|
2362 | %{_prefix}/include/c++/%{gcc_version}/sun |
---|
2363 | %{_prefix}/%{_lib}/pkgconfig/libgcj-*.pc |
---|
2364 | ##VINE## %doc rpm.doc/boehm-gc/* rpm.doc/fastjar/* rpm.doc/libffi/* |
---|
2365 | %doc rpm.doc/boehm-gc/* rpm.doc/libffi/* |
---|
2366 | %doc rpm.doc/libjava/* |
---|
2367 | |
---|
2368 | %files -n libgcj-src |
---|
2369 | %defattr(-,root,root) |
---|
2370 | %dir %{_prefix}/share/java |
---|
2371 | %{_prefix}/share/java/src*.zip |
---|
2372 | %{_prefix}/share/java/libgcj-tools-%{version}.jar |
---|
2373 | %endif |
---|
2374 | |
---|
2375 | %if %{build_ada} |
---|
2376 | %files gnat |
---|
2377 | %defattr(-,root,root) |
---|
2378 | %{_prefix}/bin/gnat* |
---|
2379 | %{_prefix}/bin/gpr* |
---|
2380 | ##VINE##%{_infodir}/gnat* |
---|
2381 | %dir %{_prefix}/lib/gcc |
---|
2382 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform} |
---|
2383 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version} |
---|
2384 | %dir %{_prefix}/libexec/gcc |
---|
2385 | %dir %{_prefix}/libexec/gcc/%{gcc_target_platform} |
---|
2386 | %dir %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version} |
---|
2387 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adainclude |
---|
2388 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adalib |
---|
2389 | %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/gnat1 |
---|
2390 | %doc rpm.doc/changelogs/gcc/ada/ChangeLog* |
---|
2391 | |
---|
2392 | %files -n libgnat |
---|
2393 | %defattr(-,root,root) |
---|
2394 | %{_prefix}/%{_lib}/libgnat-*.so |
---|
2395 | %{_prefix}/%{_lib}/libgnarl-*.so |
---|
2396 | %endif |
---|
2397 | |
---|
2398 | %files -n libgomp |
---|
2399 | %defattr(-,root,root) |
---|
2400 | %{_prefix}/%{_lib}/libgomp.so.1* |
---|
2401 | %ifarch x86_64 |
---|
2402 | %{_prefix}/lib/libgomp.so.1* |
---|
2403 | %endif |
---|
2404 | %doc rpm.doc/changelogs/libgomp/ChangeLog* |
---|
2405 | |
---|
2406 | %files -n libmudflap |
---|
2407 | %defattr(-,root,root) |
---|
2408 | %{_prefix}/%{_lib}/libmudflap.so.0* |
---|
2409 | %{_prefix}/%{_lib}/libmudflapth.so.0* |
---|
2410 | %ifarch x86_64 |
---|
2411 | %{_prefix}/lib/libmudflap.so.0* |
---|
2412 | %{_prefix}/lib/libmudflapth.so.0* |
---|
2413 | %endif |
---|
2414 | |
---|
2415 | %files -n libmudflap-devel |
---|
2416 | %defattr(-,root,root) |
---|
2417 | %dir %{_prefix}/lib/gcc |
---|
2418 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform} |
---|
2419 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version} |
---|
2420 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include |
---|
2421 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/mf-runtime.h |
---|
2422 | %ifarch sparcv9 ppc |
---|
2423 | %if %{biarch_on_ppc32} |
---|
2424 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32 |
---|
2425 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libmudflap.a |
---|
2426 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libmudflapth.a |
---|
2427 | %endif |
---|
2428 | %endif |
---|
2429 | %ifarch sparc64 ppc64 |
---|
2430 | %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64 |
---|
2431 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libmudflap.a |
---|
2432 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libmudflapth.a |
---|
2433 | %endif |
---|
2434 | %ifnarch sparcv9 sparc64 ppc ppc64 |
---|
2435 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflap.a |
---|
2436 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflapth.a |
---|
2437 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflap.so |
---|
2438 | %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflapth.so |
---|
2439 | %endif |
---|
2440 | %doc rpm.doc/changelogs/libmudflap/ChangeLog* |
---|
2441 | |
---|
2442 | |
---|
2443 | %files tools |
---|
2444 | %defattr(-,root,root) |
---|
2445 | %doc README* COPYING COPYING.LIB |
---|
2446 | %{_bindir}/gcov |
---|
2447 | %{_bindir}/protoize |
---|
2448 | %{_bindir}/unprotoize |
---|
2449 | |
---|
2450 | %files docs |
---|
2451 | %defattr(-,root,root) |
---|
2452 | %doc README* COPYING COPYING.LIB |
---|
2453 | %{_infodir}/* |
---|
2454 | %{_mandir}/*/* |
---|
2455 | |
---|
2456 | |
---|
2457 | %changelog |
---|
2458 | * Mon May 02 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.5-6 |
---|
2459 | - fix %%postun |
---|
2460 | - remove alternatives only if broken |
---|
2461 | |
---|
2462 | * Mon May 02 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.5-5 |
---|
2463 | - update %%postun to fix alternatives bug |
---|
2464 | - add %%triggerpostun to fix broken alternatives |
---|
2465 | |
---|
2466 | * Sat Apr 02 2011 NAKAMURA Kenta <kenta@vinelinux.org> - 4.4.5-3 |
---|
2467 | - dropped gcc44-no-add-needed.patch in Vine Linux 6 |
---|
2468 | |
---|
2469 | * Wed Mar 23 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.5-2 |
---|
2470 | - add BR: glibc-static |
---|
2471 | |
---|
2472 | * Sun Mar 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.5-1 |
---|
2473 | - new upstream release |
---|
2474 | - used %%posttrans instead of %%triggerpostun |
---|
2475 | |
---|
2476 | * Sun Sep 19 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.3-9 |
---|
2477 | - used alternatives %%{_prefix}/%%{_lib}/security/classpath.security |
---|
2478 | |
---|
2479 | * Fri Aug 13 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.3-8 |
---|
2480 | - rebuilt with gcc-java-4.4.3-7 |
---|
2481 | |
---|
2482 | * Sun Aug 1 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.3-7 |
---|
2483 | - used %%{_lib} macros for classpath.security and logging.properties (libgcj) |
---|
2484 | - this release needs to build --with java_bootstrap option |
---|
2485 | |
---|
2486 | * Sun Jul 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.3-6 |
---|
2487 | - bootstrapped java package |
---|
2488 | - this release needs to build --with java_bootstrap option |
---|
2489 | |
---|
2490 | * Wed Apr 7 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.4.3-5 |
---|
2491 | - updated to 20100401 (svn r157910) |
---|
2492 | |
---|
2493 | * Tue Apr 6 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.4.3-4 |
---|
2494 | - fix configure flags on ppc again (remove --with-cpu=750) |
---|
2495 | |
---|
2496 | * Mon Feb 8 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.4.3-3 |
---|
2497 | - fix configure flags on ppc |
---|
2498 | |
---|
2499 | * Mon Jan 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.3-2 |
---|
2500 | - rebuilt with new toolchain |
---|
2501 | - fixed %%install and %%file libgomp section (Thanks to kenta-san) |
---|
2502 | - added Provides: libstdc++34 to libstdc++ |
---|
2503 | |
---|
2504 | * Sun Jan 24 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.3-1 |
---|
2505 | - new upstream release |
---|
2506 | |
---|
2507 | * Fri Dec 26 2008 NAKAMURA Kenta <kenta@vinelinux.org> 4.1.2-21 |
---|
2508 | - added BuildRequires: compat32-glibc-devel for x86_64 arch |
---|
2509 | |
---|
2510 | * Sat Dec 20 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.2-20 |
---|
2511 | - remove Requires: %{_prefox}/%{_lib}/libz.so from libgcj-devel |
---|
2512 | |
---|
2513 | * Wed Sep 24 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.2-19 |
---|
2514 | - rebuilt with binutils-2.18.50.0.6 and glibc-2.8 |
---|
2515 | |
---|
2516 | * Tue Jul 08 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.2-18 |
---|
2517 | - updated to 4.1.3 prerelease 20080708 (gcc-4_1-branch r137614) |
---|
2518 | - new versioning policy |
---|
2519 | - require gecko-devel instead of firefox-devel |
---|
2520 | |
---|
2521 | * Sun Feb 10 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.1.2-0vl17 |
---|
2522 | - updated to 4.1.3 prerelease 20080204 (gcc-4_1-branch r132101) |
---|
2523 | |
---|
2524 | * Thu Dec 27 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.1.2-0vl16 |
---|
2525 | - updated to 4.1.3 prerelease 20071221 (gcc-4_1-branch r131115) |
---|
2526 | |
---|
2527 | * Tue Dec 18 2007 NAKAMURA Kenta <kenta@vinelinux.org> 4.1.2-0vl15 |
---|
2528 | - updated %%files section to include 32bit libraries for x86_64 |
---|
2529 | |
---|
2530 | * Sat Dec 15 2007 NAKAMURA Kenta <kenta@vinelinux.org> 4.1.2-0vl14 |
---|
2531 | - added BuildRequires: mpfr-devel |
---|
2532 | |
---|
2533 | * Sat Oct 20 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.1.2-0vl13 |
---|
2534 | - updated to 4.1.3 prerelease 20070923 (gcc-4_1-branch r128704) |
---|
2535 | |
---|
2536 | * Wed Jul 04 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.1.2-0vl12 |
---|
2537 | - updated to 4.1.3 prerelease 20070703 (gcc-4_1-branch r126255) |
---|
2538 | - PR target/28307, boehm-gc/21940, boehm-gc/21942, target/32389, |
---|
2539 | c++/31809, c++/31806, inline-asm/32109, middle-end/32285, |
---|
2540 | rtl-optimization/28011, tree-optimization/32353, target/32163 |
---|
2541 | |
---|
2542 | * Thu May 31 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.1.2-0vl11 |
---|
2543 | - Sorry, put a wrong srpm, it was just my mistake. Put correct version. |
---|
2544 | |
---|
2545 | * Mon May 28 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.1.2-0vl10 |
---|
2546 | - updated to 4.1.3 prerelease 20070524 (gcc-4_1-branch r125017) |
---|
2547 | - PR libfortran/31964, target/31701, target/31480, target/31022 |
---|
2548 | - disguise version_string[], such as |
---|
2549 | "4.1.2 (4.1.3 prelease 20070524) (Vine Linux 4.1.2-0vl10)" |
---|
2550 | |
---|
2551 | * Sun May 20 2007 NAKAMURA Kenta <kenta@vinelinux.org> 4.1.2-0vl9 |
---|
2552 | - enable Patch5: gcc41-java-nomulti.patch |
---|
2553 | - remove obsoleted work around which building libgcj_bc.so |
---|
2554 | |
---|
2555 | * Sat May 19 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.1.2-0vl8 |
---|
2556 | - updated to 4.1.3 prerelease 20070517 (gcc-4_1-branch r124799) |
---|
2557 | |
---|
2558 | * Sun May 13 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.1.2-0vl7 |
---|
2559 | - add Patch101 |
---|
2560 | (long double 128bit by default on alpha/ppc/sparc/s390 targets) |
---|
2561 | http://sources.redhat.com/bugzilla/show_bug.cgi?id=2749 |
---|
2562 | which was originally derived from the following patches: |
---|
2563 | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25864#c13 |
---|
2564 | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25864#c14 |
---|
2565 | - add --disable-multilib configure option for no-biarch builds on ppc |
---|
2566 | - fix spec typo of Daisuk SUZUKI's -mcpu removal on 4.1.2-0vl5 |
---|
2567 | |
---|
2568 | * Sat May 12 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.1.2-0vl6 |
---|
2569 | - enable Patch19 now |
---|
2570 | |
---|
2571 | * Wed May 09 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.2-0vl5 |
---|
2572 | - add Patch100 to add -mtune=generic option (from MDV) |
---|
2573 | - remove -mcpu option from OPT_FLAGS |
---|
2574 | - use bootstrap-lean instead of profiledbootstrap |
---|
2575 | - enable Patch10 to add MNI support (SSE3) |
---|
2576 | |
---|
2577 | * Mon May 07 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.1.2-0vl4 |
---|
2578 | - yet another minor fix (don't obsolete gcc3-* packages) |
---|
2579 | |
---|
2580 | * Mon May 07 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.1.2-0vl3 |
---|
2581 | - one more minor fix (libgfortran don't obsolete libf2c) |
---|
2582 | |
---|
2583 | * Mon May 07 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.1.2-0vl2 |
---|
2584 | - Oops, fixed one small typo |
---|
2585 | |
---|
2586 | * Sun May 06 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.1.2-0vl1 |
---|
2587 | - rebuild |
---|
2588 | |
---|
2589 | * Wed May 02 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.1.2-0vl0 |
---|
2590 | - initial build for VineSeed |
---|
2591 | - based on FC 4.1.1-30 and VineSeed 3.3.6-0vl8 |
---|
2592 | - updated to 4.1.2 upstream release with most FC patches omitted (TODOs) |
---|
2593 | |
---|
2594 | * Wed Oct 11 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-30 |
---|
2595 | - update from gcc-4_1-branch (-r117464:117629) |
---|
2596 | - PRs c++/28302, c++/28349, c++/28450, c++/29002, libstdc++/29095, |
---|
2597 | libstdc++/29354, libstdc++/29368, target/28490 |
---|
2598 | - fix gnu.xml.transform.TransformerImpl (Tom Tromey, #208854, |
---|
2599 | PR classpath/29362) |
---|
2600 | |
---|
2601 | * Fri Oct 6 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-29 |
---|
2602 | - update from gcc-4_1-branch (-r117266:117464) |
---|
2603 | - PRs bootstrap/26764, bootstrap/27334, c++/29080, c++/29138, c++/29226, |
---|
2604 | c/27489, c/27490, debug/28980, fortran/18791, libfortran/18791, |
---|
2605 | middle-end/28862, objc/29195, other/25035, tree-opt/28952 |
---|
2606 | - fix s390{,x} address legitimization with TLS symbols (Angel Nunez |
---|
2607 | Mencias) |
---|
2608 | - fix -fno-automatic with Fortran auto arrays with non-constant size |
---|
2609 | (#203928, PR fortran/28415) |
---|
2610 | - fix char and short __sync_fetch_and_XXX (PR target/28924) |
---|
2611 | - fix emitting of vector constants with incomplete initializers (PR c/29091) |
---|
2612 | - fix ICE with multiple exit loop and -ftree-loop-linear |
---|
2613 | (#208935, PR tree-optimization/29290) |
---|
2614 | |
---|
2615 | * Sat Sep 30 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-28 |
---|
2616 | - fix i386/x86_64 legitimize_pic_address with TLS symbols (PR target/29198) |
---|
2617 | - fix gimplification of post-increment with side-effects on the inner |
---|
2618 | expression (PR c/29154) |
---|
2619 | |
---|
2620 | * Thu Sep 28 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-27 |
---|
2621 | - update from gcc-4_1-branch (-r117225:117266) |
---|
2622 | - PR target/29230 |
---|
2623 | - restrict single entry mem{{,p}cpy,move,set} optimization to vars |
---|
2624 | and components thereof (PR middle-end/29272) |
---|
2625 | - fix java.util.Locale (Tom Tromey, #201712) |
---|
2626 | |
---|
2627 | * Tue Sep 26 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-26 |
---|
2628 | - update from gcc-4_1-branch (-r117162:117225) |
---|
2629 | - PRs classpath/28661, libgcj/29178, libstdc++/29179, libstdc++/29224 |
---|
2630 | - fix unwind info generation, broken in gcc-4.1.1-21 |
---|
2631 | (Roger Sayle, PR debug/29132) |
---|
2632 | |
---|
2633 | * Sat Sep 23 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-25 |
---|
2634 | - update from gcc-4_1-branch (-r117069:117162) |
---|
2635 | - PRs c++/28996, c++/29087, middle-end/26983 |
---|
2636 | - fix -fprofile-use with anonymous namespaces (Jan Hubicka, PRs profile/20815, |
---|
2637 | profile/26399) |
---|
2638 | - fix #pragma omp parallel and #pragma omp section that call nested |
---|
2639 | functions (PRs middle-end/25261, middle-end/28790) |
---|
2640 | |
---|
2641 | * Wed Sep 20 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-24 |
---|
2642 | - update from gcc-4_1-branch (-r117000:117069) |
---|
2643 | - PRs fortran/21918, fortran/28526, fortran/28817, fortran/29060, |
---|
2644 | fortran/29101, java/28754, java/28892, java/29013, |
---|
2645 | middle-end/27226, middle-end/4520, tree-optimization/28900 |
---|
2646 | - fix java.utils.logging.Logger (Mark Wielaard, #207111) |
---|
2647 | - fix gnu.javax.net.ssl.provider.SSLSocket (Tom Tromey, #206904) |
---|
2648 | - add support for Fortran OpenMP conditional inclusion (PR fortran/29097) |
---|
2649 | - add some -D_FORTIFY_SOURCE compile time strncat buffer overflow checks |
---|
2650 | |
---|
2651 | * Sun Sep 17 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-23 |
---|
2652 | - update from gcc-4_1-branch (-r116958:117000) |
---|
2653 | - PRs fortran/29051, target/28946 |
---|
2654 | - fix single entry mem{{,p}cpy,move,set} optimization (Andrew Pinski, |
---|
2655 | PR tree-opt/29059) |
---|
2656 | |
---|
2657 | * Fri Sep 15 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-22 |
---|
2658 | - update from gcc-4_1-branch (-r116778:116958) |
---|
2659 | - PRs ada/21952, ada/29025, c++/26957, fortran/28890, fortran/28923, |
---|
2660 | fortran/28959, libfortran/28890, libfortran/28923, libfortran/28947, |
---|
2661 | middle-end/28493, other/23541, other/26507, rtl-optimization/28243, |
---|
2662 | rtl-optimization/28634, rtl-optimization/28636, rtl-optimization/28726, |
---|
2663 | target/13685, target/26504, target/27537, target/27681, target/28621, |
---|
2664 | target/29006, testsuite/28950, testsuite/29007 |
---|
2665 | - fix #pragma omp atomic (PR middle-end/28046) |
---|
2666 | - speed up dominance frontiers calculation (Jan Hubicka) |
---|
2667 | - add README.libgcjwebplugin.so to libgcj %%doc (Tom Fitzsimmons) |
---|
2668 | - fix gcc-gfortran %%doc (#206333) |
---|
2669 | - fix gcc-debuginfo (#205500) |
---|
2670 | |
---|
2671 | * Fri Sep 8 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-21 |
---|
2672 | - update from gcc-4_1-branch (-r116498:116778) |
---|
2673 | - PRs c++/19809, c++/26102, c++/26195, c++/26571, c++/26670, c++/26671, |
---|
2674 | c++/26696, c++/26917, c++/28860, c++/28878, c++/28886, fortran/20067, |
---|
2675 | fortran/24866, fortran/25077, fortran/25102, fortran/28005, |
---|
2676 | fortran/28873, fortran/28885, fortran/28908, libfortran/28005, |
---|
2677 | middle-end/27724, middle-end/28814, other/22313, |
---|
2678 | rtl-optimization/27616, rtl-optimization/28386, target/24367 |
---|
2679 | - add primitive class object symbols to libgcj_bc.so (Tom Tromey, |
---|
2680 | PR libgcj/28698) |
---|
2681 | - optimize single entry memcpy/mempcpy/memmove/memset already at the tree |
---|
2682 | level (PR middle-end/27567) |
---|
2683 | - add dependencies to *-devel subpackages, so that e.g. ppc64 |
---|
2684 | libstdc++-devel requires 64-bit libstdc++, similarly for libgcj-devel |
---|
2685 | and libgcj/zlib-devel |
---|
2686 | |
---|
2687 | * Fri Aug 25 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-20 |
---|
2688 | - update from gcc-4_1-branch (-r116389:116498) |
---|
2689 | - PRs c++/28056, c++/28058, c++/28595, c++/28853, c/27558, |
---|
2690 | c/27893, c/28299, c/28418, driver/27622, libfortran/28452, |
---|
2691 | libfortran/28542, target/27075 |
---|
2692 | - optimize A / (B << N) where A and B is positive and B is a power of two |
---|
2693 | (Alan Modra, #195924, PR rtl-optimization/26026) |
---|
2694 | - fix attribute handling in C++ (Jason Merrill, #204277, #204035, |
---|
2695 | PRs c++/28659, c++/28863) |
---|
2696 | |
---|
2697 | * Fri Aug 25 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-19 |
---|
2698 | - update from gcc-4_1-branch (-r116223:116389) |
---|
2699 | - PRs c++/23372, c++/27714, c++/28346, c++/28385, fortran/18111, |
---|
2700 | fortran/20886, fortran/25217, fortran/25828, fortran/28425, |
---|
2701 | fortran/28496, fortran/28601, fortran/28630, fortran/28660, |
---|
2702 | fortran/28735, fortran/28762, fortran/28771, fortran/28788, |
---|
2703 | libstdc++/28765, target/27565 |
---|
2704 | - another big Java merge from the trunk (Tom Fitzsimmons) |
---|
2705 | - fix ICE in add_reg_br_prob_note (PR middle-end/28683) |
---|
2706 | |
---|
2707 | * Fri Aug 18 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-18 |
---|
2708 | - update from gcc-4_1-branch (-r116176:116223) |
---|
2709 | - PRs c++/28593, c++/28606, c++/28710, c/27697, middle-end/20256, |
---|
2710 | middle-end/25211, middle-end/26435 |
---|
2711 | - don't waste .rodata space when copying from const array with large |
---|
2712 | entries (PR middle-end/28755) |
---|
2713 | - fix --combine with anonymous structures in unions (Alexandre Oliva, |
---|
2714 | PR c/27898) |
---|
2715 | - rebuilt with latest binutils to pick up 64K -z commonpagesize on ppc* |
---|
2716 | (#203001) |
---|
2717 | |
---|
2718 | * Wed Aug 16 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-17 |
---|
2719 | - update from gcc-4_1-branch (-r116082:116176) |
---|
2720 | - PRs c++/27894, c++/28677, c/28649, middle-end/28075, |
---|
2721 | rtl-optimization/23454 |
---|
2722 | - merge gomp fixes from the trunk (-r116152:116154) |
---|
2723 | - PRs middle-end/28713, middle-end/28724 |
---|
2724 | - add -march=geode and -mtune=geode support (Vlad Makarov) |
---|
2725 | - use %gs rather than %fs register on x86_64 with |
---|
2726 | -mcmodel=kernel -fstack-protector (Arjan van de Ven, #202842) |
---|
2727 | - don't create jar manifest in libgcj-tools-4.*.jar (#200887) |
---|
2728 | - externally_visible attribute fixes (Jan Hubicka, PRs c/25795, c++/27369) |
---|
2729 | - --combine fixes for aggregates with attributes (PRs c/28706, c/28712) |
---|
2730 | - further externally_visible attr fixes (PR c/28744) |
---|
2731 | - fix invalid token pasting error message (PR preprocessor/28709) |
---|
2732 | - obey OpenMP 2.5 chapter 4 env var requirements (whitespace rules |
---|
2733 | and case insensitivity in the env vars; PR libgomp/28725) |
---|
2734 | - fix OPT_FLAGS on sparc |
---|
2735 | |
---|
2736 | * Sat Aug 12 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-16 |
---|
2737 | - fix multilib conflict in libgcj-tools-4.1.1.jar (#200887) |
---|
2738 | |
---|
2739 | * Fri Aug 11 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-15 |
---|
2740 | - update from gcc-4_1-branch (-r115877:116082) |
---|
2741 | - PRs c++/27508, c++/28148, c++/28250, c++/28256, c++/28257, c++/28259, |
---|
2742 | c++/28267, c++/28274, c++/28347, c++/28432, c++/28557, c++/28594, |
---|
2743 | c++/28637, c++/28638, c++/28639, c++/28640, c++/28641, c/27721, |
---|
2744 | c/28136, fortran/27981, fortran/28548, fortran/28590, |
---|
2745 | middle-end/28651, rtl-optimization/27291, rtl-optimization/28221, |
---|
2746 | target/27566, target/27827 |
---|
2747 | - fix Fortran ICE with nested function (Paul Thomas, #200618, |
---|
2748 | PR fortran/28600) |
---|
2749 | |
---|
2750 | * Wed Aug 2 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-14 |
---|
2751 | - update from gcc-4_1-branch (-r115644:115877) |
---|
2752 | - PRs c++/27572, c++/27668, c++/27962, c++/28025, c++/28258, c++/28523, |
---|
2753 | debug/25468, fortran/20892, fortran/27874, fortran/28129, |
---|
2754 | fortran/28439, libgfortran/28335, libgfortran/28339, |
---|
2755 | middle-end/28402, middle-end/28403, middle-end/28473, |
---|
2756 | target/27287, target/28247, tree-optimization/26719, |
---|
2757 | tree-optimization/27639, tree-optimization/27795, |
---|
2758 | tree-optimization/28029, tree-optimization/28238 |
---|
2759 | - BuildRequire firefox-devel instead of mozilla-devel |
---|
2760 | |
---|
2761 | * Tue Jul 25 2006 Alexandre Oliva <aoliva@redhat.com> 4.1.1-13 |
---|
2762 | - backport fix by Andrew Haley for build problems related with the |
---|
2763 | bootstrap ClassLoader |
---|
2764 | |
---|
2765 | * Mon Jul 24 2006 Alexandre Oliva <aoliva@redhat.com> 4.1.1-12 |
---|
2766 | - backport fix by Mark Wielaard for NullPointerException in GCJ web plugin |
---|
2767 | |
---|
2768 | * Fri Jul 21 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-11 |
---|
2769 | - update from gcc-4_1-branch (-r115565:115644) |
---|
2770 | - PRs target/27363, c++/27495, c++/28048, c++/28235, c++/28337, c++/28338, |
---|
2771 | c++/28363, middle-end/28283 |
---|
2772 | - turn back autoprov/autoreq on gcc-java, instead disable it on |
---|
2773 | libgcj-devel |
---|
2774 | |
---|
2775 | * Thu Jul 20 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-10 |
---|
2776 | - Java backport of from GCC trunk (Tom Tromey, Bryce McKinlay) |
---|
2777 | - include libgcjwebplugin.so, gappletviewer, gjarsigner, gkeytool |
---|
2778 | - C++ visibility changes (Jason Merrill, PRs c++/28407, c++/28409) |
---|
2779 | |
---|
2780 | * Tue Jul 18 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-9 |
---|
2781 | - update from gcc-4_1-branch (-r115330:115565) |
---|
2782 | - PRs c++/28016, c++/28051, c++/28249, c++/28291, c++/28294, c++/28304, |
---|
2783 | c++/28343, c/26993, c/28286, fortran/20844, fortran/20893, |
---|
2784 | fortran/20903, fortran/25097, fortran/27980, fortran/28201, |
---|
2785 | fortran/28353, fortran/28384, libstdc++/27878, |
---|
2786 | tree-optimization/19505, tree-optimization/28162, |
---|
2787 | tree-optimization/28187 |
---|
2788 | - fix directory traversal issue in fastjar (Richard Guenther, CVE-2006-3619, |
---|
2789 | PR fastjar/28359) |
---|
2790 | - fix ICE on complex assignment in nested fn (Richard Henderson, |
---|
2791 | PR middle-end/27889) |
---|
2792 | - fix __builtin_constant_p in initializers (Mark Shinwell, #198849) |
---|
2793 | - fix tree verification - IDENTIFIER_NODE can be shared (Diego Novillo) |
---|
2794 | - fix duplicate_eh_regions |
---|
2795 | - handle > 99 tree dumps in the testsuite |
---|
2796 | |
---|
2797 | * Sat Jul 15 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-8 |
---|
2798 | - fix handling of C++ template static data members in anonymous namespace |
---|
2799 | (PR c++/28370) |
---|
2800 | - fix Fortran OpenMP handling of !$omp parallel do with lastprivate on the |
---|
2801 | iteration variable (PR fortran/28390) |
---|
2802 | - backported reassociation pass rewrite (Daniel Berlin, Jeff Law, |
---|
2803 | Roger Sayle, Peter Bergner, PRs ada/24994, tree-optimization/26854) |
---|
2804 | - BuildReq sharutils for uuencode |
---|
2805 | |
---|
2806 | * Tue Jul 11 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-7 |
---|
2807 | - update from gcc-4_1-branch (-r115058:115330) |
---|
2808 | - PRs c++/13983, c++/17519, c++/18681, c++/18698, c++/26577, c++/27019, |
---|
2809 | c++/27424, c++/27768, c++/27820, c++/28114, fortran/23420, |
---|
2810 | fortran/23862, fortran/24748, fortran/26801, fortran/27965, |
---|
2811 | fortran/28081, fortran/28094, fortran/28167, fortran/28174, |
---|
2812 | fortran/28213, fortran/28237, middle-end/27428, target/28084, |
---|
2813 | target/28207, tree-optimization/28218 |
---|
2814 | - use --hash-style=gnu by default |
---|
2815 | - C++ visibility fixes (Jason Merrill, PRs c++/17470, c++/19134, |
---|
2816 | c++/21581, c++/21675, c++/25915, c++/26612, c++/26905, c++/26984, |
---|
2817 | c++/27000, c++/28215, c++/28279) |
---|
2818 | - fix ppc insvdi_internal2/3 (David Edelsohn, Alan Modra, #197755, |
---|
2819 | PR target/28170) |
---|
2820 | - avoid TFmode PRE_INC/PRE_DEC on ppc (David Edelsohn, PR target/28150) |
---|
2821 | |
---|
2822 | * Thu Jun 29 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-6 |
---|
2823 | - update from gcc-4_1-branch (-r114766:115058) |
---|
2824 | - PRs c++/27821, c++/28109, c++/28110, c++/28112, fortran/16206, |
---|
2825 | fortran/18769, fortran/19310, fortran/19904, fortran/20867, |
---|
2826 | fortran/20874, fortran/20876, fortran/22038, fortran/25049, |
---|
2827 | fortran/25050, fortran/25056, fortran/25073, fortran/27554, |
---|
2828 | fortran/27715, fortran/27784, fortran/27895, fortran/27958, |
---|
2829 | fortran/28118, fortran/28119, libfortran/27784, libfortran/27895, |
---|
2830 | libgcj/28178, middle-end/28045, middle-end/28151, target/27082, |
---|
2831 | target/27861, tree-optimization/27781 |
---|
2832 | - fix a reload problem that lead sometimes to writes to read-only objects |
---|
2833 | (Bernd Schmidt, #196736, PR middle-end/26991, PR rtl-optimization/25636) |
---|
2834 | - ppc -mcpu=power6 initial support (Pete Steinmetz, #195924) |
---|
2835 | |
---|
2836 | * Tue Jun 20 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-5 |
---|
2837 | - fix C++ #pragma omp atomic (Mark Mitchell) |
---|
2838 | |
---|
2839 | * Mon Jun 19 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-4 |
---|
2840 | - update from gcc-4_1-branch (-r114555:114766) |
---|
2841 | - PRs bootstrap/22541, c++/21210, c++/26559, c++/27227, c++/27648, |
---|
2842 | c++/27665, c++/27666, c++/27689, c++/27884, c++/27933, c++/27951, |
---|
2843 | fortran/27786, java/28024, middle-end/27733, middle-end/27802, |
---|
2844 | target/27858, tree-optimization/27830 |
---|
2845 | - merge gomp changes from the trunk (-r114642:114643) |
---|
2846 | - PR libgomp/28008 |
---|
2847 | - fix -fmerge-all-constants |
---|
2848 | - fix #pragma omp critical handling if not --enable-linux-futex |
---|
2849 | |
---|
2850 | * Tue Jun 13 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-3 |
---|
2851 | - add BuildRequires for elfutils-devel on ia64 |
---|
2852 | - fix a reload bug visible on s390x (Andreas Krebbel, #193912, |
---|
2853 | PR middle-end/27959) |
---|
2854 | |
---|
2855 | * Mon Jun 12 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-2 |
---|
2856 | - update from gcc-4_1-branch (-r114107:114555) |
---|
2857 | - PRs ada/27769, c++/20173, c++/26068, c++/26433, c++/26496, c++/27177, |
---|
2858 | c++/27385, c++/27447, c++/27451, c++/27601, c++/27713, c++/27716, |
---|
2859 | c++/27722, c++/27801, c++/27806, c++/27807, c++/27819, c/25161, |
---|
2860 | c/26818, c/27020, c/27718, fortran/14067, fortran/16943, |
---|
2861 | fortran/18003, fortran/19015, fortran/19777, fortran/20839, |
---|
2862 | fortran/20877, fortran/23091, fortran/23151, fortran/24168, |
---|
2863 | fortran/24558, fortran/25047, fortran/25058, fortran/25082, |
---|
2864 | fortran/25090, fortran/25098, fortran/25147, fortran/25746, |
---|
2865 | fortran/26551, fortran/27155, fortran/27320, fortran/27411, |
---|
2866 | fortran/27449, fortran/27470, fortran/27524, fortran/27552, |
---|
2867 | fortran/27584, fortran/27613, fortran/27655, fortran/27662, |
---|
2868 | fortran/27709, fortran/27897, libgcj/26483, libgfortran/24459, |
---|
2869 | libgfortran/27757, middle-end/27743, middle-end/27793, |
---|
2870 | target/25758, target/26223, target/27790, target/27842, |
---|
2871 | testsuite/27705, tree-optimization/26242, tree-optimization/26622 |
---|
2872 | - merge gomp changes from the trunk (-r114518:114520 and -r114524:114525) |
---|
2873 | - PRs preprocessor/27746, c/27747, c++/27748, fortran/27916 |
---|
2874 | - don't generate decls with the same DECL_UID in C++ FE (PR middle-end/27793) |
---|
2875 | |
---|
2876 | * Thu May 25 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-1 |
---|
2877 | - update from gcc-4_1-branch (-r113848:114107) |
---|
2878 | - GCC 4.1.1 release |
---|
2879 | - PR fortran/27553 |
---|
2880 | - fix i386/x86_64 -O0 -fpic link failure (#192816, PR target/27758) |
---|
2881 | - fix gcjh on 64-bit hosts (#192700) |
---|
2882 | - -fvar-tracking fixes needed for SystemTap (Alexandre Oliva, BZ#2438) |
---|
2883 | |
---|
2884 | * Wed May 17 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-19 |
---|
2885 | - update from gcc-4_1-branch (-r113785:113848) |
---|
2886 | - PRs c++/26757, c++/27339, c++/27491, driver/26885, rtl-optimization/14261, |
---|
2887 | target/26600, tree-optimization/27603 |
---|
2888 | - merge gomp changes from the trunk (-r113513:113514, -r113821:113823 and |
---|
2889 | -r113845:113846) |
---|
2890 | - PRs middle-end/27415, middle-end/27573 |
---|
2891 | - optimize handling of large CONSTRUCTORs (Bernd Schmidt, |
---|
2892 | PR middle-end/27620) |
---|
2893 | |
---|
2894 | * Mon May 15 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-18 |
---|
2895 | - update from gcc-4_1-branch (-r113722:113785) |
---|
2896 | - PRs c++/27315, c++/27581, c++/27582, rtl-optimization/22563 |
---|
2897 | - merge gomp changes from the trunk (-r113786:113790) |
---|
2898 | |
---|
2899 | * Sun May 14 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-17 |
---|
2900 | - make -mtune=z9-109 the default on s390{,x} (#184630) |
---|
2901 | |
---|
2902 | * Sat May 13 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-16 |
---|
2903 | - update from gcc-4_1-branch (-r113637:113722) |
---|
2904 | - PRs bootstrap/26872, c++/27547, fortran/20460, fortran/24549, |
---|
2905 | middle-end/27384, middle-end/27488, target/26545, target/27158 |
---|
2906 | - fix libgcj.pc location and content on x86_64, ppc64 and s390x (#185230) |
---|
2907 | - make __dso_handle const, so that it is added into .data.rel.ro section |
---|
2908 | in shared libraries |
---|
2909 | - fix a typo in __builtin_object_size computation (Richard Guenther, |
---|
2910 | PR tree-optimization/27532) |
---|
2911 | - fix ICE on -O0 -g if static local variables are in unreachable code blocks |
---|
2912 | (Jan Hubicka, PR debug/26881) |
---|
2913 | - fix ICEs with conflicts across abnormal edges (Zdenek Dvorak, |
---|
2914 | PRs tree-optimization/27283, tree-optimization/27548, |
---|
2915 | tree-optimization/27549) |
---|
2916 | - warn about OpenMP section 2.9 region nesting violations |
---|
2917 | - fix OpenMP fortran array REDUCTION with -fbounds-check (PR fortran/27446) |
---|
2918 | - fix OpenMP {{FIRST,LAST}PRIVATE,REDUCTION} in orphaned construct on |
---|
2919 | Fortran dummy argument (PR middle-end/27416) |
---|
2920 | - fix ICE on #pragma omp for unsigned iteration variable (PR c/27499) |
---|
2921 | |
---|
2922 | * Tue May 9 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-15 |
---|
2923 | - update from gcc-4_1-branch (-r113623:113637) |
---|
2924 | - PR fortran/27378 |
---|
2925 | - update from trunk (-r109500:109501, -r109670:109671, -r111341:111342, |
---|
2926 | -r111704:111705, -r112546:112547, -r113111:113112, |
---|
2927 | -r113339:113341, -r113511:113513) |
---|
2928 | - fix loop peeling (Zdenek Dvorak, #190039, PR rtl-optimization/27335) |
---|
2929 | |
---|
2930 | * Mon May 8 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-14 |
---|
2931 | - update from gcc-4_1-branch (-r113489:113623) |
---|
2932 | - PRs c++/27422, c++/27427, fortran/24813, fortran/25099, fortran/25681, |
---|
2933 | fortran/27269, fortran/27324, libfortran/26985, objc/27240, |
---|
2934 | target/26481, target/26765, tree-optimization/25985, |
---|
2935 | tree-optimization/27151 |
---|
2936 | - fix zero size field handling in structalias (Richard Guenther, |
---|
2937 | PR tree-optimization/27409) |
---|
2938 | - fix PR tree-optimization/27136 (Richard Guenther) |
---|
2939 | - fix classification of invalid struct types on x86_64 (Volker Reichelt, |
---|
2940 | PR target/27421) |
---|
2941 | |
---|
2942 | * Wed May 3 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-13 |
---|
2943 | - update from gcc-4_1-branch (-r113416:113489) |
---|
2944 | - PRs c/25309, target/27374, target/27387, tree-optimization/27364 |
---|
2945 | - merge gomp changes from trunk (-r113267:113271, -r113411:113412, |
---|
2946 | -r113452:113456, -r113482:113483, -r113493:113494) |
---|
2947 | - PR fortran/27395 |
---|
2948 | - additional gomp fixes (PRs c++/27359, middle-end/27388) |
---|
2949 | - package SYSCALLS.c.X for protoize (#190047) |
---|
2950 | - fix gcj -fprofile-arcs -ftest-coverage (Alexandre Oliva, #177450) |
---|
2951 | - reenable profiledbootstrap |
---|
2952 | - in 64-bit builds remove 32-bit /usr/lib/lib* libraries from the |
---|
2953 | buildroots (and similarly on 32-bit builds remove 64-bit /usr/lib64/lib*) |
---|
2954 | before AutoReq generation (#190541) |
---|
2955 | |
---|
2956 | * Mon May 1 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-12 |
---|
2957 | - update from gcc-4_1-branch (-r113242:113416) |
---|
2958 | - PRs c++/26534, c++/26912, c++/27094, c++/27278, c++/27279, fortran/26017, |
---|
2959 | libgfortran/20257, libgfortran/27304, libgfortran/27360, |
---|
2960 | libstdc++/26513, middle-end/26565, middle-end/26869, |
---|
2961 | rtl-optimization/26685, target/26826 |
---|
2962 | - merge gomp changes from trunk (-r113255:113256, -r113420:113421) |
---|
2963 | - PRs libgomp/25865, c/27358 |
---|
2964 | - assorted gomp fixes (PRs middle-end/27325, middle-end/27310, |
---|
2965 | middle-end/27328, middle-end/27337, c++/26943) |
---|
2966 | - fix builtin memset (Alan Modra, PR middle-end/27260, PR middle-end/27095) |
---|
2967 | |
---|
2968 | * Tue Apr 25 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-11 |
---|
2969 | - update from gcc-4_1-branch (-r113149:113242) |
---|
2970 | - PRs c/25875, c/26774, fortran/18803, fortran/25597, fortran/25669, |
---|
2971 | fortran/26787, fortran/26822, fortran/26834, fortran/27089, |
---|
2972 | fortran/27113, fortran/27122, fortran/27124, target/21283, |
---|
2973 | target/26961 |
---|
2974 | - fix number of iterations computation (Zdenek Dvorak, #189376, |
---|
2975 | PR tree-optimization/27285) |
---|
2976 | - fix handling of volatile in the inliner (Andrew Pinski, Richard Guenther, |
---|
2977 | PR tree-optimization/27236) |
---|
2978 | - strip useless type conversions in the inliner (Andrew Pinski, |
---|
2979 | Richard Guenther, PR tree-optimization/27218) |
---|
2980 | |
---|
2981 | * Fri Apr 21 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-10 |
---|
2982 | - update from gcc-4_1-branch (-r113110:113149) |
---|
2983 | - PRs libgcj/21941, libgcj/27170, libgcj/27231, libgfortran/27138, |
---|
2984 | libstdc++/26424, mudflap/26789 |
---|
2985 | - improve dir/../-stripping code to support /usr/lib64 and /usr/lib in |
---|
2986 | separate AFS mountpoints (Alexandre Oliva, #137200) |
---|
2987 | - fix fortran real(16) transpose and reshape on 32-bit architectures |
---|
2988 | (PR fortran/26769) |
---|
2989 | - fix i?86/x86_64 vector extraction (Alexandre Oliva, #187450) |
---|
2990 | - fix testcase for ppc32 va_arg bug |
---|
2991 | - fix testsuite log uuencoding |
---|
2992 | - fix acats timeout framework |
---|
2993 | |
---|
2994 | * Thu Apr 20 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-9 |
---|
2995 | - update from gcc-4_1-branch (-r112951:113110) |
---|
2996 | - PRs c++/10385, c++/26036, c++/26365, c++/26558, classpath/27163, |
---|
2997 | fortran/26769, libgcj/27171, libgfortran/26766, libstdc++/27162, |
---|
2998 | middle-end/27095, middle-end/27134, target/27182, |
---|
2999 | tree-optimization/26643, tree-optimization/26821, |
---|
3000 | tree-optimization/26854, tree-optimization/27087 |
---|
3001 | - fix ppc32 va_arg bug (Alan Modra) |
---|
3002 | - assorted gomp fixes (PRs c++/25874, middle-end/25989, c/25996, c/26171, |
---|
3003 | middle-end/26913) |
---|
3004 | - fix pretty printing C array types (#188944) |
---|
3005 | - fix ICE on unprototyped alloca (PR tree-optimization/26865) |
---|
3006 | - fix truncation optimization overflow handling (PR middle-end/26729) |
---|
3007 | - uuencode dejagnu testsuite log files in rpmbuild output |
---|
3008 | |
---|
3009 | * Fri Apr 14 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-8 |
---|
3010 | - update from gcc-4_1-branch (-r112825:112951) |
---|
3011 | - PRs c++/26122, c++/26295, fortran/23634, fortran/25619, fortran/26257, |
---|
3012 | libgcj/23829, libgcj/26522, libgfortran/26890, target/27006 |
---|
3013 | - merge gomp changes from trunk (-r112934:112935) |
---|
3014 | - PR libgomp/26651 |
---|
3015 | - fix ICE in gomp handling of EH regions (PR middle-end/26823) |
---|
3016 | |
---|
3017 | * Mon Apr 10 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-7 |
---|
3018 | - update from gcc-4_1-branch (-r112727:112825) |
---|
3019 | - PRs fortran/19101, fortran/25031, fortran/26779, fortran/26891, |
---|
3020 | fortran/26976, target/26508, tree-optimization/26919 |
---|
3021 | - fix libgfortran printing of REAL*16 for IEEE quad and IBM extended formats |
---|
3022 | (PR libgfortran/24685) |
---|
3023 | - fix Fortran -fbounds-check (Roger Sayle, #188409, PR middle-end/22375) |
---|
3024 | - fix Java StackTraceElement.toString() (Mark Wielaard, #183212, |
---|
3025 | PR classpath/27081) |
---|
3026 | - fix -fopenmp -static |
---|
3027 | |
---|
3028 | * Thu Apr 6 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-6 |
---|
3029 | - update from gcc-4_1-branch (-r112706:112727) |
---|
3030 | - PRs classpath/24752, classpath/27028, libgcj/26625, libgcj/27024, |
---|
3031 | tree-optimization/26996 |
---|
3032 | - reenable PR c++/19238, c++/21764 fixes, only PR c++/21581 is not |
---|
3033 | applied |
---|
3034 | - better fix for Java GC vs. pthread_create (Bryce McKinlay, #182263, |
---|
3035 | PR libgcj/13212) |
---|
3036 | - fix objc_push_parm (#185398) |
---|
3037 | - fix ICE with -feliminate-dwarf2-dups and using namespace (#187787, |
---|
3038 | PR debug/27057) |
---|
3039 | |
---|
3040 | * Wed Apr 5 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-5 |
---|
3041 | - update from gcc-4_1-branch (-r112431:112706) |
---|
3042 | - PRs bootstrap/26936, bootstrap/27023, classpath/25924, fortran/19303, |
---|
3043 | fortran/25358, fortran/26816, java/25414, java/26042, java/26858, |
---|
3044 | libfortran/26735, libgcj/26990, libstdc++/26777, testsuite/25741, |
---|
3045 | tree-optimization/18527, tree-optimization/26763, |
---|
3046 | tree-optimization/26830 |
---|
3047 | - merge gomp changes from trunk (-r112602:112603 and -r112618:112619) |
---|
3048 | - temporarily revert PR c++/21764, c++/19238, c++/21581 fixes (#187399) |
---|
3049 | |
---|
3050 | * Tue Mar 28 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-4 |
---|
3051 | - update from gcc-4_1-branch (-r111697:112431) |
---|
3052 | - PRs ada/25885, c/26004, fortran/17298, fortran/20935, fortran/20938, |
---|
3053 | fortran/23092, fortran/24519, fortran/24557, fortran/25045, |
---|
3054 | fortran/25054, fortran/25075, fortran/25089, fortran/25378, |
---|
3055 | fortran/25395, fortran/26041, fortran/26054, fortran/26064, |
---|
3056 | fortran/26107, fortran/26277, fortran/26393, fortran/26716, |
---|
3057 | fortran/26741, libfortran/21303, libfortran/24903, libgcj/24461, |
---|
3058 | libgcj/25713, libgcj/26103, libgcj/26688, libgcj/26706, |
---|
3059 | libgfortran/26499, libgfortran/26509, libgfortran/26554, |
---|
3060 | libgfortran/26661, libgfortran/26880, libstdc++/26132, |
---|
3061 | middle-end/18859, middle-end/19543, middle-end/26557, |
---|
3062 | middle-end/26630, other/26489, target/25917, target/26347, |
---|
3063 | target/26459, target/26532, target/26607, tree-optimization/26524, |
---|
3064 | tree-optimization/26587, tree-optimization/26672 |
---|
3065 | - fix visibility and builtins interaction (Jason Merrill, |
---|
3066 | PR middle-end/20297, #175442) |
---|
3067 | - merge gomp changes from trunk (-r112022:112023, -r112250:112251, |
---|
3068 | -r112252:112253, -r112350:112351 and -r112282:112283) |
---|
3069 | - PRs c++/26691, middle-end/26084, middle-end/26611, c++/26690, |
---|
3070 | middle-end/25989 |
---|
3071 | - support visibility attribute on namespaces (Jason Merrill, PR c++/21764, |
---|
3072 | PR c++/19238) |
---|
3073 | - use hidden visibility for anonymous namespaces by default (Jason Merrill, |
---|
3074 | PR c++/21581) |
---|
3075 | |
---|
3076 | * Thu Mar 9 2006 Alexandre Oliva <aoliva@redhat.com> 4.1.0-3 |
---|
3077 | - make ppc32 TLS PIC code sequences compatible with secure plt (#184446) |
---|
3078 | (Richard Henderson and myself) |
---|
3079 | |
---|
3080 | * Sat Mar 4 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-2 |
---|
3081 | - update from gcc-4_1-branch (-r111570:111697) |
---|
3082 | - PRs c++/26291, libgfortran/26136, libgfortran/26423, libgfortran/26464, |
---|
3083 | libstdc++/26526, rtl-optimization/26345, target/19061, target/26453 |
---|
3084 | - handle DW_CFA_val_{offset,offset_sf,expression} in the libgcc{,_s} unwinder |
---|
3085 | |
---|
3086 | * Tue Feb 28 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-1 |
---|
3087 | - update from gcc-4_1-branch (-r111466:111570) |
---|
3088 | - GCC 4.1.0 release |
---|
3089 | - PR other/26473 |
---|
3090 | |
---|
3091 | * Mon Feb 27 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.31 |
---|
3092 | - add __floatuns[sdt]i[sdxt]f exports to libgcc_s.so.1 (Joseph S. Myers) |
---|
3093 | - fix unwinding through signal frames (#175951, PR other/26208, glibc BZ#300) |
---|
3094 | |
---|
3095 | * Mon Feb 27 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.30 |
---|
3096 | - update from gcc-4_1-branch (-r111278:111466) |
---|
3097 | - GCC 4.1.0 RC2 |
---|
3098 | - PRs fortran/26201, libobjc/26309, rtl-optimization/25603, target/25603 |
---|
3099 | - fix nested vector shifts (#182047, PR middle-end/26379) |
---|
3100 | - merge gomp changes from trunk (-r111390:111391, -r111428:111429 and |
---|
3101 | -r111440:111441) |
---|
3102 | - PR middle-end/26412 |
---|
3103 | - fortran MATMUL optimization (Richard Sandiford) |
---|
3104 | - fortran WHERE optimizations (Roger Sayle) |
---|
3105 | - x86_64 _mm_monitor fixes (H.J. Lu, PR target/24879) |
---|
3106 | - add MNI support on i?86/x86_64, -mmni option and <tmmintrin.h> header |
---|
3107 | (H.J Lu) |
---|
3108 | |
---|
3109 | * Sun Feb 19 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.29 |
---|
3110 | - update from gcc-4_1-branch (-r111179:111278) |
---|
3111 | - PRs ada/13408, c++/26266, target/22209, target/26189 |
---|
3112 | - fix ppc32 -fpic reload problem with extenddftf2 pattern |
---|
3113 | (David Edelsohn, #181625, PR target/26350) |
---|
3114 | - fix the PR middle-end/26334 patch |
---|
3115 | |
---|
3116 | * Fri Feb 17 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.28 |
---|
3117 | - update from gcc-4_1-branch (-r110978:111179) |
---|
3118 | - PRs ada/20753, bootstrap/16787, bootstrap/26053, fortran/25806, |
---|
3119 | libfortran/15234, libgfortran/25949, middle-end/25335, |
---|
3120 | target/25259, target/26255 |
---|
3121 | - fix ICE with shift by -1 (#181586, PR middle-end/26300) |
---|
3122 | - merge gomp changes from trunk (-r110983:110984, -r111017:111018, |
---|
3123 | -r111152:111153 and -r111204:111205) |
---|
3124 | - PRs bootstrap/26161, fortran/26224, libgomp/25938, libgomp/25984 |
---|
3125 | - don't define _REENTRANT in gthr*.h (#176278, PR libstdc++/11953) |
---|
3126 | - define _REENTRANT if -pthread and _POSIX_SOURCE if -posix on s390{,x} |
---|
3127 | and ia64 |
---|
3128 | - fix ICE with register variable and __asm statement (#181731, |
---|
3129 | PR middle-end/26334) |
---|
3130 | |
---|
3131 | * Tue Feb 14 2006 Alexandre Oliva <aoliva@redhat.com> 4.1.0-0.27 |
---|
3132 | - merge fix by Zdenek Dvorak for regression introduced by patch for PR |
---|
3133 | tree-optimization/26209 |
---|
3134 | |
---|
3135 | * Tue Feb 14 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.26 |
---|
3136 | - update from gcc-4_1-branch (-r110903:110978) |
---|
3137 | - PRs fortran/20861, fortran/20871, fortran/25059, fortran/25070, |
---|
3138 | fortran/25083, fortran/25088, fortran/25103, fortran/26038, |
---|
3139 | fortran/26074, inline-asm/16194, libfortran/24685, |
---|
3140 | libfortran/25425, target/26141, tree-optimization/26258 |
---|
3141 | - ABI change - revert to GCC 3.3 and earlier behaviour of |
---|
3142 | zero sized bitfields in packed structs (Michael Matz, PR middle-end/22275) |
---|
3143 | - fix valarrays vs. non-POD (Paolo Carlini, Gabriel Dos Reis, |
---|
3144 | PR libstdc++/25626) |
---|
3145 | - fix C++ duplicate declspec diagnostics (Volker Reichelt, PR c++/26151) |
---|
3146 | - fix dominance ICE (Zdenek Dvorak, PR tree-optimization/26209) |
---|
3147 | - add some new Intel {,e,x}mmintrin.h intrinsics (H.J. Lu) |
---|
3148 | - speedup bitset<>::_M_copy_to_string (Paolo Carlini) |
---|
3149 | - fix tree_expr_nonzero_p (Jeff Law) |
---|
3150 | - fix TRUTH_XOR_EXPR handling in VRP (Jeff Law) |
---|
3151 | |
---|
3152 | * Mon Feb 13 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.25 |
---|
3153 | - update from gcc-4_1-branch (-r110831:110903) |
---|
3154 | - PRs c++/16405, c++/24996, fortran/14771, fortran/20858, fortran/25756, |
---|
3155 | middle-end/22439 |
---|
3156 | - merge gomp changes from trunk (-r110719:110720, -r110852:110853 and |
---|
3157 | -r110907:110908) |
---|
3158 | - PR libgomp/25936 |
---|
3159 | - fix gimplification of const fn pointers to builting functions |
---|
3160 | (PR middle-end/26092) |
---|
3161 | - make sure Fortran length artifical variables aren't SAVEd (Andrew Pinski, |
---|
3162 | PR fortran/26246) |
---|
3163 | |
---|
3164 | * Fri Feb 10 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.24 |
---|
3165 | - update from gcc-4_1-branch (-r110632:110831) |
---|
3166 | - PRs tree-opt/26180, c++/26070, c++/26071, fortran/25577, java/26192, |
---|
3167 | libfortran/23815, libstdc++/26127, target/23359, target/26109, |
---|
3168 | tree-opt/25251 |
---|
3169 | - remove gcc-ppc32, gcc-c++-ppc32, gcc-sparc32 and gcc-c++-sparc32 |
---|
3170 | subpackages, they do more harm than good. Particularly this time |
---|
3171 | gcc*ppc32 and gcc*sparc32 defaulted to DFmode long double rather |
---|
3172 | than TFmode long double |
---|
3173 | |
---|
3174 | * Mon Feb 6 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.23 |
---|
3175 | - update from gcc-4_1-branch (-r110582:110632) |
---|
3176 | - PRs classpath/24618, classpath/25141, classpath/25727, fortran/25046, |
---|
3177 | fortran/26039 |
---|
3178 | - use LOGICAL*1 instead of LOGICAL*4 for Fortran where temporary masks |
---|
3179 | (Roger Sayle) |
---|
3180 | - fix symbol versions in s390 libgcc_s.so.1 |
---|
3181 | - sparc32 and alpha long double fixes |
---|
3182 | - BuildRequires libXt-devel |
---|
3183 | - BuildRequires and Requires glibc-devel >= 2.3.90-35 on arches |
---|
3184 | that are switching long double |
---|
3185 | |
---|
3186 | * Sat Feb 4 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.22 |
---|
3187 | - fix ia64 debug info patch |
---|
3188 | - fix libjava pthread_create wrapper patch |
---|
3189 | |
---|
3190 | * Sat Feb 4 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.21 |
---|
3191 | - update from gcc-4_1-branch (-r110433:110582) |
---|
3192 | - PRs c++/25342, c++/25979, fortran/20845, fortran/24266, |
---|
3193 | fortran/24958, fortran/25072, libstdc++/21554, middle-end/24901, |
---|
3194 | middle-end/25977, middle-end/26001, target/25864, target/25926, |
---|
3195 | target/25960 |
---|
3196 | - put ia64 read-only sections that require runtime relocations |
---|
3197 | even in -fno-pic code into .data.rel.ro etc. sections |
---|
3198 | rather than .rodata to avoid DT_TEXTREL binaries |
---|
3199 | (Richard Henderson, PR target/26090) |
---|
3200 | - merge gomp changes from trunk (-r110511:110512 and -r110549:110552) |
---|
3201 | - fix ia64 debug info coverage of epilogues (Alexandre Oliva, PR debug/24444) |
---|
3202 | - export pthread_create from libgcj.so.7 as a wrapper around |
---|
3203 | libpthread.so.0's pthread_create that handles GC (Anthony Green, Tom Tromey) |
---|
3204 | - BC-ABI java lookup fix (Andrew Haley, #179070, #178156) |
---|
3205 | - on sparc64 emit .register %g7,#ignore instead of .register %g7,#scratch |
---|
3206 | to avoid problems with TLS or -fstack-protector |
---|
3207 | - switch to IBM extended format long double by default on ppc and ppc64 |
---|
3208 | - switch to IEEE 754 quad format long double by default on s390, s390x, |
---|
3209 | sparc32 and alpha |
---|
3210 | |
---|
3211 | * Wed Feb 1 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.20 |
---|
3212 | - merge from gomp-20050808-branch (up to -r110392) |
---|
3213 | - fix PR c++/25874 (Diego Novillo) |
---|
3214 | |
---|
3215 | * Wed Feb 1 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.19 |
---|
3216 | - s390{,x} long double patch fix for s390x ICEs on test-ldouble |
---|
3217 | and tst-align2 (Andreas Krebbel) |
---|
3218 | |
---|
3219 | * Tue Jan 31 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.18 |
---|
3220 | - update from gcc-4_1-branch (-r110317:110433) |
---|
3221 | - PRs c++/25855, c++/25999, fortran/17911, fortran/18578, fortran/18579, |
---|
3222 | fortran/20857, fortran/20885, fortran/20895, fortran/25030, |
---|
3223 | fortran/25835, fortran/25951, java/21428, libgfortran/25835, |
---|
3224 | target/14798, target/25706, target/25718, target/25947, |
---|
3225 | target/26018, testsuite/25318 |
---|
3226 | - add -mtune=generic support for i?86 and x86_64 (Jan Hubicka, H.J. Lu, |
---|
3227 | Evandro Menezes) |
---|
3228 | - use -mtune=generic by default if neither -march= nor -mtune= is specified |
---|
3229 | on command line on i?86 or x86_64 |
---|
3230 | - updated s390{,x} long double patch, fixing ICEs on s390x glibc build |
---|
3231 | (Andreas Krebbel, Ulrich Weigand) |
---|
3232 | |
---|
3233 | * Sat Jan 28 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.17 |
---|
3234 | - update from gcc-4_1-branch (-r110062:110317) |
---|
3235 | - PRs ada/20548, ada/21317, bootstrap/25859, c++/25552, c++/25856, |
---|
3236 | c++/25858, c++/25895, c/25892, fortran/18540, fortran/20852, |
---|
3237 | fortran/20881, fortran/23308, fortran/24276, fortran/25084, |
---|
3238 | fortran/25085, fortran/25086, fortran/25124, fortran/25416, |
---|
3239 | fortran/25538, fortran/25625, fortran/25710, fortran/25716, |
---|
3240 | fortran/25901, fortran/25964, java/25816, other/24829, |
---|
3241 | rtl-optimization/24626, rtl-optimization/25654, target/24831, |
---|
3242 | testsuite/24962, testsuite/25590 |
---|
3243 | - atomic builtin fixes (Richard Henderson) |
---|
3244 | - -mlong-double-128 support on ppc32 (David Edelsohn, Alan Modra) |
---|
3245 | - -mlong-double-128 support on s390 and s390x (Andreas Krebbel, |
---|
3246 | Ulrich Weigand) |
---|
3247 | |
---|
3248 | * Sat Jan 21 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.16 |
---|
3249 | - update from gcc-4_1-branch (-r109815:110062) |
---|
3250 | - PRs ada/24533, c++/16829, c++/22136, c++/25836, c++/25854, c/25805, |
---|
3251 | classpath/20198, fortran/20869, fortran/20875, fortran/25024, |
---|
3252 | fortran/25631, fortran/25697, fortran/25785, libgcj/25840, |
---|
3253 | libgfortran/25631, libgfortran/25697, libstdc++/25823, |
---|
3254 | libstdc++/25824, target/25731, testsuite/25171 |
---|
3255 | - fix X509Certificate.java (#174708, #177733) |
---|
3256 | |
---|
3257 | * Tue Jan 17 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.15 |
---|
3258 | - update from gcc-4_1-branch (-r109401:109815) |
---|
3259 | - PRs c++/24824, c++/25386, c++/25663, c/25682, classpath/25803, |
---|
3260 | fortran/12456, fortran/20868, fortran/20870, fortran/21256, |
---|
3261 | fortran/21977, fortran/22146, fortran/24640, fortran/25029, |
---|
3262 | fortran/25093, fortran/25101, fortran/25486, fortran/25598, |
---|
3263 | fortran/25730, libgcj/21637, libgcj/23499, libgfortran/25598, |
---|
3264 | libstdc++/23591, libstdc++/25472, rtl-optimization/24257, |
---|
3265 | rtl-optimization/25367, rtl-optimization/25662, target/20754, |
---|
3266 | target/25042, target/25168, testsuite/25728, testsuite/25777, |
---|
3267 | tree-opt/24365, tree-optimization/23109, tree-optimization/23948, |
---|
3268 | tree-optimization/24123, tree-optimization/25125 |
---|
3269 | - update from gomp-20050608-branch (up to -r109816) |
---|
3270 | - fix ppc32 libffi (#177655) |
---|
3271 | - fix lookup_conversions_r (#177918) |
---|
3272 | - define __STDC__ as a normal macro rather than a preprocessor builtin |
---|
3273 | unless it needs to change its value between system and non-system |
---|
3274 | headers (PR preprocessor/25717) |
---|
3275 | |
---|
3276 | * Fri Jan 6 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.14 |
---|
3277 | - update from gcc-4_1-branch (-r109369:109401) |
---|
3278 | - PR fortran/23675 |
---|
3279 | - fix Java shutdown hook (Tom Tromey, #165136) |
---|
3280 | - fix libjava/shlibpath.m4 (PR libgcj/24940) |
---|
3281 | |
---|
3282 | * Thu Jan 5 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.13 |
---|
3283 | - update from gcc-4_1-branch (-r108957:109369) |
---|
3284 | - PRs c++/23171, c++/23172, c++/24671, c++/24782, c++/25294, c++/25417, |
---|
3285 | c++/25439, c++/25492, c++/25625, c++/25632, c++/25633, c++/25634, |
---|
3286 | c++/25635, c++/25637, c++/25638, c/25183, c/25559, debug/25562, |
---|
3287 | fortran/18990, fortran/19362, fortran/20244, fortran/20862, |
---|
3288 | fortran/20864, fortran/20889, fortran/22607, fortran/23152, |
---|
3289 | fortran/25018, fortran/25053, fortran/25055, fortran/25063, |
---|
3290 | fortran/25064, fortran/25066, fortran/25067, fortran/25068, |
---|
3291 | fortran/25069, fortran/25106, fortran/25391, fortran/25532, |
---|
3292 | fortran/25586, fortran/25587, libgcj/9715, libgcj/19132, |
---|
3293 | libgfortran/25139, libgfortran/25419, libgfortran/25510, |
---|
3294 | libgfortran/25550, libgfortran/25594, middle-end/24827, objc/25328, |
---|
3295 | rtl-optimization/21041, rtl-optimization/25130, target/24342, |
---|
3296 | target/25554, target/25572, testsuite/25214, testsuite/25441, |
---|
3297 | testsuite/25442, testsuite/25444, tree-opt/25513 |
---|
3298 | - create java Package for compiled classes which are linked in but |
---|
3299 | loaded by the system class loader (Tom Tromey, #176956) |
---|
3300 | - fix posix_memalign prototype in <mm_malloc.h> (#176461) |
---|
3301 | - update from gomp-20050608-branch (up to -r109349) |
---|
3302 | - buildrequire libXtst-devel (#176898) |
---|
3303 | - fix built in path to classmap.db on x86_64, s390x and ppc64 (#176562) |
---|
3304 | - fix debug info for preprocessed Fortran code (#175071, PR fortran/25324) |
---|
3305 | |
---|
3306 | * Fri Dec 22 2005 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.12 |
---|
3307 | - make sure GCJFLAGS are propagated down to libjava's configure |
---|
3308 | - build crt{begin,end}*.o with -fno-asynchronous-unwind-tables |
---|
3309 | if RPM_OPT_FLAGS include -fasynchronous-unwind-tables |
---|
3310 | - fix PR c++/25369 (Mark Mitchell) |
---|
3311 | - fix PR libgfortran/25307 (Jerry DeLisle) |
---|
3312 | |
---|
3313 | * Thu Dec 22 2005 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.11 |
---|
3314 | - update from gcc-4_1-branch (-r108861:108957) |
---|
3315 | - PRs debug/25518, fortran/24268, fortran/25423, libgfortran/25463, |
---|
3316 | rtl-optimization/25196, tree-optimization/24793 |
---|
3317 | - validate changes in forward copy propagation (PR target/25005) |
---|
3318 | - fix Java constants constructors on 64-bit big endian arches |
---|
3319 | (Andrew Haley, PR java/25535) |
---|
3320 | - fix PR c++/25364 (Mark Mitchell) |
---|
3321 | |
---|
3322 | * Wed Dec 21 2005 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.10 |
---|
3323 | - update from gcc-4_1-branch (-r108539:108861) |
---|
3324 | - PRs ada/18659, ada/18819, c++/20552, c++/21228, c++/24278, c++/24915, |
---|
3325 | fortran/18197, fortran/25458, libgfortran/25039, libgfortran/25264, |
---|
3326 | libgfortran/25349, libobjc/14382, libstdc++/25421, middle-end/22313, |
---|
3327 | middle-end/24306, rtl-optimization/23837, rtl-optimization/25224, |
---|
3328 | rtl-optimization/25310, target/24969, testsuite/25215, |
---|
3329 | tree-optimization/23838, tree-optimization/24378 |
---|
3330 | - update from gomp-20050608-branch (up to -r108859) |
---|
3331 | - fix _Pragma handling (Richard Henderson, PR preprocessor/25240) |
---|
3332 | - fix reload re-recognition of insns (Alan Modra, PR rtl-optimization/25432) |
---|
3333 | - don't peephole RTX_FRAME_RELATED_P insns (Andrew Haley, |
---|
3334 | PR middle-end/25121) |
---|
3335 | |
---|
3336 | * Thu Dec 15 2005 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.9 |
---|
3337 | - fix OpenMP lastprivate handling for global vars (Aldy Hernandez) |
---|
3338 | - fix gnu.xml.dom.DomNode's detach method (Caolan McNamara, |
---|
3339 | PR classpath/25426) |
---|
3340 | - fix up the #175569 fix (Tom Tromey, #175833, PR java/25429) |
---|
3341 | - fix strength reduction miscompilation of libgnomecanvas |
---|
3342 | (#175669, PR rtl-optimization/24899) |
---|
3343 | - create libgcj-*.jar with -@E options and feed a sorted list to |
---|
3344 | it rather than relying on filesystem sorting |
---|
3345 | |
---|
3346 | * Wed Dec 14 2005 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.8 |
---|
3347 | - update from gcc-4_1-branch (-r108414:108539) |
---|
3348 | - PRs classpath/25389, fortran/23815, fortran/25078, target/25254 |
---|
3349 | - fix Java ICE on initialized static final var used in case |
---|
3350 | (Andrew Haley, #175569, PR java/25429) |
---|
3351 | - fix crash in _Unwind_IteratePhdrCallback (Andrew Haley) |
---|
3352 | - don't Require alsa-lib-devel, just BuildRequire it |
---|
3353 | (#175627) |
---|
3354 | - use .gnu.linkonce.d.rel.ro.* sections for objects that |
---|
3355 | are constant after relocation processing |
---|
3356 | |
---|
3357 | * Mon Dec 12 2005 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.7 |
---|
3358 | - update from gcc-4_1-branch (-r108157:108414) |
---|
3359 | - PRs c++/19317, c++/19397, c++/19762, c++/19764, c++/25010, c++/25300, |
---|
3360 | c++/25337, debug/24908, fortran/25292, libfortran/25116, |
---|
3361 | libgcj/25265, target/17828, target/19005, target/23424, |
---|
3362 | target/25212, target/25258, target/25311, testsuite/20772, |
---|
3363 | testsuite/24478, testsuite/25167, tree-optimization/25248 |
---|
3364 | - update from gomp-20050608-branch (up to -r108424) |
---|
3365 | - add BuildReq for alsa-lib-devel and configure with --disable-dssi |
---|
3366 | - sort files in libgcj-*.jar and touch them to latest ChangeLog |
---|
3367 | timestamp, so that libgcj-*.jar is identical across multilib arches |
---|
3368 | - don't use pushw instruction on i?86, as that leads to ICEs |
---|
3369 | in def_cfa_1, because negative CFA offsets not multiple of 4 |
---|
3370 | aren't representable in the unwind and debug info (PR debug/25023, |
---|
3371 | PR target/25293) |
---|
3372 | - fix ICEs with x86_64 -mlarge-data-threshold=N and STRING_CSTs |
---|
3373 | (Jan Hubicka, PR target/24188) |
---|
3374 | - fix Java ICE with input_filename being unset (Alexandre Oliva, #174912) |
---|
3375 | - don't accept invalid int x,; in C++ (Petr Machata, PR c++/24907) |
---|
3376 | - fix Java ICE in do_resolve_class (Andrew Haley, PR java/25366, |
---|
3377 | PR java/25368) |
---|
3378 | - make sure g*.dg/compat/struct-layout-1.exp generated tests |
---|
3379 | don't use arrays with entries aligned more than their size (PR c++/25331) |
---|
3380 | - don't use -liberty in g++.dg/compat/struct-layout-1.exp tests |
---|
3381 | |
---|
3382 | * Wed Dec 7 2005 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.6 |
---|
3383 | - allow #pragmas at C struct scope as well as ObjC class scope |
---|
3384 | (PR c/25246) |
---|
3385 | - some gomp testcase fixes |
---|
3386 | |
---|
3387 | * Wed Dec 7 2005 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.5 |
---|
3388 | - update from gcc-4_1-branch (-r107810:108157) |
---|
3389 | - PRs bootstrap/25207, c++/24103, c++/24138, c++/24173, fortran/15809, |
---|
3390 | fortran/21302, fortran/23912, java/25283, libfortran/24919, |
---|
3391 | libgfortran/25149, middle-end/25176, other/13873, target/18580, |
---|
3392 | target/24108, target/24475, target/24934, target/25199, |
---|
3393 | testsuite/25247, tree-optimization/24963 |
---|
3394 | - update from gomp-20050608-branch (up to -r108105) |
---|
3395 | - -Wstrict-aliasing C++ support (Richard Guenther, Dirk Mueller, |
---|
3396 | Paolo Carlini, PRs c++/14024, libstdc++/24975) |
---|
3397 | - fix mark_used_regs regression (Andreas Krebbel, PR rtl-optimization/24823) |
---|
3398 | - fix reload ICE (Kaz Kojima, PR target/24982) |
---|
3399 | - fix PPC ICE on Linux kernel (Paolo Bonzini, PR target/24982) |
---|
3400 | - fix s390{,x} shifts with shift count ANDed with constant mask |
---|
3401 | (Andreas Krebbel, PR target/25268) |
---|
3402 | - s390{,x} atomic builtins enhancements (Adrian Straetling) |
---|
3403 | |
---|
3404 | * Thu Dec 1 2005 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.4 |
---|
3405 | - update from gcc-4_1-branch (-r107618:107810) |
---|
3406 | - PRs c++/21123, c++/21166, fortran/24223, fortran/24705, java/18278, |
---|
3407 | libgfortran/25109, middle-end/20109, middle-end/25120, |
---|
3408 | middle-end/25158, rtl-opt/24930 |
---|
3409 | - use %%{_tmppath} in BuildRoot (#174594) |
---|
3410 | - require libgomp in gcc subpackage |
---|
3411 | - fix Java .so symlinks |
---|
3412 | |
---|
3413 | * Tue Nov 29 2005 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.3 |
---|
3414 | - fix IA-64 local-exec TLS handling |
---|
3415 | - fix IA-64 __sync_fetch_and_{sub,xor,...} |
---|
3416 | |
---|
3417 | * Mon Nov 28 2005 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.2 |
---|
3418 | - update from gcc-4_1-branch (-r107462:107618) |
---|
3419 | - PRs fortran/24917, libgcj/25016, libgfortran/24945, middle-end/21309, |
---|
3420 | middle-end/25022, libfortran/24991 |
---|
3421 | - update from gomp-20050608-branch (up to -r107619) |
---|
3422 | - fix omp_get_wti{me,ck} on older kernels |
---|
3423 | - ppc32 EH fix |
---|
3424 | - fix #pragma omp atomic |
---|
3425 | - resurrected multi32 hack for ppc32 and sparc32 |
---|
3426 | |
---|
3427 | * Thu Nov 24 2005 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.1 |
---|
3428 | - initial 4.1 package, using newly created redhat/gcc-4_1-branch |
---|