@end direntry
This file documents the use and the internals of
the GNU Fortran compiler, (@command{gfortran}).
---- gcc-4.9.2/gcc/java/gcj.texi.orig 2014-01-02 22:25:41.000000000 +0100
-+++ gcc-4.9.2/gcc/java/gcj.texi 2015-01-13 20:25:09.094821767 +0100
-@@ -53,29 +53,21 @@
-
- @ifinfo
- @format
--@dircategory Software development
-+@dircategory Programming Languages:
- @direntry
--* Gcj: (gcj). Ahead-of-time compiler for the Java language
-+* Gcj: (gcj). Ahead-of-time compiler for the Java language
- @end direntry
-
--@dircategory Individual utilities
-+@dircategory Programming tools:
- @direntry
--* jcf-dump: (gcj)Invoking jcf-dump.
-- Print information about Java class files
--* gij: (gcj)Invoking gij. GNU interpreter for Java bytecode
--* gcj-dbtool: (gcj)Invoking gcj-dbtool.
-- Tool for manipulating class file databases.
--* jv-convert: (gcj)Invoking jv-convert.
-- Convert file from one encoding to another
--* grmic: (gcj)Invoking grmic.
-- Generate stubs for Remote Method Invocation.
--* gc-analyze: (gcj)Invoking gc-analyze.
-- Analyze Garbage Collector (GC) memory dumps.
--* aot-compile: (gcj)Invoking aot-compile.
-- Compile bytecode to native and generate databases.
--* rebuild-gcj-db: (gcj)Invoking rebuild-gcj-db.
-- Merge the per-solib databases made by aot-compile
-- into one system-wide database.
-+* jcf-dump: (gcj)jcf-dump. Print information about Java class files
-+* gij: (gcj)gij. GNU interpreter for Java bytecode
-+* jv-convert: (gcj)jv-convert. Convert file from one encoding to another
-+* gcj-dbtool: (gcj)gcj-dbtool. Db tool
-+* grmic: (gcj)grmic. Generate stubs for Remote Method Invocation
-+* gc-analyze: (gcj)gc-analyze. Analyze Garbage Collector (GC) memory dumps
-+* aot-compile: (gcj)aot-compile. Compile bytecode to native and generate databases
-+* rebuild-gcj-db: (gcj)rebuild-gcj-db. Merge the per-solib databases made by aot-compile into one system-wide database
- @end direntry
- @end format
-
-@@ -108,33 +100,31 @@
- @file{.class} files.
-
- @menu
--* Copying:: The GNU General Public License
-+* Copying:: The GNU General Public License
- * GNU Free Documentation License::
-- How you can share and copy this manual
--* Invoking gcj:: Compiler options supported by @command{gcj}
--* Compatibility:: Compatibility between gcj and other tools for Java
--* Invoking jcf-dump:: Print information about class files
--* Invoking gij:: Interpreting Java bytecodes
--* Invoking gcj-dbtool:: Tool for manipulating class file databases.
--* Invoking jv-convert:: Converting from one encoding to another
--* Invoking grmic:: Generate stubs for Remote Method Invocation.
--* Invoking gc-analyze:: Analyze Garbage Collector (GC) memory dumps.
--* Invoking aot-compile:: Compile bytecode to native and generate databases.
--* Invoking rebuild-gcj-db:: Merge the per-solib databases made by aot-compile
-- into one system-wide database.
--* About CNI:: Description of the Compiled Native Interface
--* System properties:: Modifying runtime behavior of the libgcj library
--* Resources:: Where to look for more information
--* Index:: Index.
-+ How you can share and copy this manual
-+* gcj:: Compiler options supported by @command{gcj}
-+* Compatibility:: Compatibility between gcj and other tools for Java
-+* jcf-dump:: Print information about class files
-+* gij:: Interpreting Java bytecodes
-+* gcj-dbtool:: Tool for manipulating class file databases.
-+* jv-convert:: Converting from one encoding to another
-+* grmic:: Generate stubs for Remote Method Invocation.
-+* gc-analyze:: Analyze Garbage Collector (GC) memory dumps.
-+* aot-compile:: Compile bytecode to native and generate databases.
-+* rebuild-gcj-db:: Merge the per-solib databases made by aot-compile into one system-wide database.
-+* About CNI:: Description of the Compiled Native Interface
-+* System properties:: Modifying runtime behavior of the libgcj library
-+* Resources:: Where to look for more information
-+* Index:: Index.
- @end menu
-
--
- @include gpl_v3.texi
-
- @include fdl.texi
-
-
--@node Invoking gcj
-+@node gcj
- @chapter Invoking gcj
-
- @c man title gcj Ahead-of-time compiler for the Java language
-@@ -685,8 +675,8 @@
- @code{-findirect-dispatch} then add them to the system-wide
- classmap.db file using @code{gcj-dbtool}, they will be automatically
- loaded by the @code{libgcj} system classloader. This is the new,
--preferred classname-to-library resolution mechanism. @xref{Invoking
--gcj-dbtool}, for more information on using the classmap database.
-+preferred classname-to-library resolution mechanism. @xref{gcj-dbtool},
-+for more information on using the classmap database.
-
- @item
- The old classname-to-library lookup mechanism is still supported
-@@ -733,7 +723,7 @@
- @end itemize
-
-
--@node Invoking jcf-dump
-+@node jcf-dump
- @chapter Invoking jcf-dump
-
- @c man title jcf-dump print information about Java class files
-@@ -793,7 +783,7 @@
-
- @c man end
-
--@node Invoking gij
-+@node gij
- @chapter Invoking gij
-
- @c man title gij GNU interpreter for Java bytecode
-@@ -922,7 +912,7 @@
-
- @c man end
-
--@node Invoking gcj-dbtool
-+@node gcj-dbtool
- @chapter Invoking gcj-dbtool.
-
- @c man title gcj-dbtool Manipulate class file mapping databases for libgcj
-@@ -1013,7 +1003,7 @@
-
- @c man end
-
--@node Invoking jv-convert
-+@node jv-convert
- @chapter Invoking jv-convert
-
- @c man title jv-convert Convert file from one encoding to another
-@@ -1072,7 +1062,7 @@
-
- @c man end
-
--@node Invoking grmic
-+@node grmic
- @chapter Invoking grmic
-
- @c man title grmic Generate stubs for Remote Method Invocation
-@@ -1151,7 +1141,7 @@
- @c man end
-
-
--@node Invoking gc-analyze
-+@node gc-analyze
- @chapter Invoking gc-analyze
-
- @c man title gc-analyze Analyze Garbage Collector (GC) memory dumps
-@@ -1234,7 +1224,7 @@
-
- @c man end
-
--@node Invoking aot-compile
-+@node aot-compile
- @chapter Invoking aot-compile
-
- @c man title aot-compile Compile bytecode to native and generate databases
-@@ -1292,7 +1282,7 @@
-
- @c man end
-
--@node Invoking rebuild-gcj-db
-+@node rebuild-gcj-db
- @chapter Invoking rebuild-gcj-db
-
- @c man title rebuild-gcj-db Merge the per-solib databases made by aot-compile into one system-wide database.
--- a/gcc/ada/gnat_rm.texi 2005-11-30 12:12:06.000000000 +0100
+++ b/gcc/ada/gnat_rm.texi 2005-12-11 02:36:14.863426736 +0100
@@ -26,7 +26,7 @@
@end direntry
@end format
---- gcc-4.8.2/libjava/classpath/doc/cp-tools.texinfo.orig 2013-02-21 10:40:44.000000000 +0100
-+++ gcc-4.8.2/libjava/classpath/doc/cp-tools.texinfo 2014-04-21 08:05:30.116078643 +0200
-@@ -35,9 +35,9 @@
- @ifnotplaintext
- @setchapternewpage on
-
--@dircategory GNU Libraries
-+@dircategory Libraries:
- @direntry
--* Classpath Tools: (cp-tools). GNU Classpath Tools Guide
-+* Classpath Tools: (cp-tools). GNU Classpath Tools Guide
- @end direntry
- @end ifnotplaintext
- @end ifinfo
--- gcc-4.8.2/libgomp/libgomp.texi.orig 2013-01-14 19:18:49.000000000 +0100
+++ gcc-4.8.2/libgomp/libgomp.texi 2014-04-21 08:06:10.259411139 +0200
@@ -29,9 +29,9 @@
@end direntry
@titlepage
---- gcc-4.9.2/libjava/classpath/doc/cp-hacking.texinfo.orig 2010-10-12 17:55:12.000000000 +0200
-+++ gcc-4.9.2/libjava/classpath/doc/cp-hacking.texinfo 2015-01-13 20:20:39.751499738 +0100
-@@ -14,9 +14,9 @@
- Copyright (C) 1998,1999,2000,2001,2002,2003,2004,2005,2007,2009 Free Software Foundation, Inc.
-
- @ifnotplaintext
--@dircategory GNU Libraries
-+@dircategory Libraries:
- @direntry
--* Classpath Hacking: (cp-hacking). GNU Classpath Hacker's Guide
-+* Classpath Hacking: (cp-hacking). GNU Classpath Hacker's Guide
- @end direntry
- @end ifnotplaintext
- @end ifinfo
---- gcc-4.9.2/libjava/classpath/doc/cp-vmintegration.texinfo.orig 2008-06-28 15:29:13.000000000 +0200
-+++ gcc-4.9.2/libjava/classpath/doc/cp-vmintegration.texinfo 2015-01-13 20:21:24.928164508 +0100
-@@ -15,9 +15,9 @@
- Copyright (C) 1998-2002, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
-
- @ifnotplaintext
--@dircategory GNU Libraries
-+@dircategory Libraries:
- @direntry
--* VM Integration: (cp-vmintegration). GNU Classpath VM Integration Guide
-+* VM Integration: (cp-vmintegration). GNU Classpath VM Integration Guide
- @end direntry
- @end ifnotplaintext
- @end ifinfo
--- gcc-4.9.2/libiberty/libiberty.texi.orig 2015-01-13 20:22:23.151495398 +0100
+++ gcc-4.9.2/libiberty/libiberty.texi 2015-01-13 20:22:25.921495282 +0100
@@ -11,10 +11,9 @@
# or having own Version, do not use epoch 6 there, reset them to 0!
#
# TODO:
-# - gconf peer? (BR: GConf2-devel >= 2.6.0) (but libgcj needs split anyway)
-# - gstreamer peer? (BR: gstreamer-devel, gstreamer-plugins-base-devel >= 0.10.10)
-# - restore qt peer?
-# - package?
-# /usr/bin/gjdoc [BR: antlr.jar] (but see gjdoc package, there are some additional jars?)
-# /usr/share/man/man1/gjdoc.1.gz
# - revise obsoletes for new libmpx packages!
#
# Conditional build:
%bcond_without cxx # build without C++ support
%bcond_without fortran # build without Fortran support
%bcond_without go # build without Go support
-%bcond_without java # build without Java support
%bcond_without objc # build without Objective-C support
%bcond_without objcxx # build without Objective-C++ support
# - features:
%bcond_without multilib # build without multilib support (which needs glibc[32&64]-devel)
%bcond_without multilibx32 # build with x32 multilib support on x86_64 (needs x32 glibc-devel)
%bcond_without profiling # build without profiling
-%bcond_without python # build without libstdc++ printers for gdb and aot-compile for java
+%bcond_without python # build without libstdc++ printers for gdb
%bcond_with gcc_libffi # packaging gcc libffi for system usage
- # note: libgcj and libgo always have convenience gcc libffi linked in
-# - libgcj options:
-%bcond_without alsa # don't build libgcj ALSA MIDI interface
-%bcond_without dssi # don't build libgcj DSSI MIDI interface
-%bcond_without gtk # don't build libgcj GTK peer
-%bcond_without apidocs # do not build and package API docs
-%bcond_with mozilla # build libgcjwebplugin (needs fix for new xulrunner)
-%bcond_with qt # build libgcj Qt peer (currently doesn't build with libtool-2.x)
-%bcond_without x # don't build libgcj Xlib-dependent AWTs (incl. GTK/Qt)
# - other:
%bcond_without bootstrap # omit 3-stage bootstrap
%bcond_with tests # torture gcc
%define cxx_sover 6
%endif
-# go, java and objcxx require C++
+# go and objcxx require C++
%if %{without cxx}
%undefine with_go
-%undefine with_java
%undefine with_objcxx
%endif
# objcxx requires objc
%undefine with_profiling
%endif
-%if %{without x}
-%undefine with_gtk
-%undefine with_qt
-%endif
-
%ifarch sparc64 x32
# used to be broken on sparc64 (to be verified if needed)
# broken since 5.x on x32 (to be verified if needed)
%define with_vtv 1
%endif
-%define major_ver 6
-%define minor_ver 4.0
+# Stable is: any major_ver and minor_ver >= 1.0
+# For PLD we usually use gcc when minor_ver >= 2.0 (first bugfix release or later)
+%define major_ver 7
+%define minor_ver 2.0
%define ecj_ver 4.9
# class data version seen with file(1) that this jvm is able to load
%define _classdataversion 50.0
License: GPL v3+
Group: Development/Languages
Source0: https://ftp.gnu.org/pub/gnu/gcc/gcc-%{version}/%{name}-%{version}.tar.xz
-# Source0-md5: 11ba51a0cfb8471927f387c8895fe232
+# Source0-md5: ff370482573133a7fcdd96cd2f552292
Source1: %{name}-optimize-la.pl
# check libffi version with libffi/configure.ac
Source3: libffi.pc.in
Source4: branch.sh
# use branch.sh to update glibc-branch.diff
Patch100: %{name}-branch.diff
-# Patch100-md5: 15e56f8d7ba9be17cd5d1595c5b3dde5
+# Patch100-md5: d7963ef23d8b759940dc91797b3f53d5
Patch0: %{name}-info.patch
Patch2: %{name}-nodebug.patch
Patch3: %{name}-ada-link.patch
Patch4: %{name}-ada-x32.patch
-Patch7: %{name}-libjava-multilib.patch
-Patch8: %{name}-enable-java-awt-qt.patch
Patch10: %{name}-moresparcs.patch
Patch11: %{name}-install-libffi.patch
URL: http://gcc.gnu.org/
BuildRequires: gmp-c++-devel >= 4.3.2
BuildRequires: gmp-devel >= 4.3.2
BuildRequires: isl-devel >= 0.15
-BuildRequires: java-ecj >= %{ecj_ver}
BuildRequires: libmpc-devel >= 0.8.1
BuildRequires: mpfr-devel >= 2.4.2
%if %{with python}
BuildRequires: rpmbuild(macros) >= 1.211
BuildRequires: texinfo >= 4.7
BuildRequires: zlib-devel
-%if %{with java}
-%{?with_alsa:BuildRequires: alsa-lib-devel}
-%if %{with dssi}
-BuildRequires: dssi-devel
-BuildRequires: jack-audio-connection-kit-devel
-%endif
-BuildRequires: libtool >= 2:2
-BuildRequires: libxml2-devel >= 1:2.6.8
-BuildRequires: libxslt-devel >= 1.1.11
-BuildRequires: perl-base
-BuildRequires: perl-tools-pod
-BuildRequires: pkgconfig
-BuildRequires: sed >= 4.0
-BuildRequires: unzip
-BuildRequires: zip
-%if %{with gtk}
-BuildRequires: cairo-devel >= 1.1.8
-BuildRequires: freetype-devel >= 2
-BuildRequires: gdk-pixbuf2-devel >= 2.0
-BuildRequires: gtk+2-devel >= 2:2.8
-BuildRequires: libart_lgpl-devel >= 2.1
-BuildRequires: pango-devel
-BuildRequires: xorg-lib-libXrandr-devel
-BuildRequires: xorg-lib-libXrender-devel
-BuildRequires: xorg-lib-libXt-devel
-BuildRequires: xorg-lib-libXtst-devel
-%endif
-%if %{with qt}
-BuildRequires: QtCore-devel >= 4.1.0
-BuildRequires: QtGui-devel >= 4.1.0
-BuildRequires: qt4-build >= 4.1.0
-%endif
-%{?with_mozilla:BuildRequires: xulrunner-devel >= 1.8.1.3-1.20070321.5}
-%endif
BuildConflicts: pdksh < 5.2.14-50
Requires: binutils >= 3:2.23
Requires: gmp >= 4.3.2
# receiving non constant format strings
%define Werror_cflags %{nil}
-%define skip_post_check_so '.*(libcc1plugin|libgo|libxmlj|lib-gnu-awt-xlib|libmpxwrappers)\.so.*'
+%define skip_post_check_so '.*(libcc1plugin|libcp1plugin|libgo|libxmlj|lib-gnu-awt-xlib|libmpxwrappers)\.so.*'
# private symbols
%define _noautoreq .*\(GLIBC_PRIVATE\)
%description -n libquadmath-multilib-%{multilib2}-static -l pl.UTF-8
Wersja %{m2_desc} biblioteki statycznej GCC do obsługi typu __float128.
-%package java
-Summary: Java language support for GCC
-Summary(es.UTF-8): Soporte de Java para GCC
-Summary(pl.UTF-8): Obsługa języka Java dla GCC
-Group: Development/Languages/Java
-Requires: %{name} = %{epoch}:%{version}-%{release}
-Requires: java-ecj >= %{ecj_ver}
-Requires: libgcj-devel = %{epoch}:%{version}-%{release}
-Provides: gcc-java-tools
-Provides: gcj = %{epoch}:%{version}-%{release}
-Obsoletes: gcc-java-tools
-Obsoletes: java-gnu-classpath-tools
-
-%description java
-This package adds experimental support for compiling Java(TM) programs
-and bytecode into native code. To use this you will also need the
-libgcj package.
-
-%description java -l es.UTF-8
-Este paquete añade soporte experimental para compilar programas
-Java(tm) y su bytecode en código nativo. Para usarlo también va a
-necesitar el paquete libgcj.
-
-%description java -l pl.UTF-8
-Ten pakiet dodaje możliwość kompilowania programów w języku Java(TM)
-oraz bajtkodu do kodu natywnego. Do używania go wymagany jest
-dodatkowo pakiet libgcj.
-
-%package java-aotcompile
-Summary: Java AOT-compiler - compiling bytecode to native
-Summary(pl.UTF-8): Kompilator AOT dla Javy - kompilacja bajtkodu do kodu natywnego
-License: GPL v2+
-Group: Development/Tools
-Requires: %{name}-java = %{epoch}:%{version}-%{release}
-
-%description java-aotcompile
-aot-compile is a script that searches a directory for Java bytecode
-(as class files, or in jars) and uses gcj to compile it to native code
-and generate the databases from it.
-
-%description java-aotcompile -l pl.UTF-8
-aot-compile to skrypt wyszukujący w katalogu bajtkod Javy (w plikach
-class lub jarach) i kompilujący go przy użyciu gcj, a następnie
-generujący z niego bazy danych.
-
-%package -n libgcj
-Summary: Java Class Libraries
-Summary(es.UTF-8): Bibliotecas de clases de Java
-Summary(pl.UTF-8): Biblioteki klas Javy
-License: GPL v2+ with limited linking exception
-Group: Libraries
-Requires: jpackage-utils
-Requires: libstdc++ = %{epoch}:%{version}-%{release}
-Requires: libxml2 >= 1:2.6.8
-Requires: libxslt >= 1.1.11
-%if %{with gtk}
-Requires: cairo >= 1.1.8
-Requires: gtk+2 >= 2:2.8
-Requires: libart_lgpl >= 2.1
-%endif
-%if %{with qt}
-Requires: QtCore >= 4.1.0
-Requires: QtGui >= 4.1.0
-%endif
-Provides: java(ClassDataVersion) = %{_classdataversion}
-Obsoletes: libgcj3
-
-%description -n libgcj
-Java Class Libraries.
-
-%description -n libgcj -l es.UTF-8
-Bibliotecas de clases de Java.
-
-%description -n libgcj -l pl.UTF-8
-Biblioteki klas Javy.
-
-%package -n libgcj-devel
-Summary: Development files for Java Class Libraries
-Summary(es.UTF-8): Ficheros de desarrollo para las bibliotecas de clases de Java
-Summary(pl.UTF-8): Pliki nagłówkowe bibliotek klas Javy
-License: GPL v2+ with limited linking exception
-Group: Development/Libraries
-Requires: libgcj = %{epoch}:%{version}-%{release}
-Requires: libstdc++-devel = %{epoch}:%{version}-%{release}
-Requires: zlib-devel
-Obsoletes: libgcj3-devel
-
-%description -n libgcj-devel
-Development files for Java Class Libraries.
-
-%description -n libgcj-devel -l es.UTF-8
-Ficheros de desarrollo para las bibliotecas de clases de Java.
-
-%description -n libgcj-devel -l pl.UTF-8
-Pliki nagłówkowe bibliotek klas Javy.
-
-%package -n libgcj-static
-Summary: Static Java Class Libraries
-Summary(es.UTF-8): Bibliotecas estáticas de clases de Java
-Summary(pl.UTF-8): Statyczne biblioteki klas Javy
-License: GPL v2+ with limited linking exception
-Group: Development/Libraries
-Requires: libgcj-devel = %{epoch}:%{version}-%{release}
-
-%description -n libgcj-static
-Static Java Class Libraries.
-
-%description -n libgcj-static -l es.UTF-8
-Bibliotecas estáticas de clases de Java.
-
-%description -n libgcj-static -l pl.UTF-8
-Statyczne biblioteki klas Javy.
-
%package -n libffi
Summary: Foreign Function Interface library
Summary(es.UTF-8): Biblioteca de interfaz de funciones ajenas
%patch3 -p1
%patch4 -p1
-%patch7 -p0
-%if %{with qt}
-%patch8 -p1
-%endif
%patch10 -p1
%if %{with gcc_libffi}
%patch11 -p0
cd gcc
#{__autoconf}
cd ..
-%if %{with qt}
-cd libjava/classpath
-%{__autoconf}
-cd ../..
-%endif
cp -f /usr/share/automake/config.sub .
rm -rf builddir && install -d builddir && cd builddir
-# http://www.mailinglistarchive.com/java%40gcc.gnu.org/msg02751.html
-export JAR=no
-
CC="%{__cc}" \
CFLAGS="%{rpmcflags}" \
CXXFLAGS="%{rpmcxxflags}" \
--enable-gnu-unique-object \
--enable-initfini-array \
--disable-isl-version-check \
- --enable-languages="c%{?with_cxx:,c++}%{?with_fortran:,fortran}%{?with_objc:,objc}%{?with_objcxx:,obj-c++}%{?with_ada:,ada}%{?with_java:,java}%{?with_go:,go}" \
+ --enable-languages="c%{?with_cxx:,c++}%{?with_fortran:,fortran}%{?with_objc:,objc}%{?with_objcxx:,obj-c++}%{?with_ada:,ada}%{?with_go:,go}" \
--%{?with_gomp:en}%{!?with_gomp:dis}able-libgomp \
--enable-libitm \
--enable-linker-build-id \
--with-cpu=ultrasparc \
%endif
--with-demangler-in-ld \
- --with-ecj-jar=%{_javadir}/ecj.jar \
--with-gnu-as \
--with-gnu-ld \
--with-linker-hash-style=gnu \
--with-system-libunwind \
%endif
--with-system-zlib \
- %{!?with_java:--without-x} \
+ --without-x \
%if %{with cxx}
--enable-__cxa_atexit \
--enable-libstdcxx-allocator=new \
--enable-symvers=gnu%{?with_symvers:-versioned-namespace} \
--with-gxx-include-dir=%{_includedir}/c++/%{version} \
%{?with_vtv:--enable-vtable-verify} \
-%endif
-%if %{with java}
- %{!?with_alsa:--disable-alsa} \
- %{!?with_dssi:--disable-dssi} \
- --disable-gconf-peer \
- %{?with_gtk:--enable-gtk-cairo} \
-%if %{with x}
- --enable-java-awt="xlib%{?with_gtk:,gtk}%{?with_qt:,qt}" \
-%endif
- --enable-jni \
- --enable-libgcj \
- --enable-libgcj-database \
- --enable-libgcj-multifile \
- --disable-libjava-multilib \
- %{?with_mozilla:--enable-plugin} \
- --enable-static-libjava \
- --enable-xmlj \
%endif
--with-pkgversion="PLD-Linux" \
--with-bugurl="http://bugs.pld-linux.org" \
ln -f $RPM_BUILD_ROOT%{_bindir}/sparc64-pld-linux-g++ \
$RPM_BUILD_ROOT%{_bindir}/sparc-pld-linux-g++
%endif
-%if %{with java}
-ln -f $RPM_BUILD_ROOT%{_bindir}/sparc64-pld-linux-gcj \
- $RPM_BUILD_ROOT%{_bindir}/sparc-pld-linux-gcj
-%endif
%endif
%endif
cd ..
-%if %{with java}
-install -d java-doc
-cp -f libjava/READ* java-doc
-ln -sf libgcj-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/libgcj.jar
-%endif
-
%if %{with gcc_libffi}
# still not installed by gcc?
[ ! -f $RPM_BUILD_ROOT%{_pkgconfigdir}/libffi.pc ] || exit 1
%{?with_lsan_m0:liblsan.la} \
%{?with_tsan_m0:libtsan.la} \
%{?with_atomic:libatomic.la} \
-%if %{with java}
- %{?with_gcc_libffi:libffi.la} \
- libgcj.la libgcj-tools.la libgij.la \
- %{gcjdbexecdir}/libjvm.la \
- %{gcjdbexecdir}/libxmlj.la \
- %{?with_x:lib-gnu-awt-xlib.la} \
- %{?with_gtk:%{gcjdbexecdir}/libgtkpeer.la %{gcjdbexecdir}/libjawt.la} \
- %{?with_qt:%{gcjdbexecdir}/libqtpeer.la} \
- %{?with_alsa:%{gcjdbexecdir}/libgjsmalsa.la} \
- %{?with_dssi:%{gcjdbexecdir}/libgjsmdssi.la} \
-%endif
%{?with_objc:libobjc.la};
do
file="$RPM_BUILD_ROOT%{_libdir}/$f"
%{?with_lsan_m1:liblsan.la} \
%{?with_tsan_m1:libtsan.la} \
%{?with_atomic:libatomic.la} \
- %{?with_java:%{?with_gcc_libffi:libffi.la}} \
%{?with_objc:libobjc.la};
do
%{__perl} %{SOURCE1} $RPM_BUILD_ROOT%{_libdir32}/$f %{_libdir32} > $RPM_BUILD_ROOT%{_libdir32}/$f.fixed
%{?with_lsan_m2:liblsan.la} \
%{?with_tsan_m2:libtsan.la} \
%{?with_atomic:libatomic.la} \
- %{?with_java:%{?with_gcc_libffi:libffi.la}} \
%{?with_objc:libobjc.la};
do
%{__perl} %{SOURCE1} $RPM_BUILD_ROOT%{_libdirm2}/$f %{_libdirm2} > $RPM_BUILD_ROOT%{_libdirm2}/$f.fixed
done
install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
%{__mv} $RPM_BUILD_ROOT%{_datadir}/gcc-%{version}/python/libstdcxx $RPM_BUILD_ROOT%{py_sitescriptdir}
-%if %{with java}
-%{__mv} $RPM_BUILD_ROOT%{_datadir}/gcc-%{version}/python/libjava $RPM_BUILD_ROOT%{py_sitescriptdir}
-%{__sed} -i -e '1s,#!/usr/bin/env python,#!/usr/bin/python,' $RPM_BUILD_ROOT%{_bindir}/aot-compile
-%endif
%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
%py_postclean
%else
%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/gcc-%{version}/python/libstdcxx
-%if %{with java}
-%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/gcc-%{version}/python/libjava
-%endif
%endif
# script(s) always installed; see above for builds with python; if no python, just don't package
%{__rm} $RPM_BUILD_ROOT%{_libdir}/libstdc++.so.*-gdb.py
%postun fortran -p /sbin/postshell
-/usr/sbin/fix-info-dir -c %{_infodir}
-%post java -p /sbin/postshell
--/usr/sbin/fix-info-dir -c %{_infodir}
-
-%postun java -p /sbin/postshell
--/usr/sbin/fix-info-dir -c %{_infodir}
-
%post go -p /sbin/postshell
-/usr/sbin/fix-info-dir -c %{_infodir}
%postun -p /sbin/ldconfig -n libgfortran-multilib-32
%post -p /sbin/ldconfig -n libgfortran-multilib-%{multilib2}
%postun -p /sbin/ldconfig -n libgfortran-multilib-%{multilib2}
-%post -p /sbin/ldconfig -n libgcj
-%postun -p /sbin/ldconfig -n libgcj
%post -p /sbin/ldconfig -n libffi
%postun -p /sbin/ldconfig -n libffi
%post -p /sbin/ldconfig -n libffi-multilib-32
%attr(755,root,root) %{_bindir}/gcc-ranlib
#%attr(755,root,root) %{_bindir}/gccbug
%attr(755,root,root) %{_bindir}/gcov
+%attr(755,root,root) %{_bindir}/gcov-dump
%attr(755,root,root) %{_bindir}/gcov-tool
%{_mandir}/man1/cc.1*
%{_mandir}/man1/cpp.1*
%{_mandir}/man1/gcc.1*
%{_mandir}/man1/gcov.1*
+%{_mandir}/man1/gcov-dump.1*
+%{_mandir}/man1/gcov-tool.1*
%{_infodir}/cpp.info*
%{_infodir}/cppinternals.info*
%{_infodir}/gcc.info*
%dir %{gcclibdir}/include/ssp
%{gcclibdir}/include/ssp/*.h
%{gcclibdir}/include/float.h
+%{gcclibdir}/include/gcov.h
%{gcclibdir}/include/iso646.h
%{gcclibdir}/include/limits.h
%{gcclibdir}/include/stdalign.h
%{gcclibdir}/include/adxintrin.h
%{gcclibdir}/include/ammintrin.h
%{gcclibdir}/include/avx2intrin.h
+%{gcclibdir}/include/avx5124fmapsintrin.h
+%{gcclibdir}/include/avx5124vnniwintrin.h
+%{gcclibdir}/include/avx512vpopcntdqintrin.h
%{gcclibdir}/include/avx512bwintrin.h
%{gcclibdir}/include/avx512cdintrin.h
%{gcclibdir}/include/avx512dqintrin.h
%{gcclibdir}/include/prfchwintrin.h
%{gcclibdir}/include/rdseedintrin.h
%{gcclibdir}/include/rtmintrin.h
+%{gcclibdir}/include/sgxintrin.h
%{gcclibdir}/include/shaintrin.h
%{gcclibdir}/include/smmintrin.h
%{gcclibdir}/include/tbmintrin.h
%defattr(644,root,root,755)
%doc gcc/ada/ChangeLog
%attr(755,root,root) %{_bindir}/gnat*
-%if %{with java}
-%exclude %{_bindir}/gnative2ascii
-%endif
%attr(755,root,root) %{_libdir}/libgnarl-*.so
%attr(755,root,root) %{_libdir}/libgnarl.so
%attr(755,root,root) %{_libdir}/libgnat-*.so
%{gcclibdir}/adalib/*.ali
%ifarch %{ix86} %{x8664} x32
%{gcclibdir}/adalib/libgmem.a
+%{gcclibdir}/adalib/libgnarl_pic.a
+%{gcclibdir}/adalib/libgnat_pic.a
%endif
%{_infodir}/gnat-style.info*
%{_infodir}/gnat_rm.info*
%{_includedir}/extc++.h
%{_includedir}/stdc++.h
%{_includedir}/stdtr1c++.h
-%if %{with java}
-%exclude %{_includedir}/c++/%{version}/java
-%exclude %{_includedir}/c++/%{version}/javax
-%exclude %{_includedir}/c++/%{version}/gcj
-%exclude %{_includedir}/c++/%{version}/gnu
-%exclude %{_includedir}/c++/%{version}/org
-%exclude %{_includedir}/c++/%{version}/sun
-%endif
%files -n libstdc++-static
%defattr(644,root,root,755)
%defattr(644,root,root,755)
%doc libgfortran/{AUTHORS,README,ChangeLog}
%attr(755,root,root) %{_libdir}/libgfortran.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libgfortran.so.3
+%attr(755,root,root) %ghost %{_libdir}/libgfortran.so.4
%files -n libgfortran-static
%defattr(644,root,root,755)
%files -n libgfortran-multilib-32
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir32}/libgfortran.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir32}/libgfortran.so.3
+%attr(755,root,root) %ghost %{_libdir32}/libgfortran.so.4
%files -n libgfortran-multilib-32-static
%defattr(644,root,root,755)
%files -n libgfortran-multilib-%{multilib2}
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdirm2}/libgfortran.so.*.*.*
-%attr(755,root,root) %ghost %{_libdirm2}/libgfortran.so.3
+%attr(755,root,root) %ghost %{_libdirm2}/libgfortran.so.4
%files -n libgfortran-multilib-%{multilib2}-static
%defattr(644,root,root,755)
%endif
%endif
-%if %{with java}
-%files java
-%defattr(644,root,root,755)
-%doc gcc/java/ChangeLog java-doc/*
-%attr(755,root,root) %{_bindir}/gappletviewer
-%attr(755,root,root) %{_bindir}/gc-analyze
-%attr(755,root,root) %{_bindir}/gcj
-%attr(755,root,root) %{_bindir}/gcj-dbtool
-%attr(755,root,root) %{_bindir}/gcjh
-%attr(755,root,root) %{_bindir}/gjar
-%attr(755,root,root) %{_bindir}/gjarsigner
-%attr(755,root,root) %{_bindir}/gjavah
-%attr(755,root,root) %{_bindir}/gkeytool
-%attr(755,root,root) %{_bindir}/gnative2ascii
-%attr(755,root,root) %{_bindir}/gorbd
-%attr(755,root,root) %{_bindir}/grmic
-%attr(755,root,root) %{_bindir}/grmid
-%attr(755,root,root) %{_bindir}/grmiregistry
-%attr(755,root,root) %{_bindir}/gserialver
-%attr(755,root,root) %{_bindir}/gtnameserv
-%attr(755,root,root) %{_bindir}/jcf-dump
-%attr(755,root,root) %{_bindir}/jv-convert
-%attr(755,root,root) %{_bindir}/rebuild-gcj-db
-%attr(755,root,root) %{_bindir}/*-gcj
-%attr(755,root,root) %{gcclibdir}/ecj1
-%attr(755,root,root) %{gcclibdir}/jc1
-%attr(755,root,root) %{gcclibdir}/jvgenmain
-%{_infodir}/cp-tools.info*
-%{_infodir}/gcj.info*
-%{_mandir}/man1/gappletviewer.1*
-%{_mandir}/man1/gc-analyze.1*
-%{_mandir}/man1/gcj.1*
-%{_mandir}/man1/gcj-dbtool.1*
-%{_mandir}/man1/gcjh.1*
-%{_mandir}/man1/gjar.1*
-%{_mandir}/man1/gjarsigner.1*
-%{_mandir}/man1/gjavah.1*
-%{_mandir}/man1/gkeytool.1*
-%{_mandir}/man1/gnative2ascii.1*
-%{_mandir}/man1/gorbd.1*
-%{_mandir}/man1/grmic.1*
-%{_mandir}/man1/grmid.1*
-%{_mandir}/man1/grmiregistry.1*
-%{_mandir}/man1/gserialver.1*
-%{_mandir}/man1/gtnameserv.1*
-%{_mandir}/man1/jcf-dump.1*
-%{_mandir}/man1/jv-convert.1*
-%{_mandir}/man1/rebuild-gcj-db*
-
-%if %{with python}
-%files java-aotcompile
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/aot-compile
-%dir %{py_sitescriptdir}/libjava
-%{py_sitescriptdir}/libjava/*.py[co]
-%{_mandir}/man1/aot-compile.1*
-%endif
-
-%files -n libgcj
-%defattr(644,root,root,755)
-%doc libjava/{ChangeLog,LIBGCJ_LICENSE,NEWS,README,THANKS}
-%attr(755,root,root) %{_bindir}/gij
-%attr(755,root,root) %{_libdir}/libgcj-tools.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libgcj-tools.so.%{gcj_soname_ver}
-%attr(755,root,root) %{_libdir}/libgcj.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libgcj.so.%{gcj_soname_ver}
-%attr(755,root,root) %{_libdir}/libgcj_bc.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libgcj_bc.so.1
-%attr(755,root,root) %{_libdir}/libgcj_bc.so
-%attr(755,root,root) %{_libdir}/libgij.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libgij.so.%{gcj_soname_ver}
-%{?with_x:%attr(755,root,root) %{_libdir}/lib-gnu-awt-xlib.so.*.*.*}
-%{?with_x:%attr(755,root,root) %ghost %{_libdir}/lib-gnu-awt-xlib.so.%{gcj_soname_ver}}
-%dir %{_libdir}/%{gcjdbexecdir}
-%{_libdir}/%{gcjdbexecdir}/classmap.db
-%{?with_mozilla:%attr(755,root,root) %{_libdir}/%{gcjdbexecdir}/libgcjwebplugin.so}
-%{?with_alsa:%attr(755,root,root) %{_libdir}/%{gcjdbexecdir}/libgjsmalsa.so*}
-%{?with_dssi:%attr(755,root,root) %{_libdir}/%{gcjdbexecdir}/libgjsmdssi.so*}
-%{?with_gtk:%attr(755,root,root) %{_libdir}/%{gcjdbexecdir}/libgtkpeer.so}
-%{?with_gtk:%attr(755,root,root) %{_libdir}/%{gcjdbexecdir}/libjawt.so}
-%attr(755,root,root) %{_libdir}/%{gcjdbexecdir}/libjavamath.so
-%attr(755,root,root) %{_libdir}/%{gcjdbexecdir}/libjvm.so
-%{?with_qt:%attr(755,root,root) %{_libdir}/%{gcjdbexecdir}/libqtpeer.so}
-%attr(755,root,root) %{_libdir}/%{gcjdbexecdir}/libxmlj.so*
-%{_libdir}/logging.properties
-%{_javadir}/libgcj*.jar
-%{_mandir}/man1/gij.1*
-
-%files -n libgcj-devel
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libgcj-tools.so
-%{_libdir}/libgcj-tools.la
-%attr(755,root,root) %{_libdir}/libgcj.so
-%{_libdir}/libgcj.la
-%attr(755,root,root) %{_libdir}/libgij.so
-%{_libdir}/libgij.la
-%if %{with x}
-%attr(755,root,root) %{_libdir}/lib-gnu-awt-xlib.so
-%{_libdir}/lib-gnu-awt-xlib.la
-%endif
-%{_libdir}/libgcj.spec
-%dir %{_libdir}/security
-%{_libdir}/security/*
-%{?with_alsa:%{_libdir}/%{gcjdbexecdir}/libgjsmalsa.la}
-%{?with_dssi:%{_libdir}/%{gcjdbexecdir}/libgjsmdssi.la}
-%{?with_gtk:%{_libdir}/%{gcjdbexecdir}/libgtkpeer.la}
-%{?with_gtk:%{_libdir}/%{gcjdbexecdir}/libjawt.la}
-%{_libdir}/%{gcjdbexecdir}/libjavamath.la
-%{_libdir}/%{gcjdbexecdir}/libjvm.la
-%{?with_qt:%{_libdir}/%{gcjdbexecdir}/libqtpeer.la}
-%{?with_mozilla:%{_libdir}/%{gcjdbexecdir}/libgcjwebplugin.la}
-%{_libdir}/%{gcjdbexecdir}/libxmlj.la
-%{gcclibdir}/include/gcj
-%{gcclibdir}/include/jawt.h
-%{gcclibdir}/include/jawt_md.h
-%{gcclibdir}/include/jni.h
-%{gcclibdir}/include/jni_md.h
-%{gcclibdir}/include/jvmpi.h
-%{_includedir}/c++/%{version}/java
-%{_includedir}/c++/%{version}/javax
-%{_includedir}/c++/%{version}/gcj
-%{_includedir}/c++/%{version}/gnu
-%{_includedir}/c++/%{version}/org
-%{_includedir}/c++/%{version}/sun
-%{_pkgconfigdir}/libgcj-%{major_ver}.pc
-
-%files -n libgcj-static
-%defattr(644,root,root,755)
-%{_libdir}/libgcj-tools.a
-%{_libdir}/libgcj.a
-%{_libdir}/libgcj_bc.a
-%{_libdir}/libgij.a
-%{?with_x:%{_libdir}/lib-gnu-awt-xlib.a}
-%{_libdir}/%{gcjdbexecdir}/libjvm.a
-%endif
-
%if %{with gcc_libffi}
%files -n libffi
%defattr(644,root,root,755)
-%doc libffi/{ChangeLog,ChangeLog.libgcj,LICENSE,README}
+%doc libffi/{ChangeLog,LICENSE,README}
%attr(755,root,root) %{_libdir}/libffi.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libffi.so.4
%defattr(644,root,root,755)
%doc libgo/{LICENSE,PATENTS,README}
%attr(755,root,root) %{_libdir}/libgo.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libgo.so.9
+%attr(755,root,root) %ghost %{_libdir}/libgo.so.11
%files -n libgo-devel
%defattr(644,root,root,755)
%{_libdir}/libgo.la
%{_libdir}/libgobegin.a
%{_libdir}/libgolibbegin.a
-%{_libdir}/libnetgo.a
%files -n libgo-static
%defattr(644,root,root,755)
%files -n libgo-multilib-32
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir32}/libgo.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir32}/libgo.so.9
+%attr(755,root,root) %ghost %{_libdir32}/libgo.so.11
%files -n libgo-multilib-32-devel
%defattr(644,root,root,755)
%{_libdir32}/libgo.la
%{_libdir32}/libgobegin.a
%{_libdir32}/libgolibbegin.a
-%{_libdir32}/libnetgo.a
%files -n libgo-multilib-32-static
%defattr(644,root,root,755)
%files -n libgo-multilib-%{multilib2}
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdirm2}/libgo.so.*.*.*
-%attr(755,root,root) %ghost %{_libdirm2}/libgo.so.9
+%attr(755,root,root) %ghost %{_libdirm2}/libgo.so.11
%files -n libgo-multilib-%{multilib2}-devel
%defattr(644,root,root,755)
%{_libdirm2}/libgo.la
%{_libdirm2}/libgobegin.a
%{_libdirm2}/libgolibbegin.a
-%{_libdirm2}/libnetgo.a
%files -n libgo-multilib-%{multilib2}-static
%defattr(644,root,root,755)
%defattr(644,root,root,755)
%doc libsanitizer/ChangeLog* libsanitizer/LICENSE.TXT
%attr(755,root,root) %{_libdir}/libasan.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libasan.so.3
+%attr(755,root,root) %ghost %{_libdir}/libasan.so.4
%files -n libasan-devel
%defattr(644,root,root,755)
%files -n libasan-multilib-32
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir32}/libasan.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir32}/libasan.so.3
+%attr(755,root,root) %ghost %{_libdir32}/libasan.so.4
%files -n libasan-multilib-32-devel
%defattr(644,root,root,755)
%files -n libasan-multilib-%{multilib2}
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdirm2}/libasan.so.*.*.*
-%attr(755,root,root) %ghost %{_libdirm2}/libasan.so.3
+%attr(755,root,root) %ghost %{_libdirm2}/libasan.so.4
%files -n libasan-multilib-%{multilib2}-devel
%defattr(644,root,root,755)
%files -n libtsan-devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libtsan.so
+%{_libdir}/libtsan_preinit.o
%{_libdir}/libtsan.la
%files -n libtsan-static
%attr(755,root,root) %{_libdir}/libcc1.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libcc1.so.0
%attr(755,root,root) %{gcclibdir}/plugin/libcc1plugin.so.*
+%attr(755,root,root) %{gcclibdir}/plugin/libcp1plugin.so.*
%files plugin-devel
%defattr(644,root,root,755)
%{gcclibdir}/plugin/include
%attr(755,root,root) %{gcclibdir}/plugin/libcc1plugin.la
%attr(755,root,root) %{gcclibdir}/plugin/libcc1plugin.so
+%attr(755,root,root) %{gcclibdir}/plugin/libcp1plugin.la
+%attr(755,root,root) %{gcclibdir}/plugin/libcp1plugin.so