gcc3-vl.spec 80 KB

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