[521] | 1 | %define DATE 20050503 |
---|
| 2 | |
---|
| 3 | %define VERSION 3.3.6 |
---|
[1916] | 4 | %define RELEASE 7%{?_dist_release} |
---|
[521] | 5 | |
---|
| 6 | %define gcc_version %{VERSION} |
---|
| 7 | %define gcc_release %{RELEASE} |
---|
| 8 | %define _unpackaged_files_terminate_build 0 |
---|
| 9 | |
---|
| 10 | %define gcj_major 4 |
---|
| 11 | |
---|
| 12 | # VINE: disable building ada, 'cause it requires ada to build :( |
---|
| 13 | #%ifarch %{ix86} alpha ia64 ppc |
---|
| 14 | #%define build_ada 1 |
---|
| 15 | #%else |
---|
| 16 | %define build_ada 0 |
---|
| 17 | #%endif |
---|
| 18 | |
---|
| 19 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
| 20 | |
---|
| 21 | %ifarch x86_64 |
---|
| 22 | %define gcclib_dir %{_prefix}/lib/gcc-lib |
---|
| 23 | %else |
---|
| 24 | %define gcclib_dir %{_libdir}/gcc-lib |
---|
| 25 | %endif |
---|
| 26 | |
---|
| 27 | Summary: Various compilers (C, C++, Objective-C, Java, ...) |
---|
| 28 | Summary(ja): GNU コンパイラ集 - C コンパイラを含む基本パッケージ |
---|
| 29 | Name: gcc3 |
---|
| 30 | Version: %{gcc_version} |
---|
| 31 | Release: %{gcc_release} |
---|
| 32 | License: GPL |
---|
| 33 | Group: Development/Languages |
---|
| 34 | |
---|
| 35 | Source0: gcc-%{version}-%{DATE}.tar.bz2 |
---|
| 36 | #GCC#Source0: gcc-%{version}.tar.bz2 |
---|
| 37 | |
---|
| 38 | URL: http://gcc.gnu.org |
---|
| 39 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 40 | BuildRequires: binutils >= 2.13.90.0.10 |
---|
| 41 | BuildRequires: zlib-devel, gettext, dejagnu |
---|
| 42 | BuildRequires: texinfo >= 4.2 |
---|
| 43 | # Make sure pthread.h doesn't contain __thread tokens |
---|
| 44 | BuildRequires: glibc-devel >= 2.2.90-12 |
---|
| 45 | %if %{build_ada} |
---|
| 46 | # Ada requires Ada to build |
---|
| 47 | BuildRequires: gcc-gnat >= 3.1, libgnat >= 3.1 |
---|
| 48 | %endif |
---|
| 49 | Requires: gcc3-cpp = %{version}-%{release} |
---|
| 50 | # Need .eh_frame ld optimizations |
---|
| 51 | # Need proper visibility support |
---|
| 52 | Requires: binutils >= 2.13.90.0.10 |
---|
| 53 | # Make sure gdb will understand DW_FORM_strp |
---|
| 54 | Conflicts: gdb < 5.1-2 |
---|
| 55 | Requires: glibc-devel >= 2.2.90-12 |
---|
| 56 | Requires: libgcc >= %{version}-%{release} |
---|
| 57 | #Obsoletes: egcs |
---|
| 58 | %ifarch sparc sparc64 |
---|
| 59 | #Obsoletes: egcs64 |
---|
| 60 | %endif |
---|
| 61 | |
---|
[1836] | 62 | Requires(post,postun): alternatives |
---|
[521] | 63 | Obsoletes: gcc-launcher |
---|
| 64 | |
---|
| 65 | # from fc |
---|
| 66 | Patch1: gcc33-multi32-hack.patch |
---|
| 67 | Patch2: gcc33-ice-hack.patch |
---|
| 68 | Patch3: gcc33-ppc64-m32-m64-multilib-only.patch |
---|
| 69 | Patch4: gcc33-sched-ebb-cselib.patch |
---|
| 70 | Patch6: gcc33-huge-alloca.patch |
---|
| 71 | Patch10: gcc33-c++-builtin-expect.patch |
---|
| 72 | Patch11: gcc33-pie.patch |
---|
| 73 | |
---|
| 74 | # from mdv |
---|
| 75 | Patch50: gcc33-i386-mtune.patch |
---|
| 76 | |
---|
| 77 | ## Vine Source(s)/Patch(es) |
---|
| 78 | Patch100: gcc33-ppc-libf2c.patch |
---|
| 79 | Patch200: gcc-3.3.6-ppc-cpuspec-fix.patch |
---|
| 80 | Patch300: gcc-3.3.6-ppc-accept-m32.patch |
---|
| 81 | Patch400: gcc33-bison.patch |
---|
| 82 | |
---|
| 83 | %define _gnu %{nil} |
---|
| 84 | %{expand: %%{global} _gcc_is_%{_target_cpu} %%{nil}} |
---|
| 85 | %{?_gcc_is_sparc: %global gcc_target_platform sparc64-%{_vendor}-%{_target_os}} |
---|
| 86 | %{!?_gcc_is_sparc: %global gcc_target_platform %{_target_platform}} |
---|
| 87 | |
---|
| 88 | |
---|
| 89 | ################################################# gcc |
---|
| 90 | |
---|
| 91 | |
---|
| 92 | %description |
---|
| 93 | The gcc package contains the GNU Compiler Collection version %{version}. |
---|
| 94 | You'll need this package in order to compile C code. |
---|
| 95 | |
---|
| 96 | %description -l ja |
---|
| 97 | gcc パッケージには、GNU Compiler Collection バージョン %{version} が |
---|
| 98 | 含まれています。C のソースコードをコンパイルするにはこのパッケージが |
---|
| 99 | 必要となります。 |
---|
| 100 | |
---|
| 101 | |
---|
| 102 | ################################################# libgcc |
---|
| 103 | |
---|
| 104 | |
---|
| 105 | ##VINE##%package -n libgcc |
---|
| 106 | ##VINE##Summary: GCC version %{version} shared support library |
---|
| 107 | ##VINE##Summary(ja): GCC バージョン %{version} 共有サポートライブラリ |
---|
| 108 | ##VINE##Group: System Environment/Libraries |
---|
| 109 | ##VINE## |
---|
| 110 | ##VINE## |
---|
| 111 | ##VINE##%description -n libgcc |
---|
| 112 | ##VINE##This package contains GCC shared support library which is needed |
---|
| 113 | ##VINE##e.g. for exception handling support. |
---|
| 114 | ##VINE## |
---|
| 115 | ##VINE##%description -n libgcc -l ja |
---|
| 116 | ##VINE##このパッケージには GCC 共有サポートライブラリが含まれます。 |
---|
| 117 | ##VINE##これは例えば例外ハンドリングサポートに必要です。 |
---|
| 118 | |
---|
| 119 | |
---|
| 120 | ################################################# g++ |
---|
| 121 | |
---|
| 122 | |
---|
| 123 | %package c++ |
---|
| 124 | Summary: C++ support for GCC |
---|
| 125 | Summary(ja): GNU コンパイラ集 - C++ サポート |
---|
| 126 | Group: Development/Languages |
---|
| 127 | Requires: gcc3 = %{version}-%{release} |
---|
| 128 | Requires: gcc3-cpp = %{version}-%{release} |
---|
| 129 | Requires: libstdc++3 = %{version} |
---|
| 130 | Requires: libstdc++3-devel = %{version} |
---|
| 131 | |
---|
| 132 | Obsoletes: gcc-c++-launcher |
---|
[1836] | 133 | Requires(post,postun): alternatives |
---|
[521] | 134 | |
---|
| 135 | |
---|
| 136 | %description c++ |
---|
| 137 | This package adds C++ support to the GNU Compiler Collection. |
---|
| 138 | It includes support for most of the current C++ specification, |
---|
| 139 | including templates and exception handling. |
---|
| 140 | |
---|
| 141 | %description c++ -l ja |
---|
| 142 | このパッケージは GNU Compiler Collection に C++ サポートを追加します。 |
---|
| 143 | テンプレートと例外ハンドリングサポートを含む、現在の C++ 仕様の多くを |
---|
| 144 | サポートします。 |
---|
| 145 | |
---|
| 146 | |
---|
| 147 | ################################################# libstdc++ |
---|
| 148 | |
---|
| 149 | |
---|
| 150 | %package -n libstdc++3 |
---|
| 151 | Summary: GNU Standard C++ Library |
---|
| 152 | Summary(ja): GNU コンパイラ集 - C++ ライブラリ |
---|
| 153 | Group: System Environment/Libraries |
---|
| 154 | |
---|
| 155 | # in 2.1 and 2.1.5 (2.9.0, 2.10.0) |
---|
| 156 | ##VINE##Obsoletes: libstdc++ |
---|
| 157 | ##VINE##Provides: libstdc++ |
---|
[1911] | 158 | Obsoletes: compat32-libstdc++3 < %{version}-%{release} |
---|
[521] | 159 | |
---|
| 160 | |
---|
| 161 | %description -n libstdc++3 |
---|
| 162 | The libstdc++3 package contains a rewritten standard compliant GCC Standard |
---|
| 163 | C++ Library. |
---|
| 164 | |
---|
| 165 | %description -n libstdc++3 -l ja |
---|
| 166 | libstdc++3 パッケージには、標準準拠に書き直された |
---|
| 167 | GCC 標準 C++ ライブラリが収録されています。 |
---|
| 168 | |
---|
| 169 | |
---|
| 170 | ################################################# compat32-libstdc++ |
---|
| 171 | |
---|
| 172 | |
---|
| 173 | %package -n compat32-libstdc++3 |
---|
| 174 | Summary: GNU Standard C++ Library |
---|
| 175 | Summary(ja): GNU コンパイラ集 - C++ ライブラリ |
---|
| 176 | Group: System Environment/Libraries |
---|
| 177 | Requires: libstdc++3 = %{version}-%{release} |
---|
| 178 | |
---|
| 179 | %description -n compat32-libstdc++3 |
---|
| 180 | The libstdc++3 package contains a rewritten standard compliant GCC Standard |
---|
| 181 | C++ Library. |
---|
| 182 | |
---|
| 183 | %description -n compat32-libstdc++3 -l ja |
---|
| 184 | libstdc++3 パッケージには、標準準拠に書き直された |
---|
| 185 | GCC 標準 C++ ライブラリが収録されています。 |
---|
| 186 | |
---|
| 187 | |
---|
| 188 | ################################################# libstdc++-devel |
---|
| 189 | |
---|
| 190 | |
---|
| 191 | %package -n libstdc++3-devel |
---|
| 192 | Summary: Header files and libraries for C++ development |
---|
| 193 | Summary(ja): GNU コンパイラ集 - C++ 開発用ヘッダ/ライブラリ |
---|
| 194 | Group: Development/Libraries |
---|
| 195 | Requires: libstdc++3 = %{version}-%{release} |
---|
| 196 | ##VINE##Obsoletes: libstdc++-devel |
---|
| 197 | |
---|
| 198 | |
---|
| 199 | %description -n libstdc++3-devel |
---|
| 200 | This is the GNU implementation of the standard C++ libraries. This |
---|
| 201 | package includes the header files and libraries needed for C++ |
---|
| 202 | development. This includes rewritten implementation of STL. |
---|
| 203 | |
---|
| 204 | %description -n libstdc++3-devel -l ja |
---|
| 205 | これは標準 C++ ライブラリの GNU 実装です。 |
---|
| 206 | このパッケージには C++ 開発に必要なヘッダファイルとライブラリが |
---|
| 207 | 収録されています。これには STL の実装も含まれます。 |
---|
| 208 | |
---|
| 209 | |
---|
| 210 | ################################################# objc |
---|
| 211 | |
---|
| 212 | |
---|
| 213 | %package objc |
---|
| 214 | Summary: Objective-C support for GCC |
---|
| 215 | Summary(ja): GNU コンパイラ集 - Objective C サポート |
---|
| 216 | Group: Development/Languages |
---|
| 217 | Requires: gcc3 = %{version}-%{release} |
---|
| 218 | Requires: gcc3-cpp = %{version}-%{release} |
---|
[1910] | 219 | Requires: libobjc3 >= %{version}-%{release} |
---|
[521] | 220 | |
---|
| 221 | |
---|
| 222 | %description objc |
---|
| 223 | gcc-objc provides Objective-C support for the GCC. |
---|
| 224 | Mainly used on systems running NeXTSTEP, Objective-C is an |
---|
| 225 | object-oriented derivative of the C language. |
---|
| 226 | |
---|
| 227 | %description objc -l ja |
---|
| 228 | gcc-objc パッケージは GCC に Objective-C サポートを追加します。 |
---|
| 229 | Objective-C は C 言語から派生したオブジェクト指向言語で、 |
---|
| 230 | 主に NeXTSTEP システムで使われてきました。 |
---|
| 231 | |
---|
| 232 | |
---|
| 233 | ################################################# libobjc |
---|
| 234 | |
---|
| 235 | |
---|
[1910] | 236 | %package -n libobjc3 |
---|
| 237 | Summary: Objective-C runtime |
---|
| 238 | Summary(ja): GNU コンパイラ集 - Objective C ランタイムライブラリ |
---|
| 239 | Group: System Environment/Libraries |
---|
[521] | 240 | |
---|
[1910] | 241 | %description -n libobjc3 |
---|
| 242 | This package contains Objective-C shared library which is needed to run |
---|
| 243 | Objective-C dynamically linked programs. |
---|
[521] | 244 | |
---|
[1910] | 245 | %description -n libobjc3 -l ja |
---|
| 246 | このパッケージには Objective-C 共有ライブラリが収められています。 |
---|
| 247 | これは Objective-C にダイナミックリンクされたプログラムの実行に必要と |
---|
| 248 | なります。 |
---|
| 249 | |
---|
[521] | 250 | ################################################# g77 |
---|
| 251 | |
---|
| 252 | |
---|
| 253 | %package g77 |
---|
| 254 | Summary: Fortran 77 support |
---|
| 255 | Summary(ja): GNU コンパイラ集 - Fortran 77 サポート |
---|
| 256 | Group: Development/Languages |
---|
| 257 | Requires: gcc3 = %{version}-%{release} |
---|
| 258 | Requires: gcc3-cpp = %{version}-%{release} |
---|
| 259 | Requires: libf2c = %{version}-%{release} |
---|
| 260 | |
---|
| 261 | Obsoletes: gcc-g77-launcher |
---|
[1836] | 262 | Requires(post,postun): alternatives |
---|
[521] | 263 | |
---|
| 264 | |
---|
| 265 | %description g77 |
---|
| 266 | The gcc-g77 package provides support for compiling Fortran 77 |
---|
| 267 | programs with the GNU Compiler Collection. |
---|
| 268 | |
---|
| 269 | %description g77 -l ja |
---|
| 270 | gcc-g77 パッケージは GNU Compiler Collection に Fortran 77 プログラムを |
---|
| 271 | コンパイルする機能を追加するものです。 |
---|
| 272 | |
---|
| 273 | |
---|
| 274 | ################################################# libf2c |
---|
| 275 | |
---|
| 276 | |
---|
| 277 | %package -n libf2c |
---|
| 278 | Summary: Fortran 77 runtime |
---|
| 279 | Summary(ja): GNU コンパイラ集 - Fortran 77 ランタイムライブラリ |
---|
| 280 | Group: System Environment/Libraries |
---|
| 281 | |
---|
| 282 | |
---|
| 283 | %description -n libf2c |
---|
| 284 | This package contains Fortran 77 shared library which is needed to run |
---|
| 285 | Fortran 77 dynamically linked programs. |
---|
| 286 | |
---|
| 287 | %description -n libf2c -l ja |
---|
| 288 | このパッケージには Fortran 77 共有ライブラリが収められています。 |
---|
| 289 | これは Fortran 77 にダイナミックリンクされたプログラムの実行に必要と |
---|
| 290 | なります。 |
---|
| 291 | |
---|
| 292 | |
---|
| 293 | ################################################# java |
---|
| 294 | |
---|
| 295 | |
---|
| 296 | %package java |
---|
| 297 | Summary: Java support for GCC |
---|
| 298 | Summary(ja): GNU コンパイラ集 - Java サポート |
---|
| 299 | Group: Development/Languages |
---|
| 300 | Requires: gcc3 = %{version}-%{release} |
---|
| 301 | Requires: gcc3-cpp = %{version}-%{release} |
---|
| 302 | Requires: libgcj3 >= %{version}, libgcj3-devel >= %{version} |
---|
| 303 | |
---|
| 304 | Obsoletes: gcc-java-launcher |
---|
[1836] | 305 | Requires(post,postun): alternatives |
---|
[521] | 306 | |
---|
| 307 | |
---|
| 308 | %description java |
---|
| 309 | This package adds support for compiling Java(tm) programs and |
---|
| 310 | bytecode into native code. |
---|
| 311 | |
---|
| 312 | %description java -l ja |
---|
| 313 | このパッケージは Java(tm) のプログラムをコンパイルし、 |
---|
| 314 | ネイティブコードにバイトコードする機能を追加するものです。 |
---|
| 315 | |
---|
| 316 | |
---|
| 317 | ################################################# libgcj |
---|
| 318 | |
---|
| 319 | |
---|
| 320 | %package -n libgcj3 |
---|
| 321 | Summary: Java runtime library for gcc |
---|
| 322 | Summary(ja): GNU コンパイラ集 - Java ランタイムライブラリ |
---|
| 323 | Group: System Environment/Libraries |
---|
| 324 | Requires: zip >= 2.1 |
---|
[1836] | 325 | Requires: fastjar |
---|
[521] | 326 | ##VINE##Obsoletes: gcc-libgcj |
---|
| 327 | # Kaffe includes jar too |
---|
| 328 | Conflicts: kaffe |
---|
| 329 | |
---|
| 330 | |
---|
| 331 | %description -n libgcj3 |
---|
| 332 | The Java(tm) runtime library. You will need this package to run your Java |
---|
| 333 | programs compiled using the Java compiler from GNU Compiler Collection (gcj). |
---|
| 334 | |
---|
| 335 | %description -n libgcj3 -l ja |
---|
| 336 | Java(tm) ランタイムライブラリです。 |
---|
| 337 | このパッケージは GNU Compiler Collection の Java コンパイラ (gcj) を |
---|
| 338 | 使ってコンパイルされたプログラムを実行するのに必要となります。 |
---|
| 339 | |
---|
| 340 | |
---|
| 341 | ################################################# libgcj-devel |
---|
| 342 | |
---|
| 343 | |
---|
| 344 | %package -n libgcj3-devel |
---|
| 345 | Summary: Libraries for Java development using GCC |
---|
| 346 | Summary(ja): GNU コンパイラ集 - GCC 向け Java 開発用ライブラリ |
---|
| 347 | Group: Development/Languages |
---|
| 348 | Requires: zip >= 2.1, libgcj3 = %{version} |
---|
| 349 | |
---|
| 350 | |
---|
| 351 | %description -n libgcj3-devel |
---|
| 352 | The Java(tm) static libraries and C header files. You will need this |
---|
| 353 | package to compile your Java programs using the GCC Java compiler (gcj). |
---|
| 354 | |
---|
| 355 | %description -n libgcj3-devel -l ja |
---|
| 356 | Java(tm) スタティックライブラリと C ヘッダファイルです。 |
---|
| 357 | GCC Java コンパイラ (gcj) を使って Java プログラムをコンパイルする際に |
---|
| 358 | このパッケージをインストールする必要があります。 |
---|
| 359 | |
---|
| 360 | |
---|
| 361 | ################################################# sparc32 |
---|
| 362 | |
---|
| 363 | |
---|
| 364 | %package sparc32 |
---|
| 365 | Summary: The C compiler optimized for generating SPARC 32bit code |
---|
| 366 | Summary(ja): GNU コンパイラ集 - SPARC 32bit code 生成に最適化された C コンパイラ |
---|
| 367 | Group: Development/Languages |
---|
| 368 | Requires: gcc3 = %{version}-%{release}, %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/64/libgcc.a |
---|
| 369 | |
---|
| 370 | |
---|
| 371 | %description sparc32 |
---|
| 372 | This package contains the GNU C compiler which only supports generating |
---|
| 373 | 32bit SPARC code, but should be faster than the 32/64bit gcc package. You |
---|
| 374 | should install this package if you want to trade disk space required for |
---|
| 375 | this package for faster compilation of 32bit code. |
---|
| 376 | |
---|
| 377 | %description sparc32 -l ja |
---|
| 378 | このパッケージには 32bit SPARC コード生成のみをサポートした GNU C コンパイラ |
---|
| 379 | が収録されています。これは 32/64bit gcc パッケージより高速なバイナリを生成 |
---|
| 380 | します。このパッケージをインストールする為のディスク容量よりも 32bit コード |
---|
| 381 | の方を優先するなら、このパッケージをインストールするべきでしょう。 |
---|
| 382 | |
---|
| 383 | |
---|
| 384 | ################################################# c++-sparc32 |
---|
| 385 | |
---|
| 386 | |
---|
| 387 | %package c++-sparc32 |
---|
| 388 | Summary: The C++ compiler optimized for generating SPARC 32bit code |
---|
| 389 | Summary(ja): GNU コンパイラ集 - SPARC 32bit code 生成に最適化された C++ コンパイラ |
---|
| 390 | Group: Development/Languages |
---|
| 391 | Requires: gcc3-c++ = %{version}-%{release}, gcc3-sparc32 = %{version}-%{release} |
---|
| 392 | Requires: %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/64/libstdc++.so |
---|
| 393 | |
---|
| 394 | |
---|
| 395 | %description c++-sparc32 |
---|
| 396 | This package contains the GNU C++ compiler which only supports generating |
---|
| 397 | 32bit SPARC code, but should be faster than the 32/64bit gcc package. You |
---|
| 398 | should install this package if you want to trade disk space required for |
---|
| 399 | this package for faster compilation of 32bit code. |
---|
| 400 | |
---|
| 401 | %description c++-sparc32 -l ja |
---|
| 402 | このパッケージには 32bit SPARC コード生成のみをサポートした GNU C++ コンパイラ |
---|
| 403 | が収録されています。これは 32/64bit gcc パッケージより高速なバイナリを生成 |
---|
| 404 | します。このパッケージをインストールする為のディスク容量よりも 32bit コードの |
---|
| 405 | 方を優先するなら、このパッケージをインストールするべきでしょう。 |
---|
| 406 | |
---|
| 407 | |
---|
| 408 | ################################################# cpp |
---|
| 409 | |
---|
| 410 | |
---|
| 411 | %package cpp |
---|
| 412 | Summary: The C Preprocessor. |
---|
| 413 | Summary(ja): GNU コンパイラ集 - C プリプロセッサ |
---|
| 414 | Group: Development/Languages |
---|
| 415 | %ifarch ia64 |
---|
| 416 | Obsoletes: gnupro |
---|
| 417 | %endif |
---|
| 418 | |
---|
| 419 | # in Vine 2.1.5 (ppc = 2.95.3-2vl3, x86|alpha = 1.1.2-24vl4) |
---|
| 420 | Obsoletes: cpp <= 2.95.3-2vl3 |
---|
| 421 | |
---|
| 422 | Provides: cpp = %{version}-%{release} |
---|
| 423 | Obsoletes: gcc-cpp-launcher |
---|
| 424 | |
---|
[1836] | 425 | Requires(post,postun): alternatives |
---|
[521] | 426 | |
---|
[1836] | 427 | |
---|
[521] | 428 | %description cpp |
---|
| 429 | Cpp is the GNU C-Compatible Compiler Preprocessor. |
---|
| 430 | Cpp is a macro processor which is used automatically |
---|
| 431 | by the C compiler to transform your program before actual |
---|
| 432 | compilation. It is called a macro processor because it allows |
---|
| 433 | you to define macros, abbreviations for longer |
---|
| 434 | constructs. |
---|
| 435 | |
---|
| 436 | The C preprocessor provides four separate functionalities: the |
---|
| 437 | inclusion of header files (files of declarations that can be |
---|
| 438 | substituted into your program); macro expansion (you can define macros, |
---|
| 439 | and the C preprocessor will replace the macros with their definitions |
---|
| 440 | throughout the program); conditional compilation (using special |
---|
| 441 | preprocessing directives, you can include or exclude parts of the |
---|
| 442 | program according to various conditions); and line control (if you use |
---|
| 443 | a program to combine or rearrange source files into an intermediate |
---|
| 444 | file which is then compiled, you can use line control to inform the |
---|
| 445 | compiler about where each source line originated). |
---|
| 446 | |
---|
| 447 | You should install this package if you are a C programmer and you use |
---|
| 448 | macros. |
---|
| 449 | |
---|
| 450 | |
---|
| 451 | ################################################# gnat |
---|
| 452 | |
---|
| 453 | |
---|
| 454 | %package gnat |
---|
| 455 | Summary: Ada 95 support for GCC |
---|
| 456 | Summary(ja): GNU コンパイラ集 - Ada サポート |
---|
| 457 | Group: Development/Languages |
---|
| 458 | Requires: gcc3 = %{version}-%{release}, libgnat = %{version}-%{release} |
---|
[1836] | 459 | Requires(post,postun): alternatives |
---|
[521] | 460 | |
---|
| 461 | %description gnat |
---|
| 462 | GNAT is a GNU Ada 95 front-end to GCC. This package includes development tools, |
---|
| 463 | the documents and Ada 95 compiler. |
---|
| 464 | |
---|
| 465 | %description gnat -l ja |
---|
| 466 | GNAT は GCC 用の GNU Ada 95 フロントエンドです。 |
---|
| 467 | このパッケージには Ada 95 コンパイラ、開発ツール、ドキュメントが |
---|
| 468 | 収録されています。 |
---|
| 469 | |
---|
| 470 | |
---|
| 471 | ################################################# libgnat |
---|
| 472 | |
---|
| 473 | |
---|
| 474 | %package -n libgnat |
---|
| 475 | Summary: GNU Ada 95 runtime shared libraries |
---|
| 476 | Summary(ja): GNU コンパイラ集 - Ada 95 ランタイム共有ライブラリ |
---|
| 477 | Group: System Environment/Libraries |
---|
| 478 | |
---|
| 479 | |
---|
| 480 | %description -n libgnat |
---|
| 481 | GNAT is a GNU Ada 95 front-end to GCC. This package includes shared libraries, |
---|
| 482 | which are required to run programs compiled with the GNAT. |
---|
| 483 | |
---|
| 484 | %description -n libgnat -l ja |
---|
| 485 | GNAT は GCC 用の GNU Ada 95 フロントエンドです。 |
---|
| 486 | このパッケージには GNAT でコンパイルされたプログラムを実行するために必要な |
---|
| 487 | 共有ライブラリが収録されています。 |
---|
| 488 | |
---|
| 489 | |
---|
| 490 | ################################################# tools |
---|
| 491 | |
---|
| 492 | |
---|
| 493 | ##VINE##%package tools |
---|
| 494 | ##VINE##Summary: Coverage tool and prototizing tool for GCC |
---|
| 495 | ##VINE##Summary(ja): GNU コンパイラ集 - テストカバレージツールとプロトタイプツール |
---|
| 496 | ##VINE##Group: Development/Languages |
---|
| 497 | ##VINE## |
---|
| 498 | ##VINE##%description tools |
---|
| 499 | ##VINE##GNU CC coverage tool and prototizing tool. |
---|
| 500 | ##VINE##see the info of gcc. |
---|
| 501 | ##VINE## |
---|
| 502 | ##VINE##%description tools -l ja |
---|
| 503 | ##VINE##GNU CC のテストカバレージツールとプロトタイプツールです。 |
---|
| 504 | ##VINE##詳しくは gcc の Info をご覧ください。 |
---|
| 505 | |
---|
| 506 | |
---|
| 507 | ################################################# docs |
---|
| 508 | |
---|
| 509 | |
---|
| 510 | ##VINE##%package docs |
---|
| 511 | ##VINE##Summary: Documents (info, man) of GNU Compiler Collection |
---|
| 512 | ##VINE##Summary(ja): GNU コンパイラ集 - GNU CC関係 の man および info です |
---|
| 513 | ##VINE##Group: Applications/Documentation |
---|
| 514 | ##VINE##PreReq: /sbin/install-info |
---|
| 515 | ##VINE## |
---|
| 516 | ##VINE##%description docs |
---|
| 517 | ##VINE##The documents (info, man) of GNU Compiler Collection. |
---|
| 518 | ##VINE##includes gcc, g++, g77, cpp and more. |
---|
| 519 | ##VINE## |
---|
| 520 | ##VINE##%description docs -l ja |
---|
| 521 | ##VINE##GNU Compiler Collection 関係 の man および info です。 |
---|
| 522 | ##VINE##includes gcc, g++, g77, cpp の man / info などを含みます。 |
---|
| 523 | |
---|
| 524 | |
---|
| 525 | ##################################################################### |
---|
| 526 | |
---|
| 527 | |
---|
| 528 | %prep |
---|
| 529 | %setup -q -n gcc-%{version}-%{DATE} |
---|
| 530 | #GCC#%setup -q |
---|
| 531 | |
---|
| 532 | #GCC#%patch0 -p1 |
---|
| 533 | |
---|
| 534 | #GCC#%ifarch sparc |
---|
| 535 | #GCC#%patch1 -p0 -b .multi32-hack |
---|
| 536 | #GCC#%endif |
---|
| 537 | |
---|
| 538 | |
---|
| 539 | %ifarch ppc |
---|
| 540 | %patch100 -p0 |
---|
| 541 | %patch200 -p1 |
---|
| 542 | #%patch300 -p0 |
---|
| 543 | %endif |
---|
| 544 | |
---|
| 545 | %patch6 -p0 -b .huge-alloca~ |
---|
| 546 | %patch10 -p0 -b .c++-builtin-expect~ |
---|
| 547 | %patch11 -p1 -b .pie |
---|
| 548 | %patch50 -p1 -b .i386-mtune |
---|
| 549 | |
---|
| 550 | %patch400 -p1 -b .bison |
---|
| 551 | |
---|
| 552 | perl -pi -e 's/3\.3\.6/3\.3\.6 release (Vine Linux %{gcc_version}-%{gcc_release})/' gcc/version.c |
---|
| 553 | |
---|
| 554 | # Misdesign in libstdc++ |
---|
| 555 | cp -a libstdc++-v3/config/cpu/i{4,3}86/atomicity.h |
---|
| 556 | #GCC END# |
---|
| 557 | |
---|
| 558 | ./contrib/gcc_update --touch |
---|
| 559 | |
---|
| 560 | |
---|
| 561 | ##################################################################### |
---|
| 562 | |
---|
| 563 | |
---|
| 564 | %build |
---|
| 565 | |
---|
| 566 | rm -fr obj-%{gcc_target_platform} |
---|
| 567 | mkdir obj-%{gcc_target_platform} |
---|
| 568 | cd obj-%{gcc_target_platform} |
---|
| 569 | |
---|
| 570 | if [ ! -f /usr/lib/locale/de_DE/LC_CTYPE ]; then |
---|
| 571 | mkdir locale |
---|
| 572 | localedef -f ISO-8859-1 -i de_DE locale/de_DE |
---|
| 573 | export LOCPATH=`pwd`/locale:/usr/lib/locale |
---|
| 574 | fi |
---|
| 575 | |
---|
| 576 | CC=gcc |
---|
| 577 | OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-fno-rtti//g' -e 's/-fno-exceptions//g'` |
---|
| 578 | OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-m64//g;s/-m32//g;s/-m31//g'` |
---|
| 579 | %ifarch %{ix86} |
---|
| 580 | OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mtune=pentium4/-mcpu=i686/g'` |
---|
| 581 | OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mtune=generic/-mcpu=i686/g'` |
---|
| 582 | %endif |
---|
| 583 | %ifarch x86_64 |
---|
| 584 | OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mtune=nocona//g'` |
---|
| 585 | OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mtune=generic//g'` |
---|
| 586 | %endif |
---|
| 587 | %ifarch sparc sparc64 |
---|
| 588 | OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-m64//g' -e 's/-m32//g' -e 's/-mcpu=ultrasparc/-mtune=ultrasparc/g'` |
---|
| 589 | %endif |
---|
| 590 | %ifarch sparc64 |
---|
| 591 | cat > gcc64 <<"EOF" |
---|
| 592 | #!/bin/sh |
---|
| 593 | exec /usr/bin/gcc -m64 "$@" |
---|
| 594 | EOF |
---|
| 595 | chmod +x gcc64 |
---|
| 596 | CC=`pwd`/gcc64 |
---|
| 597 | %endif |
---|
| 598 | CC="$CC" CFLAGS="$OPT_FLAGS" CXXFLAGS="$OPT_FLAGS" XCFLAGS="$OPT_FLAGS" TCFLAGS="$OPT_FLAGS" \ |
---|
| 599 | ../configure --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \ |
---|
| 600 | --enable-shared --enable-threads=posix --disable-checking \ |
---|
| 601 | --with-system-zlib --enable-__cxa_atexit \ |
---|
| 602 | %ifarch sparc |
---|
| 603 | --host=%{gcc_target_platform} --build=%{gcc_target_platform} --target=%{gcc_target_platform} --with-cpu=v7 |
---|
| 604 | %else |
---|
| 605 | --host=%{gcc_target_platform} |
---|
| 606 | %endif |
---|
| 607 | |
---|
| 608 | make %{?_smp_mflags} bootstrap-lean |
---|
| 609 | |
---|
| 610 | %if %{build_ada} |
---|
| 611 | # This doesn't work with -jN |
---|
| 612 | make -C gcc gnatlib-shared |
---|
| 613 | make -C gcc gnattools |
---|
| 614 | make -C gcc/ada doc |
---|
| 615 | %endif |
---|
| 616 | |
---|
| 617 | # run the tests. |
---|
| 618 | LANG=C make %{?_smp_mflags} -k check || : |
---|
| 619 | LANG=C make -C %{gcc_target_platform}/libstdc++-v3/testsuite \ |
---|
| 620 | -k check-abi-verbose || : |
---|
| 621 | echo ====================TESTING========================= |
---|
| 622 | ( ../contrib/test_summary || : ) 2>&1 | sed -n '/^cat.*EOF/,/^EOF/{/^cat.*EOF/d;/^EOF/d;/^LAST_UPDATED:/d;p;}' |
---|
| 623 | LANG=C make -C %{gcc_target_platform}/libstdc++-v3/testsuite -k check-abi || : |
---|
| 624 | echo ====================TESTING END===================== |
---|
| 625 | #cd %{gcc_target_platform}/libstdc++-v3 |
---|
| 626 | #./mkcheck 0 |
---|
| 627 | #cd ../.. |
---|
| 628 | |
---|
| 629 | # Make protoize |
---|
| 630 | make -C gcc CC="./xgcc -B ./ -O2" proto |
---|
| 631 | |
---|
| 632 | %ifarch sparc |
---|
| 633 | # Build the -m32 only compiler which does not use long long for HOST_WIDE_INT |
---|
| 634 | mkdir gcc32 |
---|
| 635 | cd gcc32 |
---|
| 636 | OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-fno-rtti//g' -e 's/-fno-exceptions//g'` |
---|
| 637 | echo "#!/bin/sh" > gcc32 |
---|
| 638 | echo "exec `cd ../gcc; pwd`/xgcc -B `cd ../gcc; pwd`/ $OPT_FLAGS \$*" >> gcc32 |
---|
| 639 | chmod +x gcc32 |
---|
| 640 | CC=`pwd`/gcc32 CFLAGS="$OPT_FLAGS" CXXFLAGS="$OPT_FLAGS" XCFLAGS="$OPT_FLAGS" \ |
---|
| 641 | TCFLAGS="$OPT_FLAGS" ../../gcc/configure --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \ |
---|
| 642 | --enable-shared --enable-threads=posix --disable-checking \ |
---|
| 643 | --with-system-zlib --enable-__cxa_atexit \ |
---|
| 644 | --host=%{_target_platform} |
---|
| 645 | make cc1 cc1plus |
---|
| 646 | cd .. |
---|
| 647 | %endif |
---|
| 648 | |
---|
| 649 | # Make generated man pages even if Pod::Man is not new enough |
---|
| 650 | perl -pi -e 's/head3/head2/' ../contrib/texi2pod.pl |
---|
| 651 | for i in ../gcc/doc/*.texi; do |
---|
| 652 | cp -a $i $i.orig; sed 's/ftable/table/' $i.orig > $i |
---|
| 653 | done |
---|
| 654 | make -C gcc generated-manpages |
---|
| 655 | for i in ../gcc/doc/*.texi; do mv -f $i.orig $i; done |
---|
| 656 | |
---|
| 657 | # Copy various doc files here and there |
---|
| 658 | cd .. |
---|
| 659 | mkdir -p rpm.doc/g77 rpm.doc/objc |
---|
[1836] | 660 | #mkdir -p rpm.doc/boehm-gc rpm.doc/fastjar rpm.doc/libffi rpm.doc/libjava |
---|
| 661 | mkdir -p rpm.doc/boehm-gc rpm.doc/libffi rpm.doc/libjava |
---|
[521] | 662 | |
---|
| 663 | (cd gcc/f; for i in ChangeLog*; do |
---|
| 664 | cp -p $i ../../rpm.doc/g77/$i.f |
---|
| 665 | done) |
---|
| 666 | (cd libf2c; for i in ChangeLog*; do |
---|
| 667 | cp -p $i ../rpm.doc/g77/$i.libf2c |
---|
| 668 | done) |
---|
| 669 | (cd gcc/objc; for i in README*; do |
---|
| 670 | cp -p $i ../../rpm.doc/objc/$i.objc |
---|
| 671 | done) |
---|
| 672 | (cd libobjc; for i in README*; do |
---|
| 673 | cp -p $i ../rpm.doc/objc/$i.libobjc |
---|
| 674 | done) |
---|
| 675 | (cd boehm-gc; for i in ChangeLog*; do |
---|
| 676 | cp -p $i ../rpm.doc/boehm-gc/$i.gc |
---|
| 677 | done) |
---|
[1836] | 678 | #(cd fastjar; for i in ChangeLog* README*; do |
---|
| 679 | # cp -p $i ../rpm.doc/fastjar/$i.fastjar |
---|
| 680 | #done) |
---|
[521] | 681 | (cd libffi; for i in ChangeLog* README* LICENSE; do |
---|
| 682 | cp -p $i ../rpm.doc/libffi/$i.libffi |
---|
| 683 | done) |
---|
| 684 | (cd libjava; for i in ChangeLog* README*; do |
---|
| 685 | cp -p $i ../rpm.doc/libjava/$i.libjava |
---|
| 686 | done) |
---|
| 687 | |
---|
| 688 | |
---|
| 689 | ##################################################################### |
---|
| 690 | |
---|
| 691 | |
---|
| 692 | %install |
---|
| 693 | rm -fr $RPM_BUILD_ROOT |
---|
| 694 | |
---|
| 695 | perl -pi -e \ |
---|
| 696 | 's~href="l(ibstdc|atest)~href="http://gcc.gnu.org/onlinedocs/libstdc++/l\1~' \ |
---|
| 697 | libstdc++-v3/docs/html/documentation.html |
---|
| 698 | ln -sf documentation.html libstdc++-v3/docs/html/index.html |
---|
| 699 | find libstdc++-v3/docs/html -name CVS | xargs rm -rf |
---|
| 700 | |
---|
| 701 | cd obj-%{gcc_target_platform} |
---|
| 702 | |
---|
| 703 | if [ ! -f /usr/lib/locale/de_DE/LC_CTYPE ]; then |
---|
| 704 | export LOCPATH=`pwd`/locale:/usr/lib/locale |
---|
| 705 | fi |
---|
| 706 | |
---|
| 707 | TARGET_PLATFORM=%{gcc_target_platform} |
---|
| 708 | |
---|
| 709 | # There are some MP bugs in libstdc++ and libjava Makefiles |
---|
| 710 | make -C %{gcc_target_platform}/libstdc++-v3 |
---|
| 711 | make -C %{gcc_target_platform}/libjava |
---|
| 712 | |
---|
| 713 | make prefix=$RPM_BUILD_ROOT%{_prefix} mandir=$RPM_BUILD_ROOT%{_mandir} \ |
---|
| 714 | infodir=$RPM_BUILD_ROOT%{_infodir} install |
---|
| 715 | %if %{build_ada} |
---|
| 716 | pushd gcc/ada |
---|
| 717 | cp -a gnat-style.info* gnat_rm.info* $RPM_BUILD_ROOT%{_infodir}/ |
---|
| 718 | for i in gnat_ug_unx.info*; do |
---|
| 719 | sed 's/gnat_ug_unx/gnat_ug/g' $i > $RPM_BUILD_ROOT%{_infodir}/`echo $i | sed 's/gnat_ug_unx/gnat_ug/'` |
---|
| 720 | done |
---|
| 721 | chmod 644 $RPM_BUILD_ROOT%{_infodir}/gnat* |
---|
| 722 | popd |
---|
| 723 | %endif |
---|
| 724 | |
---|
| 725 | FULLPATH=$RPM_BUILD_ROOT%{gcclib_dir}/%{gcc_target_platform}/%{gcc_version} |
---|
| 726 | |
---|
| 727 | # this may be stripped as well GCC |
---|
| 728 | #file $RPM_BUILD_ROOT/%{_bindir}/* | grep ELF | cut -d':' -f1 | xargs strip || : |
---|
| 729 | # this is stripped |
---|
| 730 | #file $FULLPATH/* | grep ELF | grpe exec | cut -d':' -f1 | xargs strip || : |
---|
| 731 | |
---|
| 732 | # fix some things |
---|
| 733 | ln -sf gcc $RPM_BUILD_ROOT%{_bindir}/cc |
---|
| 734 | mkdir -p $RPM_BUILD_ROOT/lib |
---|
| 735 | ln -sf ..%{_bindir}/cpp $RPM_BUILD_ROOT/lib/cpp |
---|
| 736 | ln -sf g77 $RPM_BUILD_ROOT%{_bindir}/f77 |
---|
| 737 | rm -f $RPM_BUILD_ROOT%{_infodir}/dir |
---|
| 738 | gzip -9 $RPM_BUILD_ROOT%{_infodir}/*.info* |
---|
| 739 | # VINE: will be handled with alternatives |
---|
| 740 | #ln -sf gcc $RPM_BUILD_ROOT%{_bindir}/gnatgcc |
---|
| 741 | |
---|
| 742 | %ifarch sparc |
---|
| 743 | # Install the sparc -m32 only compilers |
---|
| 744 | FULLPATH32=$RPM_BUILD_ROOT%{gcclib_dir}/%{_target_platform}/%{gcc_version} |
---|
| 745 | mkdir -p $FULLPATH32 |
---|
| 746 | install -m 755 gcc32/cc1 $FULLPATH32/ |
---|
| 747 | install -m 755 gcc32/cc1plus $FULLPATH32/ |
---|
| 748 | ln -sf ../../%{gcc_target_platform}/%{gcc_version}/include $FULLPATH32/ |
---|
| 749 | strip $FULLPATH32/{cc1,cc1plus} |
---|
| 750 | ln -f $RPM_BUILD_ROOT%{_bindir}/%{gcc_target_platform}-gcc \ |
---|
| 751 | $RPM_BUILD_ROOT%{_bindir}/%{_target_platform}-gcc |
---|
| 752 | %endif |
---|
| 753 | %ifarch sparc64 |
---|
| 754 | ln -f $RPM_BUILD_ROOT%{_bindir}/%{gcc_target_platform}-gcc \ |
---|
| 755 | $RPM_BUILD_ROOT%{_bindir}/sparc-%{_vendor}-%{_target_os}-gcc |
---|
| 756 | %endif |
---|
| 757 | |
---|
| 758 | %ifarch sparc |
---|
| 759 | FULLLPATH=$FULLPATH/lib32 |
---|
| 760 | %endif |
---|
| 761 | %ifarch sparc64 |
---|
| 762 | FULLLPATH=$FULLPATH/lib64 |
---|
| 763 | %endif |
---|
| 764 | if [ -n "$FULLLPATH" ]; then |
---|
| 765 | mkdir -p $FULLLPATH |
---|
| 766 | else |
---|
| 767 | FULLLPATH=$FULLPATH |
---|
| 768 | fi |
---|
| 769 | |
---|
| 770 | mv $RPM_BUILD_ROOT%{_libdir}/libgcj.*a $FULLLPATH/ |
---|
| 771 | mv $RPM_BUILD_ROOT%{_prefix}/%{_lib}/lib-org-*.*a $FULLLPATH/ |
---|
| 772 | %ifarch x86_64 |
---|
| 773 | sed 's/-lgcjgc//g;s/-lzgcj//g;s/-lpthread//g' $RPM_BUILD_ROOT%{_prefix}/lib/libgcj.spec > $FULLPATH/libgcj.spec |
---|
| 774 | %else |
---|
| 775 | sed 's/-lgcjgc//g;s/-lzgcj//g;s/-lpthread//g' $RPM_BUILD_ROOT%{_libdir}/libgcj.spec > $FULLPATH/libgcj.spec |
---|
| 776 | %endif |
---|
| 777 | #GCC#mv $RPM_BUILD_ROOT%{_prefix}/include/gc*.h $FULLPATH/include/ |
---|
| 778 | mv $RPM_BUILD_ROOT%{_prefix}/include/j*.h $FULLPATH/include/ |
---|
| 779 | #GCC#mv -f $RPM_BUILD_ROOT%{_prefix}/include/{java,javax,gnu,org} $FULLPATH/include/ |
---|
| 780 | mv -f $RPM_BUILD_ROOT%{_prefix}/include/{java,javax,gnu} $FULLPATH/include/ |
---|
| 781 | mkdir -p $FULLPATH/include/gcj |
---|
| 782 | mv -f $RPM_BUILD_ROOT%{_prefix}/include/gcj/* $FULLPATH/include/gcj/ |
---|
| 783 | rmdir $RPM_BUILD_ROOT%{_prefix}/include/gcj |
---|
| 784 | |
---|
| 785 | %ifarch sparc64 s390x |
---|
| 786 | pushd $RPM_BUILD_ROOT%{_libdir} |
---|
| 787 | mv -f libobjc.so* ../%{_lib}/ |
---|
| 788 | mv -f libstdc++.so* ../%{_lib}/ |
---|
| 789 | mv -f libgcj.so* ../%{_lib}/ |
---|
| 790 | mv -f libg2c.so* ../%{_lib}/ |
---|
| 791 | popd |
---|
| 792 | %endif |
---|
| 793 | |
---|
| 794 | mkdir -p $RPM_BUILD_ROOT/%{_lib} |
---|
| 795 | #mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libgcc_s.so.1 $RPM_BUILD_ROOT/%{_lib}/libgcc_s-%{gcc_version}-%{DATE}.so.1 |
---|
| 796 | #chmod 755 $RPM_BUILD_ROOT/%{_lib}/libgcc_s-%{gcc_version}-%{DATE}.so.1 |
---|
| 797 | #ln -sf libgcc_s-%{gcc_version}-%{DATE}.so.1 $RPM_BUILD_ROOT/%{_lib}/libgcc_s.so.1 |
---|
| 798 | mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libgcc_s.so.1 $RPM_BUILD_ROOT/%{_lib}/libgcc_s-%{gcc_version}.so.1 |
---|
| 799 | chmod 755 $RPM_BUILD_ROOT/%{_lib}/libgcc_s-%{gcc_version}.so.1 |
---|
| 800 | ln -sf libgcc_s-%{gcc_version}.so.1 $RPM_BUILD_ROOT/%{_lib}/libgcc_s.so.1 |
---|
| 801 | ln -sf /%{_lib}/libgcc_s.so.1 $FULLPATH/libgcc_s.so |
---|
| 802 | %ifarch x86_64 |
---|
| 803 | mv -f $RPM_BUILD_ROOT%{_prefix}/lib/libgcc_s.so.1 $RPM_BUILD_ROOT/lib/libgcc_s-%{gcc_version}.so.1 |
---|
| 804 | chmod 755 $RPM_BUILD_ROOT/lib/libgcc_s-%{gcc_version}.so.1 |
---|
| 805 | ln -sf libgcc_s-%{gcc_version}.so.1 $RPM_BUILD_ROOT/lib/libgcc_s.so.1 |
---|
| 806 | %endif |
---|
| 807 | %ifarch sparc |
---|
| 808 | ln -sf /lib64/libgcc_s.so.1 $FULLPATH/libgcc_s_64.so |
---|
| 809 | %endif |
---|
| 810 | %ifarch sparc64 x86_64 s390x |
---|
| 811 | ln -sf /lib/libgcc_s.so.1 $FULLPATH/libgcc_s_32.so |
---|
| 812 | %endif |
---|
| 813 | |
---|
| 814 | %if %{build_ada} |
---|
| 815 | mv -f $FULLPATH/adalib/libgnarl-*.so.* $RPM_BUILD_ROOT%{_prefix}/%{_lib}/ |
---|
| 816 | mv -f $FULLPATH/adalib/libgnat-*.so.* $RPM_BUILD_ROOT%{_prefix}/%{_lib}/ |
---|
| 817 | rm -f $FULLPATH/adalib/libgnarl.so* $FULLPATH/adalib/libgnat.so* |
---|
| 818 | %endif |
---|
| 819 | |
---|
| 820 | pushd $FULLPATH |
---|
| 821 | if [ "%{_lib}" = "lib" ]; then |
---|
| 822 | ln -sf ../../../libobjc.so.1 libobjc.so |
---|
| 823 | ln -sf ../../../libstdc++.so.5.* libstdc++.so |
---|
| 824 | ln -sf ../../../libgcj.so.%{gcj_major}.* libgcj.so |
---|
| 825 | ln -sf ../../../libg2c.so.0.* libg2c.so |
---|
| 826 | ln -sf ../../../lib-org-w3c-dom.so.0.* lib-org-w3c-dom.so |
---|
| 827 | ln -sf ../../../lib-org-xml-sax.so.0.* lib-org-xml-sax.so |
---|
| 828 | %if %{build_ada} |
---|
| 829 | cd adalib |
---|
| 830 | ln -sf ../../../../libgnarl-*.so.* libgnarl.so |
---|
| 831 | ln -sf ../../../../libgnat-*.so.* libgnat.so |
---|
| 832 | cd .. |
---|
| 833 | %endif |
---|
| 834 | else |
---|
| 835 | ln -sf ../../../../%{_lib}/libobjc.so.1 libobjc.so |
---|
| 836 | ln -sf ../../../../%{_lib}/libstdc++.so.5.* libstdc++.so |
---|
| 837 | ln -sf ../../../../%{_lib}/libgcj.so.%{gcj_major}.* libgcj.so |
---|
| 838 | ln -sf ../../../../%{_lib}/libg2c.so.0.* libg2c.so |
---|
| 839 | ln -sf ../../../../%{_lib}/lib-org-w3c-dom.so.0.* lib-org-w3c-dom.so |
---|
| 840 | ln -sf ../../../../%{_lib}/lib-org-xml-sax.so.0.* lib-org-xml-sax.so |
---|
| 841 | %if %{build_ada} |
---|
| 842 | cd adalib |
---|
| 843 | ln -sf ../../../../../%{_lib}/libgnarl-*.so.* libgnarl.so |
---|
| 844 | ln -sf ../../../../../%{_lib}/libgnat-*.so.* libgnat.so |
---|
| 845 | cd .. |
---|
| 846 | %endif |
---|
| 847 | fi |
---|
| 848 | mv -f $RPM_BUILD_ROOT%{_libdir}/libstdc++.*a $FULLLPATH/ |
---|
| 849 | mv -f $RPM_BUILD_ROOT%{_libdir}/libsupc++.*a . |
---|
| 850 | mv -f $RPM_BUILD_ROOT%{_libdir}/libg2c.*a . |
---|
| 851 | mv -f $RPM_BUILD_ROOT%{_libdir}/libfrtbegin.*a . |
---|
| 852 | mv -f $RPM_BUILD_ROOT%{_libdir}/libobjc.*a . |
---|
| 853 | |
---|
| 854 | %ifarch sparc |
---|
| 855 | ln -sf ../../../../../lib64/libobjc.so.1 64/libobjc.so |
---|
| 856 | ln -sf ../`echo ../../../../lib/libstdc++.so.5.* | sed s~/lib/~/lib64/~` 64/libstdc++.so |
---|
| 857 | ln -sf ../`echo ../../../../lib/libgcj.so.%{gcj_major}.* | sed s~/lib/~/lib64/~` 64/libgcj.so |
---|
| 858 | ln -sf ../`echo ../../../../lib/libg2c.so.0.* | sed s~/lib/~/lib64/~` 64/libg2c.so |
---|
| 859 | mv -f $RPM_BUILD_ROOT%{_libdir}/64/libsupc++.*a 64/ |
---|
| 860 | mv -f $RPM_BUILD_ROOT%{_libdir}/64/libg2c.*a 64/ |
---|
| 861 | mv -f $RPM_BUILD_ROOT%{_libdir}/64/libfrtbegin.*a 64/ |
---|
| 862 | mv -f $RPM_BUILD_ROOT%{_libdir}/64/libobjc.*a 64/ |
---|
| 863 | ln -sf lib32/libstdc++.a libstdc++.a |
---|
| 864 | ln -sf ../lib64/libstdc++.a 64/libstdc++.a |
---|
| 865 | ln -sf lib32/libgcj.a libgcj.a |
---|
| 866 | ln -sf ../lib64/libgcj.a 64/libgcj.a |
---|
| 867 | %endif |
---|
| 868 | %ifarch sparc64 x86_64 s390x |
---|
| 869 | ln -sf ../../../../libobjc.so.1 32/libobjc.so |
---|
| 870 | %ifarch x86_64 |
---|
| 871 | ln -sf ../`echo ../../../../lib/libstdc++.so.5.* | sed s~/../lib64/~/~` 32/libstdc++.so |
---|
| 872 | ln -sf ../`echo ../../../../lib/libgcj.so.%{gcj_major}.* | sed s~/../lib64/~/~` 32/libgcj.so |
---|
| 873 | ln -sf ../`echo ../../../../lib/libg2c.so.0.* | sed s~/../lib64/~/~` 32/libg2c.so |
---|
| 874 | mv -f $RPM_BUILD_ROOT%{_prefix}/lib/libsupc++.*a 32/ |
---|
| 875 | mv -f $RPM_BUILD_ROOT%{_prefix}/lib/libg2c.*a 32/ |
---|
| 876 | mv -f $RPM_BUILD_ROOT%{_prefix}/lib/libfrtbegin.*a 32/ |
---|
| 877 | mv -f $RPM_BUILD_ROOT%{_prefix}/lib/libobjc.*a 32/ |
---|
| 878 | %else |
---|
| 879 | ln -sf ../`echo ../../../../lib64/libstdc++.so.5.* | sed s~/../lib64/~/~` 32/libstdc++.so |
---|
| 880 | ln -sf ../`echo ../../../../lib64/libgcj.so.%{gcj_major}.* | sed s~/../lib64/~/~` 32/libgcj.so |
---|
| 881 | ln -sf ../`echo ../../../../lib64/libg2c.so.0.* | sed s~/../lib64/~/~` 32/libg2c.so |
---|
| 882 | mv -f $RPM_BUILD_ROOT%{_libdir}/32/libsupc++.*a 32/ |
---|
| 883 | mv -f $RPM_BUILD_ROOT%{_libdir}/32/libg2c.*a 32/ |
---|
| 884 | mv -f $RPM_BUILD_ROOT%{_libdir}/32/libfrtbegin.*a 32/ |
---|
| 885 | mv -f $RPM_BUILD_ROOT%{_libdir}/32/libobjc.*a 32/ |
---|
| 886 | %endif |
---|
| 887 | %endif |
---|
| 888 | %ifarch sparc64 |
---|
| 889 | ln -sf ../lib32/libstdc++.a 32/libstdc++.a |
---|
| 890 | ln -sf lib64/libstdc++.a libstdc++.a |
---|
| 891 | ln -sf ../lib32/libgcj.a 32/libgcj.a |
---|
| 892 | ln -sf lib64/libgcj.a libgcj.a |
---|
| 893 | %endif |
---|
| 894 | %ifarch x86_64 |
---|
| 895 | ln -sf ../../../%{gcc_target_platform}/%{gcc_version}/libstdc++.a 32/libstdc++.a |
---|
| 896 | ln -sf ../../../%{gcc_target_platform}/%{gcc_version}/libgcj.a 32/libgcj.a |
---|
| 897 | %endif |
---|
| 898 | %ifarch s390x |
---|
| 899 | ln -sf ../../../s390-%{_vendor}-%{_target_os}/%{gcc_version}/libstdc++.a 32/libstdc++.a |
---|
| 900 | ln -sf ../../../s390-%{_vendor}-%{_target_os}/%{gcc_version}/libgcj.a 32/libgcj.a |
---|
| 901 | %endif |
---|
| 902 | |
---|
| 903 | # Strip debug info from Fortran/ObjC/Java static libraries |
---|
| 904 | strip -g `find . \( -name libg2c.a -o -name libobjc.a -o -name libgcj.a -o -name libgcc.a \) -a -type f` |
---|
| 905 | popd |
---|
| 906 | chmod 755 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libg2c.so.0.* |
---|
| 907 | chmod 755 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libobjc.so.1.* |
---|
| 908 | |
---|
| 909 | %if %{build_ada} |
---|
| 910 | chmod 755 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libgnarl*so* |
---|
| 911 | chmod 755 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libgnat*so* |
---|
| 912 | %endif |
---|
| 913 | |
---|
| 914 | cat > $RPM_BUILD_ROOT%{_bindir}/c89-%{VERSION} <<"EOF" |
---|
| 915 | #!/bin/sh |
---|
| 916 | fl="-std=c89" |
---|
| 917 | for opt; do |
---|
| 918 | case "$opt" in |
---|
| 919 | -ansi|-std=c89|-std=iso9899:1990) fl="";; |
---|
| 920 | -std=*) echo "`basename $0` called with non ANSI/ISO C option $opt" >&2 |
---|
| 921 | exit 1;; |
---|
| 922 | esac |
---|
| 923 | done |
---|
| 924 | exec %{_bindir}/gcc-%{VERSION} $fl ${1+"$@"} |
---|
| 925 | EOF |
---|
| 926 | cat > $RPM_BUILD_ROOT%{_bindir}/c99-%{VERSION} <<"EOF" |
---|
| 927 | #!/bin/sh |
---|
| 928 | fl="-std=c99" |
---|
| 929 | for opt; do |
---|
| 930 | case "$opt" in |
---|
| 931 | -std=c99|-std=iso9899:1999) fl="";; |
---|
| 932 | -std=*) echo "`basename $0` called with non ISO C99 option $opt" >&2 |
---|
| 933 | exit 1;; |
---|
| 934 | esac |
---|
| 935 | done |
---|
| 936 | exec %{_bindir}/gcc-%{VERSION} $fl ${1+"$@"} |
---|
| 937 | EOF |
---|
| 938 | chmod 755 $RPM_BUILD_ROOT%{_bindir}/c?9-%{VERSION} |
---|
| 939 | |
---|
| 940 | # for alternatives |
---|
| 941 | pushd $RPM_BUILD_ROOT%{_bindir} |
---|
| 942 | for i in gcc cpp g++ g77 gcj gcjh gij grepjar jar \ |
---|
| 943 | jcf-dump jv-convert jv-scan \ |
---|
| 944 | gnat gnatbind gnatbl gnatchop gnatfind gnatkr gnatlink \ |
---|
| 945 | gnatls gnatmake gnatprep gnatpsta gnatpsys gnatxref \ |
---|
| 946 | rmic rmiregistry \ |
---|
| 947 | %{gcc_target_platform}-gcc \ |
---|
| 948 | %{gcc_target_platform}-g++ \ |
---|
| 949 | %{gcc_target_platform}-c++ \ |
---|
| 950 | %{gcc_target_platform}-gcj; do |
---|
| 951 | if [ -f "$i" ] ; then |
---|
| 952 | mv $i $i-%{VERSION} |
---|
| 953 | # ln -sf $i-%{VERSION} $i |
---|
| 954 | fi |
---|
| 955 | done |
---|
| 956 | popd |
---|
[1849] | 957 | %ifnarch x86_64 |
---|
| 958 | pushd $RPM_BUILD_ROOT%{_libdir}/security |
---|
[1836] | 959 | mv classpath.security classpath.security-%{version} |
---|
| 960 | popd |
---|
[1849] | 961 | %endif |
---|
[521] | 962 | |
---|
[1849] | 963 | |
---|
[521] | 964 | cd .. |
---|
| 965 | ##VINE##%find_lang gcc |
---|
| 966 | |
---|
| 967 | |
---|
| 968 | %clean |
---|
| 969 | rm -rf $RPM_BUILD_ROOT |
---|
| 970 | |
---|
| 971 | |
---|
| 972 | ##################################################################### |
---|
| 973 | |
---|
| 974 | |
---|
| 975 | # %post |
---|
| 976 | # /sbin/install-info \ |
---|
| 977 | # --info-dir=%{_infodir} %{_infodir}/gcc.info.gz |
---|
| 978 | # |
---|
| 979 | # %preun |
---|
| 980 | # if [ $1 = 0 ]; then |
---|
| 981 | # /sbin/install-info --delete \ |
---|
| 982 | # --info-dir=%{_infodir} %{_infodir}/gcc.info.gz |
---|
| 983 | # fi |
---|
| 984 | # |
---|
| 985 | # %post -n cpp |
---|
| 986 | # /sbin/install-info \ |
---|
| 987 | # --info-dir=%{_infodir} %{_infodir}/cpp.info.gz |
---|
| 988 | # |
---|
| 989 | # %preun -n cpp |
---|
| 990 | # if [ $1 = 0 ]; then |
---|
| 991 | # /sbin/install-info --delete \ |
---|
| 992 | # --info-dir=%{_infodir} %{_infodir}/cpp.info.gz |
---|
| 993 | # fi |
---|
| 994 | # |
---|
| 995 | # %post g77 |
---|
| 996 | # /sbin/install-info \ |
---|
| 997 | # --info-dir=%{_infodir} %{_infodir}/g77.info.gz |
---|
| 998 | # |
---|
| 999 | # %preun g77 |
---|
| 1000 | # if [ $1 = 0 ]; then |
---|
| 1001 | # /sbin/install-info --delete \ |
---|
| 1002 | # --info-dir=%{_infodir} %{_infodir}/g77.info.gz |
---|
| 1003 | # fi |
---|
| 1004 | # |
---|
| 1005 | # %post java |
---|
| 1006 | # /sbin/install-info \ |
---|
| 1007 | # --info-dir=%{_infodir} %{_infodir}/gcj.info.gz |
---|
| 1008 | # |
---|
| 1009 | # %preun java |
---|
| 1010 | # if [ $1 = 0 ]; then |
---|
| 1011 | # /sbin/install-info --delete \ |
---|
| 1012 | # --info-dir=%{_infodir} %{_infodir}/gcj.info.gz |
---|
| 1013 | # fi |
---|
| 1014 | # |
---|
| 1015 | # %post gnat |
---|
| 1016 | # /sbin/install-info \ |
---|
| 1017 | # --info-dir=%{_infodir} %{_infodir}/gnat_rm.info.gz |
---|
| 1018 | # /sbin/install-info \ |
---|
| 1019 | # --info-dir=%{_infodir} %{_infodir}/gnat_ug.info.gz |
---|
| 1020 | # |
---|
| 1021 | # %preun gnat |
---|
| 1022 | # if [ $1 = 0 ]; then |
---|
| 1023 | # /sbin/install-info --delete \ |
---|
| 1024 | # --info-dir=%{_infodir} %{_infodir}/gnat_rm.info.gz |
---|
| 1025 | # /sbin/install-info --delete \ |
---|
| 1026 | # --info-dir=%{_infodir} %{_infodir}/gnat_ug.info.gz |
---|
| 1027 | # fi |
---|
| 1028 | |
---|
| 1029 | |
---|
| 1030 | ##VINE##%post docs |
---|
| 1031 | ##VINE##%if %{build_ada} |
---|
| 1032 | ##VINE##/sbin/install-info \ |
---|
| 1033 | ##VINE## --info-dir=%{_infodir} %{_infodir}/gnat_rm.info.gz |
---|
| 1034 | ##VINE##/sbin/install-info \ |
---|
| 1035 | ##VINE## --info-dir=%{_infodir} %{_infodir}/gnat_ug.info.gz |
---|
| 1036 | ##VINE##%endif |
---|
| 1037 | ##VINE## |
---|
| 1038 | ##VINE##for i in cpp gcc g77 gcj ; do |
---|
| 1039 | ##VINE## /sbin/install-info --info-dir=%{_infodir} %{_infodir}/$i.info.gz |
---|
| 1040 | ##VINE##done |
---|
| 1041 | |
---|
| 1042 | |
---|
| 1043 | ##VINE##%preun docs |
---|
| 1044 | ##VINE##if [ $1 = 0 ] ; then |
---|
| 1045 | ##VINE##%if %{build_ada} |
---|
| 1046 | ##VINE## /sbin/install-info --delete \ |
---|
| 1047 | ##VINE## --info-dir=%{_infodir} %{_infodir}/gnat_rm.info.gz |
---|
| 1048 | ##VINE## /sbin/install-info --delete \ |
---|
| 1049 | ##VINE## --info-dir=%{_infodir} %{_infodir}/gnat_ug.info.gz |
---|
| 1050 | ##VINE##%endif |
---|
| 1051 | ##VINE## for i in cpp gcc g77 gcj gnat_rm gnat_ug; do |
---|
| 1052 | ##VINE## /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/$i.info.gz |
---|
| 1053 | ##VINE## done |
---|
| 1054 | ##VINE##fi |
---|
| 1055 | |
---|
| 1056 | |
---|
| 1057 | ##VINE##%post -n libgcc -p /sbin/ldconfig |
---|
| 1058 | |
---|
| 1059 | ##VINE##%postun -n libgcc -p /sbin/ldconfig |
---|
| 1060 | |
---|
| 1061 | %post -n libstdc++3 -p /sbin/ldconfig |
---|
| 1062 | |
---|
| 1063 | %postun -n libstdc++3 -p /sbin/ldconfig |
---|
| 1064 | |
---|
[1911] | 1065 | #VINE#post -n compat32-libstdc++3 -p /sbin/ldconfig |
---|
[521] | 1066 | |
---|
[1911] | 1067 | #VINE#postun -n compat32-libstdc++3 -p /sbin/ldconfig |
---|
[521] | 1068 | |
---|
[1910] | 1069 | %post -n libobjc3 -p /sbin/ldconfig |
---|
[521] | 1070 | |
---|
[1910] | 1071 | %postun -n libobjc3 -p /sbin/ldconfig |
---|
[521] | 1072 | |
---|
| 1073 | %post -n libgcj3 |
---|
| 1074 | /sbin/ldconfig |
---|
[1849] | 1075 | %ifnarch x86_64 |
---|
[521] | 1076 | /sbin/update-alternatives \ |
---|
| 1077 | --install %{_bindir}/gij gij %{_bindir}/gij-%{version} 21 \ |
---|
| 1078 | --slave %{_bindir}/jv-convert jv-convert \ |
---|
| 1079 | %{_bindir}/jv-convert-%{version} \ |
---|
| 1080 | --slave %{_bindir}/rmic rmic %{_bindir}/rmic-%{version} \ |
---|
| 1081 | --slave %{_bindir}/rmiregistry rmiregistry \ |
---|
[1836] | 1082 | %{_bindir}/rmiregistry-%{version} \ |
---|
[1849] | 1083 | --slave %{_libdir}/security/classpath.security classpath.security %{_libdir}/security/classpath.security-%{version} |
---|
| 1084 | %else |
---|
| 1085 | /sbin/update-alternatives \ |
---|
| 1086 | --install %{_bindir}/gij gij %{_bindir}/gij-%{version} 21 \ |
---|
| 1087 | --slave %{_bindir}/jv-convert jv-convert \ |
---|
| 1088 | %{_bindir}/jv-convert-%{version} \ |
---|
| 1089 | --slave %{_bindir}/rmic rmic %{_bindir}/rmic-%{version} \ |
---|
| 1090 | --slave %{_bindir}/rmiregistry rmiregistry \ |
---|
| 1091 | %{_bindir}/rmiregistry-%{version} |
---|
| 1092 | %endif |
---|
[521] | 1093 | |
---|
| 1094 | # fix broken symlink if it's there |
---|
| 1095 | if [ ! -f %{_bindir}/gij ] ; then |
---|
| 1096 | /sbin/update-alternatives --auto gij |
---|
| 1097 | fi |
---|
| 1098 | |
---|
| 1099 | %postun -n libgcj3 |
---|
| 1100 | /sbin/ldconfig |
---|
| 1101 | if [ $1 = 0 ]; then |
---|
| 1102 | /sbin/update-alternatives --remove gij %{_bindir}/gij-%{version} |
---|
| 1103 | /sbin/update-alternatives --auto gij |
---|
| 1104 | fi |
---|
| 1105 | |
---|
| 1106 | %post -n libf2c -p /sbin/ldconfig |
---|
| 1107 | |
---|
| 1108 | %postun -n libf2c -p /sbin/ldconfig |
---|
| 1109 | |
---|
| 1110 | %post -n libgnat -p /sbin/ldconfig |
---|
| 1111 | |
---|
| 1112 | %postun -n libgnat -p /sbin/ldconfig |
---|
| 1113 | |
---|
| 1114 | |
---|
| 1115 | %post |
---|
| 1116 | /sbin/update-alternatives \ |
---|
| 1117 | --install %{_bindir}/gcc gcc %{_bindir}/gcc-%{VERSION} 21 \ |
---|
| 1118 | --slave %{_bindir}/cc cc %{_bindir}/gcc-%{VERSION} \ |
---|
| 1119 | --slave %{_bindir}/%{gcc_target_platform}-gcc \ |
---|
| 1120 | %{gcc_target_platform}-gcc \ |
---|
| 1121 | %{_bindir}/%{gcc_target_platform}-gcc-%{VERSION} \ |
---|
| 1122 | --slave %{_bindir}/c89 c89 %{_bindir}/c89-%{VERSION} \ |
---|
| 1123 | --slave %{_bindir}/c99 c99 %{_bindir}/c99-%{VERSION} |
---|
| 1124 | |
---|
| 1125 | # fix broken symlink if it's there |
---|
| 1126 | if [ ! -f %{_bindir}/gcc ] ; then |
---|
| 1127 | /sbin/update-alternatives --auto gcc |
---|
| 1128 | fi |
---|
| 1129 | |
---|
| 1130 | |
---|
| 1131 | %postun |
---|
| 1132 | if [ $1 = 0 ]; then |
---|
| 1133 | /sbin/update-alternatives --remove gcc %{_bindir}/gcc-%{VERSION} |
---|
| 1134 | /sbin/update-alternatives --auto gcc |
---|
| 1135 | fi |
---|
| 1136 | |
---|
| 1137 | %triggerpostun -- gcc-launcher |
---|
| 1138 | /sbin/update-alternatives --auto gcc |
---|
| 1139 | |
---|
| 1140 | %triggerpostun -- gcc < %{version}-%{release} |
---|
| 1141 | /sbin/update-alternatives --auto gcc |
---|
| 1142 | |
---|
| 1143 | |
---|
| 1144 | %post c++ |
---|
| 1145 | /sbin/update-alternatives \ |
---|
| 1146 | --install %{_bindir}/g++ g++ %{_bindir}/g++-%{VERSION} 21 \ |
---|
| 1147 | --slave %{_bindir}/c++ c++ %{_bindir}/g++-%{VERSION} \ |
---|
| 1148 | --slave %{_bindir}/%{gcc_target_platform}-g++ \ |
---|
| 1149 | %{gcc_target_platform}-g++ \ |
---|
| 1150 | %{_bindir}/%{gcc_target_platform}-g++-%{VERSION} \ |
---|
| 1151 | --slave %{_bindir}/%{gcc_target_platform}-c++ \ |
---|
| 1152 | %{gcc_target_platform}-c++ \ |
---|
| 1153 | %{_bindir}/%{gcc_target_platform}-c++-%{VERSION} |
---|
| 1154 | |
---|
| 1155 | # fix broken symlink if it's there |
---|
| 1156 | if [ ! -f %{_bindir}/g++ ] ; then |
---|
| 1157 | /sbin/update-alternatives --auto g++ |
---|
| 1158 | fi |
---|
| 1159 | |
---|
| 1160 | |
---|
| 1161 | %postun c++ |
---|
| 1162 | if [ $1 = 0 ]; then |
---|
| 1163 | /sbin/update-alternatives --remove g++ %{_bindir}/g++-%{VERSION} |
---|
| 1164 | /sbin/update-alternatives --auto g++ |
---|
| 1165 | fi |
---|
| 1166 | |
---|
| 1167 | %triggerpostun c++ -- gcc-c++-launcher |
---|
| 1168 | /sbin/update-alternatives --auto g++ |
---|
| 1169 | |
---|
| 1170 | %triggerpostun c++ -- gcc-c++ < %{version}-%{release} |
---|
| 1171 | /sbin/update-alternatives --auto g++ |
---|
| 1172 | |
---|
| 1173 | |
---|
| 1174 | %post cpp |
---|
| 1175 | /sbin/update-alternatives \ |
---|
| 1176 | --install %{_bindir}/cpp cpp %{_bindir}/cpp-%{VERSION} 21 \ |
---|
| 1177 | --slave /lib/cpp libcpp %{_bindir}/cpp-%{VERSION} |
---|
| 1178 | |
---|
| 1179 | # fix broken symlink if it's there |
---|
| 1180 | if [ ! -f %{_bindir}/cpp ] ; then |
---|
| 1181 | /sbin/update-alternatives --auto cpp |
---|
| 1182 | fi |
---|
| 1183 | |
---|
| 1184 | |
---|
| 1185 | %postun cpp |
---|
| 1186 | if [ $1 = 0 ]; then |
---|
| 1187 | /sbin/update-alternatives --remove cpp %{_bindir}/cpp-%{VERSION} |
---|
| 1188 | /sbin/update-alternatives --auto cpp |
---|
| 1189 | fi |
---|
| 1190 | |
---|
| 1191 | %triggerpostun cpp -- gcc-cpp-launcher |
---|
| 1192 | /sbin/update-alternatives --auto cpp |
---|
| 1193 | |
---|
| 1194 | %triggerpostun cpp -- gcc-cpp < %{version}-%{release} |
---|
| 1195 | /sbin/update-alternatives --auto cpp |
---|
| 1196 | |
---|
| 1197 | |
---|
| 1198 | %post g77 |
---|
| 1199 | /sbin/update-alternatives \ |
---|
| 1200 | --install %{_bindir}/g77 g77 %{_bindir}/g77-%{VERSION} 21 \ |
---|
| 1201 | --slave %{_bindir}/f77 f77 %{_bindir}/g77-%{VERSION} |
---|
| 1202 | |
---|
| 1203 | # fix broken symlink if it's there |
---|
| 1204 | if [ ! -f %{_bindir}/g77 ] ; then |
---|
| 1205 | /sbin/update-alternatives --auto g77 |
---|
| 1206 | fi |
---|
| 1207 | |
---|
| 1208 | |
---|
| 1209 | %postun g77 |
---|
| 1210 | if [ $1 = 0 ]; then |
---|
| 1211 | /sbin/update-alternatives --remove g77 %{_bindir}/g77-%{VERSION} |
---|
| 1212 | /sbin/update-alternatives --auto g77 |
---|
| 1213 | fi |
---|
| 1214 | |
---|
| 1215 | %triggerpostun g77 -- gcc-g77-launcher |
---|
| 1216 | /sbin/update-alternatives --auto g77 |
---|
| 1217 | |
---|
| 1218 | %triggerpostun g77 -- gcc-g77 < %{version}-%{release} |
---|
| 1219 | /sbin/update-alternatives --auto g77 |
---|
| 1220 | |
---|
| 1221 | |
---|
| 1222 | |
---|
| 1223 | %post gnat |
---|
| 1224 | /sbin/update-alternatives \ |
---|
| 1225 | --install %{_bindir}/gnat gnat %{_bindir}/gnat-%{VERSION} 21 \ |
---|
| 1226 | --slave %{_bindir}/gnatbind gnatbind %{_bindir}/gnatbind-%{VERSION} \ |
---|
| 1227 | --slave %{_bindir}/gnatbl gnatbl %{_bindir}/gnatbl-%{VERSION} \ |
---|
| 1228 | --slave %{_bindir}/gnatchop gnatchop %{_bindir}/gnatchop-%{VERSION} \ |
---|
| 1229 | --slave %{_bindir}/gnatfind gnatfind %{_bindir}/gnatfind-%{VERSION} \ |
---|
| 1230 | --slave %{_bindir}/gnatgcc gnatgcc %{_bindir}/gcc-%{VERSION} \ |
---|
| 1231 | --slave %{_bindir}/gnatkr gnatkr %{_bindir}/gnatkr-%{VERSION} \ |
---|
| 1232 | --slave %{_bindir}/gnatlink gnatlink %{_bindir}/gnatlink-%{VERSION} \ |
---|
| 1233 | --slave %{_bindir}/gnatls gnatls %{_bindir}/gnatls-%{VERSION} \ |
---|
| 1234 | --slave %{_bindir}/gnatmake gnatmake %{_bindir}/gnatmake-%{VERSION} \ |
---|
| 1235 | --slave %{_bindir}/gnatprep gnatprep %{_bindir}/gnatprep-%{VERSION} \ |
---|
| 1236 | --slave %{_bindir}/gnatpsta gnatpsta %{_bindir}/gnatpsta-%{VERSION} \ |
---|
| 1237 | --slave %{_bindir}/gnatpsys gnatpsys %{_bindir}/gnatpsys-%{VERSION} \ |
---|
| 1238 | --slave %{_bindir}/gnatxref gnatxref %{_bindir}/gnatxref-%{VERSION} |
---|
| 1239 | |
---|
| 1240 | # fix broken symlink if it's there |
---|
| 1241 | if [ ! -f %{_bindir}/gnat ] ; then |
---|
| 1242 | /sbin/update-alternatives --auto gnat |
---|
| 1243 | fi |
---|
| 1244 | |
---|
| 1245 | %postun gnat |
---|
| 1246 | if [ $1 = 0 ]; then |
---|
| 1247 | /sbin/update-alternatives --remove gnat %{_bindir}/gnat-%{VERSION} |
---|
| 1248 | /sbin/update-alternatives --auto gnat |
---|
| 1249 | fi |
---|
| 1250 | |
---|
| 1251 | %triggerpostun gnat -- gcc-gnat < %{version}-%{release} |
---|
| 1252 | /sbin/update-alternatives --auto gnat |
---|
| 1253 | |
---|
| 1254 | |
---|
| 1255 | |
---|
| 1256 | %post java |
---|
| 1257 | /sbin/update-alternatives \ |
---|
| 1258 | --install %{_bindir}/gcj gcj %{_bindir}/gcj-%{VERSION} 21 \ |
---|
| 1259 | --slave %{_bindir}/gcjh gcjh %{_bindir}/gcjh-%{VERSION} \ |
---|
| 1260 | --slave %{_bindir}/jcf-dump jcf-dump %{_bindir}/jcf-dump-%{VERSION} \ |
---|
| 1261 | --slave %{_bindir}/jv-scan jv-scan %{_bindir}/jv-scan-%{VERSION} |
---|
| 1262 | |
---|
| 1263 | # fix broken symlink if it's there |
---|
| 1264 | if [ ! -f %{_bindir}/gcj ] ; then |
---|
| 1265 | /sbin/update-alternatives --auto gcj |
---|
| 1266 | fi |
---|
| 1267 | |
---|
| 1268 | %postun java |
---|
| 1269 | if [ $1 = 0 ]; then |
---|
| 1270 | /sbin/update-alternatives --remove gcj %{_bindir}/gcj-%{VERSION} |
---|
| 1271 | /sbin/update-alternatives --auto gcj |
---|
| 1272 | fi |
---|
| 1273 | |
---|
| 1274 | %triggerpostun java -- gcc-java-launcher |
---|
| 1275 | /sbin/update-alternatives --auto gcj |
---|
| 1276 | |
---|
| 1277 | %triggerpostun java -- gcc-java < %{version}-%{release} |
---|
| 1278 | /sbin/update-alternatives --auto gcj |
---|
| 1279 | |
---|
| 1280 | |
---|
| 1281 | |
---|
| 1282 | ##################################################################### |
---|
| 1283 | |
---|
| 1284 | |
---|
| 1285 | ##VINE##%files -f gcc.lang |
---|
| 1286 | %files |
---|
| 1287 | %defattr(-,root,root) |
---|
| 1288 | #%{_bindir}/cc |
---|
| 1289 | %{_bindir}/c89-%{VERSION} |
---|
| 1290 | %{_bindir}/c99-%{VERSION} |
---|
| 1291 | %{_bindir}/gcc-%{VERSION} |
---|
| 1292 | #%{_bindir}/gcov |
---|
| 1293 | #%{_bindir}/protoize |
---|
| 1294 | #%{_bindir}/unprotoize |
---|
| 1295 | %ifarch sparc |
---|
| 1296 | %{_bindir}/%{_target_platform}-gcc |
---|
| 1297 | %endif |
---|
| 1298 | %ifarch sparc64 |
---|
| 1299 | %{_bindir}/sparc-%{_vendor}-%{_target_os}-gcc |
---|
| 1300 | %endif |
---|
| 1301 | %{_bindir}/%{gcc_target_platform}-gcc-%{VERSION} |
---|
| 1302 | #%{_mandir}/man1/gcc.1* |
---|
| 1303 | #%{_mandir}/man1/gcov.1* |
---|
| 1304 | #%{_infodir}/gcc* |
---|
| 1305 | %dir %{gcclib_dir} |
---|
| 1306 | %dir %{gcclib_dir}/%{gcc_target_platform} |
---|
| 1307 | %dir %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version} |
---|
| 1308 | %dir %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/include |
---|
| 1309 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/include/stddef.h |
---|
| 1310 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/include/stdarg.h |
---|
| 1311 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/include/varargs.h |
---|
| 1312 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/include/float.h |
---|
| 1313 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/include/limits.h |
---|
| 1314 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/include/stdbool.h |
---|
| 1315 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/include/iso646.h |
---|
| 1316 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/include/syslimits.h |
---|
| 1317 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/include/unwind.h |
---|
| 1318 | %ifarch %{ix86} x86_64 |
---|
| 1319 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/include/mmintrin.h |
---|
| 1320 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/include/xmmintrin.h |
---|
| 1321 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/include/emmintrin.h |
---|
| 1322 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/include/pmmintrin.h |
---|
| 1323 | %endif |
---|
| 1324 | %ifarch ia64 |
---|
| 1325 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/include/ia64intrin.h |
---|
| 1326 | %endif |
---|
| 1327 | %ifarch ppc |
---|
| 1328 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/include/ppc-asm.h |
---|
| 1329 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/include/altivec.h |
---|
| 1330 | %endif |
---|
| 1331 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/include/README |
---|
| 1332 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/collect2 |
---|
| 1333 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/crt*.o |
---|
| 1334 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/libgcc.a |
---|
| 1335 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/libgcc_eh.a |
---|
| 1336 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/libgcc_s.so |
---|
| 1337 | %ifarch sparc |
---|
| 1338 | %dir %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/64 |
---|
| 1339 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/64/crt*.o |
---|
| 1340 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/64/libgcc.a |
---|
| 1341 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/64/libgcc_eh.a |
---|
| 1342 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/libgcc_s_64.so |
---|
| 1343 | %endif |
---|
| 1344 | %ifarch sparc64 x86_64 s390x |
---|
| 1345 | %dir %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/32 |
---|
| 1346 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/32/crt*.o |
---|
| 1347 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/32/libgcc.a |
---|
| 1348 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/32/libgcc_eh.a |
---|
| 1349 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/libgcc_s_32.so |
---|
| 1350 | %endif |
---|
| 1351 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/specs |
---|
| 1352 | %doc gcc/README* gcc/*ChangeLog* |
---|
| 1353 | |
---|
| 1354 | |
---|
| 1355 | %files cpp |
---|
| 1356 | %defattr(-,root,root) |
---|
| 1357 | /lib/cpp |
---|
| 1358 | %{_bindir}/cpp-%{VERSION} |
---|
| 1359 | #%{_mandir}/man1/cpp.1* |
---|
| 1360 | #%{_infodir}/cpp* |
---|
| 1361 | %dir %{gcclib_dir} |
---|
| 1362 | %dir %{gcclib_dir}/%{gcc_target_platform} |
---|
| 1363 | %dir %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version} |
---|
| 1364 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/cc1 |
---|
| 1365 | #GCC#%{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/cpp0 |
---|
| 1366 | #GCC#%{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/tradcpp0 |
---|
| 1367 | |
---|
| 1368 | |
---|
| 1369 | ##VINE##%files -n libgcc |
---|
| 1370 | ##VINE##%defattr(-,root,root) |
---|
| 1371 | ##VINE##%ifarch x86_64 |
---|
| 1372 | ##VINE##/lib/libgcc_s-%{gcc_version}.so.1 |
---|
| 1373 | ##VINE##/lib/libgcc_s.so.1 |
---|
| 1374 | ##VINE##%endif |
---|
| 1375 | ##VINE##/%{_lib}/libgcc_s-%{gcc_version}.so.1 |
---|
| 1376 | ##VINE##/%{_lib}/libgcc_s.so.1 |
---|
| 1377 | |
---|
| 1378 | |
---|
| 1379 | %files c++ |
---|
| 1380 | %defattr(-,root,root) |
---|
| 1381 | %{_bindir}/%{gcc_target_platform}-*++-%{VERSION} |
---|
| 1382 | %{_bindir}/g++-%{VERSION} |
---|
| 1383 | #%{_bindir}/c++ |
---|
| 1384 | #%{_bindir}/c++filt |
---|
| 1385 | #%{_mandir}/man1/g++.1* |
---|
| 1386 | %dir %{gcclib_dir} |
---|
| 1387 | %dir %{gcclib_dir}/%{gcc_target_platform} |
---|
| 1388 | %dir %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version} |
---|
| 1389 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/cc1plus |
---|
| 1390 | %ifarch sparc |
---|
| 1391 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/64/libstdc++.so |
---|
| 1392 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/64/libstdc++.a |
---|
| 1393 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/64/libsupc++.a |
---|
| 1394 | %endif |
---|
| 1395 | %ifarch sparc64 x86_64 s390x |
---|
| 1396 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/32/libstdc++.so |
---|
| 1397 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/32/libstdc++.a |
---|
| 1398 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/32/libsupc++.a |
---|
| 1399 | %endif |
---|
| 1400 | %ifarch sparc sparc64 x86_64 s390x |
---|
| 1401 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/libstdc++.so |
---|
| 1402 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/libsupc++.a |
---|
| 1403 | %endif |
---|
| 1404 | %ifarch sparc sparc64 |
---|
| 1405 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/libstdc++.a |
---|
| 1406 | %endif |
---|
| 1407 | %doc gcc/cp/ChangeLog* |
---|
| 1408 | |
---|
| 1409 | |
---|
| 1410 | %files -n libstdc++3 |
---|
| 1411 | %defattr(-,root,root) |
---|
[1911] | 1412 | %ifarch x86_64 |
---|
| 1413 | %{_prefix}/lib/libstdc++.so.5* |
---|
| 1414 | %endif |
---|
[521] | 1415 | %{_prefix}/%{_lib}/libstdc++.so.5* |
---|
| 1416 | %doc libstdc++-v3/*ChangeLog* |
---|
| 1417 | |
---|
| 1418 | |
---|
[1916] | 1419 | #if %{build_compat32} |
---|
| 1420 | #files -n compat32-libstdc++3 |
---|
[1911] | 1421 | #defattr(-,root,root) |
---|
| 1422 | #{_prefix}/lib/libstdc++.so.5* |
---|
[1916] | 1423 | #endif |
---|
[521] | 1424 | |
---|
| 1425 | |
---|
| 1426 | %files -n libstdc++3-devel |
---|
| 1427 | %defattr(-,root,root) |
---|
| 1428 | %{_prefix}/include/c++ |
---|
| 1429 | %ifarch sparc |
---|
| 1430 | %dir %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/lib32 |
---|
| 1431 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/lib32/libstdc++.a |
---|
| 1432 | %endif |
---|
| 1433 | %ifarch sparc64 |
---|
| 1434 | %dir %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/lib64 |
---|
| 1435 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/lib64/libstdc++.a |
---|
| 1436 | %endif |
---|
| 1437 | %ifnarch sparc sparc64 |
---|
| 1438 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/libstdc++.a |
---|
| 1439 | %endif |
---|
| 1440 | %ifnarch sparc sparc64 x86_64 s390x |
---|
| 1441 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/libstdc++.so |
---|
| 1442 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/libsupc++.a |
---|
| 1443 | %endif |
---|
| 1444 | %doc libstdc++-v3/ChangeLog* libstdc++-v3/README* libstdc++-v3/docs/html/ |
---|
| 1445 | |
---|
| 1446 | |
---|
| 1447 | %files objc |
---|
| 1448 | %defattr(-,root,root) |
---|
| 1449 | %dir %{gcclib_dir} |
---|
| 1450 | %dir %{gcclib_dir}/%{gcc_target_platform} |
---|
| 1451 | %dir %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version} |
---|
| 1452 | %dir %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/include |
---|
| 1453 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/include/objc |
---|
| 1454 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/cc1obj |
---|
| 1455 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/libobjc.a |
---|
| 1456 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/libobjc.so |
---|
| 1457 | %ifarch sparc |
---|
| 1458 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/64/libobjc.a |
---|
| 1459 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/64/libobjc.so |
---|
| 1460 | %endif |
---|
| 1461 | %ifarch sparc64 x86_64 s390x |
---|
| 1462 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/32/libobjc.a |
---|
| 1463 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/32/libobjc.so |
---|
| 1464 | %endif |
---|
| 1465 | %doc rpm.doc/objc/* |
---|
| 1466 | %doc libobjc/THREADS* libobjc/ChangeLog |
---|
| 1467 | |
---|
| 1468 | |
---|
[1910] | 1469 | %files -n libobjc3 |
---|
| 1470 | %defattr(-,root,root) |
---|
| 1471 | %ifarch x86_64 |
---|
| 1472 | %{_prefix}/lib/libobjc.so.1* |
---|
| 1473 | %endif |
---|
| 1474 | %{_prefix}/%{_lib}/libobjc.so.1* |
---|
[521] | 1475 | |
---|
| 1476 | |
---|
| 1477 | %files g77 |
---|
| 1478 | %defattr(-,root,root) |
---|
| 1479 | %{_bindir}/g77-%{VERSION} |
---|
| 1480 | #%{_bindir}/f77 |
---|
| 1481 | #%{_mandir}/man1/g77.1* |
---|
| 1482 | #%{_infodir}/g77* |
---|
| 1483 | %dir %{gcclib_dir} |
---|
| 1484 | %dir %{gcclib_dir}/%{gcc_target_platform} |
---|
| 1485 | %dir %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version} |
---|
| 1486 | %dir %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/include |
---|
| 1487 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/f771 |
---|
| 1488 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/libfrtbegin.a |
---|
| 1489 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/libg2c.a |
---|
| 1490 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/libg2c.so |
---|
| 1491 | %ifarch sparc |
---|
| 1492 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/64/libfrtbegin.a |
---|
| 1493 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/64/libg2c.a |
---|
| 1494 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/64/libg2c.so |
---|
| 1495 | %endif |
---|
| 1496 | %ifarch sparc64 x86_64 s390x |
---|
| 1497 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/32/libfrtbegin.a |
---|
| 1498 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/32/libg2c.a |
---|
| 1499 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/32/libg2c.so |
---|
| 1500 | %endif |
---|
| 1501 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/include/g2c.h |
---|
| 1502 | %doc gcc/f/ChangeLog* rpm.doc/g77/* |
---|
| 1503 | |
---|
| 1504 | |
---|
| 1505 | %files -n libf2c |
---|
| 1506 | %defattr(-,root,root) |
---|
| 1507 | %ifarch x86_64 |
---|
| 1508 | %{_prefix}/lib/libg2c.so.0* |
---|
| 1509 | %endif |
---|
| 1510 | %{_prefix}/%{_lib}/libg2c.so.0* |
---|
| 1511 | |
---|
| 1512 | |
---|
| 1513 | %files java |
---|
| 1514 | %defattr(-,root,root) |
---|
| 1515 | %{_bindir}/%{gcc_target_platform}-gcj-%{VERSION} |
---|
| 1516 | %{_bindir}/gcj-%{VERSION} |
---|
| 1517 | %{_bindir}/gcjh-%{VERSION} |
---|
| 1518 | %{_bindir}/jcf-dump-%{VERSION} |
---|
| 1519 | %{_bindir}/jv-scan-%{VERSION} |
---|
| 1520 | #%{_mandir}/man1/gcj.1* |
---|
| 1521 | #%{_mandir}/man1/gcjh.1* |
---|
| 1522 | #%{_mandir}/man1/jcf-dump.1* |
---|
| 1523 | #%{_mandir}/man1/jv-scan.1* |
---|
| 1524 | #%{_infodir}/gcj* |
---|
| 1525 | %dir %{gcclib_dir} |
---|
| 1526 | %dir %{gcclib_dir}/%{gcc_target_platform} |
---|
| 1527 | %dir %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version} |
---|
| 1528 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/jc1 |
---|
| 1529 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/jvgenmain |
---|
| 1530 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/libgcj.so |
---|
| 1531 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/lib-org-w3c-dom.so |
---|
| 1532 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/lib-org-xml-sax.so |
---|
| 1533 | %ifarch sparc sparc64 |
---|
| 1534 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/libgcj.a |
---|
| 1535 | %endif |
---|
| 1536 | %ifarch sparc |
---|
| 1537 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/64/libgcj.so |
---|
| 1538 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/lib-org-w3c-dom.so |
---|
| 1539 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/lib-org-xml-sax.so |
---|
| 1540 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/64/libgcj.a |
---|
| 1541 | %endif |
---|
| 1542 | %ifarch sparc64 x86_64 s390x |
---|
| 1543 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/32/libgcj.so |
---|
| 1544 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/lib-org-w3c-dom.so |
---|
| 1545 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/lib-org-xml-sax.so |
---|
| 1546 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/32/libgcj.a |
---|
| 1547 | %endif |
---|
| 1548 | %doc gcc/java/ChangeLog* |
---|
| 1549 | |
---|
| 1550 | |
---|
| 1551 | %files -n libgcj3 |
---|
| 1552 | %defattr(-,root,root) |
---|
| 1553 | %{_bindir}/jv-convert-%{version} |
---|
| 1554 | %{_bindir}/gij-%{version} |
---|
| 1555 | %{_bindir}/jar-%{version} |
---|
| 1556 | %{_bindir}/grepjar-%{version} |
---|
| 1557 | %{_bindir}/rmic-%{version} |
---|
| 1558 | %{_bindir}/rmiregistry-%{version} |
---|
| 1559 | #%{_mandir}/man1/jv-convert.1* |
---|
| 1560 | #%{_mandir}/man1/gij.1* |
---|
| 1561 | #%{_mandir}/man1/rmic.1* |
---|
| 1562 | #%{_mandir}/man1/rmiregistry.1* |
---|
[1911] | 1563 | %ifarch x86_64 |
---|
[1914] | 1564 | %{_prefix}/lib/libgcj.so.4* |
---|
[1911] | 1565 | %endif |
---|
[521] | 1566 | %{_prefix}/%{_lib}/libgcj.so.* |
---|
| 1567 | %{_prefix}/%{_lib}/lib-org-w3c-dom.so.* |
---|
| 1568 | %{_prefix}/%{_lib}/lib-org-xml-sax.so.* |
---|
| 1569 | %{_prefix}/share/java |
---|
[1849] | 1570 | %ifarch x86_64 |
---|
| 1571 | %{_prefix}/lib/security |
---|
| 1572 | %else |
---|
| 1573 | %{_libdir}/security |
---|
| 1574 | %endif |
---|
[521] | 1575 | |
---|
| 1576 | |
---|
| 1577 | %files -n libgcj3-devel |
---|
| 1578 | %defattr(-,root,root) |
---|
| 1579 | %{_bindir}/addr2name.awk |
---|
| 1580 | %ifarch sparc |
---|
| 1581 | %dir %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/lib32 |
---|
| 1582 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/lib32/libgcj.a |
---|
| 1583 | %endif |
---|
| 1584 | %ifarch sparc64 |
---|
| 1585 | %dir %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/lib64 |
---|
| 1586 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/lib64/libgcj.a |
---|
| 1587 | %endif |
---|
| 1588 | %ifnarch sparc sparc64 |
---|
| 1589 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/libgcj.a |
---|
| 1590 | %endif |
---|
| 1591 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/libgcj.spec |
---|
| 1592 | #GCC#%{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/include/gc*.h |
---|
| 1593 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/include/j*.h |
---|
| 1594 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/include/java |
---|
| 1595 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/include/javax |
---|
| 1596 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/include/gnu |
---|
| 1597 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/include/gcj |
---|
| 1598 | #GCC#%{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/include/org |
---|
[1836] | 1599 | #doc rpm.doc/boehm-gc/* rpm.doc/fastjar/* rpm.doc/libffi/* |
---|
| 1600 | %doc rpm.doc/boehm-gc/* rpm.doc/libffi/* |
---|
[521] | 1601 | %doc rpm.doc/libjava/* |
---|
| 1602 | |
---|
| 1603 | |
---|
| 1604 | %if %{build_ada} |
---|
| 1605 | %files gnat |
---|
| 1606 | %defattr(-,root,root) |
---|
| 1607 | %{_bindir}/gnat* |
---|
| 1608 | #%{_infodir}/gnat* |
---|
| 1609 | %dir %{gcclib_dir} |
---|
| 1610 | %dir %{gcclib_dir}/%{gcc_target_platform} |
---|
| 1611 | %dir %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version} |
---|
| 1612 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/adainclude |
---|
| 1613 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/adalib |
---|
| 1614 | %{gcclib_dir}/%{gcc_target_platform}/%{gcc_version}/gnat1 |
---|
| 1615 | %doc gcc/ada/ChangeLog |
---|
| 1616 | |
---|
| 1617 | |
---|
| 1618 | %files -n libgnat |
---|
| 1619 | %defattr(-,root,root) |
---|
| 1620 | %{_prefix}/%{_lib}/libgnat-*.so.* |
---|
| 1621 | %{_prefix}/%{_lib}/libgnarl-*.so.* |
---|
| 1622 | %endif |
---|
| 1623 | |
---|
| 1624 | |
---|
| 1625 | %ifarch sparc |
---|
| 1626 | %files sparc32 |
---|
| 1627 | %defattr(-,root,root) |
---|
| 1628 | %dir %{gcclib_dir}/%{_target_platform}/%{gcc_version} |
---|
| 1629 | %{gcclib_dir}/%{_target_platform}/%{gcc_version}/cc1 |
---|
| 1630 | %{gcclib_dir}/%{_target_platform}/%{gcc_version}/include |
---|
| 1631 | |
---|
| 1632 | |
---|
| 1633 | %files c++-sparc32 |
---|
| 1634 | %defattr(-,root,root) |
---|
| 1635 | %{gcclib_dir}/%{_target_platform}/%{gcc_version}/cc1plus |
---|
| 1636 | %endif |
---|
| 1637 | |
---|
| 1638 | |
---|
| 1639 | ##VINE##%files tools |
---|
| 1640 | ##VINE##%defattr(-,root,root) |
---|
| 1641 | ##VINE##%doc README* COPYING COPYING.LIB |
---|
| 1642 | ##VINE##%{_bindir}/gcov |
---|
| 1643 | ##VINE##%{_bindir}/protoize |
---|
| 1644 | ##VINE##%{_bindir}/unprotoize |
---|
| 1645 | ##VINE###GCC#%{_bindir}/c++filt |
---|
| 1646 | |
---|
| 1647 | |
---|
| 1648 | ##VINE##%files docs |
---|
| 1649 | ##VINE##%defattr(-,root,root) |
---|
| 1650 | ##VINE##%doc README* COPYING COPYING.LIB |
---|
| 1651 | ##VINE##%{_infodir}/* |
---|
| 1652 | ##VINE##%{_mandir}/*/* |
---|
| 1653 | |
---|
| 1654 | |
---|
| 1655 | %changelog |
---|
[1916] | 1656 | * Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.3.6-7 |
---|
| 1657 | - (skipped 3.3.6-6) |
---|
[1910] | 1658 | - added libobjc3 subpackage |
---|
[1911] | 1659 | - dropt compat32-libstdc++3 package (merged to libstdc++3 package) |
---|
[1914] | 1660 | - fixed %%files section for x86_64 (libstdc++3, libgcj3) |
---|
[1910] | 1661 | |
---|
[1849] | 1662 | * Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.3.6-5 |
---|
| 1663 | - fixed /usr/lib/security path for x86_64 |
---|
| 1664 | |
---|
[1836] | 1665 | * Thu Jul 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.3.6-4 |
---|
| 1666 | - rebuilt with current toolchain |
---|
| 1667 | - added R: fastjar to libgcj3 package |
---|
| 1668 | |
---|
[521] | 1669 | * Fri Mar 20 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.3.6-3 |
---|
| 1670 | - add Patch400 (fix up for the latest bison) |
---|
| 1671 | - drop Patch300; modify OPT_FLAGS (disable -mtune=generic et al.) |
---|
| 1672 | |
---|
| 1673 | * Tue Dec 30 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.3.6-2 |
---|
| 1674 | - add dirty hack Patch300 to accept (pass through) m32 option |
---|
| 1675 | |
---|
| 1676 | * Fri Oct 24 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.3.6-1vl5 |
---|
| 1677 | - applied new versioning policy |
---|
| 1678 | - spec in UTF-8 |
---|
| 1679 | |
---|
| 1680 | * Mon May 07 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.3.6-0vl9 |
---|
| 1681 | - renamed to gcc3 |
---|
| 1682 | - disable libgcc/libobjc/docs/tools subpackages |
---|
| 1683 | - lowered priority of alternatives from 30 to 21 |
---|
| 1684 | |
---|
| 1685 | * Sun Jan 28 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 3.3.6-0vl8 |
---|
| 1686 | - fixed typo in spec <BTS:VineLinux:425> |
---|
| 1687 | |
---|
| 1688 | * Wed Sep 13 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 3.3.6-0vl7 |
---|
| 1689 | - change docs Group to Applications/Documentation. <BTS:VineLinux:163> |
---|
| 1690 | |
---|
| 1691 | * Sun Jul 16 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.3.6-0vl6 |
---|
| 1692 | - rebuild with glibc-2.3.4 |
---|
| 1693 | |
---|
| 1694 | * Sat Jun 17 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 3.3.6-0vl5 |
---|
| 1695 | - add lib-org-* to gcc-java |
---|
| 1696 | |
---|
| 1697 | * Fri Jun 16 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.3.6-0vl4 |
---|
| 1698 | - added Patch200 (fix ASM_CPU_SPEC for ppc) |
---|
| 1699 | |
---|
| 1700 | * Sat Feb 18 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.3.6-0vl3 |
---|
| 1701 | - fixed typo in some summaries and descriptions |
---|
| 1702 | - added update-alternatives to %post libgcj |
---|
| 1703 | |
---|
| 1704 | * Sun Oct 23 2005 NAKAMURA Kenta <kenta@c.csce.kyushu-u.ac.jp> 3.3.6-0vl2 |
---|
| 1705 | - replaced %{_libdir}/gcc-lib with %{gcclib_dir} |
---|
| 1706 | for x86_64 architecture support ([VineSeed:10281],[VineSeed:10284]) |
---|
| 1707 | - fixed %files section on gcc-g77 |
---|
| 1708 | - added compat32-libstdc++3 package |
---|
| 1709 | |
---|
| 1710 | * Sat Aug 13 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.3.6-0vl1 |
---|
| 1711 | - fixed %%triggerpostun problems ([VineSeed:09815],[VineSeed:09816]) |
---|
| 1712 | - updated to 3.3.6 release |
---|
| 1713 | 3.3.6 is the latest and the last release of the gcc 3.3.x series |
---|
| 1714 | |
---|
| 1715 | * Thu Mar 10 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.3.5-0vl2 |
---|
| 1716 | - update check-abi logic in the spec file |
---|
| 1717 | |
---|
| 1718 | * Sat Mar 05 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.3.5-0vl1 |
---|
| 1719 | - updated to 3.3.6 prerelease (as of 20050305) |
---|
| 1720 | |
---|
| 1721 | * Thu May 27 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.3.2-0vl8 |
---|
| 1722 | - revised %setup section to correct version strings with Vine |
---|
| 1723 | |
---|
| 1724 | * Tue Feb 3 2004 Tomoya TAKA <taka@vinelinux.org> 3.3.2-0vl7 |
---|
| 1725 | - move cc1 into gcc-cpp |
---|
| 1726 | |
---|
| 1727 | * Wed Jan 21 2004 Tomoya TAKA <taka@vinelinux.org> 3.3.2-0vl6 |
---|
| 1728 | - libstdc++3 provides libstdc++ |
---|
| 1729 | - include pmmintrin.h on IA32/x86_64, unwind.h on all archs |
---|
| 1730 | |
---|
| 1731 | * Sun Jan 11 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 3.3.2-0vl5 |
---|
| 1732 | - update from gcc-3_3-branch 20031219 (3.3.2-5) |
---|
| 1733 | - PRs target/11992, target/13122, optimization/13037, |
---|
| 1734 | target/13256, target/12598, optimization/13318, |
---|
| 1735 | optimization/13060, optimization/12965, target/13354, |
---|
| 1736 | optimization/4490, target/13150, middle-end/10060, |
---|
| 1737 | driver/13211, target/13302, target/11322, target/12467, |
---|
| 1738 | 12969, target/8407, 10239, 11640, c++/12253, |
---|
| 1739 | c++/13262, c++/13323, fortran/12633, libstdc++/6243, |
---|
| 1740 | libstdc++/11612, libstdc++/12496, libstdc++/13290, |
---|
| 1741 | libstdc++/9371, libstdc++/9546, libstdc++/10093, |
---|
| 1742 | libstdc++/10095 |
---|
| 1743 | - fix __builtin_expect in C++ code |
---|
| 1744 | |
---|
| 1745 | * Thu Jan 01 2004 Satoshi MACHINO <machino@vinelinux.org> 3.3.2-0vl4 |
---|
| 1746 | - added emmintrin.h to gcc's package, see [VineSeed:08374] |
---|
| 1747 | |
---|
| 1748 | * Sat Dec 20 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.3.2-0vl3 |
---|
| 1749 | - added BuildRequires: texinfo >= 4.2, for /usr/bin/makeinfo no older than |
---|
| 1750 | 4.2 seems to be needed for making info files |
---|
| 1751 | |
---|
| 1752 | * Fri Dec 19 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.3.2-0vl2 |
---|
| 1753 | - version string changed for Vine, then rebuilt |
---|
| 1754 | |
---|
| 1755 | * Fri Dec 19 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.3.2-0vl1 |
---|
| 1756 | - updated to 3.3.2 (as of 20021023), based on [VineSeed:08312] |
---|
| 1757 | |
---|
| 1758 | * Mon Sep 15 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.3-0vl5 |
---|
| 1759 | - use License tag |
---|
| 1760 | |
---|
| 1761 | * Wed Sep 10 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.2.3-0vl4 |
---|
| 1762 | - rebuilt |
---|
| 1763 | |
---|
| 1764 | * Fri Jul 18 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.2.3-0vl3 |
---|
| 1765 | - added Patch0 |
---|
| 1766 | |
---|
| 1767 | * Mon May 12 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.3-0vl2 |
---|
| 1768 | - use more macros in spec file. |
---|
| 1769 | |
---|
| 1770 | * Mon May 12 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.3-0vl1 |
---|
| 1771 | - new upstream release 3.2.3 |
---|
| 1772 | |
---|
| 1773 | * Fri Feb 07 2003 Tomoya TAKA <taka@vinelinux.org> 3.2.2-0vl1 |
---|
| 1774 | - new upstream release 3.2.2 |
---|
| 1775 | |
---|
| 1776 | * Mon Jan 27 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.2.2-0vl0.10 |
---|
| 1777 | - source updated to CVS (3.2.2 prerelease) as of 2003-01-26 |
---|
| 1778 | - including such PRs as: |
---|
| 1779 | optimization/9279, c/2454, opt/7507, c++/9328, c++/47, c++/8503, |
---|
| 1780 | c++/8442, C++/8031, libstdc++/9322 |
---|
| 1781 | |
---|
| 1782 | * Tue Jan 14 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.2.2-0vl0.9 |
---|
| 1783 | - rebuilt with binutils-2.13.90.16-3vl4 and glibc-2.3.1-34vl1 |
---|
| 1784 | |
---|
| 1785 | * Mon Jan 13 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.2.2-0vl0.8 |
---|
| 1786 | - source updated to CVS (3.2.2 prerelease) as of 2003-01-12 |
---|
| 1787 | |
---|
| 1788 | * Wed Jan 08 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.2.2-0vl0.7 |
---|
| 1789 | - source updated to CVS (3.2.2 prerelease) as of 2003-01-07 |
---|
| 1790 | |
---|
| 1791 | * Wed Dec 21 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.2.2-0vl0.6 |
---|
| 1792 | - source updated to CVS (3.2.2 prerelease) as of 2002-12-20 |
---|
| 1793 | |
---|
| 1794 | * Sat Dec 14 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.2-0vl0.5 |
---|
| 1795 | - rebuild to remove unnecessary dependancy. |
---|
| 1796 | |
---|
| 1797 | * Thu Dec 12 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.2.2-0vl0.4 |
---|
| 1798 | - added more %%post scripts to fix broken symlink on alternatives |
---|
| 1799 | |
---|
| 1800 | * Wed Dec 11 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.2.2-0vl0.3 |
---|
| 1801 | - source updated to CVS (3.2.2 prerelease) as of 2002-12-10 |
---|
| 1802 | |
---|
| 1803 | * Sun Dec 08 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.2.2-0vl0.2 |
---|
| 1804 | - fixed a bug in triggerscript which deals with cpp alternatives |
---|
| 1805 | - %%{gcc_target_platform}-{gcc,g++,c++} with alternatives |
---|
| 1806 | - TODO: we have decide better way how to handle |
---|
| 1807 | %%{gcc_target_platform}-{gcc,g++,c++} with alternatives |
---|
| 1808 | |
---|
| 1809 | * Thu Dec 05 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.2.2-0vl0.1 |
---|
| 1810 | - source updated to CVS (3.2.2 prerelease) as of 2002-12-04 |
---|
| 1811 | (including several bug fix such as PR 8275,8362,8599 |
---|
| 1812 | see ChangeLog for details) |
---|
| 1813 | - added some missing ChangeLog to the %%doc list |
---|
| 1814 | |
---|
| 1815 | * Sat Nov 21 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.2.1-0vl5 |
---|
| 1816 | - source updated to CVS (3.2.1 release) as of 2002-11-20 |
---|
| 1817 | (it's the same as gcc-3.2.1 tarball in essence) |
---|
| 1818 | |
---|
| 1819 | * Sat Nov 16 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.2.1-0vl4 |
---|
| 1820 | - source updated to CVS (3.2.1 prerelease) as of late 2002-11-15 |
---|
| 1821 | (includes important bug fix: |
---|
| 1822 | http://gcc.gnu.org/ml/gcc-cvs/2002-11/msg00441.html) |
---|
| 1823 | - BuildRequires for binutils bumped to 2.13.90.0.10 |
---|
| 1824 | (powerpc-*-linux-gnu needs this version or up for a working gcc) |
---|
| 1825 | |
---|
| 1826 | * Thu Nov 14 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.2.1-0vl3 |
---|
| 1827 | - rebuilt with new toolchain (binutils-2.13.90.0.10-3vl4, glibc-2.3.1-6vl3) |
---|
| 1828 | - source updated to CVS (3.2.1 prerelease) as of 2002-11-15 |
---|
| 1829 | |
---|
| 1830 | * Wed Nov 13 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.2.1-0vl2 |
---|
| 1831 | - rebuilt with new toolchain (glibc-2.3.1-6vl2) |
---|
| 1832 | |
---|
| 1833 | * Tue Nov 12 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.2.1-0vl1 |
---|
| 1834 | - source updated to CVS (3.2.1 prerelease) as of 2002-11-11 |
---|
| 1835 | - make check with LANG=C |
---|
| 1836 | |
---|
| 1837 | * Mon Nov 11 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.2.1-0vl0 |
---|
| 1838 | - source updated to CVS (3.2.1 prerelease) as of 2002-11-10 |
---|
| 1839 | - Doh! strange macro definition. My own mistake. Fixed. |
---|
| 1840 | - Don't replace version strings (with Red Hat ones) |
---|
| 1841 | - several Obsoletes/Conflicts/Provides treatments |
---|
| 1842 | - make c89 and c99 alternatives-savvy |
---|
| 1843 | - added Patch100 back (from previous Vine's gcc package) for ppc |
---|
| 1844 | |
---|
| 1845 | * Mon Nov 11 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.2-11vl0 |
---|
| 1846 | - based on 3.2-11 from Rawhide and re-constructed for Vine Linux |
---|
| 1847 | - make alternatives-savvy as in previous Vine packageing scheme |
---|
| 1848 | - temporarily disabled to build Ada subpackages (gcc-gnat, libgnat) for Vine |
---|
| 1849 | |
---|
| 1850 | * Wed Oct 23 2002 Jakub Jelinek <jakub@redhat.com> 3.2-11 |
---|
| 1851 | - update from gcc-3_2-rhl8-branch |
---|
| 1852 | - PRs target/7693, opt/7630, c++/6419, target/7396, c++/8218, |
---|
| 1853 | c++/7676, c++/7584, c++/7478, c++/8134, c++/7524, c++/7176, |
---|
| 1854 | c++/5661, c++/6803, c++/7721, c++/7803, c++/7754, c++/7188, |
---|
| 1855 | libstdc++/8071, libstdc++/8127, c++/6745, libstdc++/8096, |
---|
| 1856 | libstdc++/7811 |
---|
| 1857 | - fix x86-64 ICE with stdarg in -fpic (#76491) |
---|
| 1858 | - fix IA-32 miscompilation of DImode code (Jim Wilson, PR target/6981) |
---|
| 1859 | |
---|
| 1860 | * Wed Oct 16 2002 Jakub Jelinek <jakub@redhat.com> 3.2-10 |
---|
| 1861 | - update from gcc-3_2-rhl8-branch |
---|
| 1862 | - PRs target/7370, target/8232, opt/7409, preprocessor/7862, |
---|
| 1863 | preprocessor/8190, optimization/6631, target/5610, optimization/7951, |
---|
| 1864 | target/7723 |
---|
| 1865 | - allow building even if de_DE locale is not installed (#74503, #75889) |
---|
| 1866 | - s390x multilib |
---|
| 1867 | - x86-64 TLS fixes |
---|
| 1868 | - 15 Java fixes (Anthony Green, Andrew Haley, Tom Tromey, |
---|
| 1869 | PRs java/6005, java/7611, java/8003, java/7950, java/5794, libgcj/7073) |
---|
| 1870 | - %%define _unpackaged_files_terminate_build 0 |
---|
| 1871 | - fix make check-abi |
---|
| 1872 | |
---|
| 1873 | * Fri Oct 11 2002 Jakub Jelinek <jakub@redhat.com> 3.2-9 |
---|
| 1874 | - update from gcc-3_2-rhl8-branch |
---|
| 1875 | - __attribute__((tls_model(""))) |
---|
| 1876 | - PRs c/7353, opt/7124, opt/7912, opt/7390, doc/7484, |
---|
| 1877 | c/7411, target/8087, optimization/6713 |
---|
| 1878 | - x86-64 TLS |
---|
| 1879 | |
---|
| 1880 | * Tue Oct 8 2002 Jakub Jelinek <jakub@redhat.com> 3.2-8 |
---|
| 1881 | - switch to gcc-3_2-rhl8-branch snapshots |
---|
| 1882 | - thus most of the patches went away as they are in CVS |
---|
| 1883 | - merge from gcc-3_2-branch between 20020903 and 20021007 |
---|
| 1884 | - PRs target/7434, optimization/6627, preprocessor/8120, |
---|
| 1885 | middle-end/7151, preprocessor/8055, optimization/7335, |
---|
| 1886 | c/7160, target/7842, opt/7515, optimization/7130, |
---|
| 1887 | optimization/6984, c/7150, target/7380, other/7114, |
---|
| 1888 | target/5967, optimization/7120, target/7374, opt/7814, |
---|
| 1889 | c/7102 |
---|
| 1890 | - backported libffi and libjava bits for x86-64 and s390* |
---|
| 1891 | - added sparc* support |
---|
| 1892 | - multilib setup for sparc* and x86-64 |
---|
| 1893 | - some IA-32 TLS fixes (Richard Henderson) |
---|
| 1894 | |
---|
| 1895 | * Tue Sep 3 2002 Bill Nottingham <notting@redhat.com> 3.2-7 |
---|
| 1896 | - fix calling of C++ destructors in certain cases |
---|
| 1897 | |
---|
| 1898 | * Tue Sep 3 2002 Jakub Jelinek <jakub@redhat.com> 3.2-6 |
---|
| 1899 | - update from CVS (but revert C++ tail padding patches |
---|
| 1900 | for now) |
---|
| 1901 | - further fixes to make libstdc++-v3 build on glibc 2.3 |
---|
| 1902 | - run libstdc++-v3 make check-abi on IA-32 during testing |
---|
| 1903 | |
---|
| 1904 | * Fri Aug 30 2002 Jakub Jelinek <jakub@redhat.com> 3.2-5 |
---|
| 1905 | - disable tail copy patches, they seem to still have problems |
---|
| 1906 | - make libstdc++-v3 build on glibc 2.3 (and use thread-local |
---|
| 1907 | locale model) |
---|
| 1908 | - fix c89 and c99 scripts (#73104) |
---|
| 1909 | |
---|
| 1910 | * Wed Aug 26 2002 Jakub Jelinek <jakub@redhat.com> 3.2-4 |
---|
| 1911 | - reorder alpha_encode_section_info checks slightly to fix an ICE |
---|
| 1912 | when building glibc and to take better advantage of visibility |
---|
| 1913 | attribute on Alpha |
---|
| 1914 | - as gdb is not there yet, disable -momit-leaf-frame-pointer |
---|
| 1915 | by default for now on IA-32 |
---|
| 1916 | - fix IA-64 bootstrap with tail padding patch (Jason Merrill, Daniel Berlin) |
---|
| 1917 | - fix x86-64 %RIP to %rip, only output (%rip) if no other relocation |
---|
| 1918 | is used (Richard Henderson) |
---|
| 1919 | |
---|
| 1920 | * Fri Aug 23 2002 Jakub Jelinek <jakub@redhat.com> 3.2-3 |
---|
| 1921 | - take advantage of __attribute__((visibility())) on Alpha |
---|
| 1922 | - avoid copying tail padding (Jason Merrill) |
---|
| 1923 | |
---|
| 1924 | * Thu Aug 22 2002 Jakub Jelinek <jakub@redhat.com> 3.2-2 |
---|
| 1925 | - fixed Dwarf2 DW_OP_GNU_push_tls_address patch from Richard Henderson |
---|
| 1926 | - don't mention removed -a and -ax options in the documentation |
---|
| 1927 | (Nathan Sidwell, #72233) |
---|
| 1928 | - fixed __typeof() followed by __asm() redirection from Alexandre Oliva |
---|
| 1929 | |
---|
| 1930 | * Wed Aug 14 2002 Jakub Jelinek <jakub@redhat.com> 3.2-1 |
---|
| 1931 | - update to 3.2 release |
---|
| 1932 | - fix x86-64 PR target/7559 (Jan Hubicka) |
---|
| 1933 | - fix -fprefetch-loop-arrays (Janis Johnson) |
---|
| 1934 | - fix x86-64 prefetch (Jan Hubicka) |
---|
| 1935 | |
---|
| 1936 | * Fri Aug 9 2002 Jakub Jelinek <jakub@redhat.com> 3.2-0.3 |
---|
| 1937 | - istream fix (Benjamin Kosnik) |
---|
| 1938 | - emit Dwarf2 DW_OP_GNU_push_tls_address extension for TLS (Richard Henderson) |
---|
| 1939 | - temporarily disable __typeof() + __asm() fix |
---|
| 1940 | |
---|
| 1941 | * Thu Aug 8 2002 Jakub Jelinek <jakub@redhat.com> 3.2-0.2 |
---|
| 1942 | - update from 3.2 branch |
---|
| 1943 | - ABI incompatible changes in libstdc++.so.5, long long bitfield |
---|
| 1944 | layout on IA-32 (both C and C++), oversized bitfields layout |
---|
| 1945 | on IA-32 and bitfields with base type with __attribute__((aligned ())) |
---|
| 1946 | - fix strstream segfaults (#68292, Benjamin Kosnik) |
---|
| 1947 | - fix __attribute__((visibility())) together with __asm__() |
---|
| 1948 | function redirection |
---|
| 1949 | - fix __typeof() followed by __asm() redirection (Alexandre Oliva) |
---|
| 1950 | - fix TLS ICE on glibc (#70061) |
---|
| 1951 | - fix K6 ICE on linux kernel (#69989, Richard Sandiford, Jan Hubicka) |
---|
| 1952 | - fix inlining bug with labels (#70941) |
---|
| 1953 | - fix fold-const bug (#70541) |
---|
| 1954 | - fix PR preprocessor/7358 (Neil Booth) |
---|
| 1955 | - error when mixing __thread and non-__thread declarations |
---|
| 1956 | (#70059, Aldy Hernandez) |
---|
| 1957 | - fix TLS bug on g++.dg/tls/diag-1.C (Jason Merrill) |
---|
| 1958 | - add -mcmodel= x86-64 documentation (Andreas Jaeger) |
---|
| 1959 | - avoid TLS emitting movl %gs:0, MEMORY on IA-32 (#71033) |
---|
| 1960 | |
---|
| 1961 | * Mon Jul 22 2002 Jakub Jelinek <jakub@redhat.com> 3.2-0.1 |
---|
| 1962 | - first attempt for gcc 3.2 |
---|
| 1963 | - remove .la files |
---|
| 1964 | |
---|
| 1965 | * Sat Jul 20 2002 Jakub Jelinek <jakub@redhat.com> 3.1-10 |
---|
| 1966 | - update from 3.1 branch |
---|
| 1967 | - add throw() to set_new_handler (Andreas Schwab) |
---|
| 1968 | - fixed PR optimization/7147, optimization/7153 |
---|
| 1969 | - make sure pic register is set up even when the only @PLT calls |
---|
| 1970 | are done in EH basic blocks (Richard Henderson) |
---|
| 1971 | |
---|
| 1972 | * Sun Jul 14 2002 Jakub Jelinek <jakub@redhat.com> 3.1-9 |
---|
| 1973 | - define %%_gnu to nothing for compatibility |
---|
| 1974 | |
---|
| 1975 | * Sat Jul 13 2002 Jakub Jelinek <jakub@redhat.com> 3.1-8 |
---|
| 1976 | - update from 3.1 branch |
---|
| 1977 | - fix OpenOffice miscompilation (PR c++/7279, Jason Merrill) |
---|
| 1978 | - PRs c++/7224, c++/6255, optimization/7145, c++/6706, preprocessor/7070, |
---|
| 1979 | middle-end/6963, target/6841, target/6770, target/6719, |
---|
| 1980 | other/6836, libstdc++/7057, libstdc++/7097, libstdc++/3946, |
---|
| 1981 | libstdc++/7173 |
---|
| 1982 | - fix a GC bug with named labels in C++ (Jim Wilson) |
---|
| 1983 | - fix ICE on Mesa (Bernd Schmidt, #65771) |
---|
| 1984 | - added some NRV tests |
---|
| 1985 | - fix typo in i386 specs (PR c/7242) |
---|
| 1986 | - fix IA-32 ICE with shifts by negative values followed by compare |
---|
| 1987 | (PR middle-end/7245, #68395) |
---|
| 1988 | - fixed DWARF-2 output for const char * (PR debug/7241) |
---|
| 1989 | - actually enable __cxa_atexit for standard compliance at configury time |
---|
| 1990 | - added PPC as Ada enabled architecture |
---|
| 1991 | |
---|
| 1992 | * Wed Jun 19 2002 Jakub Jelinek <jakub@redhat.com> 3.1-7 |
---|
| 1993 | - update from 3.1 branch |
---|
| 1994 | - PRs target/6922, opt/6722, c/7030, c/6677, objc/6834, c++/6892, |
---|
| 1995 | c++/6723, opt/6793 |
---|
| 1996 | - use __cxa_atexit for standard compliance: |
---|
| 1997 | if your C++ project knows it won't call atexit from within its |
---|
| 1998 | static constructors, use -fno-use-cxa-atexit to optimize it |
---|
| 1999 | - share hard register rtxs where possible to speed the compiler up (Jeff Law) |
---|
| 2000 | - optimize tree_code_* arrays (Kaveh Ghazi) |
---|
| 2001 | - don't link prefix.o into libgnat, link libgnat against libgcc_s and |
---|
| 2002 | libgnarl against libgnat |
---|
| 2003 | - fix typo in GNAT %%post (#66847, #66941, #66639) |
---|
| 2004 | - add TLS support |
---|
| 2005 | |
---|
| 2006 | * Fri Jun 7 2002 Jakub Jelinek <jakub@redhat.com> 3.1-6 |
---|
| 2007 | - add GNAT |
---|
| 2008 | - remove DT_RPATH from Java binaries (#66103) |
---|
| 2009 | - obsolete kaffe, install jar as %{_bindir}/jar |
---|
| 2010 | - add include/org directory in java |
---|
| 2011 | - add rmic and rmiregistry programs to libgcj |
---|
| 2012 | - add info documentation for gcj and various man pages |
---|
| 2013 | - add message catalogues for da, el, es, fr, ja, nl, sv, tr |
---|
| 2014 | - don't put IA-64 vtables with relocations into read-only sections |
---|
| 2015 | with -fpic |
---|
| 2016 | |
---|
| 2017 | * Tue Jun 4 2002 Jakub Jelinek <jakub@redhat.com> 3.1-5 |
---|
| 2018 | - update from 3.1 branch |
---|
| 2019 | - PRs optimization/6822, preprocessor/6844, target/6838, target/6788, |
---|
| 2020 | libstdc++/6886, libstdc++/6795, libstdc++/6811 |
---|
| 2021 | - m$ compatibility for unnamed fields as typedef of struct/union |
---|
| 2022 | (PR c/6660) |
---|
| 2023 | - fix -fverbose-asm with unnamed fields (PR c/6809) |
---|
| 2024 | - fix -mmmx ICE (PR optimization/6842) |
---|
| 2025 | - default to -momit-leaf-frame-pointer on i386 (Richard Henderson) |
---|
| 2026 | - use linkonce section/hidden symbol for i686 pic getpc thunks |
---|
| 2027 | (Richard Henderson) |
---|
| 2028 | |
---|
| 2029 | * Tue May 28 2002 Jakub Jelinek <jakub@redhat.com> 3.1-4 |
---|
| 2030 | - rebuilt |
---|
| 2031 | |
---|
| 2032 | * Sat May 25 2002 Jakub Jelinek <jakub@redhat.com> 3.1-3 |
---|
| 2033 | - update from 3.1 branch |
---|
| 2034 | - PRs other/6782, preprocessor/6780, preprocessor/6517, |
---|
| 2035 | libstdc++/6282, libstdc++/6701, libstdc++/6701 |
---|
| 2036 | - fix out << "" bug (Ben Kosnik, #65409, PR libstdc++/6750) |
---|
| 2037 | - 3 new patches |
---|
| 2038 | - fix C++ __PRETTY_FUNCTION__ (PR c++/6794) |
---|
| 2039 | - fix ICE on jikes (#65379) |
---|
| 2040 | - add test for fixed mozilla miscompilation |
---|
| 2041 | - include intrinsic headers on IA-32/x86-64, include altivec.h on PPC |
---|
| 2042 | |
---|
| 2043 | * Wed May 22 2002 Jakub Jelinek <jakub@redhat.com> 3.1-2 |
---|
| 2044 | - update from 3.1 branch |
---|
| 2045 | - 8 new patches |
---|
| 2046 | - fix as version test for 2.12.1 and newer binutils non-CVS releases |
---|
| 2047 | - fix ICE in do_subst (#65049) |
---|
| 2048 | - fix SSE conditional move (PR target/6753) |
---|
| 2049 | - fix SPARC CSE ICE (PR optimization/6759) |
---|
| 2050 | - fix x86_64 dbx64_register_map typo (Jan Hubicka) |
---|
| 2051 | - fix DWARF-2 with flag_asynchronous_unwind_tables set for leaf |
---|
| 2052 | functions (Jan Hubicka) |
---|
| 2053 | - fix DWARF-2 x86_64 __builtin_dwarf_reg_sizes (Jan Hubicka) |
---|
| 2054 | - fix x86_64 movabsdi (Michael Matz) |
---|
| 2055 | |
---|
| 2056 | * Wed May 15 2002 Jakub Jelinek <jakub@redhat.com> 3.1-1 |
---|
| 2057 | - update to 3.1 final |
---|
| 2058 | - 15 new patches |
---|
| 2059 | - fix PR c/6643 |
---|
| 2060 | - fix fold-const.c typo |
---|
| 2061 | - fix unitialized pointer-to-member values (Alexandre Oliva) |
---|
| 2062 | - fix templates with asm inputs (Jason Merrill) |
---|
| 2063 | - fix -fdata-section (Andreas Schwab) |
---|
| 2064 | - readd warning about i386 -malign-double into documentation (Jan Hubicka) |
---|
| 2065 | - fix PR libstdc++/6594 (Ben Kosnik) |
---|
| 2066 | - fix PR PR libstdc++/6648 (Paolo Carlini) |
---|
| 2067 | - fix libstdc++ testsuite rlimits (Rainer Orth) |
---|
| 2068 | - s390 java support (Gerhard Tonn) |
---|
| 2069 | - rotate testcases (Tom Rix) |
---|
| 2070 | - build libiberty with -fpic on x86_64 (Andreas Schwab) |
---|
| 2071 | - fix x86_64 multilib build (Bo Thorsen) |
---|
| 2072 | - fix x86_64 ASM_OUTPUT_MI_THUNK (Jan Hubicka) |
---|
| 2073 | - fix loop-2[cd].c tests on i386 (Eric Botcazou) |
---|
| 2074 | - fix typo in g77 info files tweaking |
---|
| 2075 | - fix libgcj.so symlink |
---|
| 2076 | |
---|
| 2077 | * Thu May 9 2002 Jakub Jelinek <jakub@redhat.com> 3.1-0.28 |
---|
| 2078 | - update to CVS 3.1 branch |
---|
| 2079 | - PR c++/6212, target/6429, opt/6534, c/6543, target/6561, c/6569 |
---|
| 2080 | - fix x86_64 q_regs_operand (Jan Hubicka) |
---|
| 2081 | - better PR c++/6381 fix (Jason Merrill) |
---|
| 2082 | |
---|
| 2083 | * Fri May 3 2002 Jakub Jelinek <jakub@redhat.com> 3.1-0.27 |
---|
| 2084 | - update to CVS 3.1 branch |
---|
| 2085 | - PR target/5628, libstdc++/5820, c++/6396, preprocessor/6489, |
---|
| 2086 | libstdc++/6501, libstdc++/6511, target/6512, libstdc++/6513, |
---|
| 2087 | bootstrap/6514, opt/6516, bootstrap/6525, c++/6527, libstdc++/6533, |
---|
| 2088 | target/6540 |
---|
| 2089 | - fix PR target/6542, target/6522, libstdc++/6549 |
---|
| 2090 | |
---|
| 2091 | * Mon Apr 29 2002 Jakub Jelinek <jakub@redhat.com> 3.1-0.26 |
---|
| 2092 | - update to CVS 3.1 branch |
---|
| 2093 | - PR c/3581, libstdc++/4150, libstdc++/4164, c/5154, c/5430, c++/5504, |
---|
| 2094 | c++/5658, c++/5719, f/6138, libgcj/6158, middle-end/6205, c++/6256, |
---|
| 2095 | c/6300, c++/6331, c/6343, c/6344, c++/6352, c/6358, libstdc++/6360, |
---|
| 2096 | c++/6395, target/6413, libstdc++/6414, target/6422, bootstrap/6445, |
---|
| 2097 | optimization/6475, target/6476, c++/6477, c++/6479, c++/6486, c++/6492, |
---|
| 2098 | target/6494, target/6496, c/6497, target/6500 |
---|
| 2099 | - fix PR c++/6396 |
---|
| 2100 | - run make check as part of build process |
---|
| 2101 | |
---|
| 2102 | * Thu Apr 18 2002 Jakub Jelinek <jakub@redhat.com> 3.1-0.25 |
---|
| 2103 | - update to CVS 3.1 branch |
---|
| 2104 | - PR opt/420, c++/525, target/817, target/1538, opt/3967, target/3997, |
---|
| 2105 | opt/4120, bootstrap/4191, opt/4311, optimization/4328, c++/4884, c++/4934, |
---|
| 2106 | c/5078, c++/5104, opt/5120, c++/5189, c++/5373, target/5446, c/5484, |
---|
| 2107 | c++/5507, c++/5571, c++/5636, target/5672, target/5715, target/5886, |
---|
| 2108 | c++/5933, c++/5964, c++/5998, opt/6007, target/6032, target/6041, |
---|
| 2109 | target/6054, c++/6073, target/6082, optimization/6086, target/6087, |
---|
| 2110 | middle-end/6096, middle-end/6098, middle-end/6099, middle-end/6100, |
---|
| 2111 | middle-end/6102, fortran/6106, c++/6119, opt/6165, optimization/6177, |
---|
| 2112 | c++/6179, optimization/6189, c/6202, c/6223, optimization/6233, |
---|
| 2113 | middle-end/6279, c/6290, optimization/6305, target/6305, bootstrap/6315, |
---|
| 2114 | c++/6320... |
---|
| 2115 | - fix PR c++/6316 |
---|
| 2116 | |
---|
| 2117 | * Wed Mar 27 2002 Jakub Jelinek <jakub@redhat.com> 3.1-0.24 |
---|
| 2118 | - update to CVS 3.1 branch |
---|
| 2119 | - PRs c/5656, c/5972, bootstrap/4192, target/4792, bootstrap/4195, |
---|
| 2120 | optimization/5854, target/6043, c++/6037, bootstrap/4128, target/5740, |
---|
| 2121 | c/5597, optimization/5863, optimization/5742, target/3177, c/5354, |
---|
| 2122 | optimization/5999, target/5977, middle-end/5731, target/5312... |
---|
| 2123 | |
---|
| 2124 | * Fri Mar 15 2002 Jakub Jelinek <jakub@redhat.com> 3.1-0.23.1 |
---|
| 2125 | - fix info and man page generation |
---|
| 2126 | |
---|
| 2127 | * Thu Mar 14 2002 Jakub Jelinek <jakub@redhat.com> 3.1-0.23 |
---|
| 2128 | - update to CVS 3.1 branch |
---|
| 2129 | - fix IA-64 packet selection (PR optimization/5892) |
---|
| 2130 | - make highest_pow2_factor work for all constants (PR middle-end/5877) |
---|
| 2131 | - fix -Wunused (#61047) |
---|
| 2132 | - fix loop on mixed mode class assignments (#60923) |
---|
| 2133 | - fix wide character literals |
---|
| 2134 | - support SPARC v9 long distance branches (PR target/5626) |
---|
| 2135 | - fix SPARC leaf functions |
---|
| 2136 | - fix a rtl sharing problem (Richard Henderson, #60760, |
---|
| 2137 | PR optimization/5844) |
---|
| 2138 | - fix va_arg with variable size types (PR c/3711) |
---|
| 2139 | - PRs optimization/5901, optimization/5878, 5693, preprocessor/5899 |
---|
| 2140 | - fix C++ ?: at the end of stmt expr (PR c++/5373) |
---|
| 2141 | - fix loop unrolling with sibcalls (PR optimization/5891) |
---|
| 2142 | |
---|
| 2143 | * Thu Mar 7 2002 Jakub Jelinek <jakub@redhat.com> 3.1-0.22 |
---|
| 2144 | - update to CVS 3.1 branch |
---|
| 2145 | - fix ICE with volatile long long (#60650) |
---|
| 2146 | - fix tempbuf.h (Philipp Thomas, #60212) |
---|
| 2147 | - fix -fssa-ccp (Jeff Law, #60651) |
---|
| 2148 | - versioned libstdc++ |
---|
| 2149 | - backport __attribute__((visibility("..."))) patches from trunk |
---|
| 2150 | - include libstdc++ html documentation |
---|
| 2151 | |
---|
| 2152 | * Tue Feb 5 2002 Jakub Jelinek <jakub@redhat.com> 3.1-0.21 |
---|
| 2153 | - update to CVS HEAD |
---|
| 2154 | - fix demangler (H.J. Lu, #59300, #59310) |
---|
| 2155 | - fix typo in IA-32 specs file (#59081) |
---|
| 2156 | - support moving SFmode values in MMX regs if -mmmx (#59083) |
---|
| 2157 | - fix recog_for_combine (#59084) |
---|
| 2158 | - don't ICE when inserting insns on edge from bb0 to bb0 (Bernd Schmidt, |
---|
| 2159 | #59087) |
---|
| 2160 | - make sure configure has not time in the future (#59203) |
---|
| 2161 | - fix division/modulo by certain constants (#58065, PR c/5304) |
---|
| 2162 | - fix -Wswitch (PR c/4475) |
---|
| 2163 | |
---|
| 2164 | * Thu Jan 31 2002 Jakub Jelinek <jakub@redhat.com> 3.1-0.20 |
---|
| 2165 | - update to CVS HEAD |
---|
| 2166 | - fix jar (Tom Tromey) |
---|
| 2167 | - fix loop unrolling (Richard Henderson) |
---|
| 2168 | |
---|
| 2169 | * Wed Jan 30 2002 Jakub Jelinek <jakub@redhat.com> 3.1-0.19 |
---|
| 2170 | - update to CVS HEAD |
---|
| 2171 | - fix a reload bug on ia32 (#58579, #58648) |
---|
| 2172 | - issue error about unknown -W* options (#58909) |
---|
| 2173 | - fix ia64 libbfd miscompilation (#58694) |
---|
| 2174 | - register all pending unparsed_text structures with GC (#58647) |
---|
| 2175 | - fix __builtin_apply with ia32 -msse (#58447) |
---|
| 2176 | - prevent ia64 prologue insns saving regs required for eh from being |
---|
| 2177 | deleted (#58387) |
---|
| 2178 | |
---|
| 2179 | * Tue Jan 15 2002 Jakub Jelinek <jakub@redhat.com> 3.1-0.18 |
---|
| 2180 | - update to CVS HEAD |
---|
| 2181 | - handle static x[] = { [X...Y] = (foo) { Z } } (#58338) |
---|
| 2182 | - fix getdents.os miscompilation (Richard Henderson, #58308) |
---|
| 2183 | - fix ICE in try_forward_edges (#58125) |
---|
| 2184 | - fix ICE with -fexceptions -foptimize-sibling-calls |
---|
| 2185 | |
---|
| 2186 | * Tue Jan 8 2002 Jakub Jelinek <jakub@redhat.com> 3.1-0.17 |
---|
| 2187 | - avoid division by 0 when computing prediction probabilities (#57992) |
---|
| 2188 | - fix ICE due to store_expr not adjusting value back for mode |
---|
| 2189 | - increase -ftemplate-depth default value to 500 |
---|
| 2190 | |
---|
| 2191 | * Mon Jan 7 2002 Jakub Jelinek <jakub@redhat.com> 3.1-0.16 |
---|
| 2192 | - if using PT_GNU_EH_FRAME registry, work around assembler bug resp. feature |
---|
| 2193 | and don't provide weak prototypes of functions which won't be used |
---|
| 2194 | - on Alpha, fix a typo so that crtbeginT.o is built and installed |
---|
| 2195 | - fix glibc inl-tester miscompilation on ia32 |
---|
| 2196 | |
---|
| 2197 | * Sun Jan 6 2002 Jakub Jelinek <jakub@redhat.com> 3.1-0.15 |
---|
| 2198 | - update to CVS HEAD (fix glibc bootstrap failure) |
---|
| 2199 | |
---|
| 2200 | * Thu Jan 3 2002 Jakub Jelinek <jakub@redhat.com> 3.1-0.14 |
---|
| 2201 | - update to CVS HEAD (#57907) |
---|
| 2202 | - fix alpha bootstrap (Richard Henderson) |
---|
| 2203 | - fix simplification of (div:SI (???:DI ???) (const_int 1)) |
---|
| 2204 | (#57916) |
---|
| 2205 | - add contrib/gcc_update --touch |
---|
| 2206 | |
---|
| 2207 | * Tue Jan 1 2002 Jakub Jelinek <jakub@redhat.com> 3.1-0.13 |
---|
| 2208 | - update to CVS HEAD (fix glibc miscompilation on alpha) |
---|
| 2209 | - fix objc to not emit __objc_class_name_* without type and size |
---|
| 2210 | |
---|
| 2211 | * Mon Dec 31 2001 Jakub Jelinek <jakub@redhat.com> 3.1-0.12 |
---|
| 2212 | - update to CVS HEAD |
---|
| 2213 | - fix sed commands for .la files |
---|
| 2214 | - make Alpha use PT_GNU_EH_FRAME |
---|
| 2215 | |
---|
| 2216 | * Thu Dec 27 2001 Jakub Jelinek <jakub@redhat.com> 3.1-0.11 |
---|
| 2217 | - update to CVS HEAD (#57165, #57212, #57467, #57488, #57502, |
---|
| 2218 | #57505, #57574) |
---|
| 2219 | - readd .la files after fixing them up by sed |
---|
| 2220 | - add %%defattr(-,root,root) to libobjc subpackage |
---|
| 2221 | |
---|
| 2222 | * Mon Dec 3 2001 Jakub Jelinek <jakub@redhat.com> 3.1-0.10 |
---|
| 2223 | - one more gcc.spec fix for passing --gdwarf-2 resp. --gstabs to as |
---|
| 2224 | - fix conditional register dead computation on IA-64 |
---|
| 2225 | - fix extern array of incomplete structures handling |
---|
| 2226 | - fix gcc -xc - |
---|
| 2227 | - fix Fortran ICEs with SAVE_EXPRs (Richard Kenner) |
---|
| 2228 | |
---|
| 2229 | * Tue Nov 27 2001 Jakub Jelinek <jakub@redhat.com> 3.1-0.9 |
---|
| 2230 | - update to CVS HEAD |
---|
| 2231 | - make DWARF 2 preferred debugging format on Linux |
---|
| 2232 | |
---|
| 2233 | * Mon Nov 12 2001 Jakub Jelinek <jakub@redhat.com> 3.1-0.8 |
---|
| 2234 | - don't ship .la files (#56072) |
---|
| 2235 | - include libfrtbegin.a (#56098) |
---|
| 2236 | |
---|
| 2237 | * Mon Nov 12 2001 Jakub Jelinek <jakub@redhat.com> 3.1-0.7 |
---|
| 2238 | - update to CVS HEAD |
---|
| 2239 | - back out Nov 7th loop.c change for now |
---|
| 2240 | |
---|
| 2241 | * Fri Nov 9 2001 Jakub Jelinek <jakub@redhat.com> 3.1-0.6 |
---|
| 2242 | - update to CVS HEAD |
---|
| 2243 | - frame unwind compatibility with 7.[12] binutils |
---|
| 2244 | |
---|
| 2245 | * Tue Nov 6 2001 Jakub Jelinek <jakub@redhat.com> 3.1-0.5 |
---|
| 2246 | - update to CVS HEAD |
---|
| 2247 | - merge DW_EH_PE_indirect constants and their relocs |
---|
| 2248 | |
---|
| 2249 | * Thu Oct 25 2001 Jakub Jelinek <jakub@redhat.com> 3.1-0.4 |
---|
| 2250 | - don't loop forever or ICE on bogus array initializers (#53704) |
---|
| 2251 | - fix store motion with pure calls |
---|
| 2252 | - disable store motion for now |
---|
| 2253 | |
---|
| 2254 | * Tue Oct 23 2001 Jakub Jelinek <jakub@redhat.com> 3.1-0.3 |
---|
| 2255 | - fix inlining of C nested functions with auto prototypes |
---|
| 2256 | |
---|
| 2257 | * Mon Oct 22 2001 Jakub Jelinek <jakub@redhat.com> 3.1-0.2 |
---|
| 2258 | - update to CVS HEAD |
---|
| 2259 | - tree inlining fix from Alexandre Oliva |
---|
| 2260 | - fix anonymous union ICE on alpha |
---|
| 2261 | |
---|
| 2262 | * Mon Oct 15 2001 Jakub Jelinek <jakub@redhat.com> 3.1-0.1 |
---|
| 2263 | - switch package to main compiler from alternate compiler |
---|
| 2264 | - update to CVS HEAD |
---|
| 2265 | - early gcc-2.96-RH compatibility in __frame_state_for |
---|
| 2266 | - change weak function tests for functions always present in GLIBC 2.2 |
---|
| 2267 | into simple non-weak calls in crt*.o to avoid unnecessary symbol |
---|
| 2268 | lookups and prelink conflicts |
---|
| 2269 | - don't link against libgcc_s C shared libraries |
---|
| 2270 | |
---|
| 2271 | * Tue Oct 2 2001 Jakub Jelinek <jakub@redhat.com> 3.0.1-4 |
---|
| 2272 | - update from CVS 3.0 branch |
---|
| 2273 | - ia64 function descriptors in vtables |
---|
| 2274 | - handle large files in Fortran (#53328) |
---|
| 2275 | - allow Java programs to be statically linked (#53605) |
---|
| 2276 | - remove #include_next patch, Benjamin commited it |
---|
| 2277 | |
---|
| 2278 | * Thu Sep 6 2001 Jakub Jelinek <jakub@redhat.com> 3.0.1-3 |
---|
| 2279 | - don't use #include_next in <bits/std_c*> headers (Benjamin Kosnik, #53262) |
---|
| 2280 | |
---|
| 2281 | * Wed Sep 5 2001 Jakub Jelinek <jakub@redhat.com> 3.0.1-2 |
---|
| 2282 | - update from CVS 3.0 branch |
---|
| 2283 | - check all gcc-2.96-RH patches whether they have made it into 3.0.1, |
---|
| 2284 | and if not, whether they are appropriate for 3.0.1 |
---|
| 2285 | - 8 new patches |
---|
| 2286 | - add 36 testcases from gcc-2.96-RH |
---|
| 2287 | - fix ICE on very questionable C++ code from JDK (#39858, #52960) |
---|
| 2288 | - fix -frepo (Nathan Sidwell, #52877) |
---|
| 2289 | - avoid generating bogus .stabs (#49214) |
---|
| 2290 | - issue a clear error message about invalid ia32 floating point |
---|
| 2291 | asm constraints (#27137) |
---|
| 2292 | - fix some comment typos |
---|
| 2293 | - fix ADDRESSOF recognition (#29686) |
---|
| 2294 | |
---|
| 2295 | * Mon Aug 27 2001 Jakub Jelinek <jakub@redhat.com> 3.0.1-1 |
---|
| 2296 | - update from CVS (3.0.1 final) |
---|
| 2297 | - properly handle throw() exception specifiers in template decls (#51824) |
---|
| 2298 | - fix IA-64 varargs handling in presence of additional anonymous arguments |
---|
| 2299 | (#50757) |
---|
| 2300 | - fix boehm-gc for prelink |
---|
| 2301 | - fix a typo in gcc3-c++ description (#52323) |
---|
| 2302 | - remove Chill from package summary (#51764) |
---|
| 2303 | |
---|
| 2304 | * Tue Aug 7 2001 Jakub Jelinek <jakub@redhat.com> 3.0-6 |
---|
| 2305 | - update from CVS |
---|
| 2306 | - fix glibc vfprintf miscompilation |
---|
| 2307 | - don't warn about if (&foo) if foo is weak (H.J.Lu, #50855) |
---|
| 2308 | |
---|
| 2309 | * Wed Jul 25 2001 Jakub Jelinek <jakub@redhat.com> 3.0-5 |
---|
| 2310 | - include libgcjgc.a in libgcj3-devel |
---|
| 2311 | - include libgcjgc.so.* in libgcj3 on ia64 |
---|
| 2312 | - remove dependency on libgcj on ia64 |
---|
| 2313 | - add ldconfig to libgcj3 post/postun |
---|
| 2314 | |
---|
| 2315 | * Tue Jul 24 2001 Jakub Jelinek <jakub@redhat.com> 3.0-4 |
---|
| 2316 | - update from CVS |
---|
| 2317 | - make gcc3-java/libgcj3* packages, so that they can coexist |
---|
| 2318 | with 2.96-RH Java |
---|
| 2319 | - make sure shared Java libraries are built with proper dependencies |
---|
| 2320 | |
---|
| 2321 | * Wed Jul 11 2001 Jakub Jelinek <jakub@redhat.com> 3.0-3 |
---|
| 2322 | - fix libgcc_s.so and libstdc++.so symlinks |
---|
| 2323 | - don't ship jar |
---|
| 2324 | |
---|
| 2325 | * Tue Jul 10 2001 Jakub Jelinek <jakub@redhat.com> 3.0-2 |
---|
| 2326 | - move libstdc++.so into gcc-lib |
---|
| 2327 | - add libobjc.so symlink |
---|
| 2328 | |
---|
| 2329 | * Tue Jul 10 2001 Jakub Jelinek <jakub@redhat.com> 3.0-1 |
---|
| 2330 | - new rpm |
---|