gcc3-vl.spec 79 KB

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