2 # spec file for package gcc49
4 # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
6 # All modifications and additions to the file contributed by third parties
7 # remain the property of their copyright owners, unless otherwise agreed
8 # upon. The license for this file, and modifications and additions to the
9 # file, is the same license as for the pristine package itself (unless the
10 # license for the pristine package is not an Open Source License, in which
11 # case the license is the MIT License). An "Open Source License" is a
12 # license that conforms to the Open Source Definition (Version 1.9)
13 # published by the Open Source Initiative.
15 # Please submit bugfixes or comments via http://bugs.opensuse.org/
24 %define quadmath_arch %ix86 x86_64 ia64 aarch64
25 %define tsan_arch x86_64
26 %define asan_arch x86_64 %ix86 ppc ppc64 %sparc %arm
27 %define itm_arch x86_64 %ix86 %arm ppc ppc64 ppc64le s390 s390x %sparc
28 %define atomic_arch x86_64 %ix86 %arm aarch64 ppc ppc64 ppc64le s390 s390x %sparc m68k
29 %define lsan_arch x86_64
30 %define ubsan_arch x86_64 %ix86 ppc ppc64 %arm
31 %if 0%{?build_libvtv:1}
32 %define vtv_arch x86_64 %ix86
34 %define cilkrts_arch x86_64 %ix86
36 # We don't want to build java
38 %define build_libjava 0
41 %define build_fortran !0%{?building_libjava:1}%{?building_libffi:1}
42 %define build_objc !0%{?building_libjava:1}%{?building_libffi:1}
43 %define build_objcp !0%{?building_libjava:1}%{?building_libffi:1}
44 %define build_go !0%{?building_libjava:1}%{?building_libffi:1}
55 # For optional compilers only build C, C++ and Fortran
56 %if 0%{?build_optional_compiler_languages:1}
59 %define build_libjava 0
65 # Shared library SONAME versions
75 %define libgcj_sover %{nil}
76 %define libgcj_bc_sover %{nil}
77 %define libffi_sover %{nil}
78 %define libgomp_sover %{nil}
79 %define libstdcxx_sover %{nil}
80 %define libobjc_sover %{nil}
81 %define libgfortran_sover %{nil}
82 %define libquadmath_sover %{nil}
83 %define libasan_sover %{nil}
84 %define libtsan_sover %{nil}
85 %define libatomic_sover %{nil}
86 %define libitm_sover %{nil}
87 %define libubsan_sover %{nil}
88 %define liblsan_sover %{nil}
89 %define libvtv_sover %{nil}
90 %define libcilkrts_sover %{nil}
91 %define libgo_sover %{nil}
93 # Shared library package suffix
94 # This is used for the "non-standard" set of libraries, the standard
95 # being defined by %product_libs_gcc_ver, the GCC version that should
96 # provide un-suffixed shared library packages following the shared-library
97 # policy. Even suffixed variants should provide the shared-library policy
98 # mandated names and ensure they conflict with each other.
99 # Note that on SONAME changes of any library the %product_libs_gcc_ver
100 # define needs to be either split or the newest GCC version still providing
101 # the old SONAME needs to unconditionally produce an un-suffixed library
102 # if %product_libs_gcc_ver is newer than it. Similar the _oldest_ GCC
103 # version first providing a new SONAME needs to unconditionally produce
104 # an un-suffixed library if %product_libs_gcc_ver is lower that it.
105 %if %{!?product_libs_gcc_ver:49}%{?product_libs_gcc_ver} != 49
108 %define libgcc_s_suffix %{?pne:-gcc49}
109 # libgcj SONAME changes with every GCC version
110 %define libgcj_suffix %nil
111 %define libgcj_bc_suffix %{?pne:-gcc49}
112 %define libffi_suffix %{?pne:-gcc49}
113 %define libgomp_suffix %{?pne:-gcc49}
114 %define libstdcxx_suffix %{?pne:-gcc49}
115 %define libobjc_suffix %{?pne:-gcc49}
116 %define libgfortran_suffix %{?pne:-gcc49}
117 %define libquadmath_suffix %{?pne:-gcc49}
118 %define libasan_suffix %{?pne:-gcc49}
119 %define libtsan_suffix %{?pne:-gcc49}
120 %define libatomic_suffix %{?pne:-gcc49}
121 %define libitm_suffix %{?pne:-gcc49}
124 %define libubsan_suffix %{?pne:-gcc49}
125 %define liblsan_suffix %{?pne:-gcc49}
126 %define libvtv_suffix %{?pne:-gcc49}
127 %define libcilkrts_suffix %{?pne:-gcc49}
128 %define libgo_suffix %{?pne:-gcc49}
130 %define selfconflict() %1
133 # With generated files in src we could drop the following
136 BuildRequires: gettext-devel
137 BuildRequires: makeinfo
138 # until here, but at least renaming and patching info files breaks this
139 BuildRequires: gcc-c++
140 BuildRequires: glibc-devel
141 BuildRequires: mpc-devel
142 BuildRequires: mpfr-devel
144 BuildRequires: zlib-devel
145 %ifarch %ix86 x86_64 ppc ppc64 s390 s390x ia64 %sparc hppa %arm aarch64
146 BuildRequires: cloog-isl-devel
147 BuildRequires: isl-devel
150 %define hostsuffix -4.9
151 BuildRequires: gcc49-ada
153 %if 0%{?building_libjava:1}%{?building_testsuite:1}
154 BuildRequires: fastjar
156 %if 0%{?building_libffi:1}
157 BuildRequires: pkg-config
160 BuildRequires: libunwind-devel
163 BuildRequires: dejagnu
164 BuildRequires: expect
168 %define separate_bi32 0
169 %define separate_bi64 0
171 # Beware, this does _not_ separate libgcj, as for that one multilibing
172 # is inactive for the time being
173 %define separate_bi64 1
175 %ifarch x86_64 s390x ppc64 sparc64
176 %define separate_bi32 1
179 # Define two macros to trigger -32bit or -64bit package variants
180 %define separate_biarch 0
182 %define separate_biarch 1
183 %define separate_biarch_suffix -32bit
186 %define separate_biarch 1
187 %define separate_biarch_suffix -64bit
190 %ifarch x86_64 ia64 s390x alpha ppc64 sparc64 aarch64
191 # 64-bit is primary build target
192 %define build_primary_64bit 1
194 %define build_primary_64bit 0
197 %define biarch_libjava 0
199 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
201 URL: http://gcc.gnu.org/
204 %define gcc_dir_version 4.9
205 %define binsuffix -4.9
207 %if !0%{?building_libjava:1}%{?building_libffi:1}%{?building_testsuite:1}
208 Requires: binutils glibc-devel
209 Requires: cpp49 = %{version}-%{release}
210 Requires: libgcc_s%{libgcc_s} >= %{version}-%{release}
211 Requires: libgomp%{libgomp_sover} >= %{version}-%{release}
213 Requires: libasan%{libasan_sover} >= %{version}-%{release}
216 Requires: libtsan%{libtsan_sover} >= %{version}-%{release}
219 Requires: libatomic%{libatomic_sover} >= %{version}-%{release}
222 Requires: libitm%{libitm_sover} >= %{version}-%{release}
224 %ifarch %cilkrts_arch
225 Requires: libcilkrts%{libcilkrts_sover} >= %{version}-%{release}
228 Requires: liblsan%{liblsan_sover} >= %{version}-%{release}
231 Requires: libubsan%{libubsan_sover} >= %{version}-%{release}
234 Requires: libvtv%{libvtv_sover} >= %{version}-%{release}
236 Suggests: gcc49-info gcc49-locale
239 BuildRoot: %{_tmppath}/%{name}-%{version}-build
240 Source: gcc-%{version}.tar.bz2
242 Source2: libffi49-rpmlintrc
243 Source3: gcc49-rpmlintrc
245 Source5: baselibs.conf
246 Source6: libgcj49-rpmlintrc
248 Group: Development/Building
249 Summary: The GNU C Compiler and Support Files
253 Core package for the GNU Compiler Collection, including the C language
256 Language frontends other than C are split to different sub-packages,
257 namely gcc-ada, gcc-c++, gcc-fortran, gcc-java, gcc-objc and
262 %package -n gcc49-32bit
263 Summary: The GNU C Compiler 32bit support
264 Group: Development/Building
265 Requires: gcc49 = %{version}-%{release}
266 Requires: libgcc_s%{libgcc_s}-32bit >= %{version}-%{release}
267 Requires: libgomp%{libgomp_sover}-32bit >= %{version}-%{release}
269 Requires: libasan%{libasan_sover}-32bit >= %{version}-%{release}
272 # tsan on x86_64 has no multilib
275 Requires: libtsan%{libtsan_sover}-32bit >= %{version}-%{release}
279 Requires: libatomic%{libatomic_sover}-32bit >= %{version}-%{release}
282 Requires: libitm%{libitm_sover}-32bit >= %{version}-%{release}
284 %ifarch %cilkrts_arch
285 Requires: libcilkrts%{libcilkrts_sover}-32bit >= %{version}-%{release}
287 # lsan on x86_64 has no multilib
291 Requires: liblsan%{liblsan_sover} >= %{version}-%{release}
295 Requires: libubsan%{libubsan_sover}-32bit >= %{version}-%{release}
298 Requires: libvtv%{libvtv_sover}-32bit >= %{version}-%{release}
300 Requires: glibc-devel-32bit
302 %description -n gcc49-32bit
303 This package contains 32bit support for the GNU Compiler Collection.
305 %package -n gcc49-64bit
306 Summary: The GNU C Compiler 64bit support
307 Group: Development/Building
308 Requires: gcc49 = %{version}-%{release}
309 Requires: libgcc_s%{libgcc_s}-64bit >= %{version}-%{release}
310 Requires: libgomp%{libgomp_sover}-64bit >= %{version}-%{release}
312 Requires: libasan%{libasan_sover}-64bit >= %{version}-%{release}
315 Requires: libtsan%{libtsan_sover}-64bit >= %{version}-%{release}
318 Requires: libatomic%{libatomic_sover}-64bit >= %{version}-%{release}
321 Requires: libitm%{libitm_sover}-64bit >= %{version}-%{release}
323 %ifarch %cilkrts_arch
324 Requires: libcilkrts%{libcilkrts_sover}-64bit >= %{version}-%{release}
327 Requires: liblsan%{liblsan_sover}-64bit >= %{version}-%{release}
330 Requires: libubsan%{libubsan_sover}-64bit >= %{version}-%{release}
333 Requires: libvtv%{libvtv_sover}-64bit >= %{version}-%{release}
335 Requires: glibc-devel-64bit
337 %description -n gcc49-64bit
338 This package contains 64bit support for the GNU Compiler Collection.
342 Summary: Locale Data for the GNU Compiler Collection
344 Group: Development/Building
345 Requires: gcc49 = %{version}-%{release}
348 Locale data for the GNU Compiler Collection (GCC) to give error message
349 in the current locale.
353 Summary: The GNU C++ Compiler
355 Group: Development/Languages
356 Requires: gcc49 = %{version}-%{release}
357 Requires: libstdc++49-devel = %{version}-%{release}
360 This package contains the GNU compiler for C++.
362 %package -n libstdc++49-devel
363 Summary: Include Files and Libraries mandatory for Development
364 License: GPL-3.0-with-GCC-exception
365 Group: Development/Building
366 Requires: libstdc++%{libstdcxx_sover} >= %{version}-%{release}
367 Requires: glibc-devel
369 Requires: libunwind-devel
372 %description -n libstdc++49-devel
373 This package contains all the headers and libraries of the standard C++
374 library. It is needed for compiling C++ code.
375 %package -n libstdc++49-devel-32bit
376 Summary: Include Files and Libraries mandatory for Development
377 License: GPL-3.0-with-GCC-exception
378 Group: Development/Building
379 Requires: libstdc++%{libstdcxx_sover}-32bit >= %{version}-%{release}
380 Requires: glibc-devel-32bit
382 Requires: libunwind-devel
385 %description -n libstdc++49-devel-32bit
386 This package contains all the headers and libraries of the standard C++
387 library. It is needed for compiling C++ code.
388 %package -n libstdc++49-devel-64bit
389 Summary: Include Files and Libraries mandatory for Development
390 License: GPL-3.0-with-GCC-exception
391 Group: Development/Building
392 Requires: libstdc++%{libstdcxx_sover}-64bit >= %{version}-%{release}
393 Requires: glibc-devel-64bit
395 Requires: libunwind-devel
398 %description -n libstdc++49-devel-64bit
399 This package contains all the headers and libraries of the standard C++
400 library. It is needed for compiling C++ code.
403 %package -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}
404 Summary: C compiler runtime library
405 License: GPL-3.0-with-GCC-exception
406 Group: Development/Building
407 Provides: libgcc_s%{libgcc_s} = %{version}-%{release}
409 %description -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}
410 Libgcc is needed for dynamically linked C programs.
412 %post -n libgcc_s%{libgcc_s}%{libgcc_s_suffix} -p /sbin/ldconfig
414 %postun -n libgcc_s%{libgcc_s}%{libgcc_s_suffix} -p /sbin/ldconfig
415 %package -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}-32bit
416 Summary: C compiler runtime library
417 License: GPL-3.0-with-GCC-exception
418 Group: Development/Building
419 Provides: libgcc_s%{libgcc_s}-32bit = %{version}-%{release}
421 %description -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}-32bit
422 Libgcc is needed for dynamically linked C programs.
424 %post -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}-32bit -p /sbin/ldconfig
426 %postun -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}-32bit -p /sbin/ldconfig
427 %package -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}-64bit
428 Summary: C compiler runtime library
429 License: GPL-3.0-with-GCC-exception
430 Group: Development/Building
431 Provides: libgcc_s%{libgcc_s}-64bit = %{version}-%{release}
433 %description -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}-64bit
434 Libgcc is needed for dynamically linked C programs.
436 %post -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}-64bit -p /sbin/ldconfig
438 %postun -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}-64bit -p /sbin/ldconfig
440 %package -n libgomp%{libgomp_sover}%{libgomp_suffix}
441 Summary: The GNU compiler collection OpenMP runtime library
442 License: GPL-3.0-with-GCC-exception
443 Group: Development/Building
444 Provides: libgomp%{libgomp_sover} = %{version}-%{release}
446 %description -n libgomp%{libgomp_sover}%{libgomp_suffix}
447 This is the OpenMP runtime library needed by OpenMP enabled programs
448 that were built with the -fopenmp compiler option and by programs that
449 were auto-parallelized via the -ftree-parallelize-loops compiler
453 %post -n libgomp%{libgomp_sover}%{libgomp_suffix} -p /sbin/ldconfig
455 %postun -n libgomp%{libgomp_sover}%{libgomp_suffix} -p /sbin/ldconfig
456 %package -n libgomp%{libgomp_sover}%{libgomp_suffix}-32bit
457 Summary: The GNU compiler collection OpenMP runtime library
458 License: GPL-3.0-with-GCC-exception
459 Group: Development/Building
460 Provides: libgomp%{libgomp_sover}-32bit = %{version}-%{release}
462 %description -n libgomp%{libgomp_sover}%{libgomp_suffix}-32bit
463 This is the OpenMP runtime library needed by OpenMP enabled programs
464 that were built with the -fopenmp compiler option and by programs that
465 were auto-parallelized via the -ftree-parallelize-loops compiler
469 %post -n libgomp%{libgomp_sover}%{libgomp_suffix}-32bit -p /sbin/ldconfig
471 %postun -n libgomp%{libgomp_sover}%{libgomp_suffix}-32bit -p /sbin/ldconfig
472 %package -n libgomp%{libgomp_sover}%{libgomp_suffix}-64bit
473 Summary: The GNU compiler collection OpenMP runtime library
474 License: GPL-3.0-with-GCC-exception
475 Group: Development/Building
476 Provides: libgomp%{libgomp_sover}-64bit = %{version}-%{release}
478 %description -n libgomp%{libgomp_sover}%{libgomp_suffix}-64bit
479 This is the OpenMP runtime library needed by OpenMP enabled programs
480 that were built with the -fopenmp compiler option and by programs that
481 were auto-parallelized via the -ftree-parallelize-loops compiler
485 %post -n libgomp%{libgomp_sover}%{libgomp_suffix}-64bit -p /sbin/ldconfig
487 %postun -n libgomp%{libgomp_sover}%{libgomp_suffix}-64bit -p /sbin/ldconfig
489 %package -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}
490 Summary: The standard C++ shared library
491 License: GPL-3.0-with-GCC-exception
492 Group: Development/Building
493 Suggests: libstdc++%{libstdcxx_sover}-locale
494 Provides: libstdc++%{libstdcxx_sover} = %{version}-%{release}
496 %description -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}
497 The standard C++ library, needed for dynamically linked C++ programs.
500 %post -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix} -p /sbin/ldconfig
502 %postun -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix} -p /sbin/ldconfig
503 %package -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}-32bit
504 Summary: The standard C++ shared library
505 License: GPL-3.0-with-GCC-exception
506 Group: Development/Building
507 Suggests: libstdc++%{libstdcxx_sover}-locale
508 Provides: libstdc++%{libstdcxx_sover}-32bit = %{version}-%{release}
510 %description -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}-32bit
511 The standard C++ library, needed for dynamically linked C++ programs.
514 %post -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}-32bit -p /sbin/ldconfig
516 %postun -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}-32bit -p /sbin/ldconfig
517 %package -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}-64bit
518 Summary: The standard C++ shared library
519 License: GPL-3.0-with-GCC-exception
520 Group: Development/Building
521 Suggests: libstdc++%{libstdcxx_sover}-locale
522 Provides: libstdc++%{libstdcxx_sover}-64bit = %{version}-%{release}
524 %description -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}-64bit
525 The standard C++ library, needed for dynamically linked C++ programs.
528 %post -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}-64bit -p /sbin/ldconfig
530 %postun -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}-64bit -p /sbin/ldconfig
532 %package -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}-locale
533 Summary: Locale Data for the standard C++ shared library
534 License: GPL-3.0-with-GCC-exception
535 Group: Development/Building
536 Provides: libstdc++%{libstdcxx_sover}-locale = %{version}-%{release}
538 %description -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}-locale
539 The standard C++ library locale data.
543 Summary: Documentation for the GNU compiler collection
545 Group: Development/Building
549 GNU info-pages for the GNU compiler collection covering both user-level
550 and internals documentation.
554 Summary: GNU Objective C Compiler
556 Group: Development/Languages
557 Requires: gcc49 = %{version}-%{release}
558 Requires: libobjc%{libobjc_sover} >= %{version}-%{release}
561 This package contains the GNU Objective C compiler. Objective C is an
562 object oriented language, created by Next Inc. and used in their
563 Nextstep OS. The source code is available in the gcc package.
565 Summary: GNU Objective C Compiler
567 Group: Development/Languages
568 Requires: gcc49 = %{version}-%{release}
569 Requires: libobjc%{libobjc_sover}-32bit >= %{version}-%{release}
571 %description objc-32bit
572 This package contains the GNU Objective C compiler. Objective C is an
573 object oriented language, created by Next Inc. and used in their
574 Nextstep OS. The source code is available in the gcc package.
576 Summary: GNU Objective C Compiler
578 Group: Development/Languages
579 Requires: gcc49 = %{version}-%{release}
580 Requires: libobjc%{libobjc_sover}-64bit >= %{version}-%{release}
582 %description objc-64bit
583 This package contains the GNU Objective C compiler. Objective C is an
584 object oriented language, created by Next Inc. and used in their
585 Nextstep OS. The source code is available in the gcc package.
587 %package -n libobjc%{libobjc_sover}%{libobjc_suffix}
588 Summary: Library for the GNU Objective C Compiler
589 License: GPL-3.0-with-GCC-exception
590 Group: Development/Building
591 Provides: libobjc%{libobjc_sover} = %{version}-%{release}
593 %description -n libobjc%{libobjc_sover}%{libobjc_suffix}
594 The library for the GNU Objective C compiler.
596 %post -n libobjc%{libobjc_sover}%{libobjc_suffix} -p /sbin/ldconfig
598 %postun -n libobjc%{libobjc_sover}%{libobjc_suffix} -p /sbin/ldconfig
599 %package -n libobjc%{libobjc_sover}%{libobjc_suffix}-32bit
600 Summary: Library for the GNU Objective C Compiler
601 License: GPL-3.0-with-GCC-exception
602 Group: Development/Building
603 Provides: libobjc%{libobjc_sover}-32bit = %{version}-%{release}
605 %description -n libobjc%{libobjc_sover}%{libobjc_suffix}-32bit
606 The library for the GNU Objective C compiler.
608 %post -n libobjc%{libobjc_sover}%{libobjc_suffix}-32bit -p /sbin/ldconfig
610 %postun -n libobjc%{libobjc_sover}%{libobjc_suffix}-32bit -p /sbin/ldconfig
611 %package -n libobjc%{libobjc_sover}%{libobjc_suffix}-64bit
612 Summary: Library for the GNU Objective C Compiler
613 License: GPL-3.0-with-GCC-exception
614 Group: Development/Building
615 Provides: libobjc%{libobjc_sover}-64bit = %{version}-%{release}
617 %description -n libobjc%{libobjc_sover}%{libobjc_suffix}-64bit
618 The library for the GNU Objective C compiler.
620 %post -n libobjc%{libobjc_sover}%{libobjc_suffix}-64bit -p /sbin/ldconfig
622 %postun -n libobjc%{libobjc_sover}%{libobjc_suffix}-64bit -p /sbin/ldconfig
625 Summary: GNU Objective C++ Compiler
627 Group: Development/Languages
628 Requires: gcc49-objc = %{version}-%{release}
629 Requires: gcc49-c++ = %{version}-%{release}
632 This package contains the GNU Objective C++ compiler. Objective C++ is an
633 object oriented language, created by Next Inc. and used in their
634 Nextstep OS. The source code is available in the gcc package.
638 Summary: The GCC Preprocessor
640 Group: Development/Languages
642 %description -n cpp49
643 This Package contains just the preprocessor that is used by the X11
648 Summary: GNU Ada95 Compiler Based on GCC (GNAT)
650 Group: Development/Languages
651 Requires: gcc49 = %{version}-%{release}
652 Requires: libada49 = %{version}-%{release}
655 This package contains an Ada95 compiler and associated development
656 tools based on the GNU GCC technology. Ada95 is the object oriented
657 successor of the Ada83 language. To build this package from source you
658 must have installed a binary version to bootstrap the compiler.
660 Summary: GNU Ada95 Compiler Based on GCC (GNAT)
662 Group: Development/Languages
663 Requires: gcc49-32bit = %{version}-%{release}
664 Requires: libada49-32bit = %{version}-%{release}
666 %description ada-32bit
667 This package contains an Ada95 compiler and associated development
668 tools based on the GNU GCC technology. Ada95 is the object oriented
669 successor of the Ada83 language. To build this package from source you
670 must have installed a binary version to bootstrap the compiler.
672 Summary: GNU Ada95 Compiler Based on GCC (GNAT)
674 Group: Development/Languages
675 Requires: gcc49-64bit = %{version}-%{release}
676 Requires: libada49-64bit = %{version}-%{release}
678 %description ada-64bit
679 This package contains an Ada95 compiler and associated development
680 tools based on the GNU GCC technology. Ada95 is the object oriented
681 successor of the Ada83 language. To build this package from source you
682 must have installed a binary version to bootstrap the compiler.
685 Summary: GNU Ada Runtime Libraries
686 License: GPL-3.0-with-GCC-exception
687 Group: Development/Languages
688 Provides: libgnarl-4_9 = %{version}-%{release}
689 Provides: libgnat-4_9 = %{version}-%{release}
691 %description -n libada49
692 This package contains the shared libraries required to run programs
693 compiled with the GNU Ada compiler (GNAT) if they are compiled to use
694 shared libraries. It also contains the shared libraries for the
695 Implementation of the Ada Semantic Interface Specification (ASIS), the
696 implementation of Distributed Systems Programming (GLADE) and the Posix
697 1003.5 Binding (Florist).
699 %post -n libada49 -p /sbin/ldconfig
701 %postun -n libada49 -p /sbin/ldconfig
702 %package -n libada49-32bit
703 Summary: GNU Ada Runtime Libraries
704 License: GPL-3.0-with-GCC-exception
705 Group: Development/Languages
706 Provides: libgnarl-4_9-32bit = %{version}-%{release}
707 Provides: libgnat-4_9-32bit = %{version}-%{release}
709 %description -n libada49-32bit
710 This package contains the shared libraries required to run programs
711 compiled with the GNU Ada compiler (GNAT) if they are compiled to use
712 shared libraries. It also contains the shared libraries for the
713 Implementation of the Ada Semantic Interface Specification (ASIS), the
714 implementation of Distributed Systems Programming (GLADE) and the Posix
715 1003.5 Binding (Florist).
717 %post -n libada49-32bit -p /sbin/ldconfig
719 %postun -n libada49-32bit -p /sbin/ldconfig
720 %package -n libada49-64bit
721 Summary: GNU Ada Runtime Libraries
722 License: GPL-3.0-with-GCC-exception
723 Group: Development/Languages
724 Provides: libgnarl-4_9-64bit = %{version}-%{release}
725 Provides: libgnat-4_9-64bit = %{version}-%{release}
727 %description -n libada49-64bit
728 This package contains the shared libraries required to run programs
729 compiled with the GNU Ada compiler (GNAT) if they are compiled to use
730 shared libraries. It also contains the shared libraries for the
731 Implementation of the Ada Semantic Interface Specification (ASIS), the
732 implementation of Distributed Systems Programming (GLADE) and the Posix
733 1003.5 Binding (Florist).
735 %post -n libada49-64bit -p /sbin/ldconfig
737 %postun -n libada49-64bit -p /sbin/ldconfig
740 Summary: The GNU Fortran Compiler and Support Files
742 Group: Development/Languages
743 Requires: gcc49 = %{version}-%{release}
744 Requires: libgfortran%{libgfortran_sover} >= %{version}-%{release}
745 %ifarch %quadmath_arch
746 Requires: libquadmath%{libquadmath_sover} >= %{version}-%{release}
750 This is the Fortran compiler of the GNU Compiler Collection (GCC).
751 %package fortran-32bit
752 Summary: The GNU Fortran Compiler and Support Files
754 Group: Development/Languages
755 Requires: gcc49 = %{version}-%{release}
756 Requires: libgfortran%{libgfortran_sover}-32bit >= %{version}-%{release}
757 %ifarch %quadmath_arch
758 Requires: libquadmath%{libquadmath_sover}-32bit >= %{version}-%{release}
761 %description fortran-32bit
762 This is the Fortran compiler of the GNU Compiler Collection (GCC).
763 %package fortran-64bit
764 Summary: The GNU Fortran Compiler and Support Files
766 Group: Development/Languages
767 Requires: gcc49 = %{version}-%{release}
768 Requires: libgfortran%{libgfortran_sover}-64bit >= %{version}-%{release}
769 %ifarch %quadmath_arch
770 Requires: libquadmath%{libquadmath_sover}-64bit >= %{version}-%{release}
773 %description fortran-64bit
774 This is the Fortran compiler of the GNU Compiler Collection (GCC).
776 %package -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}
777 Summary: The GNU Fortran Compiler Runtime Library
778 License: GPL-3.0-with-GCC-exception
779 Group: Development/Languages
780 %ifarch %quadmath_arch
781 Requires: libquadmath%{libquadmath_sover} >= %{version}-%{release}
783 Provides: libgfortran%{libgfortran_sover} = %{version}-%{release}
785 %description -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}
786 The runtime library needed to run programs compiled with the Fortran compiler
787 of the GNU Compiler Collection (GCC).
789 %post -n libgfortran%{libgfortran_sover}%{libgfortran_suffix} -p /sbin/ldconfig
791 %postun -n libgfortran%{libgfortran_sover}%{libgfortran_suffix} -p /sbin/ldconfig
792 %package -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}-32bit
793 Summary: The GNU Fortran Compiler Runtime Library
794 License: GPL-3.0-with-GCC-exception
795 Group: Development/Languages
796 %ifarch %quadmath_arch
797 Requires: libquadmath%{libquadmath_sover}-32bit >= %{version}-%{release}
799 Provides: libgfortran%{libgfortran_sover}-32bit = %{version}-%{release}
801 %description -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}-32bit
802 The runtime library needed to run programs compiled with the Fortran compiler
803 of the GNU Compiler Collection (GCC).
805 %post -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}-32bit -p /sbin/ldconfig
807 %postun -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}-32bit -p /sbin/ldconfig
808 %package -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}-64bit
809 Summary: The GNU Fortran Compiler Runtime Library
810 License: GPL-3.0-with-GCC-exception
811 Group: Development/Languages
812 %ifarch %quadmath_arch
813 Requires: libquadmath%{libquadmath_sover}-64bit >= %{version}-%{release}
815 Provides: libgfortran%{libgfortran_sover}-64bit = %{version}-%{release}
817 %description -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}-64bit
818 The runtime library needed to run programs compiled with the Fortran compiler
819 of the GNU Compiler Collection (GCC).
821 %post -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}-64bit -p /sbin/ldconfig
823 %postun -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}-64bit -p /sbin/ldconfig
825 %package -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}
826 Summary: The GNU Fortran Compiler Quadmath Runtime Library
828 Group: Development/Languages
829 Provides: libquadmath%{libquadmath_sover} = %{version}-%{release}
831 %description -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}
832 The runtime library needed to run programs compiled with the Fortran compiler
833 of the GNU Compiler Collection (GCC) and quadruple precision floating point
836 %post -n libquadmath%{libquadmath_sover}%{libquadmath_suffix} -p /sbin/ldconfig
838 %postun -n libquadmath%{libquadmath_sover}%{libquadmath_suffix} -p /sbin/ldconfig
839 %package -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}-32bit
840 Summary: The GNU Fortran Compiler Quadmath Runtime Library
842 Group: Development/Languages
843 Provides: libquadmath%{libquadmath_sover}-32bit = %{version}-%{release}
845 %description -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}-32bit
846 The runtime library needed to run programs compiled with the Fortran compiler
847 of the GNU Compiler Collection (GCC) and quadruple precision floating point
850 %post -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}-32bit -p /sbin/ldconfig
852 %postun -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}-32bit -p /sbin/ldconfig
853 %package -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}-64bit
854 Summary: The GNU Fortran Compiler Quadmath Runtime Library
856 Group: Development/Languages
857 Provides: libquadmath%{libquadmath_sover}-64bit = %{version}-%{release}
859 %description -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}-64bit
860 The runtime library needed to run programs compiled with the Fortran compiler
861 of the GNU Compiler Collection (GCC) and quadruple precision floating point
864 %post -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}-64bit -p /sbin/ldconfig
866 %postun -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}-64bit -p /sbin/ldconfig
868 %package -n libitm%{libitm_sover}%{libitm_suffix}
869 Summary: The GNU Compiler Transactional Memory Runtime Library
871 Group: Development/Languages
872 Provides: libitm%{libitm_sover} = %{version}-%{release}
874 %description -n libitm%{libitm_sover}%{libitm_suffix}
875 The runtime library needed to run programs compiled with the
876 -fgnu-tm option of the GNU Compiler Collection (GCC).
878 %post -n libitm%{libitm_sover}%{libitm_suffix} -p /sbin/ldconfig
880 %postun -n libitm%{libitm_sover}%{libitm_suffix} -p /sbin/ldconfig
881 %package -n libitm%{libitm_sover}%{libitm_suffix}-32bit
882 Summary: The GNU Compiler Transactional Memory Runtime Library
884 Group: Development/Languages
885 Provides: libitm%{libitm_sover}-32bit = %{version}-%{release}
887 %description -n libitm%{libitm_sover}%{libitm_suffix}-32bit
888 The runtime library needed to run programs compiled with the
889 -fgnu-tm option of the GNU Compiler Collection (GCC).
891 %post -n libitm%{libitm_sover}%{libitm_suffix}-32bit -p /sbin/ldconfig
893 %postun -n libitm%{libitm_sover}%{libitm_suffix}-32bit -p /sbin/ldconfig
894 %package -n libitm%{libitm_sover}%{libitm_suffix}-64bit
895 Summary: The GNU Compiler Transactional Memory Runtime Library
897 Group: Development/Languages
898 Provides: libitm%{libitm_sover}-64bit = %{version}-%{release}
900 %description -n libitm%{libitm_sover}%{libitm_suffix}-64bit
901 The runtime library needed to run programs compiled with the
902 -fgnu-tm option of the GNU Compiler Collection (GCC).
904 %post -n libitm%{libitm_sover}%{libitm_suffix}-64bit -p /sbin/ldconfig
906 %postun -n libitm%{libitm_sover}%{libitm_suffix}-64bit -p /sbin/ldconfig
908 %package -n libasan%{libasan_sover}%{libasan_suffix}
909 Summary: The GNU Compiler Address Sanitizer Runtime Library
911 Group: Development/Languages
912 Provides: libasan%{libasan_sover} = %{version}-%{release}
914 %description -n libasan%{libasan_sover}%{libasan_suffix}
915 The runtime library needed to run programs compiled with the
916 -fsanitize=address option of the GNU Compiler Collection (GCC).
918 %post -n libasan%{libasan_sover}%{libasan_suffix} -p /sbin/ldconfig
920 %postun -n libasan%{libasan_sover}%{libasan_suffix} -p /sbin/ldconfig
921 %package -n libasan%{libasan_sover}%{libasan_suffix}-32bit
922 Summary: The GNU Compiler Address Sanitizer Runtime Library
924 Group: Development/Languages
925 Provides: libasan%{libasan_sover}-32bit = %{version}-%{release}
927 %description -n libasan%{libasan_sover}%{libasan_suffix}-32bit
928 The runtime library needed to run programs compiled with the
929 -fsanitize=address option of the GNU Compiler Collection (GCC).
931 %post -n libasan%{libasan_sover}%{libasan_suffix}-32bit -p /sbin/ldconfig
933 %postun -n libasan%{libasan_sover}%{libasan_suffix}-32bit -p /sbin/ldconfig
934 %package -n libasan%{libasan_sover}%{libasan_suffix}-64bit
935 Summary: The GNU Compiler Address Sanitizer Runtime Library
937 Group: Development/Languages
938 Provides: libasan%{libasan_sover}-64bit = %{version}-%{release}
940 %description -n libasan%{libasan_sover}%{libasan_suffix}-64bit
941 The runtime library needed to run programs compiled with the
942 -fsanitize=address option of the GNU Compiler Collection (GCC).
944 %post -n libasan%{libasan_sover}%{libasan_suffix}-64bit -p /sbin/ldconfig
946 %postun -n libasan%{libasan_sover}%{libasan_suffix}-64bit -p /sbin/ldconfig
948 %package -n libtsan%{libtsan_sover}%{libtsan_suffix}
949 Summary: The GNU Compiler Thread Sanitizer Runtime Library
951 Group: Development/Languages
952 Provides: libtsan%{libtsan_sover} = %{version}-%{release}
954 %description -n libtsan%{libtsan_sover}%{libtsan_suffix}
955 The runtime library needed to run programs compiled with the
956 -fsanitize=thread option of the GNU Compiler Collection (GCC).
958 %post -n libtsan%{libtsan_sover}%{libtsan_suffix} -p /sbin/ldconfig
960 %postun -n libtsan%{libtsan_sover}%{libtsan_suffix} -p /sbin/ldconfig
961 %package -n libtsan%{libtsan_sover}%{libtsan_suffix}-32bit
962 Summary: The GNU Compiler Thread Sanitizer Runtime Library
964 Group: Development/Languages
965 Provides: libtsan%{libtsan_sover}-32bit = %{version}-%{release}
967 %description -n libtsan%{libtsan_sover}%{libtsan_suffix}-32bit
968 The runtime library needed to run programs compiled with the
969 -fsanitize=thread option of the GNU Compiler Collection (GCC).
971 %post -n libtsan%{libtsan_sover}%{libtsan_suffix}-32bit -p /sbin/ldconfig
973 %postun -n libtsan%{libtsan_sover}%{libtsan_suffix}-32bit -p /sbin/ldconfig
974 %package -n libtsan%{libtsan_sover}%{libtsan_suffix}-64bit
975 Summary: The GNU Compiler Thread Sanitizer Runtime Library
977 Group: Development/Languages
978 Provides: libtsan%{libtsan_sover}-64bit = %{version}-%{release}
980 %description -n libtsan%{libtsan_sover}%{libtsan_suffix}-64bit
981 The runtime library needed to run programs compiled with the
982 -fsanitize=thread option of the GNU Compiler Collection (GCC).
984 %post -n libtsan%{libtsan_sover}%{libtsan_suffix}-64bit -p /sbin/ldconfig
986 %postun -n libtsan%{libtsan_sover}%{libtsan_suffix}-64bit -p /sbin/ldconfig
988 %package -n libatomic%{libatomic_sover}%{libatomic_suffix}
989 Summary: The GNU Compiler Atomic Operations Runtime Library
990 License: GPL-3.0-with-GCC-exception
991 Group: Development/Languages
992 Provides: libatomic%{libatomic_sover} = %{version}-%{release}
994 %description -n libatomic%{libatomic_sover}%{libatomic_suffix}
995 The runtime library for atomic operations of the GNU Compiler Collection (GCC).
997 %post -n libatomic%{libatomic_sover}%{libatomic_suffix} -p /sbin/ldconfig
999 %postun -n libatomic%{libatomic_sover}%{libatomic_suffix} -p /sbin/ldconfig
1000 %package -n libatomic%{libatomic_sover}%{libatomic_suffix}-32bit
1001 Summary: The GNU Compiler Atomic Operations Runtime Library
1002 License: GPL-3.0-with-GCC-exception
1003 Group: Development/Languages
1004 Provides: libatomic%{libatomic_sover}-32bit = %{version}-%{release}
1006 %description -n libatomic%{libatomic_sover}%{libatomic_suffix}-32bit
1007 The runtime library for atomic operations of the GNU Compiler Collection (GCC).
1009 %post -n libatomic%{libatomic_sover}%{libatomic_suffix}-32bit -p /sbin/ldconfig
1011 %postun -n libatomic%{libatomic_sover}%{libatomic_suffix}-32bit -p /sbin/ldconfig
1012 %package -n libatomic%{libatomic_sover}%{libatomic_suffix}-64bit
1013 Summary: The GNU Compiler Atomic Operations Runtime Library
1014 License: GPL-3.0-with-GCC-exception
1015 Group: Development/Languages
1016 Provides: libatomic%{libatomic_sover}-64bit = %{version}-%{release}
1018 %description -n libatomic%{libatomic_sover}%{libatomic_suffix}-64bit
1019 The runtime library for atomic operations of the GNU Compiler Collection (GCC).
1021 %post -n libatomic%{libatomic_sover}%{libatomic_suffix}-64bit -p /sbin/ldconfig
1023 %postun -n libatomic%{libatomic_sover}%{libatomic_suffix}-64bit -p /sbin/ldconfig
1025 %package -n libcilkrts%{libcilkrts_sover}%{libcilkrts_suffix}
1026 Summary: The GNU Compiler Cilk+ Runtime Library
1028 Group: Development/Languages
1029 Provides: libcilkrts%{libcilkrts_sover} = %{version}-%{release}
1031 %description -n libcilkrts%{libcilkrts_sover}%{libcilkrts_suffix}
1032 The runtime library needed to run programs compiled with the
1033 -fcilkplus option of the GNU Compiler Collection (GCC).
1035 %post -n libcilkrts%{libcilkrts_sover}%{libcilkrts_suffix} -p /sbin/ldconfig
1037 %postun -n libcilkrts%{libcilkrts_sover}%{libcilkrts_suffix} -p /sbin/ldconfig
1038 %package -n libcilkrts%{libcilkrts_sover}%{libcilkrts_suffix}-32bit
1039 Summary: The GNU Compiler Cilk+ Runtime Library
1041 Group: Development/Languages
1042 Provides: libcilkrts%{libcilkrts_sover}-32bit = %{version}-%{release}
1044 %description -n libcilkrts%{libcilkrts_sover}%{libcilkrts_suffix}-32bit
1045 The runtime library needed to run programs compiled with the
1046 -fcilkplus option of the GNU Compiler Collection (GCC).
1048 %post -n libcilkrts%{libcilkrts_sover}%{libcilkrts_suffix}-32bit -p /sbin/ldconfig
1050 %postun -n libcilkrts%{libcilkrts_sover}%{libcilkrts_suffix}-32bit -p /sbin/ldconfig
1051 %package -n libcilkrts%{libcilkrts_sover}%{libcilkrts_suffix}-64bit
1052 Summary: The GNU Compiler Cilk+ Runtime Library
1054 Group: Development/Languages
1055 Provides: libcilkrts%{libcilkrts_sover}-64bit = %{version}-%{release}
1057 %description -n libcilkrts%{libcilkrts_sover}%{libcilkrts_suffix}-64bit
1058 The runtime library needed to run programs compiled with the
1059 -fcilkplus option of the GNU Compiler Collection (GCC).
1061 %post -n libcilkrts%{libcilkrts_sover}%{libcilkrts_suffix}-64bit -p /sbin/ldconfig
1063 %postun -n libcilkrts%{libcilkrts_sover}%{libcilkrts_suffix}-64bit -p /sbin/ldconfig
1065 %package -n liblsan%{liblsan_sover}%{liblsan_suffix}
1066 Summary: The GNU Compiler Leak Sanitizer Runtime Library
1068 Group: Development/Languages
1069 Provides: liblsan%{liblsan_sover} = %{version}-%{release}
1071 %description -n liblsan%{liblsan_sover}%{liblsan_suffix}
1072 The runtime library needed to run programs compiled with the
1073 -fsanitize=leak option of the GNU Compiler Collection (GCC).
1075 %post -n liblsan%{liblsan_sover}%{liblsan_suffix} -p /sbin/ldconfig
1077 %postun -n liblsan%{liblsan_sover}%{liblsan_suffix} -p /sbin/ldconfig
1078 %package -n liblsan%{liblsan_sover}%{liblsan_suffix}-32bit
1079 Summary: The GNU Compiler Leak Sanitizer Runtime Library
1081 Group: Development/Languages
1082 Provides: liblsan%{liblsan_sover}-32bit = %{version}-%{release}
1084 %description -n liblsan%{liblsan_sover}%{liblsan_suffix}-32bit
1085 The runtime library needed to run programs compiled with the
1086 -fsanitize=leak option of the GNU Compiler Collection (GCC).
1088 %post -n liblsan%{liblsan_sover}%{liblsan_suffix}-32bit -p /sbin/ldconfig
1090 %postun -n liblsan%{liblsan_sover}%{liblsan_suffix}-32bit -p /sbin/ldconfig
1091 %package -n liblsan%{liblsan_sover}%{liblsan_suffix}-64bit
1092 Summary: The GNU Compiler Leak Sanitizer Runtime Library
1094 Group: Development/Languages
1095 Provides: liblsan%{liblsan_sover}-64bit = %{version}-%{release}
1097 %description -n liblsan%{liblsan_sover}%{liblsan_suffix}-64bit
1098 The runtime library needed to run programs compiled with the
1099 -fsanitize=leak option of the GNU Compiler Collection (GCC).
1101 %post -n liblsan%{liblsan_sover}%{liblsan_suffix}-64bit -p /sbin/ldconfig
1103 %postun -n liblsan%{liblsan_sover}%{liblsan_suffix}-64bit -p /sbin/ldconfig
1105 %package -n libubsan%{libubsan_sover}%{libubsan_suffix}
1106 Summary: The GNU Compiler Undefined Sanitizer Runtime Library
1108 Group: Development/Languages
1109 Provides: libubsan%{libubsan_sover} = %{version}-%{release}
1111 %description -n libubsan%{libubsan_sover}%{libubsan_suffix}
1112 The runtime library needed to run programs compiled with the
1113 -fsanitize=undefined option of the GNU Compiler Collection (GCC).
1115 %post -n libubsan%{libubsan_sover}%{libubsan_suffix} -p /sbin/ldconfig
1117 %postun -n libubsan%{libubsan_sover}%{libubsan_suffix} -p /sbin/ldconfig
1118 %package -n libubsan%{libubsan_sover}%{libubsan_suffix}-32bit
1119 Summary: The GNU Compiler Undefined Sanitizer Runtime Library
1121 Group: Development/Languages
1122 Provides: libubsan%{libubsan_sover}-32bit = %{version}-%{release}
1124 %description -n libubsan%{libubsan_sover}%{libubsan_suffix}-32bit
1125 The runtime library needed to run programs compiled with the
1126 -fsanitize=undefined option of the GNU Compiler Collection (GCC).
1128 %post -n libubsan%{libubsan_sover}%{libubsan_suffix}-32bit -p /sbin/ldconfig
1130 %postun -n libubsan%{libubsan_sover}%{libubsan_suffix}-32bit -p /sbin/ldconfig
1131 %package -n libubsan%{libubsan_sover}%{libubsan_suffix}-64bit
1132 Summary: The GNU Compiler Undefined Sanitizer Runtime Library
1134 Group: Development/Languages
1135 Provides: libubsan%{libubsan_sover}-64bit = %{version}-%{release}
1137 %description -n libubsan%{libubsan_sover}%{libubsan_suffix}-64bit
1138 The runtime library needed to run programs compiled with the
1139 -fsanitize=undefined option of the GNU Compiler Collection (GCC).
1141 %post -n libubsan%{libubsan_sover}%{libubsan_suffix}-64bit -p /sbin/ldconfig
1143 %postun -n libubsan%{libubsan_sover}%{libubsan_suffix}-64bit -p /sbin/ldconfig
1145 %package -n libvtv%{libvtv_sover}%{libvtv_suffix}
1146 Summary: The GNU Compiler Vtable Verifier Runtime Library
1148 Group: Development/Languages
1149 Provides: libvtv%{libvtv_sover} = %{version}-%{release}
1151 %description -n libvtv%{libvtv_sover}%{libvtv_suffix}
1152 The runtime library needed to run programs compiled with the
1153 -fvtable-verify option of the GNU Compiler Collection (GCC).
1155 %post -n libvtv%{libvtv_sover}%{libvtv_suffix} -p /sbin/ldconfig
1157 %postun -n libvtv%{libvtv_sover}%{libvtv_suffix} -p /sbin/ldconfig
1158 %package -n libvtv%{libvtv_sover}%{libvtv_suffix}-32bit
1159 Summary: The GNU Compiler Vtable Verifier Runtime Library
1161 Group: Development/Languages
1162 Provides: libvtv%{libvtv_sover}-32bit = %{version}-%{release}
1164 %description -n libvtv%{libvtv_sover}%{libvtv_suffix}-32bit
1165 The runtime library needed to run programs compiled with the
1166 -fvtable-verify option of the GNU Compiler Collection (GCC).
1168 %post -n libvtv%{libvtv_sover}%{libvtv_suffix}-32bit -p /sbin/ldconfig
1170 %postun -n libvtv%{libvtv_sover}%{libvtv_suffix}-32bit -p /sbin/ldconfig
1171 %package -n libvtv%{libvtv_sover}%{libvtv_suffix}-64bit
1172 Summary: The GNU Compiler Vtable Verifier Runtime Library
1174 Group: Development/Languages
1175 Provides: libvtv%{libvtv_sover}-64bit = %{version}-%{release}
1177 %description -n libvtv%{libvtv_sover}%{libvtv_suffix}-64bit
1178 The runtime library needed to run programs compiled with the
1179 -fvtable-verify option of the GNU Compiler Collection (GCC).
1181 %post -n libvtv%{libvtv_sover}%{libvtv_suffix}-64bit -p /sbin/ldconfig
1183 %postun -n libvtv%{libvtv_sover}%{libvtv_suffix}-64bit -p /sbin/ldconfig
1186 %package -n libgcj49
1187 Summary: Java Runtime Library for gcc
1188 License: GPL-2.0-with-classpath-exception
1189 Group: Development/Building
1190 Recommends: libgcj49-jar = %{version}-%{release}
1191 Provides: libgcj%{libgcj_sover} = %{version}-%{release}
1192 Provides: libgij%{libgcj_sover} = %{version}-%{release}
1193 Provides: libgcj-tools%{libgcj_sover} = %{version}-%{release}
1195 %description -n libgcj49
1196 This library is needed if you want to use the GNU Java compiler, gcj.
1197 Source code for this package is in gcc.
1199 %post -n libgcj49 -p /sbin/ldconfig
1201 %postun -n libgcj49 -p /sbin/ldconfig
1204 %package -n gcc49-java
1205 Summary: The GNU Java Compiler
1207 Group: Development/Languages
1208 Requires: gcc49 = %{version}
1209 Requires: libgcj49-devel = %{version}-%{release}
1211 %description -n gcc49-java
1212 The Java compiler from the GCC-tools-suite.
1215 %package -n libgcj_bc%{libgcj_bc_sover}%{libgcj_bc_suffix}
1216 Summary: Fake library for BC-ABI compatibility.
1217 License: GPL-2.0-with-classpath-exception
1218 Group: Development/Languages
1219 # libgcj_bc is special in that it just contains a symlink to
1220 # a proper libgcj version. So require that library and add
1221 # provides for the shlib version as created at link time
1222 Requires: libgcj%{libgcj_sover} >= %{version}-%{release}
1223 %ifarch x86_64 ia64 ppc64 s390x sparc64 aarch64
1224 Provides: libgcj_bc.so.%{libgcj_bc_sover}()(64bit)
1226 Provides: libgcj_bc.so.%{libgcj_bc_sover}
1228 Provides: libgcj_bc%{libgcj_bc_sover} = %{version}-%{release}
1230 %description -n libgcj_bc%{libgcj_bc_sover}%{libgcj_bc_suffix}
1231 A fake library that is used at link time only. It ensures that
1232 binaries built with the BC-ABI link against a constant SONAME.
1233 This way, BC-ABI binaries continue to work if the SONAME underlying
1237 %package -n libgcj49-jar
1238 Summary: Java runtime library (jar files).
1239 License: GPL-2.0-with-classpath-exception
1240 Group: Development/Languages
1242 %description -n libgcj49-jar
1243 These are the jar files that go along with the gcj front end to gcc.
1246 %package -n libgcj49-devel
1247 Summary: Include Files and Libraries mandatory for Development.
1248 License: GPL-2.0-with-classpath-exception
1249 Group: Development/Languages
1250 Requires: libgcj%{libgcj_sover} >= %{version}-%{release}
1251 Requires: libgcj_bc%{libgcj_bc_sover} >= %{version}-%{release}
1252 Requires: libgcj49-jar = %{version}-%{release}
1254 %description -n libgcj49-devel
1255 This package contains all necessary include files and libraries needed
1256 to develop applications that require these.
1259 %package -n gcc49-gij
1260 Summary: Java Bytecode Interpreter for gcc
1261 License: GPL-2.0-with-classpath-exception
1262 Group: Development/Languages
1263 Requires: libgcj%{libgcj_sover} >= %{version}-%{release}
1265 %description -n gcc49-gij
1266 This package contains the java bytecode interpreter gij and related tools.
1269 %package -n libstdc++49-doc
1270 Summary: Documentation for the GNU C++ standard library
1272 Group: Development/Building
1275 %description -n libstdc++49-doc
1276 Extensive HTML documentation for the GNU C++ standard library.
1279 %package -n libffi%{libffi_sover}%{libffi_suffix}
1280 Summary: Foreign Function Interface library
1281 License: BSD-3-Clause
1282 Group: Development/Building
1283 Provides: libffi%{libffi_sover} = %{version}-%{release}
1285 %description -n libffi%{libffi_sover}%{libffi_suffix}
1286 A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language.
1288 %post -n libffi%{libffi_sover}%{libffi_suffix} -p /sbin/ldconfig
1290 %postun -n libffi%{libffi_sover}%{libffi_suffix} -p /sbin/ldconfig
1291 %package -n libffi%{libffi_sover}%{libffi_suffix}-32bit
1292 Summary: Foreign Function Interface library
1293 License: BSD-3-Clause
1294 Group: Development/Building
1295 Provides: libffi%{libffi_sover}-32bit = %{version}-%{release}
1297 %description -n libffi%{libffi_sover}%{libffi_suffix}-32bit
1298 A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language.
1300 %post -n libffi%{libffi_sover}%{libffi_suffix}-32bit -p /sbin/ldconfig
1302 %postun -n libffi%{libffi_sover}%{libffi_suffix}-32bit -p /sbin/ldconfig
1303 %package -n libffi%{libffi_sover}%{libffi_suffix}-64bit
1304 Summary: Foreign Function Interface library
1305 License: BSD-3-Clause
1306 Group: Development/Building
1307 Provides: libffi%{libffi_sover}-64bit = %{version}-%{release}
1309 %description -n libffi%{libffi_sover}%{libffi_suffix}-64bit
1310 A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language.
1312 %post -n libffi%{libffi_sover}%{libffi_suffix}-64bit -p /sbin/ldconfig
1314 %postun -n libffi%{libffi_sover}%{libffi_suffix}-64bit -p /sbin/ldconfig
1316 %package -n libffi49-devel
1317 Summary: Foreign Function Interface library development files
1318 License: BSD 3-Clause
1319 Group: Development/Building
1320 Requires: libffi%{libffi_sover} >= %{version}-%{release}
1321 Provides: libffi-devel = %{version}-%{release}
1323 %description -n libffi49-devel
1324 A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language.
1325 %package -n libffi49-devel-32bit
1326 Summary: Foreign Function Interface library development files
1327 License: BSD 3-Clause
1328 Group: Development/Building
1329 Requires: libffi%{libffi_sover}-32bit >= %{version}-%{release}
1330 Provides: libffi-devel-32bit = %{version}-%{release}
1332 %description -n libffi49-devel-32bit
1333 A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language.
1334 %package -n libffi49-devel-64bit
1335 Summary: Foreign Function Interface library development files
1336 License: BSD 3-Clause
1337 Group: Development/Building
1338 Requires: libffi%{libffi_sover}-64bit >= %{version}-%{release}
1339 Provides: libffi-devel-64bit = %{version}-%{release}
1341 %description -n libffi49-devel-64bit
1342 A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language.
1345 Summary: GNU Go Compiler
1347 Group: Development/Languages
1348 Requires: gcc49 = %{version}-%{release}
1349 Requires: libgo%{libgo_sover} >= %{version}-%{release}
1352 This package contains a Go compiler and associated development
1353 files based on the GNU GCC technology.
1355 Summary: GNU Go Compiler
1357 Group: Development/Languages
1358 Requires: gcc49-32bit = %{version}-%{release}
1359 Requires: libgo%{libgo_sover}-32bit >= %{version}-%{release}
1361 %description go-32bit
1362 This package contains a Go compiler and associated development
1363 files based on the GNU GCC technology.
1365 Summary: GNU Go Compiler
1367 Group: Development/Languages
1368 Requires: gcc49-64bit = %{version}-%{release}
1369 Requires: libgo%{libgo_sover}-64bit >= %{version}-%{release}
1371 %description go-64bit
1372 This package contains a Go compiler and associated development
1373 files based on the GNU GCC technology.
1375 %package -n libgo%{libgo_sover}%{libgo_suffix}
1376 Summary: GNU Go compiler runtime library
1377 License: BSD-3-Clause
1378 Group: Development/Languages
1379 Provides: libgo%{libgo_sover} = %{version}-%{release}
1381 %description -n libgo%{libgo_sover}%{libgo_suffix}
1382 A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language.
1384 %post -n libgo%{libgo_sover}%{libgo_suffix} -p /sbin/ldconfig
1386 %postun -n libgo%{libgo_sover}%{libgo_suffix} -p /sbin/ldconfig
1387 %package -n libgo%{libgo_sover}%{libgo_suffix}-32bit
1388 Summary: GNU Go compiler runtime library
1389 License: BSD-3-Clause
1390 Group: Development/Languages
1391 Provides: libgo%{libgo_sover}-32bit = %{version}-%{release}
1393 %description -n libgo%{libgo_sover}%{libgo_suffix}-32bit
1394 A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language.
1396 %post -n libgo%{libgo_sover}%{libgo_suffix}-32bit -p /sbin/ldconfig
1398 %postun -n libgo%{libgo_sover}%{libgo_suffix}-32bit -p /sbin/ldconfig
1399 %package -n libgo%{libgo_sover}%{libgo_suffix}-64bit
1400 Summary: GNU Go compiler runtime library
1401 License: BSD-3-Clause
1402 Group: Development/Languages
1403 Provides: libgo%{libgo_sover}-64bit = %{version}-%{release}
1405 %description -n libgo%{libgo_sover}%{libgo_suffix}-64bit
1406 A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language.
1408 %post -n libgo%{libgo_sover}%{libgo_suffix}-64bit -p /sbin/ldconfig
1410 %postun -n libgo%{libgo_sover}%{libgo_suffix}-64bit -p /sbin/ldconfig
1413 %package -n gcc49-testresults
1414 Summary: Testsuite results
1415 License: SUSE-Public-Domain
1416 Group: Development/Languages
1418 %description -n gcc49-testresults
1419 Results from running the gcc and target library testsuites.
1424 # Define the canonical target and host architecture
1425 # %gcc_target_arch is supposed to be the full target triple
1426 # %TARGET_ARCH is the canonicalized CPU part
1427 # %CONFIGURE_TARGET is the target triple used for --target=
1428 %if 0%{?gcc_target_arch:1}
1429 %define CONFIGURE_TARGET %{gcc_target_arch}
1430 %define TARGET_ARCH %(echo %{gcc_target_arch} | cut -d - -f 1 | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
1431 %if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "powerpc"
1432 %define CONFIGURE_TARGET powerpc64-tizen-linux
1434 %if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "powerpc64"
1435 %define CONFIGURE_TARGET powerpc64-tizen-linux
1437 %if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "i586"
1438 %define CONFIGURE_TARGET i586-tizen-linux
1440 %if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "aarch64"
1441 %define CONFIGURE_TARGET aarch64-tizen-linux
1443 %if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "armv7l"
1444 %define CONFIGURE_TARGET armv7l-tizen-linux-gnueabi
1446 %if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "armv7hl"
1447 %define CONFIGURE_TARGET armv7hl-tizen-linux-gnueabi
1449 %if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "armv5tel"
1450 %define CONFIGURE_TARGET armv5tel-tizen-linux-gnueabi
1453 %define TARGET_ARCH %(echo %{_target_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
1455 %define biarch %(case " %{biarch_targets} " in (*" %{TARGET_ARCH} "*) echo 1;; (*) echo 0;; esac)
1457 %define HOST_ARCH %(echo %{_host_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
1459 %define GCCDIST powerpc64-tizen-linux
1462 %define GCCDIST sparc64-tizen-linux
1465 %define GCCDIST %{HOST_ARCH}-tizen-linux-gnueabi
1467 %define GCCDIST %{HOST_ARCH}-tizen-linux
1472 %define libsubdir %{_libdir}/gcc/%{GCCDIST}/%{gcc_dir_version}
1473 %define gxxinclude %{_prefix}/include/c++/%{gcc_dir_version}
1476 # Versionspecific directories
1477 %define versmainlibdir %{libsubdir}
1478 %define versmainlibdirbi32 %{libsubdir}/32
1479 %define versmainlibdirbi64 %{libsubdir}/64
1481 %define versmainlibdirbi32 %{libsubdir}
1482 %define versmainlibdirbi64 %{libsubdir}/64
1484 %if %{build_primary_64bit}
1485 %define versmainlibdirbi %{versmainlibdirbi32}
1487 %define versmainlibdirbi %{versmainlibdirbi64}
1490 %define mainlibdir %{_libdir}
1491 %define mainlibdirbi32 %{_prefix}/lib
1492 %define mainlibdirbi64 %{_prefix}/lib64
1493 %if %{build_primary_64bit}
1494 %define mainlibdirbi %{mainlibdirbi32}
1496 %define mainlibdirbi %{mainlibdirbi64}
1500 # Now define a few macros that make it easy to package libs and
1501 # related files just to the right package, without caring for the
1502 # exact path the files are in.
1503 # %mainlib package X from all dirs that belong to the main package
1504 # %biarchlib package X from all dirs that belong to the -32/64bit package
1505 %define mainlib() %{mainlibdir}/%1\
1507 %define biarchlib() %{nil}
1509 %if !%{separate_biarch}
1510 %define mainlib() %{mainlibdir}/%1\
1514 %define biarchlib() %{mainlibdirbi}/%1\
1519 %define versmainlib() %{versmainlibdir}/%1\
1521 %define versbiarchlib() %{nil}
1523 %if !%{separate_biarch}
1524 %define versmainlib() %{versmainlibdir}/%1\
1525 %{versmainlibdirbi}/%1\
1528 %define versbiarchlib() %{versmainlibdirbi}/%1\
1536 %setup -q -n gcc-%{version}
1538 # We are configuring ppc as ppc64 but with switched multilibs. Adjust
1539 # the libstdc++ abi testsuite baseline files accordingly
1541 if [ -d libstdc++-v3/config/abi/post/powerpc64-linux-gnu ]; then
1542 mkdir -p libstdc++-v3/config/abi/post/powerpc64-linux-gnu/64
1543 mv libstdc++-v3/config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt \
1544 libstdc++-v3/config/abi/post/powerpc64-linux-gnu/64/
1545 mv libstdc++-v3/config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt \
1546 libstdc++-v3/config/abi/post/powerpc64-linux-gnu/
1551 # Avoid rebuilding of generated files
1552 contrib/gcc_update --touch
1553 # Avoid fucking up testsuite results with Java and indirect dispatch
1554 export LD_ASNEEDED=0
1555 # Split version file into version used for directories (X.Y) and
1556 # version to report with --version (X.Y.Z).
1557 # See also gcc-dir-version.patch.
1558 # Also decrement the patchlevel version by one if possible and remove
1559 # the 'prerelease' tagging in this case
1560 if test `cat gcc/DEV-PHASE` == "prerelease"; then
1561 if test `cat gcc/BASE-VER | cut -d '.' -f 3` != "0"; then
1564 ( cat gcc/BASE-VER | cut -d '.' -f 1-2 | tr -d '\n'; echo -n .; cat gcc/BASE-VER | cut -d '.' -f 3 | tr '0123456789' '0012345678' ) > gcc/FULL-VER
1566 mv gcc/BASE-VER gcc/FULL-VER
1568 cat gcc/FULL-VER | cut -d '.' -f 1-2 > gcc/BASE-VER
1570 rm -rf obj-%{GCCDIST}
1571 mkdir obj-%{GCCDIST}
1573 RPM_OPT_FLAGS="$RPM_OPT_FLAGS -U_FORTIFY_SOURCE"
1574 RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-fno-rtti//g' -e 's/-fno-exceptions//g' -e 's/-Wmissing-format-attribute//g' -e 's/-fstack-protector//g' -e 's/-ffortify=.//g' -e 's/-Wall//g' -e 's/-m32//g' -e 's/-m64//g'`
1576 # -mcpu is superceded by -mtune but -mtune is not supported by
1577 # our bootstrap compiler. -mcpu gives a warning that stops
1578 # the build process, so remove it for now. Also remove all other
1579 # -march and -mtune flags. They are superseeded by proper
1580 # default compiler settings now.
1581 RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-mcpu=i.86//g' -e 's/-march=i.86//g' -e 's/-mtune=i.86//g'`
1584 RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-fsigned-char//g'`
1585 RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-O1/-O2/g'`
1587 %if 0%{?gcc_target_arch:1} && 0%{!?gcc_icecream:1}
1588 # Kill all -march/tune/cpu because that screws building the target libs
1589 RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-m\(arch\|tune\|cpu\)=[^ ]*//g'`
1591 # Replace 2 spaces by one finally
1592 RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/ / /g'`
1596 languages=$languages,c++
1599 languages=$languages,objc
1601 %if %{build_fortran}
1602 languages=$languages,fortran
1605 languages=$languages,obj-c++
1608 languages=$languages,java
1611 languages=$languages,ada
1614 languages=$languages,go
1618 if test -z "$J"; then
1619 J=$(getconf _NPROCESSORS_CONF)
1622 test 1 -gt "$J" && J=1
1623 JL=$(($(getconf _NPROCESSORS_CONF)*2))
1625 if test "$J" == "0"; then
1628 if test "$JL" == "0"; then
1631 PARALLEL="-j$J -l$JL"
1633 # we don't want some miscompiles in the testsuite, or some fault in
1634 # the compiler to kill the machine. Hence we limit the amount of memory
1635 # by the physical RAM plus half of swap
1636 #MEM=$(free -m | awk '/^Mem:/ {print $2}')
1637 #SWAP=$(free -m | awk '/^Swap:/ {print $2}')
1638 #ulimit -v $(((MEM + SWAP/2)*1024))
1640 # In general we want to ship release checking enabled compilers
1641 # and run BETA with checking enabled.
1642 #ENABLE_CHECKING="--enable-checking=yes"
1643 ENABLE_CHECKING="--enable-checking=release"
1645 # Work around tail/head -1 changes
1646 export _POSIX2_VERSION=199209
1649 # Using the host gnatmake like
1650 # CC="gcc%{hostsuffix}" GNATBIND="gnatbind%{hostsuffix}"
1651 # GNATMAKE="gnatmake%{hostsuffix}"
1652 # doesn't work due to PR33857, so an un-suffixed gnatmake has to be
1654 mkdir -p host-tools/bin
1655 cp -a /usr/bin/gnatmake%{hostsuffix} host-tools/bin/gnatmake
1656 cp -a /usr/bin/gnatlink%{hostsuffix} host-tools/bin/gnatlink
1657 cp -a /usr/bin/gnatbind%{hostsuffix} host-tools/bin/gnatbind
1658 cp -a /usr/bin/gcc%{hostsuffix} host-tools/bin/gcc
1659 ln -sf /usr/%{_lib} host-tools/%{_lib}
1660 export PATH="`pwd`/host-tools/bin:$PATH"
1662 #%if 0%{?gcc_target_arch:1} && 0%{!?gcc_icecream:1}
1664 # --enable-threads=posix \
1667 %if "%{TARGET_ARCH}" == "armv7l" || "%{TARGET_ARCH}" == "armv7hl"
1668 # temporary workaround for a miscompilation of hash functions in java code
1669 GCJ_EXTRA_FLAGS="-marm"
1672 export RPM_OPT_FLAGS="`echo $RPM_OPT_FLAGS | sed -e "s/ -Wp,-D_FORTIFY_SOURCE=2 / /g"`"
1674 CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
1675 TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS $GCJ_EXTRA_FLAGS" \
1677 --prefix=%{_prefix} \
1678 --infodir=%{_infodir} \
1679 --mandir=%{_mandir} \
1680 --libdir=%{_libdir} \
1681 --libexecdir=%{_libdir} \
1682 --disable-bootstrap \
1683 --enable-languages=$languages \
1685 --with-gxx-include-dir=%{_prefix}/include/c++/%{gcc_dir_version} \
1688 %if 0%{!?build_libvtv:1}
1692 --with-bugurl="http://bugs.tizen.org/" \
1693 --with-pkgversion="Tizen" \
1694 %if !%{build_fortran}
1695 --disable-libquadmath \
1697 %if !%{build_libjava}
1700 --with-java-home=%{_libdir}/jvm/java-1.5.0-gcj%{binsuffix}-1.5.0.0/jre \
1701 --with-ecj-jar=%{libsubdir}/ecj.jar \
1702 --disable-java-awt \
1703 %if !%{biarch_libjava}
1704 --disable-libjava-multilib \
1707 --with-slibdir=/%{_lib} \
1708 --with-system-zlib \
1709 --enable-__cxa_atexit \
1710 --enable-libstdcxx-allocator=new \
1711 --disable-libstdcxx-pch \
1712 --enable-version-specific-runtime-libs \
1713 --enable-linker-build-id \
1714 --enable-linux-futex \
1715 --program-suffix=%{binsuffix} \
1716 %if 0%{!?gcc_target_arch:1}
1718 --with-system-libunwind \
1720 --without-system-libunwind \
1723 %if 0%{?gcc_target_arch:1}
1724 --program-prefix=%{gcc_target_arch}- \
1725 --target=%{gcc_target_arch} \
1728 --with-sysroot=%sysroot \
1730 --with-sysroot=%{_prefix}/%{gcc_target_arch} \
1732 %if 0%{?build_sysroot:1}
1733 --with-build-sysroot=%{build_sysroot} \
1736 --with-build-sysroot=%{sysroot} \
1738 --with-build-sysroot=%{_prefix}/%{gcc_target_arch} \
1741 %if 0%{?canonical_target:1}
1742 --with-build-time-tools=/usr/%{canonical_target}-tizen-linux%{?canonical_target_abi:%canonical_target_abi}/bin \
1744 %if "%{TARGET_ARCH}" == "spu"
1745 --with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \
1749 %if "%{TARGET_ARCH}" == "armv5tel"
1750 --with-arch=armv5te \
1753 --with-abi=aapcs-linux \
1754 --disable-sjlj-exceptions \
1756 %if "%{TARGET_ARCH}" == "armv7l"
1757 --with-arch=armv7-a \
1758 --with-tune=cortex-a8 \
1759 --with-float=softfp \
1762 --disable-sjlj-exceptions \
1764 %if "%{TARGET_ARCH}" == "armv7hl"
1765 --with-arch=armv7-a \
1766 --with-tune=cortex-a9 \
1768 --with-abi=aapcs-linux \
1769 --with-fpu=vfpv3-d16 \
1770 --disable-sjlj-exceptions \
1772 %if "%{TARGET_ARCH}" == "aarch64"
1773 --with-arch=armv8-a \
1774 --disable-sjlj-exceptions \
1776 %if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
1777 %if "%{TARGET_ARCH}" == "powerpc"
1778 --with-cpu=default32 \
1780 %if "%{TARGET_ARCH}" == "powerpc64le"
1783 --with-cpu-64=power4 \
1785 --enable-secureplt \
1786 --with-long-double-128 \
1787 %if "%{TARGET_ARCH}" == "powerpc64le"
1788 --disable-multilib \
1791 %if "%{TARGET_ARCH}" == "sparc64"
1792 --with-cpu=ultrasparc \
1793 --with-long-double-128 \
1795 %if "%{TARGET_ARCH}" == "sparc"
1797 --with-long-double-128 \
1799 %if "%{TARGET_ARCH}" == "i586"
1800 --with-arch-32=i586 \
1801 --with-tune=generic \
1803 %if "%{TARGET_ARCH}" == "x86_64"
1804 --with-arch-32=i586 \
1805 --with-tune=generic \
1806 --disable-multilib \
1808 %if "%{TARGET_ARCH}" == "s390"
1809 --with-tune=zEC12 --with-arch=z196 \
1810 --with-long-double-128 \
1811 --enable-decimal-float \
1813 %if "%{TARGET_ARCH}" == "s390x"
1814 --with-tune=zEC12 --with-arch=z196 \
1815 --with-long-double-128 \
1816 --enable-decimal-float \
1818 %if "%{TARGET_ARCH}" == "m68k"
1819 --disable-multilib \
1821 --build=%{GCCDIST} \
1825 %if 0%{?building_libffi:1}
1826 make stage1-bubble $PARALLEL
1827 make all-target-libffi $PARALLEL
1830 # Only run profiled bootstrap on archs where it works and matters
1831 #%ifarch x86_64 ppc64le s390x
1832 #make profiledbootstrap STAGE1_CFLAGS="$STAGE1_FLAGS" BOOT_CFLAGS="$RPM_OPT_FLAGS" $PARALLEL
1834 make STAGE1_CFLAGS="$STAGE1_FLAGS" BOOT_CFLAGS="$RPM_OPT_FLAGS" $PARALLEL
1837 %if 0%{?building_libjava:1}
1838 make -C %{GCCDIST}/libstdc++-v3/doc doc-html-doxygen
1840 %if 0%{?run_tests:1}
1841 echo "Run testsuite"
1842 (make -C %{GCCDIST}/libstdc++-v3 check-abi || true)
1843 mv %{GCCDIST}/libstdc++-v3/testsuite/libstdc++.log %{GCCDIST}/libstdc++-v3/testsuite/libstdc++-abi.log
1844 mv %{GCCDIST}/libstdc++-v3/testsuite/libstdc++.sum %{GCCDIST}/libstdc++-v3/testsuite/libstdc++-abi.sum
1845 # asan needs a whole shadow address space
1846 ulimit -v unlimited || true
1847 make -k check $PARALLEL || true
1848 mkdir ../testresults
1849 ../contrib/test_summary | tee ../testresults/test_summary.txt
1854 export NO_BRP_CHECK_BYTECODE_VERSION=true
1856 # Work around tail/head -1 changes
1857 export _POSIX2_VERSION=199209
1858 export LIBRARY_PATH=$RPM_BUILD_ROOT%{libsubdir}:$RPM_BUILD_ROOT%{mainlibdirbi}
1859 %if 0%{?building_libffi:1}
1860 make -C %{GCCDIST}/libffi install DESTDIR=$RPM_BUILD_ROOT
1862 %if 0%{?building_libjava:1}
1863 make -C %{GCCDIST}/libjava install DESTDIR=$RPM_BUILD_ROOT
1864 make -C gcc java.install-man DESTDIR=$RPM_BUILD_ROOT
1865 make -C gcc java.install-common DESTDIR=$RPM_BUILD_ROOT
1866 make -C gcc install-common DESTDIR=$RPM_BUILD_ROOT COMPILERS='jc1$(exeext) jvgenmain$(exeext)'
1867 # copy the libstdc++ API reference
1868 cp -r %{GCCDIST}/libstdc++-v3/doc/doxygen/html ../libstdc++-v3/doc/html/api
1869 # install-common also installs collect2, gcov and the g++ and gfortran driver
1871 rm $RPM_BUILD_ROOT%{_prefix}/bin/g++%{binsuffix}
1873 %if %{build_fortran}
1874 rm $RPM_BUILD_ROOT%{_prefix}/bin/gfortran%{binsuffix}
1876 rm $RPM_BUILD_ROOT%{_prefix}/bin/gcov%{binsuffix}
1877 rm $RPM_BUILD_ROOT%{libsubdir}/collect2
1879 make install DESTDIR=$RPM_BUILD_ROOT
1881 make -C gcc java.uninstall DESTDIR=$RPM_BUILD_ROOT
1882 make -C gcc java.install-info DESTDIR=$RPM_BUILD_ROOT
1883 rm $RPM_BUILD_ROOT%{_prefix}/bin/jcf-dump%{binsuffix}
1884 rm $RPM_BUILD_ROOT%{_mandir}/man1/jcf-dump%{binsuffix}.1
1885 rm $RPM_BUILD_ROOT%{libsubdir}/jc1
1886 rm $RPM_BUILD_ROOT%{libsubdir}/jvgenmain
1891 # Remove libffi installed files if we did not want to build it
1892 %if !0%{?building_libffi:1}
1893 rm -f $RPM_BUILD_ROOT%{mainlibdir}/libffi.*
1895 rm -f $RPM_BUILD_ROOT%{mainlibdirbi}/libffi.*
1897 rm -f $RPM_BUILD_ROOT%{libsubdir}/include/ffi.h
1898 rm -f $RPM_BUILD_ROOT%{libsubdir}/include/ffitarget.h
1899 rm -f $RPM_BUILD_ROOT%{_mandir}/man3/ffi%{binsuffix}.3*
1900 rm -f $RPM_BUILD_ROOT%{_mandir}/man3/ffi_call%{binsuffix}.3*
1901 rm -f $RPM_BUILD_ROOT%{_mandir}/man3/ffi_prep_cif%{binsuffix}.3*
1902 rm -f $RPM_BUILD_ROOT%{_mandir}/man3/ffi_prep_cif_var%{binsuffix}.3*
1905 # Remove some useless .la files
1906 for lib in libobjc libgfortran libgfortranbegin libquadmath libcaf_single \
1907 libgomp libstdc++ libsupc++ libgcj-tools libgij libgo \
1908 libasan libatomic libitm libtsan libcilkrts liblsan libubsan libvtv; do
1909 rm -f $RPM_BUILD_ROOT%{versmainlibdir}/$lib.la
1911 rm -f $RPM_BUILD_ROOT%{versmainlibdirbi}/$lib.la
1915 mkdir -p $RPM_BUILD_ROOT%{_libdir}
1917 %if %{build_primary_64bit}
1918 mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib
1920 mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib64
1925 # Merge multilib c++config.h to allow omitting the duplicate and
1926 # identical other arch specific headers
1928 cxxconfig="`find %{GCCDIST}/libstdc++-v3/include -name c++config.h`"
1929 for i in `find %{GCCDIST}/[36]*/libstdc++-v3/include -name c++config.h 2>/dev/null`; do
1930 if ! diff -up $cxxconfig $i; then
1945 if ! ( test -f "$file_32" && test -f "$file_64" ); then
1950 cat > $RPM_BUILD_ROOT%{_prefix}/include/c++/%{gcc_dir_version}/%{GCCDIST}/bits/c++config.h <<EOF
1951 #ifndef _CPP_CPPCONFIG_WRAPPER
1952 #define _CPP_CPPCONFIG_WRAPPER 1
1953 #include <bits/wordsize.h>
1954 #if __WORDSIZE == 32
1964 rm -rf $RPM_BUILD_ROOT%{_prefix}/include/c++/%{gcc_dir_version}/%{GCCDIST}/[36]*
1965 if ! test -z "$dir_ml"; then
1966 ln -s . $RPM_BUILD_ROOT%{_prefix}/include/c++/%{gcc_dir_version}/%{GCCDIST}/$dir_ml
1970 # move shared libs from versionspecific dir to main libdir
1972 %if 0%{?building_libjava:1}
1973 libgcj libgij libgcj-tools \
1975 %if %{build_fortran}
1977 %ifarch %quadmath_arch
1991 %ifarch %atomic_arch
2003 %ifarch %cilkrts_arch
2017 for lib in `find $RPM_BUILD_ROOT%{versmainlibdir} -maxdepth 1 -name $libname.so.*`; do
2018 mv $lib $RPM_BUILD_ROOT%{mainlibdir}/
2020 ln -sf %{mainlibdir}/`readlink $RPM_BUILD_ROOT%{versmainlibdir}/$libname.so | sed -e 's/\(.*\.so\.[^\.]*\).*/\1/'` \
2021 $RPM_BUILD_ROOT%{versmainlibdir}/$libname.so
2023 if test -d $RPM_BUILD_ROOT%{versmainlibdirbi}; then
2024 for lib in `find $RPM_BUILD_ROOT%{versmainlibdirbi} -maxdepth 1 -name "$libname.so.*"`; do
2025 mv $lib $RPM_BUILD_ROOT%{mainlibdirbi}/
2027 ln -sf %{mainlibdirbi}/`readlink $RPM_BUILD_ROOT%{versmainlibdirbi}/$libname.so | sed -e 's/\(.*\.so\.[^\.]*\).*/\1/'` \
2028 $RPM_BUILD_ROOT%{versmainlibdirbi}/$libname.so
2032 # FIXME, tsan and lsan are not multilib
2035 rm -f $RPM_BUILD_ROOT%{versmainlibdirbi}/libtsan.so
2040 rm -f $RPM_BUILD_ROOT%{versmainlibdirbi}/liblsan.so
2044 %if !0%{?building_libjava:1}
2045 # And we want to move the shlib gdb pretty printers to a more sane
2046 # place so ldconfig does not complain
2047 mkdir -p $RPM_BUILD_ROOT%{_datadir}/gdb/auto-load%{mainlibdir}
2048 mv $RPM_BUILD_ROOT%{mainlibdir}/libstdc++.so.*-gdb.py $RPM_BUILD_ROOT%{_datadir}/gdb/auto-load%{mainlibdir}/
2049 sed -i -e '/^libdir/s/\/gcc\/%{GCCDIST}\/%{gcc_dir_version}//g' $RPM_BUILD_ROOT%{_datadir}/gdb/auto-load%{mainlibdir}/libstdc++.so.*-gdb.py
2051 if test -d $RPM_BUILD_ROOT%{versmainlibdirbi}; then
2052 mkdir -p $RPM_BUILD_ROOT%{_datadir}/gdb/auto-load%{mainlibdirbi}
2053 mv $RPM_BUILD_ROOT%{mainlibdirbi}/libstdc++.so.*-gdb.py $RPM_BUILD_ROOT%{_datadir}/gdb/auto-load%{mainlibdirbi}/
2054 sed -i -e '/^libdir/s/\/gcc\/%{GCCDIST}\/%{gcc_dir_version}//g' $RPM_BUILD_ROOT%{_datadir}/gdb/auto-load%{mainlibdirbi}/libstdc++.so.*-gdb.py
2059 %if 0%{?building_libjava:1}
2060 # libgcj_bc is special as the .so file is actually a different
2061 # library as the library refered to by the SONAME which should
2062 # be a simple link to our libgcj.
2063 for lib in `find $RPM_BUILD_ROOT%{versmainlibdir} -maxdepth 1 -name libgcj_bc.so.*`; do
2066 ln -s libgcj.so.%{libgcj_sover} $RPM_BUILD_ROOT%{mainlibdir}/libgcj_bc.so.%{libgcj_bc_sover}
2067 %if %{biarch_libjava}
2068 for lib in `find $RPM_BUILD_ROOT%{versmainlibdirbi} -maxdepth 1 -name libgcj_bc.so.*`; do
2071 ln -s libgcj.so.%{libgcj_sover} $RPM_BUILD_ROOT%{mainlibdirbi}/libgcj_bc.so.%{libgcj_bc_sover}
2073 mv $RPM_BUILD_ROOT%{libsubdir}/pkgconfig $RPM_BUILD_ROOT%{_libdir}/
2076 # Move libgcc_s around
2078 if test -L $RPM_BUILD_ROOT/lib64/libgcc_s.so; then
2079 rm -f $RPM_BUILD_ROOT/lib64/libgcc_s.so
2080 ln -sf /lib64/libgcc_s.so.%{libgcc_s} $RPM_BUILD_ROOT%{versmainlibdir}/libgcc_s.so
2082 mv $RPM_BUILD_ROOT/lib64/libgcc_s.so $RPM_BUILD_ROOT%{versmainlibdir}/
2084 chmod a+x $RPM_BUILD_ROOT/lib64/libgcc_s.so.%{libgcc_s}
2086 if test -L $RPM_BUILD_ROOT/%{_lib}/libgcc_s.so; then
2087 rm -f $RPM_BUILD_ROOT/%{_lib}/libgcc_s.so
2088 ln -sf /%{_lib}/libgcc_s.so.%{libgcc_s} $RPM_BUILD_ROOT%{versmainlibdir}/libgcc_s.so
2090 mv $RPM_BUILD_ROOT/%{_lib}/libgcc_s.so $RPM_BUILD_ROOT%{versmainlibdir}/
2092 chmod a+x $RPM_BUILD_ROOT/%{_lib}/libgcc_s.so.%{libgcc_s}
2096 %if %{build_primary_64bit}
2097 if test -L $RPM_BUILD_ROOT/lib/libgcc_s.so; then
2098 rm -f $RPM_BUILD_ROOT/lib/libgcc_s.so
2099 ln -sf /lib/libgcc_s.so.%{libgcc_s} $RPM_BUILD_ROOT%{versmainlibdirbi32}/libgcc_s.so
2101 mv $RPM_BUILD_ROOT/lib/libgcc_s.so $RPM_BUILD_ROOT%{versmainlibdirbi32}/
2103 ln -sf %{versmainlibdirbi32}/libgcc_s.so $RPM_BUILD_ROOT%{versmainlibdirbi32}/libgcc_s_32.so
2104 chmod a+x $RPM_BUILD_ROOT/lib/libgcc_s.so.%{libgcc_s}
2106 # 32-bit biarch systems
2107 if test -L $RPM_BUILD_ROOT/lib64/libgcc_s.so; then
2108 rm -f $RPM_BUILD_ROOT/lib64/libgcc_s.so
2109 ln -sf /lib64/libgcc_s.so.%{libgcc_s} $RPM_BUILD_ROOT%{versmainlibdirbi64}/libgcc_s.so
2111 mv $RPM_BUILD_ROOT/lib64/libgcc_s.so $RPM_BUILD_ROOT%{versmainlibdirbi64}/
2113 ln -sf %{versmainlibdirbi64}/libgcc_s.so $RPM_BUILD_ROOT%{versmainlibdirbi64}/libgcc_s_64.so
2114 chmod a+x $RPM_BUILD_ROOT/lib64/libgcc_s.so.%{libgcc_s}
2120 mv $RPM_BUILD_ROOT%{libsubdir}/adalib/lib*-*.so $RPM_BUILD_ROOT%{_libdir}
2121 ln -sf %{_libdir}/libgnarl%{binsuffix}.so $RPM_BUILD_ROOT%{libsubdir}/adalib/libgnarl.so
2122 ln -sf %{_libdir}/libgnat%{binsuffix}.so $RPM_BUILD_ROOT%{libsubdir}/adalib/libgnat.so
2123 chmod a+x $RPM_BUILD_ROOT%{_libdir}/libgna*-*.so
2125 mv $RPM_BUILD_ROOT%{versmainlibdirbi}/adalib/lib*-*.so $RPM_BUILD_ROOT%{mainlibdirbi}/
2126 ln -sf %{mainlibdirbi}/libgnarl%{binsuffix}.so $RPM_BUILD_ROOT%{versmainlibdirbi}/adalib/libgnarl.so
2127 ln -sf %{mainlibdirbi}/libgnat%{binsuffix}.so $RPM_BUILD_ROOT%{versmainlibdirbi}/adalib/libgnarl.so
2128 chmod a+x $RPM_BUILD_ROOT%{mainlibdirbi}/libgna*-*.so
2132 rm -f $RPM_BUILD_ROOT%{_prefix}/bin/c++%{binsuffix}
2134 # Remove some crap from the .la files:
2135 for l in `find $RPM_BUILD_ROOT -name '*.la'`; do
2137 # -e '/^dependency_libs/s|%{libsubdir}/\([^.]*\)\.la |%{_libdir}/\1\.la |g'
2138 sed -e '/^dependency_libs/s| -L%{_builddir}/[^ ]*||g' \
2139 -e '/^dependency_libs/s| -L/usr/%{GCCDIST}/bin||g' \
2140 -e '/^dependency_libs/s|-lm \(-lm \)*|-lm |' \
2141 -e '/^dependency_libs/s|-L[^ ]* ||g' \
2143 %if %{build_primary_64bit}
2144 -e '/^libdir/s|%{_libdir}/32|%{_prefix}/lib|' \
2145 -e '/^libdir/s|lib64/\.\./||' \
2147 -e '/^libdir/s|%{_libdir}/64|%{_prefix}/lib64|' \
2154 %if 0%{?run_tests:1}
2155 cp `find . -name "*.sum"` ../testresults/
2156 cp `find . -name "*.log" \! -name "config.log" | grep -v 'acats.\?/tests' ` ../testresults/
2157 chmod 644 ../testresults/*
2160 # Find C++ and Java headers
2161 find $RPM_BUILD_ROOT%{_prefix}/include/c++ \
2162 -regex ".*/\(org\|gcj\|gnu\|java\|javax\)" -prune \
2163 -o \( -type d -printf "%%%%dir " , \
2164 -printf "%{_prefix}/include/c++/%%P\n" \) > ../c++-headers
2166 # Remove files that we do not need to clean up filelist
2167 rm -f $RPM_BUILD_ROOT%{_prefix}/bin/%{GCCDIST}-*
2168 rm -rf $RPM_BUILD_ROOT%{libsubdir}/install-tools
2169 #rm -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig/libgcj%{binsuffix}.pc
2170 rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/zutil.h
2171 rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/linux/a.out.h
2172 rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/asm-generic/socket.h
2174 rm -rf $RPM_BUILD_ROOT%{libsubdir}/plugin
2175 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
2178 %if 0%{?building_libjava:1}
2179 # gcj -static doesn't work properly anyway, unless using --whole-archive
2180 # let's save the space instead.
2181 find $RPM_BUILD_ROOT -name libgcj.a \
2182 -o -name libgcj-tools.a \
2185 -o -name libgcj_bc.a \
2188 find $RPM_BUILD_ROOT -name libgcj.spec | xargs \
2189 sed -i -e 's/lib: /&%%{static:%%eJava programs cannot be linked statically}/'
2191 # security files have broken install locations, also they cause conflicts
2192 # between libgcj versions. Simply delete them here, libgcj will use its
2193 # defaults in this case (which is what these files contain anyway).
2194 rm -f $RPM_BUILD_ROOT%{libsubdir}/logging.properties
2195 rm -r $RPM_BUILD_ROOT%{libsubdir}/security
2198 %if 0%{?building_libffi:1}
2199 # Move libffi headers, remove empty libffi libtool file
2200 mkdir -p $RPM_BUILD_ROOT%{_prefix}/include
2201 mv $RPM_BUILD_ROOT%{libsubdir}/include/ffitarget.h $RPM_BUILD_ROOT%{_prefix}/include/
2202 mv $RPM_BUILD_ROOT%{libsubdir}/include/ffi.h $RPM_BUILD_ROOT%{_prefix}/include/
2203 rm -f $RPM_BUILD_ROOT%{mainlibdir}/libffi.la
2205 rm -f $RPM_BUILD_ROOT%{mainlibdirbi}/libffi.la
2207 # Generate a simple pkg-config file
2208 mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig
2209 echo -e 'Name: libffi\nVersion: 3.0.9\nDescription: libffi\nLibs: -lffi' > $RPM_BUILD_ROOT%{_libdir}/pkgconfig/libffi.pc
2213 %if !%{build_libjava}
2214 rm $RPM_BUILD_ROOT%{_mandir}/man1/jv-convert%{binsuffix}.1
2215 rm $RPM_BUILD_ROOT%{_mandir}/man1/gcj-dbtool%{binsuffix}.1
2216 rm $RPM_BUILD_ROOT%{_mandir}/man1/gij%{binsuffix}.1
2217 rm $RPM_BUILD_ROOT%{_mandir}/man1/grmic%{binsuffix}.1
2218 rm $RPM_BUILD_ROOT%{_mandir}/man1/gc-analyze%{binsuffix}.1
2219 rm $RPM_BUILD_ROOT%{_mandir}/man1/aot-compile%{binsuffix}.1
2220 rm $RPM_BUILD_ROOT%{_mandir}/man1/rebuild-gcj-db%{binsuffix}.1
2222 rm -f $RPM_BUILD_ROOT%{_datadir}/gcc%{binsuffix}/python/libjava/aotcompile.py
2223 rm -f $RPM_BUILD_ROOT%{_datadir}/gcc%{binsuffix}/python/libjava/classfile.py
2225 rm -f $RPM_BUILD_ROOT%{_mandir}/man7/fsf-funding.7
2226 rm -f $RPM_BUILD_ROOT%{_mandir}/man7/gfdl.7
2227 rm -f $RPM_BUILD_ROOT%{_mandir}/man7/gpl.7
2228 rm -f $RPM_BUILD_ROOT%{_libdir}/libiberty.a
2230 %if %{build_primary_64bit}
2231 rm -f $RPM_BUILD_ROOT%{_prefix}/lib/libiberty.a
2233 rm -f $RPM_BUILD_ROOT%{_prefix}/lib64/libiberty.a
2236 rm -f $RPM_BUILD_ROOT%{libsubdir}/liblto_plugin.a
2237 rm -f $RPM_BUILD_ROOT%{libsubdir}/liblto_plugin.la
2239 # gccgo.info isn't properly versioned
2240 rm $RPM_BUILD_ROOT%{_infodir}/gccgo.info*
2243 %if 0%{?building_libjava:1}
2244 # For building libjava only we need to delete other info docs
2245 rm $RPM_BUILD_ROOT%{_infodir}/cp-tools.info*
2246 # Remove stale manpages for binaries we do not build
2247 rm $RPM_BUILD_ROOT%{_mandir}/man1/gjdoc%{binsuffix}.1
2248 # For building the java frontend we need to copy the ecj jar
2249 mkdir -p $RPM_BUILD_ROOT%{libsubdir}
2250 cp $RPM_SOURCE_DIR/ecj.jar $RPM_BUILD_ROOT%{libsubdir}
2252 # For regular build, some info files do not get renamed properly.
2254 mv $RPM_BUILD_ROOT%{_infodir}/libgomp.info $RPM_BUILD_ROOT%{_infodir}/libgomp%{binsuffix}.info
2256 mv $RPM_BUILD_ROOT%{_infodir}/libitm.info $RPM_BUILD_ROOT%{_infodir}/libitm%{binsuffix}.info
2258 %if %{build_fortran}
2259 %ifarch %quadmath_arch
2260 mv $RPM_BUILD_ROOT%{_infodir}/libquadmath.info $RPM_BUILD_ROOT%{_infodir}/libquadmath%{binsuffix}.info
2264 mv $RPM_BUILD_ROOT%{_infodir}/gnat-style.info $RPM_BUILD_ROOT%{_infodir}/gnat-style%{binsuffix}.info
2265 mv $RPM_BUILD_ROOT%{_infodir}/gnat_rm.info $RPM_BUILD_ROOT%{_infodir}/gnat_rm%{binsuffix}.info
2266 mv $RPM_BUILD_ROOT%{_infodir}/gnat_ugn.info $RPM_BUILD_ROOT%{_infodir}/gnat_ugn%{binsuffix}.info
2271 %find_lang cpplib%{binsuffix}
2272 %find_lang gcc%{binsuffix}
2273 %find_lang libstdc++
2274 cat cpplib%{binsuffix}.lang gcc%{binsuffix}.lang > gcc49-locale.lang
2277 %install_info --info-dir=%{_infodir} %{_infodir}/cpp%{binsuffix}.info.gz
2278 %install_info --info-dir=%{_infodir} %{_infodir}/cppinternals%{binsuffix}.info.gz
2279 %install_info --info-dir=%{_infodir} %{_infodir}/gcc%{binsuffix}.info.gz
2280 %install_info --info-dir=%{_infodir} %{_infodir}/gccint%{binsuffix}.info.gz
2281 %install_info --info-dir=%{_infodir} %{_infodir}/gccinstall%{binsuffix}.info.gz
2282 %install_info --info-dir=%{_infodir} %{_infodir}/libgomp%{binsuffix}.info.gz
2283 %if %{build_fortran}
2284 %install_info --info-dir=%{_infodir} %{_infodir}/gfortran%{binsuffix}.info.gz
2285 %ifarch %quadmath_arch
2286 %install_info --info-dir=%{_infodir} %{_infodir}/libquadmath%{binsuffix}.info.gz
2290 %install_info --info-dir=%{_infodir} %{_infodir}/gcj%{binsuffix}.info.gz
2293 %install_info --info-dir=%{_infodir} %{_infodir}/gnat-style%{binsuffix}.info.gz
2294 %install_info --info-dir=%{_infodir} %{_infodir}/gnat_rm%{binsuffix}.info.gz
2295 %install_info --info-dir=%{_infodir} %{_infodir}/gnat_ugn%{binsuffix}.info.gz
2299 %install_info_delete --info-dir=%{_infodir} %{_infodir}/cpp%{binsuffix}.info.gz
2300 %install_info_delete --info-dir=%{_infodir} %{_infodir}/cppinternals%{binsuffix}.info.gz
2301 %install_info_delete --info-dir=%{_infodir} %{_infodir}/gcc%{binsuffix}.info.gz
2302 %install_info_delete --info-dir=%{_infodir} %{_infodir}/gccint%{binsuffix}.info.gz
2303 %install_info_delete --info-dir=%{_infodir} %{_infodir}/gccinstall%{binsuffix}.info.gz
2304 %install_info_delete --info-dir=%{_infodir} %{_infodir}/libgomp%{binsuffix}.info.gz
2305 %if %{build_fortran}
2306 %install_info_delete --info-dir=%{_infodir} %{_infodir}/gfortran%{binsuffix}.info.gz
2307 %ifarch %quadmath_arch
2308 %install_info_delete --info-dir=%{_infodir} %{_infodir}/libquadmath%{binsuffix}.info.gz
2312 %install_info_delete --info-dir=%{_infodir} %{_infodir}/gcj%{binsuffix}.info.gz
2315 %install_info_delete --info-dir=%{_infodir} %{_infodir}/gnat-style%{binsuffix}.info.gz
2316 %install_info_delete --info-dir=%{_infodir} %{_infodir}/gnat_rm%{binsuffix}.info.gz
2317 %install_info_delete --info-dir=%{_infodir} %{_infodir}/gnat_ugn%{binsuffix}.info.gz
2321 %defattr(-,root,root)
2323 %dir %{_libdir}/gcc/%{GCCDIST}
2325 %dir %{libsubdir}/include
2326 %dir %{libsubdir}/include-fixed
2328 %if %{build_primary_64bit}
2329 %dir %{libsubdir}/32
2331 %dir %{libsubdir}/64
2334 %{_prefix}/bin/gcc%{binsuffix}
2335 %{_prefix}/bin/gcov%{binsuffix}
2336 %{_prefix}/bin/gcc-ar%{binsuffix}
2337 %{_prefix}/bin/gcc-nm%{binsuffix}
2338 %{_prefix}/bin/gcc-ranlib%{binsuffix}
2339 %{libsubdir}/collect2
2341 %{libsubdir}/lto-wrapper
2342 %{libsubdir}/liblto_plugin.so*
2343 %{libsubdir}/include-fixed/README
2344 %{libsubdir}/include-fixed/limits.h
2345 %{libsubdir}/include-fixed/syslimits.h
2346 %{libsubdir}/include/omp.h
2347 %{libsubdir}/include/float.h
2348 %{libsubdir}/include/iso646.h
2349 %{libsubdir}/include/stdarg.h
2350 %{libsubdir}/include/stdbool.h
2351 %{libsubdir}/include/stdfix.h
2352 %{libsubdir}/include/stddef.h
2353 %{libsubdir}/include/unwind.h
2354 %{libsubdir}/include/varargs.h
2355 %{libsubdir}/include/stdint.h
2356 %{libsubdir}/include/stdint-gcc.h
2357 %{libsubdir}/include/stdnoreturn.h
2358 %{libsubdir}/include/stdalign.h
2359 %{libsubdir}/include/stdatomic.h
2361 %{libsubdir}/include/visintrin.h
2363 %ifarch ppc ppc64 ppc64le
2364 %{libsubdir}/include/altivec.h
2365 %{libsubdir}/include/ppc-asm.h
2366 %{libsubdir}/include/paired.h
2367 %{libsubdir}/include/ppu_intrinsics.h
2368 %{libsubdir}/include/si2vmx.h
2369 %{libsubdir}/include/spe.h
2370 %{libsubdir}/include/spu2vmx.h
2371 %{libsubdir}/include/vec_types.h
2372 %{libsubdir}/include/htmintrin.h
2373 %{libsubdir}/include/htmxlintrin.h
2376 %{libsubdir}/include/htmintrin.h
2377 %{libsubdir}/include/htmxlintrin.h
2378 %{libsubdir}/include/s390intrin.h
2381 %{libsubdir}/include/ia64intrin.h
2383 %ifarch %arm aarch64
2384 %{libsubdir}/include/arm_neon.h
2387 %{libsubdir}/include/mmintrin.h
2388 %{libsubdir}/include/arm_neon.h
2389 %{libsubdir}/include/unwind-arm-common.h
2390 %{libsubdir}/include/arm_acle.h
2392 %ifarch %ix86 x86_64
2393 %{libsubdir}/include/cross-stdarg.h
2394 %{libsubdir}/include/cpuid.h
2395 %{libsubdir}/include/mm3dnow.h
2396 %{libsubdir}/include/mmintrin.h
2397 %{libsubdir}/include/ammintrin.h
2398 %{libsubdir}/include/bmmintrin.h
2399 %{libsubdir}/include/emmintrin.h
2400 %{libsubdir}/include/immintrin.h
2401 %{libsubdir}/include/avxintrin.h
2402 %{libsubdir}/include/pmmintrin.h
2403 %{libsubdir}/include/xmmintrin.h
2404 %{libsubdir}/include/tmmintrin.h
2405 %{libsubdir}/include/nmmintrin.h
2406 %{libsubdir}/include/smmintrin.h
2407 %{libsubdir}/include/wmmintrin.h
2408 %{libsubdir}/include/x86intrin.h
2409 %{libsubdir}/include/ia32intrin.h
2410 %{libsubdir}/include/mm_malloc.h
2411 %{libsubdir}/include/fma4intrin.h
2412 %{libsubdir}/include/xopintrin.h
2413 %{libsubdir}/include/lwpintrin.h
2414 %{libsubdir}/include/popcntintrin.h
2415 %{libsubdir}/include/bmiintrin.h
2416 %{libsubdir}/include/tbmintrin.h
2417 %{libsubdir}/include/avx2intrin.h
2418 %{libsubdir}/include/bmi2intrin.h
2419 %{libsubdir}/include/fmaintrin.h
2420 %{libsubdir}/include/lzcntintrin.h
2421 %{libsubdir}/include/f16cintrin.h
2422 %{libsubdir}/include/adxintrin.h
2423 %{libsubdir}/include/fxsrintrin.h
2424 %{libsubdir}/include/prfchwintrin.h
2425 %{libsubdir}/include/rdseedintrin.h
2426 %{libsubdir}/include/rtmintrin.h
2427 %{libsubdir}/include/xsaveintrin.h
2428 %{libsubdir}/include/xsaveoptintrin.h
2429 %{libsubdir}/include/xtestintrin.h
2430 %{libsubdir}/include/avx512cdintrin.h
2431 %{libsubdir}/include/avx512erintrin.h
2432 %{libsubdir}/include/avx512fintrin.h
2433 %{libsubdir}/include/avx512pfintrin.h
2434 %{libsubdir}/include/shaintrin.h
2437 %{libsubdir}/include/math-68881.h
2439 %ifarch %cilkrts_arch
2440 %{libsubdir}/include/cilk
2442 %versmainlib *crt*.o
2443 %versmainlib libgcc*.a
2444 %versmainlib libgcov.a
2445 %versmainlib libgcc_s*.so
2446 %versmainlib libgomp.so
2447 %versmainlib libgomp.a
2448 %versmainlib libgomp.spec
2450 %versmainlib libitm.so
2451 %versmainlib libitm.a
2452 %versmainlib libitm.spec
2454 %ifarch %atomic_arch
2455 %versmainlib libatomic.so
2456 %versmainlib libatomic.a
2459 %versmainlib libasan.so
2460 %versmainlib libasan.a
2461 %versmainlib libasan_preinit.o
2464 %versmainlib libtsan.so
2465 %versmainlib libtsan.a
2467 %ifarch %cilkrts_arch
2468 %versmainlib libcilkrts.so
2469 %versmainlib libcilkrts.a
2470 %versmainlib libcilkrts.spec
2473 %versmainlib liblsan.so
2474 %versmainlib liblsan.a
2477 %versmainlib libubsan.so
2478 %versmainlib libubsan.a
2480 %ifarch %asan_arch %ubsan_arch %tsan_arch %lsan_arch
2481 %versmainlib libsanitizer.spec
2484 %versmainlib libvtv.so
2485 %versmainlib libvtv.a
2487 %doc %{_mandir}/man1/gcc%{binsuffix}.1.gz
2488 %doc %{_mandir}/man1/gcov%{binsuffix}.1.gz
2490 %if %{separate_biarch}
2491 %files -n gcc49%{separate_biarch_suffix}
2492 %defattr(-,root,root)
2493 %versbiarchlib *crt*.o
2494 %versbiarchlib libgcc*.a
2495 %versbiarchlib libgcov.a
2496 %versbiarchlib libgcc_s*.so
2497 %versbiarchlib libgomp.so
2498 %versbiarchlib libgomp.a
2499 %versbiarchlib libgomp.spec
2501 %versbiarchlib libitm.so
2502 %versbiarchlib libitm.a
2503 %versbiarchlib libitm.spec
2505 %ifarch %atomic_arch
2506 %versbiarchlib libatomic.a
2507 %versbiarchlib libatomic.so
2510 %versbiarchlib libasan.a
2511 %versbiarchlib libasan.so
2512 %versbiarchlib libasan_preinit.o
2515 %versbiarchlib libubsan.a
2516 %versbiarchlib libubsan.so
2518 %ifarch %cilkrts_arch
2519 %versbiarchlib libcilkrts.a
2520 %versbiarchlib libcilkrts.so
2521 %versbiarchlib libcilkrts.spec
2525 %versbiarchlib libtsan.a
2526 %versbiarchlib libtsan.so
2529 %versbiarchlib liblsan.a
2530 %versbiarchlib liblsan.so
2533 %ifarch %asan_arch %ubsan_arch %tsan_arch %lsan_arch
2534 %versbiarchlib libsanitizer.spec
2537 %versbiarchlib libvtv.a
2538 %versbiarchlib libvtv.so
2542 %files locale -f gcc49-locale.lang
2544 %files -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}-locale -f libstdc++.lang
2548 %defattr(-,root,root)
2550 %dir %{_libdir}/gcc/%{GCCDIST}
2552 %{_prefix}/bin/g++%{binsuffix}
2553 %doc %{_mandir}/man1/g++%{binsuffix}.1.gz
2554 %{libsubdir}/cc1plus
2556 %files -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}
2557 %defattr(-,root,root)
2558 %mainlib libstdc++.so.%{libstdcxx_sover}*
2560 %if %{separate_biarch}
2561 %files -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}%{separate_biarch_suffix}
2562 %defattr(-,root,root)
2563 %biarchlib libstdc++.so.%{libstdcxx_sover}*
2566 %files -n libstdc++49-devel -f c++-headers
2567 %defattr(-,root,root)
2568 %versmainlib libstdc++.a
2569 %versmainlib libstdc++.so
2570 %versmainlib libsupc++.a
2571 %dir %{_datadir}/gdb
2572 %dir %{_datadir}/gdb/auto-load
2573 %dir %{_datadir}/gdb/auto-load%{_prefix}
2574 %dir %{_datadir}/gdb/auto-load/%{mainlibdir}
2575 %{_datadir}/gdb/auto-load/%{mainlibdir}/libstdc++.so.*-gdb.py
2576 %{_datadir}/gcc%{binsuffix}
2578 %if %{separate_biarch}
2579 %files -n libstdc++49-devel%{separate_biarch_suffix}
2580 %defattr(-,root,root)
2581 %versbiarchlib libstdc++.a
2582 %versbiarchlib libstdc++.so
2583 %versbiarchlib libsupc++.a
2584 %dir %{_datadir}/gdb/auto-load/%{mainlibdirbi}
2585 %{_datadir}/gdb/auto-load/%{mainlibdirbi}/libstdc++.so.*-gdb.py
2589 %files -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}
2590 %defattr(-,root,root)
2591 /%{_lib}/libgcc_s.so.%{libgcc_s}
2593 %if %{build_primary_64bit}
2594 %if !%{separate_bi32}
2595 /lib/libgcc_s.so.%{libgcc_s}
2598 %if !%{separate_bi64}
2599 /lib64/libgcc_s.so.%{libgcc_s}
2604 %if %{separate_bi64}
2605 %files -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}-64bit
2606 %defattr(-,root,root)
2607 /lib64/libgcc_s.so.%{libgcc_s}
2610 %if %{separate_bi32}
2611 %files -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}-32bit
2612 %defattr(-,root,root)
2613 /lib/libgcc_s.so.%{libgcc_s}
2617 %files -n libgomp%{libgomp_sover}%{libgomp_suffix}
2618 %defattr(-,root,root)
2619 %mainlib libgomp.so.%{libgomp_sover}*
2621 %if %{separate_biarch}
2622 %files -n libgomp%{libgomp_sover}%{libgomp_suffix}%{separate_biarch_suffix}
2623 %defattr(-,root,root)
2624 %biarchlib libgomp.so.%{libgomp_sover}*
2629 %files -n libasan%{libasan_sover}%{libasan_suffix}
2630 %defattr(-,root,root)
2631 %mainlib libasan.so.%{libasan_sover}*
2633 %if %{separate_biarch}
2634 %files -n libasan%{libasan_sover}%{libasan_suffix}%{separate_biarch_suffix}
2635 %defattr(-,root,root)
2636 %biarchlib libasan.so.%{libasan_sover}*
2642 %files -n liblsan%{liblsan_sover}%{liblsan_suffix}
2643 %defattr(-,root,root)
2644 %mainlib liblsan.so.%{liblsan_sover}*
2647 %if %{separate_biarch}
2648 %files -n liblsan%{liblsan_sover}%{liblsan_suffix}%{separate_biarch_suffix}
2649 %defattr(-,root,root)
2650 %biarchlib liblsan.so.%{liblsan_sover}*
2657 %files -n libtsan%{libtsan_sover}%{libtsan_suffix}
2658 %defattr(-,root,root)
2659 %mainlib libtsan.so.%{libtsan_sover}*
2662 %if %{separate_biarch}
2663 %files -n libtsan%{libtsan_sover}%{libtsan_suffix}%{separate_biarch_suffix}
2664 %defattr(-,root,root)
2665 %biarchlib libtsan.so.%{libtsan_sover}*
2671 %ifarch %atomic_arch
2672 %files -n libatomic%{libatomic_sover}%{libatomic_suffix}
2673 %defattr(-,root,root)
2674 %mainlib libatomic.so.%{libatomic_sover}*
2676 %if %{separate_biarch}
2677 %files -n libatomic%{libatomic_sover}%{libatomic_suffix}%{separate_biarch_suffix}
2678 %defattr(-,root,root)
2679 %biarchlib libatomic.so.%{libatomic_sover}*
2685 %files -n libitm%{libitm_sover}%{libitm_suffix}
2686 %defattr(-,root,root)
2687 %mainlib libitm.so.%{libitm_sover}*
2689 %if %{separate_biarch}
2690 %files -n libitm%{libitm_sover}%{libitm_suffix}%{separate_biarch_suffix}
2691 %defattr(-,root,root)
2692 %biarchlib libitm.so.%{libitm_sover}*
2697 %ifarch %cilkrts_arch
2698 %files -n libcilkrts%{libcilkrts_sover}%{libcilkrts_suffix}
2699 %defattr(-,root,root)
2700 %mainlib libcilkrts.so.%{libcilkrts_sover}*
2702 %if %{separate_biarch}
2703 %files -n libcilkrts%{libcilkrts_sover}%{libcilkrts_suffix}%{separate_biarch_suffix}
2704 %defattr(-,root,root)
2705 %biarchlib libcilkrts.so.%{libcilkrts_sover}*
2711 %files -n libubsan%{libubsan_sover}%{libubsan_suffix}
2712 %defattr(-,root,root)
2713 %mainlib libubsan.so.%{libubsan_sover}*
2715 %if %{separate_biarch}
2716 %files -n libubsan%{libubsan_sover}%{libubsan_suffix}%{separate_biarch_suffix}
2717 %defattr(-,root,root)
2718 %biarchlib libubsan.so.%{libubsan_sover}*
2724 %files -n libvtv%{libvtv_sover}%{libvtv_suffix}
2725 %defattr(-,root,root)
2726 %mainlib libvtv.so.%{libvtv_sover}*
2728 %if %{separate_biarch}
2729 %files -n libvtv%{libvtv_sover}%{libvtv_suffix}%{separate_biarch_suffix}
2730 %defattr(-,root,root)
2731 %biarchlib libvtv.so.%{libvtv_sover}*
2736 %if %{build_fortran}
2738 %defattr(-,root,root)
2739 %dir %{libsubdir}/finclude
2740 %{_prefix}/bin/gfortran%{binsuffix}
2742 %{libsubdir}/finclude/*
2743 %versmainlib libgfortran.a
2744 %versmainlib libgfortran.so
2745 %versmainlib libgfortran.spec
2746 %versmainlib libgfortranbegin.a
2747 %versmainlib libcaf_single.a
2748 %ifarch %quadmath_arch
2749 %{libsubdir}/include/quadmath.h
2750 %{libsubdir}/include/quadmath_weak.h
2751 %versmainlib libquadmath.a
2752 %versmainlib libquadmath.so
2754 %doc %{_mandir}/man1/gfortran%{binsuffix}.1.gz
2756 %if %{separate_biarch}
2757 %files fortran%{separate_biarch_suffix}
2758 %defattr(-,root,root)
2759 %versbiarchlib libgfortran.a
2760 %versbiarchlib libgfortran.so
2761 %versbiarchlib libgfortran.spec
2762 %versbiarchlib libgfortranbegin.a
2763 %versbiarchlib libcaf_single.a
2764 %ifarch %quadmath_arch
2765 %versbiarchlib libquadmath.a
2766 %versbiarchlib libquadmath.so
2770 %files -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}
2771 %defattr(-,root,root)
2772 %mainlib libgfortran.so.%{libgfortran_sover}*
2774 %if %{separate_biarch}
2775 %files -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}%{separate_biarch_suffix}
2776 %defattr(-,root,root)
2777 %biarchlib libgfortran.so.%{libgfortran_sover}*
2780 %ifarch %quadmath_arch
2781 %files -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}
2782 %defattr(-,root,root)
2783 %mainlib libquadmath.so.%{libquadmath_sover}*
2785 %if %{separate_biarch}
2786 %files -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}%{separate_biarch_suffix}
2787 %defattr(-,root,root)
2788 %biarchlib libquadmath.so.%{libquadmath_sover}*
2794 %defattr(-,root,root)
2795 %doc %{_infodir}/cpp%{binsuffix}.info*.gz
2796 %doc %{_infodir}/cppinternals%{binsuffix}.info*.gz
2797 %doc %{_infodir}/gcc%{binsuffix}.info*.gz
2798 %doc %{_infodir}/gccint%{binsuffix}.info*.gz
2799 %doc %{_infodir}/gccinstall%{binsuffix}.info*.gz
2800 %doc %{_infodir}/libgomp%{binsuffix}.info*.gz
2802 %doc %{_infodir}/libitm%{binsuffix}.info*.gz
2804 %if %{build_fortran}
2805 %doc %{_infodir}/gfortran%{binsuffix}.info*.gz
2806 %ifarch %quadmath_arch
2807 %doc %{_infodir}/libquadmath%{binsuffix}.info*.gz
2811 %doc %{_infodir}/gcj%{binsuffix}.info*.gz
2814 %doc %{_infodir}/gnat-style%{binsuffix}.info*gz
2815 %doc %{_infodir}/gnat_rm%{binsuffix}.info*gz
2816 %doc %{_infodir}/gnat_ugn%{binsuffix}.info*gz
2820 %defattr(-,root,root)
2822 %dir %{_libdir}/gcc/%{GCCDIST}
2824 %{_prefix}/bin/cpp%{binsuffix}
2827 %doc %{_mandir}/man1/cpp%{binsuffix}.1.gz
2831 %defattr(-,root,root)
2833 %{libsubdir}/include/objc
2834 %versmainlib libobjc.a
2835 %versmainlib libobjc.so
2837 %if %{separate_biarch}
2838 %files objc%{separate_biarch_suffix}
2839 %defattr(-,root,root)
2840 %versbiarchlib libobjc.a
2841 %versbiarchlib libobjc.so
2844 %files -n libobjc%{libobjc_sover}%{libobjc_suffix}
2845 %defattr(-,root,root)
2846 %mainlib libobjc.so.%{libobjc_sover}*
2848 %if %{separate_biarch}
2849 %files -n libobjc%{libobjc_sover}%{libobjc_suffix}%{separate_biarch_suffix}
2850 %defattr(-,root,root)
2851 %biarchlib libobjc.so.%{libobjc_sover}*
2858 %defattr(-,root,root)
2859 %{libsubdir}/cc1objplus
2865 %defattr(-,root,root)
2867 %dir %{_libdir}/gcc/%{GCCDIST}
2869 %{_prefix}/bin/gnat*
2870 %dir %{versmainlibdir}/adalib
2871 %{versmainlibdir}/adainclude
2872 %{versmainlibdir}/adalib/*.ali
2873 %{versmainlibdir}/adalib/*.a
2874 %{versmainlibdir}/adalib/libgnarl.so
2875 %{versmainlibdir}/adalib/libgnat.so
2876 %{versmainlibdir}/gnat1
2878 %if %{separate_biarch}
2879 %files ada%{separate_biarch_suffix}
2880 %defattr(-,root,root)
2881 %dir %{versmainlibdirbi}/adalib
2882 %{versmainlibdirbi}/adainclude
2883 %{versmainlibdirbi}/adalib/*.ali
2884 %{versmainlibdirbi}/adalib/*.a
2885 %{versmainlibdirbi}/adalib/libgnarl.so
2886 %{versmainlibdirbi}/adalib/libgnat.so
2890 %defattr(-,root,root)
2891 %mainlib libgnarl-*.so
2892 %mainlib libgnat-*.so
2894 %if %{separate_biarch}
2895 %files -n libada49%{separate_biarch_suffix}
2896 %defattr(-,root,root)
2897 %biarchlib libgnarl-*.so
2898 %biarchlib libgnat-*.so
2904 %if 0%{?building_libjava:1}
2905 %files -n gcc49-java
2906 %defattr(-,root,root)
2907 %{_prefix}/bin/gcj%{binsuffix}
2908 %{_prefix}/bin/gcjh%{binsuffix}
2909 %{_prefix}/bin/gcj-dbtool%{binsuffix}
2910 %{_prefix}/bin/jcf-dump%{binsuffix}
2911 %{_prefix}/bin/jv-convert%{binsuffix}
2912 %{_prefix}/bin/gc-analyze%{binsuffix}
2913 %{_prefix}/bin/aot-compile%{binsuffix}
2914 %{_prefix}/bin/rebuild-gcj-db%{binsuffix}
2916 %{libsubdir}/jvgenmain
2917 %{libsubdir}/ecj.jar
2919 %doc %{_mandir}/man1/gcj%{binsuffix}.1.gz
2920 %doc %{_mandir}/man1/gcjh%{binsuffix}.1.gz
2921 %doc %{_mandir}/man1/gcj-dbtool%{binsuffix}.1.gz
2922 %doc %{_mandir}/man1/jcf-dump%{binsuffix}.1.gz
2923 %doc %{_mandir}/man1/jv-convert%{binsuffix}.1.gz
2924 %doc %{_mandir}/man1/gc-analyze%{binsuffix}.1.gz
2925 %doc %{_mandir}/man1/aot-compile%{binsuffix}.1.gz
2926 %doc %{_mandir}/man1/rebuild-gcj-db%{binsuffix}.1.gz
2931 %if %{build_libjava}
2933 %defattr(-,root,root)
2934 %dir %{libsubdir}/gcj-%{gcc_dir_version}-%{libgcj_sover}
2936 %dir %{_libdir}/gcc/%{GCCDIST}
2938 %{libsubdir}/gcj-%{gcc_dir_version}-%{libgcj_sover}/classmap.db
2939 # We usually do not multilib libjava
2940 %if %{biarch_libjava}
2941 %versbiarchlib libgcj.la
2942 %biarchlib libgcj.so.*
2943 %biarchlib libgij.so.*
2944 %biarchlib libgcj-tools.so.*
2946 %versmainlib libgcj.la
2947 %mainlib libgcj.so.*
2948 %mainlib libgij.so.*
2949 %mainlib libgcj-tools.so.*
2951 %{libsubdir}/gcj-%{gcc_dir_version}-%{libgcj_sover}/libjvm.la
2952 %{libsubdir}/gcj-%{gcc_dir_version}-%{libgcj_sover}/libjvm.so
2953 %{libsubdir}/gcj-%{gcc_dir_version}-%{libgcj_sover}/libjavamath.la
2954 %{libsubdir}/gcj-%{gcc_dir_version}-%{libgcj_sover}/libjavamath.so
2956 %files -n libgcj_bc%{libgcj_bc_sover}%{libgcj_bc_suffix}
2957 %defattr(-,root,root)
2958 %if %{biarch_libjava}
2959 %biarchlib libgcj_bc.so.%{libgcj_bc_sover}*
2961 %mainlib libgcj_bc.so.%{libgcj_bc_sover}*
2964 %files -n libgcj49-jar
2965 %defattr(-,root,root)
2966 %{_prefix}/share/java/libgcj-%{gcc_dir_version}.jar
2967 %{_prefix}/share/java/libgcj-tools-%{gcc_dir_version}.jar
2969 %files -n libgcj49-devel
2970 %defattr(-,root,root)
2971 %dir %{_prefix}/include/c++
2973 %dir %{libsubdir}/include
2975 %{_libdir}/pkgconfig/libgcj%{binsuffix}.pc
2976 %{libsubdir}/include/jawt.h
2977 %{libsubdir}/include/jawt_md.h
2978 %{libsubdir}/include/jni.h
2979 %{libsubdir}/include/jni_md.h
2980 %{libsubdir}/include/jvmpi.h
2987 %{libsubdir}/include/gcj
2988 %if %{biarch_libjava}
2989 %versbiarchlib libgcj.so
2990 %versbiarchlib libgcj.spec
2991 %versbiarchlib libgcj-tools.so
2992 %versbiarchlib libgij.so
2993 %versbiarchlib libgcj_bc.so
2995 %versmainlib libgcj.so
2996 %versmainlib libgcj.spec
2997 %versmainlib libgcj-tools.so
2998 %versmainlib libgij.so
2999 %versmainlib libgcj_bc.so
3003 %defattr(-,root,root)
3004 %{_prefix}/bin/gij%{binsuffix}
3005 %{_prefix}/bin/gappletviewer%{binsuffix}
3006 %{_prefix}/bin/gjar%{binsuffix}
3007 %{_prefix}/bin/gjarsigner%{binsuffix}
3008 %{_prefix}/bin/gjavah%{binsuffix}
3009 %{_prefix}/bin/gkeytool%{binsuffix}
3010 %{_prefix}/bin/gnative2ascii%{binsuffix}
3011 %{_prefix}/bin/gorbd%{binsuffix}
3012 %{_prefix}/bin/grmic%{binsuffix}
3013 %{_prefix}/bin/grmid%{binsuffix}
3014 %{_prefix}/bin/grmiregistry%{binsuffix}
3015 %{_prefix}/bin/gserialver%{binsuffix}
3016 %{_prefix}/bin/gtnameserv%{binsuffix}
3017 %doc %{_mandir}/man1/gij%{binsuffix}.1.gz
3018 %doc %{_mandir}/man1/gappletviewer%{binsuffix}.1.gz
3019 %doc %{_mandir}/man1/grmic%{binsuffix}.1.gz
3020 %doc %{_mandir}/man1/grmid%{binsuffix}.1.gz
3021 %doc %{_mandir}/man1/grmiregistry%{binsuffix}.1.gz
3022 %doc %{_mandir}/man1/gkeytool%{binsuffix}.1.gz
3023 %doc %{_mandir}/man1/gjar%{binsuffix}.1.gz
3024 %doc %{_mandir}/man1/gjarsigner%{binsuffix}.1.gz
3025 %doc %{_mandir}/man1/gjavah%{binsuffix}.1.gz
3026 %doc %{_mandir}/man1/gnative2ascii%{binsuffix}.1.gz
3027 %doc %{_mandir}/man1/gorbd%{binsuffix}.1.gz
3028 %doc %{_mandir}/man1/gserialver%{binsuffix}.1.gz
3029 %doc %{_mandir}/man1/gtnameserv%{binsuffix}.1.gz
3033 %if 0%{?building_libjava:1}
3034 %files -n libstdc++49-doc
3035 %defattr(-,root,root)
3036 %doc libstdc++-v3/doc/html
3040 %if 0%{?building_libffi:1}
3041 %files -n libffi%{libffi_sover}%{libffi_suffix}
3042 %defattr(-,root,root)
3043 %mainlib libffi.so.%{libffi_sover}*
3045 %if %{separate_biarch}
3046 %files -n libffi%{libffi_sover}%{libffi_suffix}%{separate_biarch_suffix}
3047 %defattr(-,root,root)
3048 %biarchlib libffi.so.%{libffi_sover}*
3051 %post -n libffi49-devel
3052 %install_info --info-dir=%{_infodir} %{_infodir}/libffi%{binsuffix}.info.gz
3053 %postun -n libffi49-devel
3054 %install_info_delete --info-dir=%{_infodir} %{_infodir}/libffi%{binsuffix}.info.gz
3056 %files -n libffi49-devel
3057 %defattr(-,root,root)
3058 %{_prefix}/include/ffi.h
3059 %{_prefix}/include/ffitarget.h
3062 %{_libdir}/pkgconfig/libffi.pc
3063 %doc %{_infodir}/libffi%{binsuffix}.info.gz
3064 %doc %{_mandir}/man3/ffi%{binsuffix}.3.gz
3065 %doc %{_mandir}/man3/ffi_call%{binsuffix}.3.gz
3066 %doc %{_mandir}/man3/ffi_prep_cif%{binsuffix}.3.gz
3067 %doc %{_mandir}/man3/ffi_prep_cif_var%{binsuffix}.3.gz
3069 %if %{separate_biarch}
3070 %files -n libffi49-devel%{separate_biarch_suffix}
3071 %defattr(-,root,root)
3072 %biarchlib libffi.so
3080 %{_prefix}/bin/gccgo%{binsuffix}
3082 %versmainlib libgo.a
3083 %versmainlib libgo.so
3084 %versmainlib libgobegin.a
3086 %dir %mainlibdir/go/%{gcc_dir_version}
3087 %mainlibdir/go/%{gcc_dir_version}/%{GCCDIST}
3088 %doc %{_mandir}/man1/gccgo%{binsuffix}.1.gz
3090 %if %{separate_biarch}
3091 %files go%{separate_biarch_suffix}
3092 %versbiarchlib libgo.a
3093 %versbiarchlib libgo.so
3094 %versbiarchlib libgobegin.a
3095 %dir %mainlibdirbi/go
3096 %dir %mainlibdirbi/go/%{gcc_dir_version}
3097 %mainlibdirbi/go/%{gcc_dir_version}/%{GCCDIST}
3100 %files -n libgo%{libgo_sover}%{libgo_suffix}
3101 %defattr(-,root,root)
3102 %mainlib libgo.so.%{libgo_sover}*
3104 %if %{separate_biarch}
3105 %files -n libgo%{libgo_sover}%{libgo_suffix}%{separate_biarch_suffix}
3106 %defattr(-,root,root)
3107 %biarchlib libgo.so.%{libgo_sover}*
3111 %if 0%{?run_tests:1}
3112 %files -n gcc49-testresults
3113 %defattr(-,root,root)
3114 %doc testresults/test_summary.txt
3115 %doc testresults/*.sum
3116 %doc testresults/*.log