gcc-vl.spec 158 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121
  1. %global gcc_version 4.8.2
  2. # Note, gcc_release must be integer, if you want to add suffixes to
  3. # %{release}, append them after %{gcc_release} on Release: line.
  4. %global gcc_release 1%{?_dist_release}
  5. %global _unpackaged_files_terminate_build 0
  6. %global multilib_64_archs sparc64 ppc64 s390x x86_64
  7. # %ifarch %{ix86} x86_64 ia64 ppc ppc64 alpha
  8. # %global build_ada 1
  9. # %else
  10. %global build_ada 0
  11. # %endif
  12. %global build_java 1
  13. %ifarch %{ix86} x86_64 %{arm}
  14. %global build_go 1
  15. %else
  16. %global build_go 0
  17. %endif
  18. %ifarch %{ix86} x86_64 ia64
  19. %global build_libquadmath 1
  20. %else
  21. %global build_libquadmath 0
  22. %endif
  23. %ifarch %{ix86} x86_64 ppc ppc64
  24. %global build_libasan 1
  25. %else
  26. %global build_libasan 0
  27. %endif
  28. %ifarch x86_64
  29. %global build_libtsan 1
  30. %else
  31. %global build_libtsan 0
  32. %endif
  33. %ifarch %{ix86} x86_64 ppc ppc64 %{arm}
  34. %global build_libatomic 1
  35. %else
  36. %global build_libatomic 0
  37. %endif
  38. %ifarch %{ix86} x86_64 %{arm} ppc ppc64
  39. %global build_libitm 1
  40. %else
  41. %global build_libitm 0
  42. %endif
  43. # %global build_cloog 1
  44. %global build_cloog 0
  45. %global build_libstdcxx_docs 1
  46. # If you don't have already a usable gcc-java and libgcj for your arch,
  47. # do on some arch which has it rpmbuild -bc --with java_tar gcc.spec
  48. # which creates libjava-classes-%{version}-%{release}.tar.bz2
  49. # With this then on the new arch do rpmbuild -ba -v --with java_bootstrap gcc.spec
  50. %global bootstrap_java %{?_with_java_bootstrap:%{build_java}}%{!?_with_java_bootstrap:0}
  51. %global build_java_tar %{?_with_java_tar:%{build_java}}%{!?_with_java_tar:0}
  52. %ifarch s390x
  53. %global multilib_32_arch s390
  54. %endif
  55. %ifarch sparc64
  56. %global multilib_32_arch sparcv9
  57. %endif
  58. %ifarch ppc64
  59. %global multilib_32_arch ppc
  60. %endif
  61. %ifarch x86_64
  62. %global multilib_32_arch i686
  63. %endif
  64. Summary: GNU Compiler Collection (C, C++, Objective-C, Java, ...)
  65. Summary(ja): GNU コンパイラコレクション (C, C++, Objective-C, Java, ...)
  66. Name: gcc
  67. Version: %{gcc_version}
  68. Release: %{gcc_release}
  69. # libgcc, libgfortran, libmudflap, libgomp, libstdc++ and crtstuff have
  70. # GCC Runtime Exception.
  71. License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions
  72. Group: Development/Languages
  73. Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}/%{name}-%{version}.tar.bz2
  74. %global fastjar_ver 0.97
  75. Source4: http://download.savannah.nongnu.org/releases/fastjar/fastjar-%{fastjar_ver}.tar.gz
  76. URL: http://gcc.gnu.org
  77. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  78. # Need binutils with -pie support >= 2.14.90.0.4-4
  79. # Need binutils which can omit dot symbols and overlap .opd on ppc64 >= 2.15.91.0.2-4
  80. # Need binutils which handle -msecure-plt on ppc >= 2.16.91.0.2-2
  81. # Need binutils which support .weakref >= 2.16.91.0.3-1
  82. # Need binutils which support --hash-style=gnu >= 2.17.50.0.2-7
  83. # Need binutils which support mffgpr and mftgpr >= 2.17.50.0.2-8
  84. # Need binutils which support --build-id >= 2.17.50.0.17-3
  85. # Need binutils which support %gnu_unique_object >= 2.19.51.0.14
  86. # Need binutils which support .cfi_sections >= 2.19.51.0.14-33
  87. # Need binutils which support --no-add-needed >= 2.20.51.0.2-12
  88. BuildRequires: binutils >= 2.20.51.0.2-12
  89. # While gcc doesn't include statically linked binaries, during testing
  90. # -static is used several times.
  91. BuildRequires: glibc-static
  92. BuildRequires: zlib-devel, gettext, dejagnu, bison, flex, texinfo, sharutils
  93. ##VINE##TODO## BuildRequires: systemtap-sdt-devel >= 1.3
  94. # For VTA guality testing
  95. BuildRequires: gdb
  96. %if %{build_java}
  97. BuildRequires: ecj, zip, unzip
  98. %if %{bootstrap_java}
  99. Source10: libjava-classes-%{version}-%{release}.tar.bz2
  100. %else
  101. BuildRequires: gcc-java >= 4.4.3-6vl6
  102. BuildRequires: libgcj >= 4.4.3-6vl6
  103. %endif
  104. %endif
  105. # Make sure pthread.h doesn't contain __thread tokens
  106. # Make sure glibc supports stack protector
  107. # Make sure glibc supports DT_GNU_HASH
  108. BuildRequires: glibc-devel >= 2.4.90-13
  109. BuildRequires: elfutils-devel >= 0.147
  110. BuildRequires: elfutils-libelf-devel >= 0.147
  111. %ifarch ppc ppc64 s390 s390x sparc sparcv9 alpha
  112. # Make sure glibc supports TFmode long double
  113. BuildRequires: glibc >= 2.3.90-35
  114. %endif
  115. %ifarch %{multilib_64_archs}
  116. # Ensure glibc{,-devel} is installed for both multilib arches
  117. # BuildRequires: /lib/libc.so.6 /usr/lib/libc.so /lib64/libc.so.6 /usr/lib64/libc.so
  118. BuildRequires: compat32-glibc-devel
  119. BuildRequires: compat32-glibc-static
  120. %endif
  121. %if %{build_ada}
  122. # Ada requires Ada to build
  123. BuildRequires: gcc-gnat >= 3.1, libgnat >= 3.1
  124. %endif
  125. %ifarch ia64
  126. BuildRequires: libunwind >= 0.98
  127. %endif
  128. %if %{build_cloog}
  129. %if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
  130. BuildRequires: ppl >= 0.11.2, ppl-devel >= 0.11.2
  131. %else
  132. BuildRequires: ppl >= 0.10, ppl-devel >= 0.10
  133. %endif
  134. BuildRequires: cloog-ppl >= 0.15, cloog-ppl-devel >= 0.15
  135. %endif
  136. %if %{build_libstdcxx_docs}
  137. BuildRequires: doxygen >= 1.7.1
  138. BuildRequires: graphviz
  139. %endif
  140. Requires: gcc-cpp = %{version}-%{release}
  141. # Need .eh_frame ld optimizations
  142. # Need proper visibility support
  143. # Need -pie support
  144. # Need --as-needed/--no-as-needed support
  145. # On ppc64, need omit dot symbols support and --non-overlapping-opd
  146. # Need binutils that owns /usr/bin/c++filt
  147. # Need binutils that support .weakref
  148. # Need binutils that supports --hash-style=gnu
  149. # Need binutils that support mffgpr/mftgpr
  150. # Need binutils that support --build-id
  151. # Need binutils that support %gnu_unique_object
  152. # Need binutils that support .cfi_sections
  153. # Need binutils that support --no-add-needed
  154. Requires: binutils >= 2.20.51.0.2-12
  155. # Make sure gdb will understand DW_FORM_strp
  156. Conflicts: gdb < 5.1-2
  157. Requires: glibc-devel >= 2.2.90-12
  158. %ifarch ppc ppc64 s390 s390x sparc sparcv9 alpha
  159. # Make sure glibc supports TFmode long double
  160. Requires: glibc >= 2.3.90-35
  161. %endif
  162. Requires: libgcc >= %{version}-%{release}
  163. Requires: libgomp = %{version}-%{release}
  164. %if !%{build_ada}
  165. Obsoletes: gcc-gnat < %{version}-%{release}
  166. Obsoletes: libgnat < %{version}-%{release}
  167. %endif
  168. %if %{build_cloog}
  169. Requires: cloog-ppl >= 0.15
  170. %endif
  171. Obsoletes: gcc3
  172. Obsoletes: egcs
  173. Obsoletes: gcc34
  174. Obsoletes: gcc35
  175. Obsoletes: gcc4
  176. Provides: gcc4 = %{version}-%{release}
  177. Requires(post): /sbin/install-info
  178. Requires(preun): /sbin/install-info
  179. AutoReq: true
  180. Patch0: gcc48-hack.patch
  181. Patch1: gcc48-java-nomulti.patch
  182. Patch2: gcc48-ppc32-retaddr.patch
  183. Patch3: gcc48-rh330771.patch
  184. Patch4: gcc48-i386-libgomp.patch
  185. Patch5: gcc48-sparc-config-detection.patch
  186. Patch6: gcc48-libgomp-omp_h-multilib.patch
  187. Patch7: gcc48-libtool-no-rpath.patch
  188. Patch8: gcc48-cloog-dl.patch
  189. Patch9: gcc48-cloog-dl2.patch
  190. Patch10: gcc48-pr38757.patch
  191. Patch11: gcc48-libstdc++-docs.patch
  192. Patch12: gcc48-no-add-needed.patch
  193. Patch13: gcc48-pr56564.patch
  194. Patch14: gcc48-pr56493.patch
  195. Patch1000: fastjar-0.97-segfault.patch
  196. Patch1001: fastjar-0.97-len1.patch
  197. Patch1002: fastjar-0.97-filename0.patch
  198. Patch1003: fastjar-CVE-2010-0831.patch
  199. Patch1004: fastjar-man.patch
  200. # On ARM EABI systems, we do want -gnueabi to be part of the
  201. # target triple.
  202. %ifnarch %{arm}
  203. %global _gnu %{nil}
  204. %endif
  205. %ifarch sparcv9
  206. %global gcc_target_platform sparc64-%{_vendor}-%{_target_os}
  207. %endif
  208. %ifarch ppc
  209. %global gcc_target_platform ppc64-%{_vendor}-%{_target_os}
  210. %endif
  211. %ifnarch sparcv9 ppc
  212. %global gcc_target_platform %{_target_platform}
  213. %endif
  214. ################################################# gcc
  215. %description
  216. The gcc package contains the GNU Compiler Collection version %{version}.
  217. You'll need this package in order to compile C code.
  218. %description -l ja
  219. gcc パッケージには、GNU Compiler Collection バージョン %{version} が
  220. 含まれています。C のソースコードをコンパイルするにはこのパッケージが
  221. 必要となります。
  222. ################################################# libgcc
  223. %package -n libgcc
  224. Summary: GCC version %{version} shared support library
  225. Summary(ja): GCC バージョン %{version} 共有サポートライブラリ
  226. Group: System Environment/Libraries
  227. Autoreq: false
  228. %description -n libgcc
  229. This package contains GCC shared support library which is needed
  230. e.g. for exception handling support.
  231. %description -n libgcc -l ja
  232. このパッケージには GCC 共有サポートライブラリが含まれます。
  233. これは例えば例外ハンドリングサポートに必要です。
  234. ################################################# c++
  235. %package c++
  236. Summary: C++ support for GCC
  237. Summary(ja): GNU コンパイラ集 - C++ サポート
  238. Group: Development/Languages
  239. Requires: gcc = %{version}-%{release}
  240. Requires: libstdc++ = %{version}-%{release}
  241. Requires: libstdc++-devel = %{version}-%{release}
  242. Obsoletes: gcc34-c++
  243. Obsoletes: gcc35-c++
  244. Obsoletes: gcc4-c++
  245. Provides: gcc4-c++ = %{version}-%{release}
  246. Autoreq: true
  247. %description c++
  248. This package adds C++ support to the GNU Compiler Collection.
  249. It includes support for most of the current C++ specification,
  250. including templates and exception handling.
  251. %description c++ -l ja
  252. このパッケージは GNU Compiler Collection に C++ サポートを追加します。
  253. テンプレートと例外ハンドリングサポートを含む、現在の C++ 仕様の多くを
  254. サポートします。
  255. ################################################# libstdc++
  256. %package -n libstdc++
  257. Summary: GNU Standard C++ Library
  258. Summary(ja): GNU 標準 C++ ライブラリ
  259. Group: System Environment/Libraries
  260. Obsoletes: libstdc++34
  261. Provides: libstdc++34 = %{version}-%{release}
  262. Autoreq: true
  263. Requires: glibc >= 2.10.90-7
  264. %description -n libstdc++
  265. The libstdc++ package contains a rewritten standard compliant GCC Standard
  266. C++ Library.
  267. %description -n libstdc++ -l ja
  268. libstdc++ パッケージには、標準準拠に書き直された
  269. GCC 標準 C++ ライブラリが収録されています。
  270. ################################################# libstdc++-devel
  271. %package -n libstdc++-devel
  272. Summary: Header files and libraries for C++ development
  273. Summary(ja): C++ 開発用ヘッダ/ライブラリ
  274. Group: Development/Libraries
  275. Requires: libstdc++ = %{version}-%{release}
  276. Autoreq: true
  277. %description -n libstdc++-devel
  278. This is the GNU implementation of the standard C++ libraries. This
  279. package includes the header files and libraries needed for C++
  280. development. This includes rewritten implementation of STL.
  281. %description -n libstdc++-devel -l ja
  282. これは標準 C++ ライブラリの GNU 実装です。
  283. このパッケージには C++ 開発に必要なヘッダファイルとライブラリが
  284. 収録されています。これには STL の実装も含まれます。
  285. ################################################# libstdc++-static
  286. %package -n libstdc++-static
  287. Summary: Static libraries for the GNU standard C++ library
  288. Summary(ja): GNU 標準 C++ ライブラリの静的リンクライブラリ
  289. Group: Development/Libraries
  290. Requires: libstdc++-devel = %{version}-%{release}
  291. Autoreq: true
  292. %description -n libstdc++-static
  293. Static libraries for the GNU standard C++ library.
  294. %description -n libstdc++-static -l ja
  295. GNU 標準 C++ ライブラリの静的リンクライブラリ
  296. ################################################# libstdc++-docs
  297. %package -n libstdc++-docs
  298. Summary: Documentation for the GNU standard C++ library
  299. Summary(ja): GNU 標準 C++ ライブラリのドキュメント
  300. Group: Development/Documentation
  301. Autoreq: true
  302. %description -n libstdc++-docs
  303. Manual, doxygen generated API information and Frequently Asked Questions
  304. for the GNU standard C++ library.
  305. %description -n libstdc++-docs -l ja
  306. GNU 標準 C++ ライブラリのマニュアル、Doxygenで生成した API情報と FAQ集
  307. ################################################# objc
  308. %package objc
  309. Summary: Objective-C support for GCC
  310. Summary(ja): GNU コンパイラ集 - Objective C サポート
  311. Group: Development/Languages
  312. Requires: gcc = %{version}-%{release}
  313. Requires: libobjc = %{version}-%{release}
  314. Autoreq: true
  315. %description objc
  316. gcc-objc provides Objective-C support for the GCC.
  317. Mainly used on systems running NeXTSTEP, Objective-C is an
  318. object-oriented derivative of the C language.
  319. %description objc -l ja
  320. gcc-objc パッケージは GCC に Objective-C サポートを追加します。
  321. Objective-C は C 言語から派生したオブジェクト指向言語で、
  322. 主に NeXTSTEP システムで使われてきました。
  323. ################################################# objc++
  324. %package objc++
  325. Summary: Objective-C++ support for GCC
  326. Summary(ja): GNU コンパイラ集 - Objective C++ サポート
  327. Group: Development/Languages
  328. Requires: gcc-c++ = %{version}-%{release}
  329. Requires: gcc-objc = %{version}-%{release}
  330. Autoreq: true
  331. %description objc++
  332. gcc-objc++ package provides Objective-C++ support for the GCC.
  333. %description objc++ -l ja
  334. gcc-objc++ パッケージは GCC に Objective-C++ サポートを追加します。
  335. ################################################# libobjc
  336. %package -n libobjc
  337. Summary: Objective-C runtime
  338. Summary(ja): Objective C ランタイムライブラリ
  339. Group: System Environment/Libraries
  340. Autoreq: true
  341. %description -n libobjc
  342. This package contains Objective-C shared library which is needed to run
  343. Objective-C dynamically linked programs.
  344. %description -n libobjc -l ja
  345. このパッケージには Objective-C 共有ライブラリが収められています。
  346. これは Objective-C にダイナミックリンクされたプログラムの実行に必要と
  347. なります。
  348. ################################################# gfortran
  349. %package gfortran
  350. Summary: Fortran support
  351. Summary(ja): GNU コンパイラ集 - Fortran サポート
  352. Group: Development/Languages
  353. Requires: gcc = %{version}-%{release}
  354. Requires: libgfortran = %{version}-%{release}
  355. %if %{build_libquadmath}
  356. Requires: libquadmath = %{version}-%{release}
  357. Requires: libquadmath-devel = %{version}-%{release}
  358. %endif
  359. BuildRequires: gmp-devel >= 4.2.2-3vl2
  360. BuildRequires: mpfr-devel >= 2.2.1
  361. BuildRequires: libmpc-devel >= 0.8.1
  362. Obsoletes: gcc4-gfortran
  363. Requires(post): /sbin/install-info
  364. Requires(preun): /sbin/install-info
  365. Autoreq: true
  366. %description gfortran
  367. The gcc-gfortran package provides support for compiling Fortran
  368. programs with the GNU Compiler Collection.
  369. %description gfortran -l ja
  370. gcc-gfortran パッケージは GNU Compiler Collection に
  371. Fortran プログラムをコンパイルする機能を追加するものです。
  372. ################################################# libgfortran
  373. %package -n libgfortran
  374. Summary: Fortran runtime
  375. Summary(ja): Fortran ランタイム
  376. Group: System Environment/Libraries
  377. Autoreq: true
  378. %if %{build_libquadmath}
  379. Requires: libquadmath = %{version}-%{release}
  380. %endif
  381. %description -n libgfortran
  382. This package contains Fortran shared library which is needed to run
  383. Fortran dynamically linked programs.
  384. %description -n libgfortran -l ja
  385. このパッケージには Fortran 共有ライブラリが収められています。
  386. これは Fortran にダイナミックリンクされたプログラムの実行に
  387. 必要となります。
  388. ################################################# libgfortran-static
  389. %package -n libgfortran-static
  390. Summary: Static Fortran libraries
  391. Summary(ja): Fortranの静的リンクライブラリ
  392. Group: Development/Libraries
  393. Requires: libgfortran = %{version}-%{release}
  394. Requires: gcc = %{version}-%{release}
  395. %if %{build_libquadmath}
  396. Requires: libquadmath-static = %{version}-%{release}
  397. %endif
  398. %description -n libgfortran-static
  399. This package contains static Fortran libraries.
  400. %description -n libgfortran-static -l ja
  401. このパッケージには Fortran 静的リンクライブラリが収められています。
  402. ################################################# libgomp
  403. %package -n libgomp
  404. Summary: GCC OpenMP v3.0 shared support library
  405. Summary(ja): GCC OpenMP v3.0 共有ライブラリ
  406. Group: System Environment/Libraries
  407. Requires(post): /sbin/install-info
  408. Requires(preun): /sbin/install-info
  409. %description -n libgomp
  410. This package contains GCC shared support library which is needed
  411. for OpenMP v3.0 support.
  412. %description -n libgomp -l ja
  413. このパッケージには OpenMP v3.0 をサポートする GCC 共有ライブラリが
  414. 収められています。
  415. ################################################# libmudflap
  416. %package -n libmudflap
  417. Summary: GCC mudflap shared support library
  418. Summary(ja): GCC mudflap 共有ライブラリ
  419. Group: System Environment/Libraries
  420. %description -n libmudflap
  421. This package contains GCC shared support library which is needed
  422. for mudflap support.
  423. %description -n libmudflap -l ja
  424. このパッケージには mudflap をサポートする GCC 共有ライブラリが
  425. 収められています。
  426. ################################################# libmudflap-devel
  427. %package -n libmudflap-devel
  428. Summary: GCC mudflap support
  429. Summary(ja): GCC mudflap サポート
  430. Group: Development/Libraries
  431. Requires: libmudflap = %{version}-%{release}
  432. Requires: gcc = %{version}-%{release}
  433. %description -n libmudflap-devel
  434. This package contains headers for building mudflap-instrumented programs.
  435. To instrument a non-threaded program, add -fmudflap
  436. option to GCC and when linking add -lmudflap, for threaded programs
  437. also add -fmudflapth and -lmudflapth.
  438. %description -n libmudflap-devel -l ja
  439. このパッケージには mudflapを使用したプログラムをビルドするためのヘッダーが
  440. 収められています。
  441. mudflapをシングルスレッドのプログラムに使用する場合は、GCCのコンパイル
  442. オプションに -fmudflap を、リンクのオプションに -lmudflap を指定してくだ
  443. さい。対象のプログラムがマルチスレッドの場合には、それぞれ -fmudflapth と
  444. -lmudflapth を替わりに指定してください。
  445. ################################################# libmudflap-static
  446. %package -n libmudflap-static
  447. Summary: Static libraries for mudflap support
  448. Summary(ja): mudflap サポートのための静的リンクライブラリ
  449. Group: Development/Libraries
  450. Requires: libmudflap-devel = %{version}-%{release}
  451. %description -n libmudflap-static
  452. This package contains static libraries for building mudflap-instrumented
  453. programs.
  454. %description -n libmudflap-static -l ja
  455. このパッケージには mudflapを使用したプログラムをビルドするための静的リンク
  456. ライブラリが収められています。
  457. ################################################# libquadmath
  458. %package -n libquadmath
  459. Summary: GCC __float128 shared support library
  460. Summary(ja): GCC __float128 サポートのための共有ライブラリ
  461. Group: System Environment/Libraries
  462. Requires(post): /sbin/install-info
  463. Requires(preun): /sbin/install-info
  464. %description -n libquadmath
  465. This package contains GCC shared support library which is needed
  466. for __float128 math support and for Fortran REAL*16 support.
  467. %description -n libquadmath -l ja
  468. このパッケージには __float128 データ型と Fortran REAL*16 をサポートする
  469. ために必要な GCC 共有ライブラリが収められています。
  470. ################################################# libquadmath-devel
  471. %package -n libquadmath-devel
  472. Summary: GCC __float128 support
  473. Summary(ja): GCC __float128 サポート
  474. Group: Development/Libraries
  475. Requires: libquadmath = %{version}-%{release}
  476. Requires: gcc = %{version}-%{release}
  477. %description -n libquadmath-devel
  478. This package contains headers for building Fortran programs using
  479. REAL*16 and programs using __float128 math.
  480. %description -n libquadmath-devel -l ja
  481. このパッケージには __float128 データ型を使ったプログラムや REAL*16 を
  482. 使った Fortranプログラムをビルドするためのヘッダーが収められています。
  483. ################################################# libquadmath-static
  484. %package -n libquadmath-static
  485. Summary: Static libraries for __float128 support
  486. Summary(ja): __float128 サポートのための静的リンクライブラリ
  487. Group: Development/Libraries
  488. Requires: libquadmath-devel = %{version}-%{release}
  489. %description -n libquadmath-static
  490. This package contains static libraries for building Fortran programs
  491. using REAL*16 and programs using __float128 math.
  492. %description -n libquadmath-static -l ja
  493. このパッケージには __float128 データ型を使ったプログラムや REAL*16 を
  494. 使った Fortranプログラムをビルドするための静的リンクライブラリが収めら
  495. れています。
  496. ################################################# libitm
  497. %package -n libitm
  498. Summary: The GNU Transactional Memory library
  499. Group: System Environment/Libraries
  500. Requires(post): /sbin/install-info
  501. Requires(preun): /sbin/install-info
  502. %description -n libitm
  503. This package contains the GNU Transactional Memory library
  504. which is a GCC transactional memory support runtime library.
  505. ################################################# libitm-devel
  506. %package -n libitm-devel
  507. Summary: The GNU Transactional Memory support
  508. Group: Development/Libraries
  509. Requires: libitm = %{version}-%{release}
  510. Requires: gcc = %{version}-%{release}
  511. %description -n libitm-devel
  512. This package contains headers and support files for the
  513. GNU Transactional Memory library.
  514. ################################################# libitm-static
  515. %package -n libitm-static
  516. Summary: The GNU Transactional Memory static library
  517. Group: Development/Libraries
  518. Requires: libitm-devel = %{version}-%{release}
  519. %description -n libitm-static
  520. This package contains GNU Transactional Memory static libraries.
  521. ################################################# libatomic
  522. %package -n libatomic
  523. Summary: The GNU Atomic library
  524. Group: System Environment/Libraries
  525. Requires(post): /sbin/install-info
  526. Requires(preun): /sbin/install-info
  527. %description -n libatomic
  528. This package contains the GNU Atomic library
  529. which is a GCC support runtime library for atomic operations not supported
  530. by hardware.
  531. ################################################# libatomic-static
  532. %package -n libatomic-static
  533. Summary: The GNU Atomic static library
  534. Group: Development/Libraries
  535. Requires: libatomic = %{version}-%{release}
  536. %description -n libatomic-static
  537. This package contains GNU Atomic static libraries.
  538. ################################################# libasan
  539. %package -n libasan
  540. Summary: The Address Sanitizer runtime library
  541. Group: System Environment/Libraries
  542. Requires(post): /sbin/install-info
  543. Requires(preun): /sbin/install-info
  544. %description -n libasan
  545. This package contains the Address Sanitizer library
  546. which is used for -fsanitize=address instrumented programs.
  547. ################################################# libasan-static
  548. %package -n libasan-static
  549. Summary: The Address Sanitizer static library
  550. Group: Development/Libraries
  551. Requires: libasan = %{version}-%{release}
  552. %description -n libasan-static
  553. This package contains Address Sanitizer static runtime library.
  554. ################################################# libtsan
  555. %package -n libtsan
  556. Summary: The Thread Sanitizer runtime library
  557. Group: System Environment/Libraries
  558. Requires(post): /sbin/install-info
  559. Requires(preun): /sbin/install-info
  560. %description -n libtsan
  561. This package contains the Thread Sanitizer library
  562. which is used for -fsanitize=thread instrumented programs.
  563. ################################################# libtsan-static
  564. %package -n libtsan-static
  565. Summary: The Thread Sanitizer static library
  566. Group: Development/Libraries
  567. Requires: libtsan = %{version}-%{release}
  568. %description -n libtsan-static
  569. This package contains Thread Sanitizer static runtime library.
  570. ################################################# java
  571. %package java
  572. Summary: Java support for GCC
  573. Summary(ja): GNU コンパイラ集 - Java サポート
  574. Group: Development/Languages
  575. Requires: gcc = %{version}-%{release}
  576. Requires: libgcj = %{version}-%{release}
  577. Requires: libgcj-devel = %{version}-%{release}
  578. Requires: ecj
  579. Obsoletes: gcc34-java
  580. Obsoletes: gcc35-java
  581. Obsoletes: gcc4-java
  582. Provides: gcc4-java
  583. Autoreq: true
  584. Requires(post): /sbin/install-info
  585. Requires(preun): /sbin/install-info
  586. %description java
  587. This package adds support for compiling Java(tm) programs and
  588. bytecode into native code.
  589. %description java -l ja
  590. このパッケージは Java(tm) のプログラムやバイトコードを
  591. ネイティブコードにコンパイルする機能を追加するものです。
  592. ################################################# libgcj
  593. %package -n libgcj
  594. Summary: Java runtime library for gcc
  595. Summary(ja): GNU コンパイラ集 - Java ランタイムライブラリ
  596. Group: System Environment/Libraries
  597. Requires(post): /sbin/install-info
  598. Requires(preun): /sbin/install-info
  599. Requires: zip >= 2.1
  600. Requires: gtk2 >= 2.4.0
  601. Requires: glib2 >= 2.4.0
  602. Requires: libart_lgpl >= 2.1.0
  603. %if %{build_java}
  604. BuildRequires: gtk2-devel >= 2.4.0
  605. BuildRequires: glib2-devel >= 2.4.0
  606. BuildRequires: libart_lgpl-devel >= 2.1.0
  607. BuildRequires: alsa-lib-devel
  608. BuildRequires: libXtst-devel
  609. BuildRequires: libXt-devel
  610. %endif
  611. Obsoletes: gcc-libgcj
  612. Obsoletes: libgcj34
  613. Obsoletes: libgcj4
  614. Obsoletes: fastjar
  615. Provides: libgcj4
  616. Autoreq: true
  617. %description -n libgcj
  618. The Java(tm) runtime library. You will need this package to run your Java
  619. programs compiled using the Java compiler from GNU Compiler Collection (gcj).
  620. %description -n libgcj -l ja
  621. Java(tm) ランタイムライブラリです。
  622. このパッケージは GNU Compiler Collection の Java コンパイラ (gcj) を
  623. 使ってコンパイルされたプログラムを実行するのに必要となります。
  624. ################################################# libgcj-devel
  625. %package -n libgcj-devel
  626. Summary: Libraries for Java development using GCC
  627. Summary(ja): GNU コンパイラ集 - GCC 向け Java 開発用ライブラリ
  628. Group: Development/Languages
  629. Requires: libgcj = %{version}-%{release}
  630. Requires: zlib-devel
  631. Requires: gawk
  632. Obsoletes: libgcj34-devel
  633. Obsoletes: libgcj4-devel
  634. Provides: libgcj4-devel
  635. Autoreq: false
  636. Autoprov: false
  637. %description -n libgcj-devel
  638. The Java(tm) static libraries and C header files. You will need this
  639. package to compile your Java programs using the GCC Java compiler (gcj).
  640. %description -n libgcj-devel -l ja
  641. Java(tm) スタティックライブラリと C ヘッダファイルです。
  642. GCC Java コンパイラ (gcj) を使って Java プログラムをコンパイルする際に
  643. このパッケージをインストールする必要があります。
  644. ################################################# libgcj-src
  645. %package -n libgcj-src
  646. Summary: Java library sources from GCC4 preview
  647. Group: System Environment/Libraries
  648. Requires: libgcj = %{version}-%{release}
  649. Obsoletes: libgcj4-src
  650. Provides: libgcj4-src
  651. Autoreq: true
  652. %description -n libgcj-src
  653. The Java(tm) runtime library sources for use in Eclipse.
  654. ################################################# gcc-cpp
  655. %package cpp
  656. Summary: The C Preprocessor
  657. Summary(ja): C プリプロセッサ
  658. Group: Development/Languages
  659. Provides: cpp = %{version}-%{release}
  660. Autoreq: true
  661. Requires(post): /sbin/install-info
  662. Requires(preun): /sbin/install-info
  663. %description cpp
  664. Cpp is the GNU C-Compatible Compiler Preprocessor.
  665. Cpp is a macro processor which is used automatically
  666. by the C compiler to transform your program before actual
  667. compilation. It is called a macro processor because it allows
  668. you to define macros, abbreviations for longer
  669. constructs.
  670. The C preprocessor provides four separate functionalities: the
  671. inclusion of header files (files of declarations that can be
  672. substituted into your program); macro expansion (you can define macros,
  673. and the C preprocessor will replace the macros with their definitions
  674. throughout the program); conditional compilation (using special
  675. preprocessing directives, you can include or exclude parts of the
  676. program according to various conditions); and line control (if you use
  677. a program to combine or rearrange source files into an intermediate
  678. file which is then compiled, you can use line control to inform the
  679. compiler about where each source line originated).
  680. You should install this package if you are a C programmer and you use
  681. macros.
  682. ################################################# gcc-gnat
  683. %package gnat
  684. Summary: Ada 95 support for GCC
  685. Summary(ja): GNU コンパイラ集 - Ada 95 サポート
  686. Group: Development/Languages
  687. Requires: gcc = %{version}-%{release}
  688. Requires: libgnat = %{version}-%{release}
  689. Requires: libgnat-devel = %{version}-%{release}
  690. Obsoletes: gnat-devel, gcc3-gnat
  691. Autoreq: true
  692. Requires(post): /sbin/install-info
  693. Requires(preun): /sbin/install-info
  694. %description gnat
  695. GNAT is a GNU Ada 95 front-end to GCC. This package includes development tools,
  696. the documents and Ada 95 compiler.
  697. %description gnat -l ja
  698. GNAT は GCC 用の GNU Ada 95 フロントエンドです。
  699. このパッケージには Ada 95 コンパイラ、開発ツール、ドキュメントが
  700. 収録されています。
  701. ################################################# libgnat
  702. %package -n libgnat
  703. Summary: GNU Ada 95 runtime shared libraries
  704. Summary(ja): GNU コンパイラ集 - Ada 95 ランタイム共有ライブラリ
  705. Group: System Environment/Libraries
  706. Obsoletes: gnat libgnat3
  707. Autoreq: true
  708. %description -n libgnat
  709. GNAT is a GNU Ada 95 front-end to GCC. This package includes shared libraries,
  710. which are required to run programs compiled with the GNAT.
  711. %description -n libgnat -l ja
  712. GNAT は GCC 用の GNU Ada 95 フロントエンドです。
  713. このパッケージには GNAT でコンパイルされたプログラムを実行するために必要な
  714. 共有ライブラリが収録されています。
  715. ################################################# libgnat-devel
  716. %package -n libgnat-devel
  717. Summary: GNU Ada 95 libraries
  718. Group: Development/Languages
  719. Autoreq: true
  720. %description -n libgnat-devel
  721. GNAT is a GNU Ada 95 front-end to GCC. This package includes libraries,
  722. which are required to compile with the GNAT.
  723. ################################################# libgnat-static
  724. %package -n libgnat-static
  725. Summary: GNU Ada 95 static libraries
  726. Group: Development/Languages
  727. Requires: libgnat-devel = %{version}-%{release}
  728. Autoreq: true
  729. %description -n libgnat-static
  730. GNAT is a GNU Ada 95 front-end to GCC. This package includes static libraries.
  731. ################################################# gcc-go
  732. %package go
  733. Summary: Go support
  734. Group: Development/Languages
  735. Requires: gcc = %{version}-%{release}
  736. Requires: libgo = %{version}-%{release}
  737. Requires: libgo-devel = %{version}-%{release}
  738. Requires(post): /sbin/install-info
  739. Requires(preun): /sbin/install-info
  740. Autoreq: true
  741. %description go
  742. The gcc-go package provides support for compiling Go programs
  743. with the GNU Compiler Collection.
  744. ################################################# libgo
  745. %package -n libgo
  746. Summary: Go runtime
  747. Group: System Environment/Libraries
  748. Autoreq: true
  749. %description -n libgo
  750. This package contains Go shared library which is needed to run
  751. Go dynamically linked programs.
  752. ################################################# libgo-devel
  753. %package -n libgo-devel
  754. Summary: Go development libraries
  755. Group: Development/Languages
  756. Requires: libgo = %{version}-%{release}
  757. Autoreq: true
  758. %description -n libgo-devel
  759. This package includes libraries and support files for compiling
  760. Go programs.
  761. ################################################# libgo-static
  762. %package -n libgo-static
  763. Summary: Static Go libraries
  764. Group: Development/Libraries
  765. Requires: libgo = %{version}-%{release}
  766. Requires: gcc = %{version}-%{release}
  767. %description -n libgo-static
  768. This package contains static Go libraries.
  769. ################################################# gcc-plugin-devel
  770. %package plugin-devel
  771. Summary: Support for compiling GCC plugins
  772. Group: Development/Languages
  773. Requires: gcc = %{version}-%{release}
  774. Requires: gmp-devel >= 4.1.2-8, mpfr-devel >= 2.2.1, libmpc-devel >= 0.8.1
  775. %description plugin-devel
  776. This package contains header files and other support files
  777. for compiling GCC plugins. The GCC plugin ABI is currently
  778. not stable, so plugins must be rebuilt any time GCC is updated.
  779. #####################################################################
  780. %prep
  781. %setup -q
  782. %patch0 -p0 -b .hack~
  783. %patch1 -p0 -b .java-nomulti~
  784. %patch2 -p0 -b .ppc32-retaddr~
  785. %patch3 -p0 -b .rh330771~
  786. %patch4 -p0 -b .i386-libgomp~
  787. %patch5 -p0 -b .sparc-config-detection~
  788. %patch6 -p0 -b .libgomp-omp_h-multilib~
  789. %patch7 -p0 -b .libtool-no-rpath~
  790. %if %{build_cloog}
  791. %patch8 -p0 -b .cloog-dl~
  792. %patch9 -p0 -b .cloog-dl2~
  793. %endif
  794. %patch10 -p0 -b .pr38757~
  795. %if %{build_libstdcxx_docs}
  796. %patch11 -p0 -b .libstdc++-docs~
  797. %endif
  798. %patch12 -p0 -b .no-add-needed~
  799. %patch13 -p0 -b .pr56564~
  800. %patch14 -p0 -b .pr56493~
  801. # This testcase doesn't compile.
  802. rm libjava/testsuite/libjava.lang/PR35020*
  803. tar xzf %{SOURCE4}
  804. %patch1000 -p0 -b .fastjar-0.97-segfault~
  805. %patch1001 -p0 -b .fastjar-0.97-len1~
  806. %patch1002 -p0 -b .fastjar-0.97-filename0~
  807. %patch1003 -p0 -b .fastjar-CVE-2010-0831~
  808. %patch1004 -p0 -b .fastjar-man~
  809. %if %{bootstrap_java}
  810. tar xjf %{SOURCE10}
  811. %endif
  812. %if 0%{?fedora} >= 16 || 0%{?rhel} >= 7
  813. # Default to -gdwarf-4 -fno-debug-types-section rather than -gdwarf-2
  814. sed -i '/UInteger Var(dwarf_version)/s/Init(2)/Init(4)/' gcc/common.opt
  815. sed -i '/flag_debug_types_section/s/Init(1)/Init(0)/' gcc/common.opt
  816. sed -i '/dwarf_record_gcc_switches/s/Init(0)/Init(1)/' gcc/common.opt
  817. sed -i 's/\(may be either 2, 3 or 4; the default version is \)2\./\14./' gcc/doc/invoke.texi
  818. %else
  819. # Default to -gdwarf-3 rather than -gdwarf-2
  820. sed -i '/UInteger Var(dwarf_version)/s/Init(2)/Init(3)/' gcc/common.opt
  821. sed -i 's/\(may be either 2, 3 or 4; the default version is \)2\./\13./' gcc/doc/invoke.texi
  822. sed -i 's/#define[[:blank:]]*EMIT_ENTRY_VALUE[[:blank:]].*$/#define EMIT_ENTRY_VALUE 0/' gcc/{var-tracking,dwarf2out}.c
  823. sed -i 's/#define[[:blank:]]*EMIT_TYPED_DWARF_STACK[[:blank:]].*$/#define EMIT_TYPED_DWARF_STACK 0/' gcc/dwarf2out.c
  824. sed -i 's/#define[[:blank:]]*EMIT_DEBUG_MACRO[[:blank:]].*$/#define EMIT_DEBUG_MACRO 0/' gcc/dwarf2out.c
  825. %endif
  826. cp -a libstdc++-v3/config/cpu/i{4,3}86/atomicity.h
  827. # Hack to avoid building multilib libjava
  828. perl -pi -e 's/^all: all-redirect/ifeq (\$(MULTISUBDIR),)\nall: all-redirect\nelse\nall:\n\techo Multilib libjava build disabled\nendif/' libjava/Makefile.in
  829. perl -pi -e 's/^install: install-redirect/ifeq (\$(MULTISUBDIR),)\ninstall: install-redirect\nelse\ninstall:\n\techo Multilib libjava install disabled\nendif/' libjava/Makefile.in
  830. perl -pi -e 's/^check: check-redirect/ifeq (\$(MULTISUBDIR),)\ncheck: check-redirect\nelse\ncheck:\n\techo Multilib libjava check disabled\nendif/' libjava/Makefile.in
  831. perl -pi -e 's/^all: all-recursive/ifeq (\$(MULTISUBDIR),)\nall: all-recursive\nelse\nall:\n\techo Multilib libjava build disabled\nendif/' libjava/Makefile.in
  832. perl -pi -e 's/^install: install-recursive/ifeq (\$(MULTISUBDIR),)\ninstall: install-recursive\nelse\ninstall:\n\techo Multilib libjava install disabled\nendif/' libjava/Makefile.in
  833. perl -pi -e 's/^check: check-recursive/ifeq (\$(MULTISUBDIR),)\ncheck: check-recursive\nelse\ncheck:\n\techo Multilib libjava check disabled\nendif/' libjava/Makefile.in
  834. ./contrib/gcc_update --touch
  835. LC_ALL=C sed -i -e 's/\xa0/ /' gcc/doc/options.texi
  836. %ifarch ppc
  837. if [ -d libstdc++-v3/config/abi/post/powerpc64-linux-gnu ]; then
  838. mkdir -p libstdc++-v3/config/abi/post/powerpc64-linux-gnu/64
  839. mv libstdc++-v3/config/abi/post/powerpc64-linux-gnu/{,64/}baseline_symbols.txt
  840. mv libstdc++-v3/config/abi/post/powerpc64-linux-gnu/{32/,}baseline_symbols.txt
  841. rm -rf libstdc++-v3/config/abi/post/powerpc64-linux-gnu/32
  842. fi
  843. %endif
  844. %ifarch sparc
  845. if [ -d libstdc++-v3/config/abi/post/sparc64-linux-gnu ]; then
  846. mkdir -p libstdc++-v3/config/abi/post/sparc64-linux-gnu/64
  847. mv libstdc++-v3/config/abi/post/sparc64-linux-gnu/{,64/}baseline_symbols.txt
  848. mv libstdc++-v3/config/abi/post/sparc64-linux-gnu/{32/,}baseline_symbols.txt
  849. rm -rf libstdc++-v3/config/abi/post/sparc64-linux-gnu/32
  850. fi
  851. %endif
  852. # This test causes fork failures, because it spawns way too many threads
  853. rm -f gcc/testsuite/go.test/test/chan/goroutines.go
  854. %build
  855. %if %{build_java}
  856. export GCJ_PROPERTIES=jdt.compiler.useSingleThread=true
  857. # gjar isn't usable, so even when GCC source tree no longer includes
  858. # fastjar, build it anyway.
  859. mkdir fastjar-%{fastjar_ver}/obj-%{gcc_target_platform}
  860. cd fastjar-%{fastjar_ver}/obj-%{gcc_target_platform}
  861. ../configure CFLAGS="%{optflags}" --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir}
  862. make %{?_smp_mflags}
  863. export PATH=`pwd`${PATH:+:$PATH}
  864. cd ../../
  865. %endif
  866. rm -fr obj-%{gcc_target_platform}
  867. mkdir obj-%{gcc_target_platform}
  868. cd obj-%{gcc_target_platform}
  869. %if %{build_java}
  870. %if !%{bootstrap_java}
  871. # If we don't have gjavah in $PATH, try to build it with the old gij
  872. mkdir java_hacks
  873. cd java_hacks
  874. cp -a ../../libjava/classpath/tools/external external
  875. mkdir -p gnu/classpath/tools
  876. cp -a ../../libjava/classpath/tools/gnu/classpath/tools/{common,javah,getopt} gnu/classpath/tools/
  877. cp -a ../../libjava/classpath/tools/resource/gnu/classpath/tools/common/messages.properties gnu/classpath/tools/common
  878. cp -a ../../libjava/classpath/tools/resource/gnu/classpath/tools/getopt/messages.properties gnu/classpath/tools/getopt
  879. cd external/asm; for i in `find . -name \*.java`; do gcj --encoding ISO-8859-1 -C $i -I.; done; cd ../..
  880. for i in `find gnu -name \*.java`; do gcj -C $i -I. -Iexternal/asm/; done
  881. gcj -findirect-dispatch -O2 -fmain=gnu.classpath.tools.javah.Main -I. -Iexternal/asm/ `find . -name \*.class` -o gjavah.real
  882. cat > gjavah <<EOF
  883. #!/bin/sh
  884. export CLASSPATH=`pwd`${CLASSPATH:+:$CLASSPATH}
  885. exec `pwd`/gjavah.real "\$@"
  886. EOF
  887. chmod +x `pwd`/gjavah
  888. cat > ecj1 <<EOF
  889. #!/bin/sh
  890. exec gij -cp /usr/share/java/eclipse-ecj.jar org.eclipse.jdt.internal.compiler.batch.GCCMain "\$@"
  891. EOF
  892. chmod +x `pwd`/ecj1
  893. export PATH=`pwd`${PATH:+:$PATH}
  894. cd ..
  895. %endif
  896. %endif
  897. CC=gcc
  898. OPT_FLAGS=`echo %{optflags}|sed -e 's/\(-Wp,\)\?-D_FORTIFY_SOURCE=[12]//g'`
  899. OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-m64//g;s/-m32//g;s/-m31//g'`
  900. OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/ -pipe / /g'`
  901. %ifarch sparc
  902. OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mcpu=ultrasparc/-mtune=ultrasparc/g;s/-mcpu=v[78]//g'`
  903. %endif
  904. %ifarch %{ix86}
  905. OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-march=i.86//g'`
  906. %endif
  907. %ifarch sparc64
  908. cat > gcc64 <<"EOF"
  909. #!/bin/sh
  910. exec /usr/bin/gcc -m64 "$@"
  911. EOF
  912. chmod +x gcc64
  913. CC=`pwd`/gcc64
  914. %endif
  915. %ifarch ppc64
  916. if gcc -m64 -xc -S /dev/null -o - > /dev/null 2>&1; then
  917. cat > gcc64 <<"EOF"
  918. #!/bin/sh
  919. exec /usr/bin/gcc -m64 "$@"
  920. EOF
  921. chmod +x gcc64
  922. CC=`pwd`/gcc64
  923. fi
  924. %endif
  925. OPT_FLAGS=`echo "$OPT_FLAGS" | sed -e 's/[[:blank:]]\+/ /g'`
  926. case "$OPT_FLAGS" in
  927. *-fasynchronous-unwind-tables*)
  928. sed -i -e 's/-fno-exceptions /-fno-exceptions -fno-asynchronous-unwind-tables/' \
  929. ../gcc/Makefile.in
  930. ;;
  931. esac
  932. enablelgo=
  933. enablelada=
  934. %if %{build_ada}
  935. enablelada=,ada
  936. %endif
  937. %if %{build_go}
  938. enablelgo=,go
  939. %endif
  940. CC="$CC" CFLAGS="$OPT_FLAGS" CXXFLAGS="`echo $OPT_FLAGS | sed 's/ -Wall / /g'`" \
  941. XCFLAGS="$OPT_FLAGS" TCFLAGS="$OPT_FLAGS" GCJFLAGS="$OPT_FLAGS" \
  942. ../configure --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
  943. --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap \
  944. --enable-shared --enable-threads=posix --enable-checking=release \
  945. --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions \
  946. --enable-gnu-unique-object --enable-linker-build-id \
  947. --enable-languages=c,c++,objc,obj-c++,java,fortran${enablelada}${enablelgo},lto \
  948. --enable-plugin \
  949. %if !%{build_java}
  950. --disable-libgcj \
  951. %else
  952. --enable-java-awt=gtk --disable-dssi \
  953. --with-java-home=%{_prefix}/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre \
  954. --enable-libgcj-multifile \
  955. %if !%{bootstrap_java}
  956. --enable-java-maintainer-mode \
  957. %endif
  958. --with-ecj-jar=/usr/share/java/eclipse-ecj.jar \
  959. --disable-libjava-multilib \
  960. %endif
  961. %if %{build_cloog}
  962. --with-ppl --with-cloog \
  963. %endif
  964. %ifarch %{arm}
  965. --disable-sjlj-exceptions \
  966. %endif
  967. %ifarch ppc ppc64
  968. --enable-secureplt \
  969. %endif
  970. %ifarch sparc sparcv9 sparc64 ppc ppc64 s390 s390x alpha
  971. --with-long-double-128 \
  972. %endif
  973. %ifarch sparc
  974. --disable-linux-futex \
  975. %endif
  976. %ifarch sparc64
  977. --with-cpu=ultrasparc \
  978. %endif
  979. %ifarch sparc sparcv9
  980. --host=%{gcc_target_platform} --build=%{gcc_target_platform} --target=%{gcc_target_platform} --with-cpu=v7
  981. %endif
  982. %if 0%{?rhel} >= 6
  983. %ifarch ppc ppc64
  984. --with-cpu-32=power4 --with-tune-32=power6 --with-cpu-64=power4 --with-tune-64=power6 \
  985. %endif
  986. %endif
  987. %ifarch ppc
  988. --build=%{gcc_target_platform} --target=%{gcc_target_platform} --with-cpu=default32
  989. %endif
  990. %ifarch %{ix86} x86_64
  991. --with-tune=generic \
  992. %endif
  993. %ifarch %{ix86}
  994. --with-arch=i686 \
  995. %endif
  996. %ifarch x86_64
  997. --with-arch_32=i686 \
  998. %endif
  999. %ifarch s390 s390x
  1000. --with-arch=z9-109 --with-tune=z10 --enable-decimal-float \
  1001. %endif
  1002. %ifarch armv7hl
  1003. --with-cpu=cortex-a8 --with-tune=cortex-a8 --with-arch=armv7-a \
  1004. --with-float=hard --with-fpu=vfpv3-d16 --with-abi=aapcs-linux \
  1005. %endif
  1006. %ifnarch sparc sparcv9 ppc
  1007. --build=%{gcc_target_platform}
  1008. %endif
  1009. #GCJFLAGS="$OPT_FLAGS" make %{?_smp_mflags} BOOT_CFLAGS="$OPT_FLAGS" bootstrap
  1010. GCJFLAGS="$OPT_FLAGS" make %{?_smp_mflags} BOOT_CFLAGS="$OPT_FLAGS" profiledbootstrap
  1011. # Make generated man pages even if Pod::Man is not new enough
  1012. perl -pi -e 's/head3/head2/' ../contrib/texi2pod.pl
  1013. for i in ../gcc/doc/*.texi; do
  1014. cp -a $i $i.orig; sed 's/ftable/table/' $i.orig > $i
  1015. done
  1016. make -C gcc generated-manpages
  1017. for i in ../gcc/doc/*.texi; do mv -f $i.orig $i; done
  1018. # Make generated doxygen pages.
  1019. %if %{build_libstdcxx_docs}
  1020. cd %{gcc_target_platform}/libstdc++-v3
  1021. make doc-html-doxygen
  1022. make doc-man-doxygen
  1023. cd ../..
  1024. %endif
  1025. # Copy various doc files here and there
  1026. cd ..
  1027. mkdir -p rpm.doc/gfortran rpm.doc/objc
  1028. mkdir -p rpm.doc/boehm-gc rpm.doc/fastjar rpm.doc/libffi rpm.doc/libjava
  1029. mkdir -p rpm.doc/go rpm.doc/libgo rpm.doc/libquadmath
  1030. mkdir -p rpm.doc/changelogs/{gcc/cp,gcc/java,gcc/ada,libstdc++-v3,libobjc,libmudflap,libgomp}
  1031. for i in {gcc,gcc/cp,gcc/java,gcc/ada,libstdc++-v3,libobjc,libmudflap,libgomp}/ChangeLog*; do
  1032. cp -p $i rpm.doc/changelogs/$i
  1033. done
  1034. (cd gcc/fortran; for i in ChangeLog*; do
  1035. cp -p $i ../../rpm.doc/gfortran/$i
  1036. done)
  1037. (cd libgfortran; for i in ChangeLog*; do
  1038. cp -p $i ../rpm.doc/gfortran/$i.libgfortran
  1039. done)
  1040. (cd libobjc; for i in README*; do
  1041. cp -p $i ../rpm.doc/objc/$i.libobjc
  1042. done)
  1043. (cd boehm-gc; for i in ChangeLog*; do
  1044. cp -p $i ../rpm.doc/boehm-gc/$i.gc
  1045. done)
  1046. (cd fastjar-%{fastjar_ver}; for i in ChangeLog* README*; do
  1047. cp -p $i ../rpm.doc/fastjar/$i.fastjar
  1048. done)
  1049. (cd libffi; for i in ChangeLog* README* LICENSE; do
  1050. cp -p $i ../rpm.doc/libffi/$i.libffi
  1051. done)
  1052. (cd libjava; for i in ChangeLog* README*; do
  1053. cp -p $i ../rpm.doc/libjava/$i.libjava
  1054. done)
  1055. cp -p libjava/LIBGCJ_LICENSE rpm.doc/libjava/
  1056. %if %{build_libquadmath}
  1057. (cd libquadmath; for i in ChangeLog* COPYING.LIB; do
  1058. cp -p $i ../rpm.doc/libquadmath/$i.libquadmath
  1059. done)
  1060. %endif
  1061. %if %{build_go}
  1062. (cd gcc/go; for i in README* ChangeLog*; do
  1063. cp -p $i ../../rpm.doc/go/$i
  1064. done)
  1065. (cd libgo; for i in LICENSE* PATENTS* README; do
  1066. cp -p $i ../rpm.doc/libgo/$i.libgo
  1067. done)
  1068. %endif
  1069. rm -f rpm.doc/changelogs/gcc/ChangeLog.[1-9]
  1070. find rpm.doc -name \*ChangeLog\* | xargs bzip2 -9
  1071. %if %{build_java_tar}
  1072. find libjava -name \*.h -type f | xargs grep -l '// DO NOT EDIT THIS FILE - it is machine generated' > libjava-classes.list
  1073. find libjava -name \*.class -type f >> libjava-classes.list
  1074. find libjava/testsuite -name \*.jar -type f >> libjava-classes.list
  1075. tar cf - -T libjava-classes.list | bzip2 -9 > $RPM_SOURCE_DIR/libjava-classes-%{version}-%{release}.tar.bz2
  1076. %endif
  1077. %install
  1078. rm -fr $RPM_BUILD_ROOT
  1079. cd obj-%{gcc_target_platform}
  1080. %if %{build_java}
  1081. export GCJ_PROPERTIES=jdt.compiler.useSingleThread=true
  1082. export PATH=`pwd`/../fastjar-%{fastjar_ver}/obj-%{gcc_target_platform}${PATH:+:$PATH}
  1083. %if !%{bootstrap_java}
  1084. export PATH=`pwd`/java_hacks${PATH:+:$PATH}
  1085. %endif
  1086. %endif
  1087. TARGET_PLATFORM=%{gcc_target_platform}
  1088. # There are some MP bugs in libstdc++ Makefiles
  1089. make -C %{gcc_target_platform}/libstdc++-v3
  1090. make prefix=$RPM_BUILD_ROOT%{_prefix} mandir=$RPM_BUILD_ROOT%{_mandir} \
  1091. infodir=$RPM_BUILD_ROOT%{_infodir} install
  1092. %if %{build_java}
  1093. make DESTDIR=$RPM_BUILD_ROOT -C %{gcc_target_platform}/libjava install-src.zip
  1094. %endif
  1095. %if %{build_ada}
  1096. chmod 644 $RPM_BUILD_ROOT%{_infodir}/gnat*
  1097. %endif
  1098. FULLPATH=$RPM_BUILD_ROOT%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
  1099. FULLEPATH=$RPM_BUILD_ROOT%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}
  1100. # fix some things
  1101. ln -sf gcc $RPM_BUILD_ROOT%{_prefix}/bin/cc
  1102. rm -f $RPM_BUILD_ROOT%{_prefix}/lib/cpp
  1103. mkdir -p $RPM_BUILD_ROOT/lib
  1104. ln -sf %{_prefix}/bin/cpp $RPM_BUILD_ROOT/lib/cpp
  1105. ln -sf gfortran $RPM_BUILD_ROOT%{_prefix}/bin/f95
  1106. rm -f $RPM_BUILD_ROOT%{_infodir}/dir
  1107. gzip -9 $RPM_BUILD_ROOT%{_infodir}/*.info*
  1108. ln -sf gcc $RPM_BUILD_ROOT%{_prefix}/bin/gnatgcc
  1109. cxxconfig="`find %{gcc_target_platform}/libstdc++-v3/include -name c++config.h`"
  1110. for i in `find %{gcc_target_platform}/[36]*/libstdc++-v3/include -name c++config.h 2>/dev/null`; do
  1111. if ! diff -up $cxxconfig $i; then
  1112. cat > $RPM_BUILD_ROOT%{_prefix}/include/c++/%{gcc_version}/%{gcc_target_platform}/bits/c++config.h <<EOF
  1113. #ifndef _CPP_CPPCONFIG_WRAPPER
  1114. #define _CPP_CPPCONFIG_WRAPPER 1
  1115. #include <bits/wordsize.h>
  1116. #if __WORDSIZE == 32
  1117. %ifarch %{multilib_64_archs}
  1118. `cat $(find %{gcc_target_platform}/32/libstdc++-v3/include -name c++config.h)`
  1119. %else
  1120. `cat $(find %{gcc_target_platform}/libstdc++-v3/include -name c++config.h)`
  1121. %endif
  1122. #else
  1123. %ifarch %{multilib_64_archs}
  1124. `cat $(find %{gcc_target_platform}/libstdc++-v3/include -name c++config.h)`
  1125. %else
  1126. `cat $(find %{gcc_target_platform}/64/libstdc++-v3/include -name c++config.h)`
  1127. %endif
  1128. #endif
  1129. #endif
  1130. EOF
  1131. break
  1132. fi
  1133. done
  1134. for f in `find $RPM_BUILD_ROOT%{_prefix}/include/c++/%{gcc_version}/%{gcc_target_platform}/ -name c++config.h`; do
  1135. for i in 1 2 4 8; do
  1136. sed -i -e 's/#define _GLIBCXX_ATOMIC_BUILTINS_'$i' 1/#ifdef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_'$i'\
  1137. &\
  1138. #endif/' $f
  1139. done
  1140. done
  1141. # Nuke bits/*.h.gch dirs
  1142. # 1) there is no bits/*.h header installed, so when gch file can't be
  1143. # used, compilation fails
  1144. # 2) sometimes it is hard to match the exact options used for building
  1145. # libstdc++-v3 or they aren't desirable
  1146. # 3) there are multilib issues, conflicts etc. with this
  1147. # 4) it is huge
  1148. # People can always precompile on their own whatever they want, but
  1149. # shipping this for everybody is unnecessary.
  1150. rm -rf $RPM_BUILD_ROOT%{_prefix}/include/c++/%{gcc_version}/%{gcc_target_platform}/bits/*.h.gch
  1151. %if %{build_libstdcxx_docs}
  1152. libstdcxx_doc_builddir=%{gcc_target_platform}/libstdc++-v3/doc/doxygen
  1153. mkdir -p ../rpm.doc/libstdc++-v3
  1154. cp -r -p ../libstdc++-v3/doc/html ../rpm.doc/libstdc++-v3/html
  1155. cp -r -p $libstdcxx_doc_builddir/html ../rpm.doc/libstdc++-v3/html/api
  1156. mkdir -p $RPM_BUILD_ROOT%{_mandir}/man3
  1157. cp -r -p $libstdcxx_doc_builddir/man/man3/* $RPM_BUILD_ROOT%{_mandir}/man3/
  1158. find ../rpm.doc/libstdc++-v3 -name \*~ | xargs rm
  1159. %endif
  1160. %ifarch sparcv9 sparc64
  1161. ln -f $RPM_BUILD_ROOT%{_prefix}/bin/%{gcc_target_platform}-gcc \
  1162. $RPM_BUILD_ROOT%{_prefix}/bin/sparc-%{_vendor}-%{_target_os}-gcc
  1163. %endif
  1164. %ifarch ppc ppc64
  1165. ln -f $RPM_BUILD_ROOT%{_prefix}/bin/%{gcc_target_platform}-gcc \
  1166. $RPM_BUILD_ROOT%{_prefix}/bin/ppc-%{_vendor}-%{_target_os}-gcc
  1167. %endif
  1168. %ifarch sparcv9 ppc
  1169. FULLLPATH=$FULLPATH/lib32
  1170. %endif
  1171. %ifarch sparc64 ppc64
  1172. FULLLPATH=$FULLPATH/lib64
  1173. %endif
  1174. if [ -n "$FULLLPATH" ]; then
  1175. mkdir -p $FULLLPATH
  1176. else
  1177. FULLLPATH=$FULLPATH
  1178. fi
  1179. find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
  1180. %if %{build_java}
  1181. # gcj -static doesn't work properly anyway, unless using --whole-archive
  1182. # and saving 35MB is not bad.
  1183. find $RPM_BUILD_ROOT -name libgcj.a -o -name libgtkpeer.a \
  1184. -o -name libgjsmalsa.a -o -name libgcj-tools.a -o -name libjvm.a \
  1185. -o -name libgij.a -o -name libgcj_bc.a -o -name libjavamath.a \
  1186. | xargs rm -f
  1187. mv $RPM_BUILD_ROOT%{_prefix}/lib/libgcj.spec $FULLPATH/
  1188. sed -i -e 's/lib: /&%%{static:%%eJava programs cannot be linked statically}/' \
  1189. $FULLPATH/libgcj.spec
  1190. %endif
  1191. mv $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libgfortran.spec $FULLPATH/
  1192. %if %{build_libitm}
  1193. mv $RPM_BUILD_ROOT%{_prefix}/lib/libitm.spec $FULLPATH/
  1194. %endif
  1195. mkdir -p $RPM_BUILD_ROOT/%{_lib}
  1196. mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libgcc_s.so.1 $RPM_BUILD_ROOT/%{_lib}/libgcc_s-%{gcc_version}.so.1
  1197. chmod 755 $RPM_BUILD_ROOT/%{_lib}/libgcc_s-%{gcc_version}.so.1
  1198. ln -sf libgcc_s-%{gcc_version}.so.1 $RPM_BUILD_ROOT/%{_lib}/libgcc_s.so.1
  1199. ln -sf /%{_lib}/libgcc_s.so.1 $FULLPATH/libgcc_s.so
  1200. %ifarch sparcv9 ppc
  1201. ln -sf /lib64/libgcc_s.so.1 $FULLPATH/64/libgcc_s.so
  1202. %endif
  1203. %ifarch %{multilib_64_archs}
  1204. ln -sf /lib/libgcc_s.so.1 $FULLPATH/32/libgcc_s.so
  1205. mkdir -p $RPM_BUILD_ROOT/lib
  1206. mv -f $RPM_BUILD_ROOT%{_prefix}/lib/libgcc_s.so.1 $RPM_BUILD_ROOT/lib/libgcc_s-%{gcc_version}.so.1
  1207. chmod 755 $RPM_BUILD_ROOT/lib/libgcc_s-%{gcc_version}.so.1
  1208. ln -sf libgcc_s-%{gcc_version}.so.1 $RPM_BUILD_ROOT/lib/libgcc_s.so.1
  1209. %endif
  1210. %ifarch ppc
  1211. rm -f $FULLPATH/libgcc_s.so
  1212. echo '/* GNU ld script
  1213. Use the shared library, but some functions are only in
  1214. the static library, so try that secondarily. */
  1215. OUTPUT_FORMAT(elf32-powerpc)
  1216. GROUP ( /lib/libgcc_s.so.1 libgcc.a )' > $FULLPATH/libgcc_s.so
  1217. %endif
  1218. %ifarch ppc64
  1219. rm -f $FULLPATH/32/libgcc_s.so
  1220. echo '/* GNU ld script
  1221. Use the shared library, but some functions are only in
  1222. the static library, so try that secondarily. */
  1223. OUTPUT_FORMAT(elf32-powerpc)
  1224. GROUP ( /lib/libgcc_s.so.1 libgcc.a )' > $FULLPATH/32/libgcc_s.so
  1225. %endif
  1226. %ifarch %{arm}
  1227. rm -f $FULLPATH/libgcc_s.so
  1228. echo '/* GNU ld script
  1229. Use the shared library, but some functions are only in
  1230. the static library, so try that secondarily. */
  1231. OUTPUT_FORMAT(elf32-littlearm)
  1232. GROUP ( /lib/libgcc_s.so.1 libgcc.a )' > $FULLPATH/libgcc_s.so
  1233. %endif
  1234. mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libgomp.spec $FULLPATH/
  1235. %if %{build_ada}
  1236. mv -f $FULLPATH/adalib/libgnarl-*.so $RPM_BUILD_ROOT%{_prefix}/%{_lib}/
  1237. mv -f $FULLPATH/adalib/libgnat-*.so $RPM_BUILD_ROOT%{_prefix}/%{_lib}/
  1238. rm -f $FULLPATH/adalib/libgnarl.so* $FULLPATH/adalib/libgnat.so*
  1239. %endif
  1240. mkdir -p $RPM_BUILD_ROOT%{_prefix}/libexec/getconf
  1241. if gcc/xgcc -B gcc/ -E -dD -xc /dev/null | grep __LONG_MAX__.*2147483647; then
  1242. ln -sf POSIX_V6_ILP32_OFF32 $RPM_BUILD_ROOT%{_prefix}/libexec/getconf/default
  1243. else
  1244. ln -sf POSIX_V6_LP64_OFF64 $RPM_BUILD_ROOT%{_prefix}/libexec/getconf/default
  1245. fi
  1246. %if %{build_java}
  1247. pushd ../fastjar-%{fastjar_ver}/obj-%{gcc_target_platform}
  1248. make install DESTDIR=$RPM_BUILD_ROOT
  1249. popd
  1250. if [ "%{_lib}" != "lib" ]; then
  1251. mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{_lib}/pkgconfig
  1252. sed '/^libdir/s/lib$/%{_lib}/' $RPM_BUILD_ROOT%{_prefix}/lib/pkgconfig/libgcj-*.pc \
  1253. > $RPM_BUILD_ROOT%{_prefix}/%{_lib}/pkgconfig/`basename $RPM_BUILD_ROOT%{_prefix}/lib/pkgconfig/libgcj-*.pc`
  1254. fi
  1255. %endif
  1256. mkdir -p $RPM_BUILD_ROOT%{_datadir}/gdb/auto-load/%{_prefix}/%{_lib}
  1257. mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libstdc++*gdb.py* \
  1258. $RPM_BUILD_ROOT%{_datadir}/gdb/auto-load/%{_prefix}/%{_lib}/
  1259. %ifarch %{multilib_64_archs}
  1260. mkdir -p $RPM_BUILD_ROOT%{_datadir}/gdb/auto-load/%{_prefix}/lib
  1261. mv -f $RPM_BUILD_ROOT%{_prefix}/lib/libstdc++*gdb.py* \
  1262. $RPM_BUILD_ROOT%{_datadir}/gdb/auto-load/%{_prefix}/lib
  1263. %endif
  1264. pushd ../libstdc++-v3/python
  1265. for i in `find . -name \*.py`; do
  1266. touch -r $i $RPM_BUILD_ROOT%{_prefix}/share/gcc-%{gcc_version}/python/$i
  1267. done
  1268. touch -r hook.in $RPM_BUILD_ROOT%{_datadir}/gdb/auto-load/%{_prefix}/%{_lib}/libstdc++*gdb.py
  1269. popd
  1270. pushd $FULLPATH
  1271. if [ "%{_lib}" = "lib" ]; then
  1272. ln -sf ../../../libobjc.so.4 libobjc.so
  1273. ln -sf ../../../libstdc++.so.6.*[0-9] libstdc++.so
  1274. ln -sf ../../../libgfortran.so.3.* libgfortran.so
  1275. ln -sf ../../../libgomp.so.1.* libgomp.so
  1276. ln -sf ../../../libmudflap.so.0.* libmudflap.so
  1277. ln -sf ../../../libmudflapth.so.0.* libmudflapth.so
  1278. %if %{build_go}
  1279. ln -sf ../../../libgo.so.4.* libgo.so
  1280. %endif
  1281. %if %{build_libquadmath}
  1282. ln -sf ../../../libquadmath.so.0.* libquadmath.so
  1283. %endif
  1284. %if %{build_libitm}
  1285. ln -sf ../../../libitm.so.1.* libitm.so
  1286. %endif
  1287. %if %{build_libatomic}
  1288. ln -sf ../../../libatomic.so.1.* libatomic.so
  1289. %endif
  1290. %if %{build_libasan}
  1291. ln -sf ../../../libasan.so.0.* libasan.so
  1292. mv ../../../libasan_preinit.o libasan_preinit.o
  1293. %endif
  1294. %if %{build_java}
  1295. ln -sf ../../../libgcj.so.14.* libgcj.so
  1296. ln -sf ../../../libgcj-tools.so.14.* libgcj-tools.so
  1297. ln -sf ../../../libgij.so.14.* libgij.so
  1298. %endif
  1299. else
  1300. ln -sf ../../../../%{_lib}/libobjc.so.4 libobjc.so
  1301. ln -sf ../../../../%{_lib}/libstdc++.so.6.*[0-9] libstdc++.so
  1302. ln -sf ../../../../%{_lib}/libgfortran.so.3.* libgfortran.so
  1303. ln -sf ../../../../%{_lib}/libgomp.so.1.* libgomp.so
  1304. ln -sf ../../../../%{_lib}/libmudflap.so.0.* libmudflap.so
  1305. ln -sf ../../../../%{_lib}/libmudflapth.so.0.* libmudflapth.so
  1306. %if %{build_go}
  1307. ln -sf ../../../../%{_lib}/libgo.so.4.* libgo.so
  1308. %endif
  1309. %if %{build_libquadmath}
  1310. ln -sf ../../../../%{_lib}/libquadmath.so.0.* libquadmath.so
  1311. %endif
  1312. %if %{build_libitm}
  1313. ln -sf ../../../../%{_lib}/libitm.so.1.* libitm.so
  1314. %endif
  1315. %if %{build_libatomic}
  1316. ln -sf ../../../../%{_lib}/libatomic.so.1.* libatomic.so
  1317. %endif
  1318. %if %{build_libasan}
  1319. ln -sf ../../../../%{_lib}/libasan.so.0.* libasan.so
  1320. mv ../../../../%{_lib}/libasan_preinit.o libasan_preinit.o
  1321. %endif
  1322. %if %{build_libtsan}
  1323. rm -f libtsan.so
  1324. echo 'INPUT ( %{_prefix}/%{_lib}/'`echo ../../../../%{_lib}/libtsan.so.0.* | sed 's,^.*libt,libt,'`' )' > libtsan.so
  1325. %endif
  1326. %if %{build_java}
  1327. ln -sf ../../../../%{_lib}/libgcj.so.14.* libgcj.so
  1328. ln -sf ../../../../%{_lib}/libgcj-tools.so.14.* libgcj-tools.so
  1329. ln -sf ../../../../%{_lib}/libgij.so.14.* libgij.so
  1330. %endif
  1331. fi
  1332. %if %{build_java}
  1333. mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libgcj_bc.so $FULLLPATH/
  1334. %endif
  1335. mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libstdc++.*a $FULLLPATH/
  1336. mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libsupc++.*a $FULLLPATH/
  1337. mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libgfortran.*a $FULLLPATH/
  1338. mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libobjc.*a .
  1339. mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libgomp.*a .
  1340. mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libmudflap{,th}.*a $FULLLPATH/
  1341. %if %{build_libquadmath}
  1342. mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libquadmath.*a $FULLLPATH/
  1343. %endif
  1344. %if %{build_libitm}
  1345. mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libitm.*a $FULLLPATH/
  1346. %endif
  1347. %if %{build_libatomic}
  1348. mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libatomic.*a $FULLLPATH/
  1349. %endif
  1350. %if %{build_libasan}
  1351. mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libasan.*a $FULLLPATH/
  1352. %endif
  1353. %if %{build_libtsan}
  1354. mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libtsan.*a $FULLLPATH/
  1355. %endif
  1356. %if %{build_go}
  1357. mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libgo.*a $FULLLPATH/
  1358. mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libgobegin.*a $FULLLPATH/
  1359. %endif
  1360. %ifarch %{multilib_64_archs}
  1361. mv -f $RPM_BUILD_ROOT%{_prefix}/lib/libstdc++.*a $FULLLPATH/32/
  1362. mv -f $RPM_BUILD_ROOT%{_prefix}/lib/libsupc++.*a $FULLLPATH/32/
  1363. mv -f $RPM_BUILD_ROOT%{_prefix}/lib/libgfortran.*a $FULLLPATH/32/
  1364. mv -f $RPM_BUILD_ROOT%{_prefix}/lib/libmudflap{,th}.*a $FULLLPATH/32/
  1365. %if %{build_libquadmath}
  1366. mv -f $RPM_BUILD_ROOT%{_prefix}/lib/libquadmath.*a $FULLLPATH/32/
  1367. %endif
  1368. %if %{build_libitm}
  1369. mv -f $RPM_BUILD_ROOT%{_prefix}/lib/libitm.*a $FULLLPATH/32/
  1370. %endif
  1371. %if %{build_libatomic}
  1372. mv -f $RPM_BUILD_ROOT%{_prefix}/lib/libatomic.*a $FULLLPATH/32/
  1373. %endif
  1374. %if %{build_libasan}
  1375. mv -f $RPM_BUILD_ROOT%{_prefix}/lib/libasan.*a $FULLLPATH/32/
  1376. %endif
  1377. %if %{build_go}
  1378. mv -f $RPM_BUILD_ROOT%{_prefix}/lib/libgo.*a $FULLLPATH/32/
  1379. mv -f $RPM_BUILD_ROOT%{_prefix}/lib/libgobegin.*a $FULLLPATH/32/
  1380. %endif
  1381. %endif
  1382. %if %{build_ada}
  1383. %ifarch sparcv9 ppc
  1384. rm -rf $FULLPATH/64/ada{include,lib}
  1385. %endif
  1386. %ifarch %{multilib_64_archs}
  1387. rm -rf $FULLPATH/32/ada{include,lib}
  1388. %endif
  1389. if [ "$FULLPATH" != "$FULLLPATH" ]; then
  1390. mv -f $FULLPATH/ada{include,lib} $FULLLPATH/
  1391. pushd $FULLLPATH/adalib
  1392. if [ "%{_lib}" = "lib" ]; then
  1393. ln -sf ../../../../../libgnarl-*.so libgnarl.so
  1394. ln -sf ../../../../../libgnarl-*.so libgnarl-4.6.so
  1395. ln -sf ../../../../../libgnat-*.so libgnat.so
  1396. ln -sf ../../../../../libgnat-*.so libgnat-4.6.so
  1397. else
  1398. ln -sf ../../../../../../%{_lib}/libgnarl-*.so libgnarl.so
  1399. ln -sf ../../../../../../%{_lib}/libgnarl-*.so libgnarl-4.6.so
  1400. ln -sf ../../../../../../%{_lib}/libgnat-*.so libgnat.so
  1401. ln -sf ../../../../../../%{_lib}/libgnat-*.so libgnat-4.6.so
  1402. fi
  1403. popd
  1404. else
  1405. pushd $FULLPATH/adalib
  1406. if [ "%{_lib}" = "lib" ]; then
  1407. ln -sf ../../../../libgnarl-*.so libgnarl.so
  1408. ln -sf ../../../../libgnarl-*.so libgnarl-4.6.so
  1409. ln -sf ../../../../libgnat-*.so libgnat.so
  1410. ln -sf ../../../../libgnat-*.so libgnat-4.6.so
  1411. else
  1412. ln -sf ../../../../../%{_lib}/libgnarl-*.so libgnarl.so
  1413. ln -sf ../../../../../%{_lib}/libgnarl-*.so libgnarl-4.6.so
  1414. ln -sf ../../../../../%{_lib}/libgnat-*.so libgnat.so
  1415. ln -sf ../../../../../%{_lib}/libgnat-*.so libgnat-4.6.so
  1416. fi
  1417. popd
  1418. fi
  1419. %endif
  1420. %ifarch sparcv9 ppc
  1421. ln -sf ../../../../../lib64/libobjc.so.4 64/libobjc.so
  1422. ln -sf ../`echo ../../../../lib/libstdc++.so.6.*[0-9] | sed s~/lib/~/lib64/~` 64/libstdc++.so
  1423. ln -sf ../`echo ../../../../lib/libgfortran.so.3.* | sed s~/lib/~/lib64/~` 64/libgfortran.so
  1424. ln -sf ../`echo ../../../../lib/libgomp.so.1.* | sed s~/lib/~/lib64/~` 64/libgomp.so
  1425. rm -f libmudflap.so libmudflapth.so
  1426. echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib/libmudflap.so.0.* | sed 's,^.*libm,libm,'`' )' > libmudflap.so
  1427. echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib/libmudflapth.so.0.* | sed 's,^.*libm,libm,'`' )' > libmudflapth.so
  1428. echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libmudflap.so.0.* | sed 's,^.*libm,libm,'`' )' > 64/libmudflap.so
  1429. echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libmudflapth.so.0.* | sed 's,^.*libm,libm,'`' )' > 64/libmudflapth.so
  1430. %if %{build_go}
  1431. rm -f libgo.so
  1432. echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib/libgo.so.4.* | sed 's,^.*libg,libg,'`' )' > libgo.so
  1433. echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libgo.so.4.* | sed 's,^.*libg,libg,'`' )' > 64/libgo.so
  1434. %endif
  1435. %if %{build_libquadmath}
  1436. rm -f libquadmath.so
  1437. echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib/libquadmath.so.0.* | sed 's,^.*libq,libq,'`' )' > libquadmath.so
  1438. echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libquadmath.so.0.* | sed 's,^.*libq,libq,'`' )' > 64/libquadmath.so
  1439. %endif
  1440. %if %{build_libitm}
  1441. rm -f libitm.so
  1442. echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib/libitm.so.1.* | sed 's,^.*libi,libi,'`' )' > libitm.so
  1443. echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libitm.so.1.* | sed 's,^.*libi,libi,'`' )' > 64/libitm.so
  1444. %endif
  1445. %if %{build_libatomic}
  1446. rm -f libatomic.so
  1447. echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib/libatomic.so.1.* | sed 's,^.*liba,liba,'`' )' > libatomic.so
  1448. echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libatomic.so.1.* | sed 's,^.*liba,liba,'`' )' > 64/libatomic.so
  1449. %endif
  1450. %if %{build_libasan}
  1451. rm -f libasan.so
  1452. echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib/libasan.so.0.* | sed 's,^.*liba,liba,'`' )' > libasan.so
  1453. echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libasan.so.0.* | sed 's,^.*liba,liba,'`' )' > 64/libasan.so
  1454. mv ../../../../lib64/libasan_preinit.o 64/libasan_preinit.o
  1455. %endif
  1456. %if %{build_java}
  1457. ln -sf ../`echo ../../../../lib/libgcj.so.14.* | sed s~/lib/~/lib64/~` 64/libgcj.so
  1458. ln -sf ../`echo ../../../../lib/libgcj-tools.so.14.* | sed s~/lib/~/lib64/~` 64/libgcj-tools.so
  1459. ln -sf ../`echo ../../../../lib/libgij.so.14.* | sed s~/lib/~/lib64/~` 64/libgij.so
  1460. ln -sf lib/libgcj_bc.so libgcj_bc.so
  1461. ln -sf ../lib64/libgcj_bc.so 64/libgcj_bc.so
  1462. %endif
  1463. ln -sf lib/libgfortran.a libgfortran.a
  1464. ln -sf ../lib64/libgfortran.a 64/libgfortran.a
  1465. mv -f $RPM_BUILD_ROOT%{_prefix}/lib64/libobjc.*a 64/
  1466. mv -f $RPM_BUILD_ROOT%{_prefix}/lib64/libgomp.*a 64/
  1467. ln -sf lib/libstdc++.a libstdc++.a
  1468. ln -sf ../lib64/libstdc++.a 64/libstdc++.a
  1469. ln -sf lib/libsupc++.a libsupc++.a
  1470. ln -sf ../lib64/libsupc++.a 64/libsupc++.a
  1471. ln -sf lib/libmudflap.a libmudflap.a
  1472. ln -sf ../lib64/libmudflap.a 64/libmudflap.a
  1473. ln -sf lib/libmudflapth.a libmudflapth.a
  1474. ln -sf ../lib64/libmudflapth.a 64/libmudflapth.a
  1475. %if %{build_libquadmath}
  1476. ln -sf lib/libquadmath.a libquadmath.a
  1477. ln -sf ../lib64/libquadmath.a 64/libquadmath.a
  1478. %endif
  1479. %if %{build_libitm}
  1480. ln -sf lib/libitm.a libitm.a
  1481. ln -sf ../lib64/libitm.a 64/libitm.a
  1482. %endif
  1483. %if %{build_libatomic}
  1484. ln -sf lib/libatomic.a libatomic.a
  1485. ln -sf ../lib64/libatomic.a 64/libatomic.a
  1486. %endif
  1487. %if %{build_libasan}
  1488. ln -sf lib/libasan.a libasan.a
  1489. ln -sf ../lib64/libasan.a 64/libasan.a
  1490. %endif
  1491. %if %{build_go}
  1492. ln -sf lib/libgo.a libgo.a
  1493. ln -sf ../lib64/libgo.a 64/libgo.a
  1494. ln -sf lib/libgobegin.a libgobegin.a
  1495. ln -sf ../lib64/libgobegin.a 64/libgobegin.a
  1496. %endif
  1497. %if %{build_ada}
  1498. ln -sf lib/adainclude adainclude
  1499. ln -sf ../lib64/adainclude 64/adainclude
  1500. ln -sf lib/adalib adalib
  1501. ln -sf ../lib64/adalib 64/adalib
  1502. %endif
  1503. %endif
  1504. %ifarch %{multilib_64_archs}
  1505. mkdir -p 32
  1506. ln -sf ../../../../libobjc.so.4 32/libobjc.so
  1507. ln -sf ../`echo ../../../../lib64/libstdc++.so.6.*[0-9] | sed s~/../lib64/~/~` 32/libstdc++.so
  1508. ln -sf ../`echo ../../../../lib64/libgfortran.so.3.* | sed s~/../lib64/~/~` 32/libgfortran.so
  1509. ln -sf ../`echo ../../../../lib64/libgomp.so.1.* | sed s~/../lib64/~/~` 32/libgomp.so
  1510. rm -f libmudflap.so libmudflapth.so
  1511. echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libmudflap.so.0.* | sed 's,^.*libm,libm,'`' )' > libmudflap.so
  1512. echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libmudflapth.so.0.* | sed 's,^.*libm,libm,'`' )' > libmudflapth.so
  1513. echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libmudflap.so.0.* | sed 's,^.*libm,libm,'`' )' > 32/libmudflap.so
  1514. echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libmudflapth.so.0.* | sed 's,^.*libm,libm,'`' )' > 32/libmudflapth.so
  1515. %if %{build_go}
  1516. rm -f libgo.so
  1517. echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libgo.so.4.* | sed 's,^.*libg,libg,'`' )' > libgo.so
  1518. echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libgo.so.4.* | sed 's,^.*libg,libg,'`' )' > 32/libgo.so
  1519. %endif
  1520. %if %{build_libquadmath}
  1521. rm -f libquadmath.so
  1522. echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libquadmath.so.0.* | sed 's,^.*libq,libq,'`' )' > libquadmath.so
  1523. echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libquadmath.so.0.* | sed 's,^.*libq,libq,'`' )' > 32/libquadmath.so
  1524. %endif
  1525. %if %{build_libitm}
  1526. rm -f libitm.so
  1527. echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libitm.so.1.* | sed 's,^.*libi,libi,'`' )' > libitm.so
  1528. echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libitm.so.1.* | sed 's,^.*libi,libi,'`' )' > 32/libitm.so
  1529. %endif
  1530. %if %{build_libatomic}
  1531. rm -f libatomic.so
  1532. echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libatomic.so.1.* | sed 's,^.*liba,liba,'`' )' > libatomic.so
  1533. echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libatomic.so.1.* | sed 's,^.*liba,liba,'`' )' > 32/libatomic.so
  1534. %endif
  1535. %if %{build_libasan}
  1536. rm -f libasan.so
  1537. echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libasan.so.0.* | sed 's,^.*liba,liba,'`' )' > libasan.so
  1538. echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libasan.so.0.* | sed 's,^.*liba,liba,'`' )' > 32/libasan.so
  1539. mv ../../../../lib/libasan_preinit.o 32/libasan_preinit.o
  1540. %endif
  1541. mv -f $RPM_BUILD_ROOT%{_prefix}/lib/libobjc.*a 32/
  1542. mv -f $RPM_BUILD_ROOT%{_prefix}/lib/libgomp.*a 32/
  1543. %endif
  1544. %ifarch sparc64 ppc64
  1545. ln -sf ../lib32/libgfortran.a 32/libgfortran.a
  1546. ln -sf lib64/libgfortran.a libgfortran.a
  1547. ln -sf ../lib32/libstdc++.a 32/libstdc++.a
  1548. ln -sf lib64/libstdc++.a libstdc++.a
  1549. ln -sf ../lib32/libsupc++.a 32/libsupc++.a
  1550. ln -sf lib64/libsupc++.a libsupc++.a
  1551. ln -sf ../lib32/libmudflap.a 32/libmudflap.a
  1552. ln -sf lib64/libmudflap.a libmudflap.a
  1553. ln -sf ../lib32/libmudflapth.a 32/libmudflapth.a
  1554. ln -sf lib64/libmudflapth.a libmudflapth.a
  1555. %if %{build_libquadmath}
  1556. ln -sf ../lib32/libquadmath.a 32/libquadmath.a
  1557. ln -sf lib64/libquadmath.a libquadmath.a
  1558. %endif
  1559. %if %{build_libitm}
  1560. ln -sf ../lib32/libitm.a 32/libitm.a
  1561. ln -sf lib64/libitm.a libitm.a
  1562. %endif
  1563. %if %{build_libatomic}
  1564. ln -sf ../lib32/libatomic.a 32/libatomic.a
  1565. ln -sf lib64/libatomic.a libatomic.a
  1566. %endif
  1567. %if %{build_libasan}
  1568. ln -sf ../lib32/libasan.a 32/libasan.a
  1569. ln -sf lib64/libasan.a libasan.a
  1570. %endif
  1571. %if %{build_go}
  1572. ln -sf ../lib32/libgo.a 32/libgo.a
  1573. ln -sf lib64/libgo.a libgo.a
  1574. ln -sf ../lib32/libgobegin.a 32/libgobegin.a
  1575. ln -sf lib64/libgobegin.a libgobegin.a
  1576. %endif
  1577. %if %{build_java}
  1578. ln -sf ../lib32/libgcj_bc.so 32/libgcj_bc.so
  1579. ln -sf lib64/libgcj_bc.so libgcj_bc.so
  1580. %endif
  1581. %if %{build_ada}
  1582. ln -sf ../lib32/adainclude 32/adainclude
  1583. ln -sf lib64/adainclude adainclude
  1584. ln -sf ../lib32/adalib 32/adalib
  1585. ln -sf lib64/adalib adalib
  1586. %endif
  1587. %endif
  1588. # Strip debug info from Fortran/ObjC/Java static libraries
  1589. strip -g `find . \( -name libgfortran.a -o -name libobjc.a -o -name libgomp.a \
  1590. -o -name libmudflap.a -o -name libmudflapth.a \
  1591. -o -name libgcc.a -o -name libgcov.a -o -name libquadmath.a \
  1592. -o -name libitm.a -o -name libgo.a -o -name libcaf\*.a \
  1593. -o -name libatomic.a -o -name libasan.a -o -name libtsan.a \) \
  1594. -a -type f`
  1595. popd
  1596. chmod 755 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libgfortran.so.3.*
  1597. chmod 755 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libgomp.so.1.*
  1598. chmod 755 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libmudflap{,th}.so.0.*
  1599. %if %{build_libquadmath}
  1600. chmod 755 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libquadmath.so.0.*
  1601. %endif
  1602. %if %{build_libitm}
  1603. chmod 755 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libitm.so.1.*
  1604. %endif
  1605. %if %{build_libatomic}
  1606. chmod 755 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libatomic.so.1.*
  1607. %endif
  1608. %if %{build_libasan}
  1609. chmod 755 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libasan.so.0.*
  1610. %endif
  1611. %if %{build_libtsan}
  1612. chmod 755 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libtsan.so.0.*
  1613. %endif
  1614. %if %{build_go}
  1615. chmod 755 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libgo.so.4.*
  1616. %endif
  1617. chmod 755 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libobjc.so.4.*
  1618. %if %{build_ada}
  1619. chmod 755 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libgnarl*so*
  1620. chmod 755 $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libgnat*so*
  1621. %endif
  1622. mv $FULLPATH/include-fixed/syslimits.h $FULLPATH/include/syslimits.h
  1623. mv $FULLPATH/include-fixed/limits.h $FULLPATH/include/limits.h
  1624. for h in `find $FULLPATH/include -name \*.h`; do
  1625. if grep -q 'It has been auto-edited by fixincludes from' $h; then
  1626. rh=`grep -A2 'It has been auto-edited by fixincludes from' $h | tail -1 | sed 's|^.*"\(.*\)".*$|\1|'`
  1627. diff -up $rh $h || :
  1628. rm -f $h
  1629. fi
  1630. done
  1631. cat > $RPM_BUILD_ROOT%{_prefix}/bin/c89 <<"EOF"
  1632. #!/bin/sh
  1633. fl="-std=c89"
  1634. for opt; do
  1635. case "$opt" in
  1636. -ansi|-std=c89|-std=iso9899:1990) fl="";;
  1637. -std=*) echo "`basename $0` called with non ANSI/ISO C option $opt" >&2
  1638. exit 1;;
  1639. esac
  1640. done
  1641. exec gcc $fl ${1+"$@"}
  1642. EOF
  1643. cat > $RPM_BUILD_ROOT%{_prefix}/bin/c99 <<"EOF"
  1644. #!/bin/sh
  1645. fl="-std=c99"
  1646. for opt; do
  1647. case "$opt" in
  1648. -std=c99|-std=iso9899:1999) fl="";;
  1649. -std=*) echo "`basename $0` called with non ISO C99 option $opt" >&2
  1650. exit 1;;
  1651. esac
  1652. done
  1653. exec gcc $fl ${1+"$@"}
  1654. EOF
  1655. chmod 755 $RPM_BUILD_ROOT%{_prefix}/bin/c?9
  1656. cd ..
  1657. %find_lang %{name}
  1658. %find_lang cpplib
  1659. # Remove binaries we will not be including, so that they don't end up in
  1660. # gcc-debuginfo
  1661. rm -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/{libffi*,libiberty.a}
  1662. rm -f $FULLEPATH/install-tools/{mkheaders,fixincl}
  1663. rm -f $RPM_BUILD_ROOT%{_prefix}/lib/{32,64}/libiberty.a
  1664. rm -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libssp*
  1665. rm -f $RPM_BUILD_ROOT%{_prefix}/bin/gappletviewer || :
  1666. rm -f $RPM_BUILD_ROOT%{_prefix}/bin/%{_target_platform}-gcc-%{version} || :
  1667. rm -f $RPM_BUILD_ROOT%{_prefix}/bin/%{_target_platform}-gfortran || :
  1668. rm -f $RPM_BUILD_ROOT%{_prefix}/bin/%{_target_platform}-gccgo || :
  1669. rm -f $RPM_BUILD_ROOT%{_prefix}/bin/%{_target_platform}-gcj || :
  1670. rm -f $RPM_BUILD_ROOT%{_prefix}/bin/%{_target_platform}-gcc-ar || :
  1671. rm -f $RPM_BUILD_ROOT%{_prefix}/bin/%{_target_platform}-gcc-nm || :
  1672. rm -f $RPM_BUILD_ROOT%{_prefix}/bin/%{_target_platform}-gcc-ranlib || :
  1673. %ifarch %{multilib_64_archs}
  1674. # Remove libraries for the other arch on multilib arches
  1675. # keep %{_prefix}/lib/lib*.{so*,a} for Vine Linux
  1676. # rm -f $RPM_BUILD_ROOT%{_prefix}/lib/lib*.so*
  1677. # rm -f $RPM_BUILD_ROOT%{_prefix}/lib/lib*.a
  1678. rm -f $RPM_BUILD_ROOT%{_prefix}/lib/libffi*
  1679. rm -f $RPM_BUILD_ROOT%{_prefix}/lib/libssp*
  1680. %if %{build_go}
  1681. rm -rf $RPM_BUILD_ROOT%{_prefix}/lib/go/%{gcc_version}/%{gcc_target_platform}
  1682. %ifnarch sparc64 ppc64
  1683. ln -sf %{multilib_32_arch}-%{_vendor}-%{_target_os} $RPM_BUILD_ROOT%{_prefix}/lib/go/%{gcc_version}/%{gcc_target_platform}
  1684. %endif
  1685. %endif
  1686. %else
  1687. %ifarch sparcv9 ppc
  1688. rm -f $RPM_BUILD_ROOT%{_prefix}/lib64/lib*.so*
  1689. rm -f $RPM_BUILD_ROOT%{_prefix}/lib64/lib*.a
  1690. %if %{build_go}
  1691. rm -rf $RPM_BUILD_ROOT%{_prefix}/lib64/go/%{gcc_version}/%{gcc_target_platform}
  1692. %endif
  1693. %endif
  1694. %endif
  1695. %if %{build_java}
  1696. mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/java/gcj-endorsed \
  1697. $RPM_BUILD_ROOT%{_prefix}/%{_lib}/gcj-%{version}/classmap.db.d
  1698. chmod 755 $RPM_BUILD_ROOT%{_prefix}/share/java/gcj-endorsed \
  1699. $RPM_BUILD_ROOT%{_prefix}/%{_lib}/gcj-%{version} \
  1700. $RPM_BUILD_ROOT%{_prefix}/%{_lib}/gcj-%{version}/classmap.db.d
  1701. touch $RPM_BUILD_ROOT%{_prefix}/%{_lib}/gcj-%{version}/classmap.db
  1702. %endif
  1703. rm -f $RPM_BUILD_ROOT%{mandir}/man3/ffi*
  1704. # Help plugins find out nvra.
  1705. echo gcc-%{version}-%{release}.%{arch} > $FULLPATH/rpmver
  1706. %check
  1707. cd obj-%{gcc_target_platform}
  1708. %if %{build_java}
  1709. export PATH=`pwd`/../fastjar-%{fastjar_ver}/obj-%{gcc_target_platform}${PATH:+:$PATH}
  1710. %if !%{bootstrap_java}
  1711. export PATH=`pwd`/java_hacks${PATH:+:$PATH}
  1712. %endif
  1713. %endif
  1714. # run the tests.
  1715. make %{?_smp_mflags} -k check ALT_CC_UNDER_TEST=gcc ALT_CXX_UNDER_TEST=g++ RUNTESTFLAGS="--target_board=unix/'{,-fstack-protector}'" || :
  1716. echo ====================TESTING=========================
  1717. ( LC_ALL=C ../contrib/test_summary || : ) 2>&1 | sed -n '/^cat.*EOF/,/^EOF/{/^cat.*EOF/d;/^EOF/d;/^LAST_UPDATED:/d;p;}'
  1718. echo ====================TESTING END=====================
  1719. mkdir testlogs-%{_target_platform}-%{version}-%{release}
  1720. for i in `find . -name \*.log | grep -F testsuite/ | grep -v 'config.log\|acats.*/tests/'`; do
  1721. ln $i testlogs-%{_target_platform}-%{version}-%{release}/ || :
  1722. done
  1723. tar cf - testlogs-%{_target_platform}-%{version}-%{release} | bzip2 -9c \
  1724. | uuencode testlogs-%{_target_platform}.tar.bz2 || :
  1725. rm -rf testlogs-%{_target_platform}-%{version}-%{release}
  1726. %clean
  1727. rm -rf $RPM_BUILD_ROOT
  1728. %post
  1729. if [ -f %{_infodir}/gcc.info.gz ]; then
  1730. /sbin/install-info \
  1731. --info-dir=%{_infodir} %{_infodir}/gcc.info.gz || :
  1732. fi
  1733. %preun
  1734. if [ $1 = 0 -a -f %{_infodir}/gcc.info.gz ]; then
  1735. /sbin/install-info --delete \
  1736. --info-dir=%{_infodir} %{_infodir}/gcc.info.gz || :
  1737. fi
  1738. %posttrans
  1739. if [ ! -x %{_bindir}/cc ]; then
  1740. ln -sf gcc %{_bindir}/cc
  1741. fi
  1742. %posttrans c++
  1743. if [ ! -x %{_bindir}/c++ ]; then
  1744. ln -sf g++ %{_bindir}/c++
  1745. fi
  1746. %post cpp
  1747. if [ -f %{_infodir}/cpp.info.gz ]; then
  1748. /sbin/install-info \
  1749. --info-dir=%{_infodir} %{_infodir}/cpp.info.gz || :
  1750. fi
  1751. %preun cpp
  1752. if [ $1 = 0 -a -f %{_infodir}/cpp.info.gz ]; then
  1753. /sbin/install-info --delete \
  1754. --info-dir=%{_infodir} %{_infodir}/cpp.info.gz || :
  1755. fi
  1756. %post gfortran
  1757. if [ -f %{_infodir}/gfortran.info.gz ]; then
  1758. /sbin/install-info \
  1759. --info-dir=%{_infodir} %{_infodir}/gfortran.info.gz || :
  1760. fi
  1761. %preun gfortran
  1762. if [ $1 = 0 -a -f %{_infodir}/gfortran.info.gz ]; then
  1763. /sbin/install-info --delete \
  1764. --info-dir=%{_infodir} %{_infodir}/gfortran.info.gz || :
  1765. fi
  1766. %posttrans gfortran
  1767. if [ ! -x %{_bindir}/f95 ]; then
  1768. ln -sf gfortran %{_bindir}/f95
  1769. fi
  1770. %post java
  1771. if [ -f %{_infodir}/gcj.info.gz ]; then
  1772. /sbin/install-info \
  1773. --info-dir=%{_infodir} %{_infodir}/gcj.info.gz || :
  1774. fi
  1775. %preun java
  1776. if [ $1 = 0 -a -f %{_infodir}/gcj.info.gz ]; then
  1777. /sbin/install-info --delete \
  1778. --info-dir=%{_infodir} %{_infodir}/gcj.info.gz || :
  1779. fi
  1780. %post gnat
  1781. if [ -f %{_infodir}/gnat_rm.info.gz ]; then
  1782. /sbin/install-info \
  1783. --info-dir=%{_infodir} %{_infodir}/gnat_rm.info.gz || :
  1784. /sbin/install-info \
  1785. --info-dir=%{_infodir} %{_infodir}/gnat_ugn.info.gz || :
  1786. /sbin/install-info \
  1787. --info-dir=%{_infodir} %{_infodir}/gnat-style.info.gz || :
  1788. fi
  1789. %preun gnat
  1790. if [ $1 = 0 -a -f %{_infodir}/gnat_rm.info.gz ]; then
  1791. /sbin/install-info --delete \
  1792. --info-dir=%{_infodir} %{_infodir}/gnat_rm.info.gz || :
  1793. /sbin/install-info --delete \
  1794. --info-dir=%{_infodir} %{_infodir}/gnat_ugn.info.gz || :
  1795. /sbin/install-info --delete \
  1796. --info-dir=%{_infodir} %{_infodir}/gnat-style.info.gz || :
  1797. fi
  1798. # Because glibc Prereq's libgcc and /sbin/ldconfig
  1799. # comes from glibc, it might not exist yet when
  1800. # libgcc is installed
  1801. %post -n libgcc -p <lua>
  1802. if posix.access ("/sbin/ldconfig", "x") then
  1803. local pid = posix.fork ()
  1804. if pid == 0 then
  1805. posix.exec ("/sbin/ldconfig")
  1806. elseif pid ~= -1 then
  1807. posix.wait (pid)
  1808. end
  1809. end
  1810. %postun -n libgcc -p <lua>
  1811. if posix.access ("/sbin/ldconfig", "x") then
  1812. local pid = posix.fork ()
  1813. if pid == 0 then
  1814. posix.exec ("/sbin/ldconfig")
  1815. elseif pid ~= -1 then
  1816. posix.wait (pid)
  1817. end
  1818. end
  1819. %post -n libstdc++ -p /sbin/ldconfig
  1820. %postun -n libstdc++ -p /sbin/ldconfig
  1821. %post -n libobjc -p /sbin/ldconfig
  1822. %postun -n libobjc -p /sbin/ldconfig
  1823. %post -n libgcj
  1824. /sbin/ldconfig
  1825. if [ -f %{_infodir}/cp-tools.info.gz ]; then
  1826. /sbin/install-info \
  1827. --info-dir=%{_infodir} %{_infodir}/cp-tools.info.gz || :
  1828. /sbin/install-info \
  1829. --info-dir=%{_infodir} %{_infodir}/fastjar.info.gz || :
  1830. fi
  1831. %preun -n libgcj
  1832. if [ $1 = 0 -a -f %{_infodir}/cp-tools.info.gz ]; then
  1833. /sbin/install-info --delete \
  1834. --info-dir=%{_infodir} %{_infodir}/cp-tools.info.gz || :
  1835. /sbin/install-info --delete \
  1836. --info-dir=%{_infodir} %{_infodir}/fastjar.info.gz || :
  1837. fi
  1838. %postun -n libgcj -p /sbin/ldconfig
  1839. %post -n libgfortran -p /sbin/ldconfig
  1840. %postun -n libgfortran -p /sbin/ldconfig
  1841. %post -n libgnat -p /sbin/ldconfig
  1842. %postun -n libgnat -p /sbin/ldconfig
  1843. %post -n libgomp
  1844. /sbin/ldconfig
  1845. if [ -f %{_infodir}/libgomp.info.gz ]; then
  1846. /sbin/install-info \
  1847. --info-dir=%{_infodir} %{_infodir}/libgomp.info.gz || :
  1848. fi
  1849. %preun -n libgomp
  1850. if [ $1 = 0 -a -f %{_infodir}/libgomp.info.gz ]; then
  1851. /sbin/install-info --delete \
  1852. --info-dir=%{_infodir} %{_infodir}/libgomp.info.gz || :
  1853. fi
  1854. %postun -n libgomp -p /sbin/ldconfig
  1855. %post -n libmudflap -p /sbin/ldconfig
  1856. %postun -n libmudflap -p /sbin/ldconfig
  1857. %post -n libquadmath
  1858. /sbin/ldconfig
  1859. if [ -f %{_infodir}/libquadmath.info.gz ]; then
  1860. /sbin/install-info \
  1861. --info-dir=%{_infodir} %{_infodir}/libquadmath.info.gz || :
  1862. fi
  1863. %preun -n libquadmath
  1864. if [ $1 = 0 -a -f %{_infodir}/libquadmath.info.gz ]; then
  1865. /sbin/install-info --delete \
  1866. --info-dir=%{_infodir} %{_infodir}/libquadmath.info.gz || :
  1867. fi
  1868. %postun -n libquadmath -p /sbin/ldconfig
  1869. %postun -n libitm -p /sbin/ldconfig
  1870. %post -n libatomic -p /sbin/ldconfig
  1871. %postun -n libatomic -p /sbin/ldconfig
  1872. %post -n libasan -p /sbin/ldconfig
  1873. %postun -n libasan -p /sbin/ldconfig
  1874. %post -n libtsan -p /sbin/ldconfig
  1875. %postun -n libtsan -p /sbin/ldconfig
  1876. %post -n libgo -p /sbin/ldconfig
  1877. %postun -n libgo -p /sbin/ldconfig
  1878. %files -f %{name}.lang
  1879. %defattr(-,root,root,-)
  1880. %{_prefix}/bin/cc
  1881. %{_prefix}/bin/c89
  1882. %{_prefix}/bin/c99
  1883. %{_prefix}/bin/gcc
  1884. %{_prefix}/bin/gcov
  1885. %{_prefix}/bin/gcc-ar
  1886. %{_prefix}/bin/gcc-nm
  1887. %{_prefix}/bin/gcc-ranlib
  1888. %ifarch ppc
  1889. %{_prefix}/bin/%{_target_platform}-gcc
  1890. %endif
  1891. %ifarch sparc64 sparcv9
  1892. %{_prefix}/bin/sparc-%{_vendor}-%{_target_os}-gcc
  1893. %endif
  1894. %ifarch ppc64
  1895. %{_prefix}/bin/ppc-%{_vendor}-%{_target_os}-gcc
  1896. %endif
  1897. %{_prefix}/bin/%{gcc_target_platform}-gcc
  1898. %{_mandir}/man1/gcc.1*
  1899. %{_mandir}/man1/gcov.1*
  1900. %{_infodir}/gcc*
  1901. %dir %{_prefix}/lib/gcc
  1902. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}
  1903. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
  1904. %dir %{_prefix}/libexec/gcc
  1905. %dir %{_prefix}/libexec/gcc/%{gcc_target_platform}
  1906. %dir %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}
  1907. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include
  1908. %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/lto1
  1909. %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/lto-wrapper
  1910. %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/liblto_plugin.so*
  1911. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/rpmver
  1912. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/stddef.h
  1913. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/stdarg.h
  1914. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/stdfix.h
  1915. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/varargs.h
  1916. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/float.h
  1917. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/limits.h
  1918. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/stdbool.h
  1919. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/iso646.h
  1920. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/syslimits.h
  1921. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/unwind.h
  1922. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/omp.h
  1923. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/stdint.h
  1924. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/stdint-gcc.h
  1925. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/stdalign.h
  1926. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/stdnoreturn.h
  1927. %ifarch %{ix86} x86_64
  1928. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/mmintrin.h
  1929. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/xmmintrin.h
  1930. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/emmintrin.h
  1931. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/pmmintrin.h
  1932. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/tmmintrin.h
  1933. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/ammintrin.h
  1934. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/smmintrin.h
  1935. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/nmmintrin.h
  1936. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/bmmintrin.h
  1937. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/wmmintrin.h
  1938. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/immintrin.h
  1939. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/avxintrin.h
  1940. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/x86intrin.h
  1941. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/fma4intrin.h
  1942. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/xopintrin.h
  1943. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/lwpintrin.h
  1944. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/popcntintrin.h
  1945. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/bmiintrin.h
  1946. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/tbmintrin.h
  1947. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/ia32intrin.h
  1948. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/avx2intrin.h
  1949. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/bmi2intrin.h
  1950. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/f16cintrin.h
  1951. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/fmaintrin.h
  1952. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/lzcntintrin.h
  1953. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/rtmintrin.h
  1954. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/xtestintrin.h
  1955. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/adxintrin.h
  1956. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/prfchwintrin.h
  1957. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/rdseedintrin.h
  1958. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/fxsrintrin.h
  1959. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/xsaveintrin.h
  1960. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/xsaveoptintrin.h
  1961. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/mm_malloc.h
  1962. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/mm3dnow.h
  1963. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/cpuid.h
  1964. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/cross-stdarg.h
  1965. %endif
  1966. %ifarch ia64
  1967. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/ia64intrin.h
  1968. %endif
  1969. %ifarch ppc ppc64
  1970. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/ppc-asm.h
  1971. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/altivec.h
  1972. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/spe.h
  1973. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/paired.h
  1974. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/ppu_intrinsics.h
  1975. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/si2vmx.h
  1976. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/spu2vmx.h
  1977. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/vec_types.h
  1978. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/htmintrin.h
  1979. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/htmxlintrin.h
  1980. %endif
  1981. %ifarch %{arm}
  1982. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/unwind-arm-common.h
  1983. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/mmintrin.h
  1984. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/arm_neon.h
  1985. %endif
  1986. %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/collect2
  1987. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/crt*.o
  1988. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgcc.a
  1989. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgcov.a
  1990. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgcc_eh.a
  1991. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgcc_s.so
  1992. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgomp.spec
  1993. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgomp.a
  1994. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgomp.so
  1995. %if %{build_libitm}
  1996. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libitm.spec
  1997. %endif
  1998. %ifarch sparcv9 ppc
  1999. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64
  2000. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/crt*.o
  2001. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgcc.a
  2002. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgcov.a
  2003. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgcc_eh.a
  2004. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgcc_s.so
  2005. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgomp.a
  2006. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgomp.so
  2007. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libmudflap.a
  2008. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libmudflapth.a
  2009. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libmudflap.so
  2010. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libmudflapth.so
  2011. %if %{build_libquadmath}
  2012. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libquadmath.a
  2013. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libquadmath.so
  2014. %endif
  2015. %if %{build_libitm}
  2016. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libitm.a
  2017. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libitm.so
  2018. %endif
  2019. %if %{build_libatomic}
  2020. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libatomic.a
  2021. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libatomic.so
  2022. %endif
  2023. %if %{build_libasan}
  2024. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libasan.a
  2025. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libasan.so
  2026. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libasan_preinit.o
  2027. %endif
  2028. %endif
  2029. %ifarch %{multilib_64_archs}
  2030. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32
  2031. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/crt*.o
  2032. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgcc.a
  2033. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgcov.a
  2034. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgcc_eh.a
  2035. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgcc_s.so
  2036. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgomp.a
  2037. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgomp.so
  2038. %if %{build_libquadmath}
  2039. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libquadmath.a
  2040. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libquadmath.so
  2041. %endif
  2042. %if %{build_libitm}
  2043. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libitm.a
  2044. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libitm.so
  2045. %endif
  2046. %if %{build_libatomic}
  2047. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libatomic.a
  2048. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libatomic.so
  2049. %endif
  2050. %if %{build_libasan}
  2051. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libasan.a
  2052. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libasan.so
  2053. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libasan_preinit.o
  2054. %endif
  2055. %endif
  2056. %ifarch sparcv9 sparc64 ppc ppc64
  2057. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflap.a
  2058. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflapth.a
  2059. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflap.so
  2060. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflapth.so
  2061. %if %{build_libquadmath}
  2062. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libquadmath.a
  2063. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libquadmath.so
  2064. %endif
  2065. %if %{build_libitm}
  2066. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libitm.a
  2067. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libitm.so
  2068. %endif
  2069. %if %{build_libatomic}
  2070. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libatomic.a
  2071. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libatomic.so
  2072. %endif
  2073. %if %{build_libasan}
  2074. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libasan.a
  2075. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libasan.so
  2076. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libasan_preinit.o
  2077. %endif
  2078. %if %{build_libtsan}
  2079. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libtsan.a
  2080. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libtsan.so
  2081. %endif
  2082. %else
  2083. %if %{build_libatomic}
  2084. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libatomic.so
  2085. %endif
  2086. %if %{build_libasan}
  2087. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libasan.so
  2088. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libasan_preinit.o
  2089. %endif
  2090. %if %{build_libtsan}
  2091. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libtsan.so
  2092. %endif
  2093. %endif
  2094. %dir %{_prefix}/libexec/getconf
  2095. %{_prefix}/libexec/getconf/default
  2096. %doc gcc/README* rpm.doc/changelogs/gcc/ChangeLog* gcc/COPYING* COPYING.RUNTIME
  2097. %files cpp -f cpplib.lang
  2098. %defattr(-,root,root,-)
  2099. /lib/cpp
  2100. %{_prefix}/bin/cpp
  2101. %{_mandir}/man1/cpp.1*
  2102. %{_infodir}/cpp*
  2103. %dir %{_prefix}/libexec/gcc
  2104. %dir %{_prefix}/libexec/gcc/%{gcc_target_platform}
  2105. %dir %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}
  2106. %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cc1
  2107. %files -n libgcc
  2108. %defattr(-,root,root,-)
  2109. /%{_lib}/libgcc_s-%{gcc_version}.so.1
  2110. /%{_lib}/libgcc_s.so.1
  2111. %ifarch %{multilib_64_archs}
  2112. /lib/libgcc_s-%{gcc_version}.so.1
  2113. /lib/libgcc_s.so.1
  2114. %endif
  2115. %doc gcc/COPYING* COPYING.RUNTIME
  2116. %files c++
  2117. %defattr(-,root,root,-)
  2118. %{_prefix}/bin/%{gcc_target_platform}-*++
  2119. %{_prefix}/bin/g++
  2120. %{_prefix}/bin/c++
  2121. %{_mandir}/man1/g++.1*
  2122. %dir %{_prefix}/lib/gcc
  2123. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}
  2124. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
  2125. %dir %{_prefix}/libexec/gcc
  2126. %dir %{_prefix}/libexec/gcc/%{gcc_target_platform}
  2127. %dir %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}
  2128. %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cc1plus
  2129. %ifarch sparcv9 ppc
  2130. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64
  2131. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libstdc++.so
  2132. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libstdc++.a
  2133. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libsupc++.a
  2134. %endif
  2135. %ifarch %{multilib_64_archs}
  2136. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32
  2137. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libstdc++.so
  2138. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libstdc++.a
  2139. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libsupc++.a
  2140. %endif
  2141. %ifarch sparcv9 ppc %{multilib_64_archs}
  2142. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libstdc++.so
  2143. %endif
  2144. %ifarch sparcv9 sparc64 ppc ppc64
  2145. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libstdc++.a
  2146. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libsupc++.a
  2147. %endif
  2148. %doc rpm.doc/changelogs/gcc/cp/ChangeLog*
  2149. %files -n libstdc++
  2150. %defattr(-,root,root,-)
  2151. %{_prefix}/%{_lib}/libstdc++.so.6*
  2152. %ifarch %{multilib_64_archs}
  2153. %{_prefix}/lib/libstdc++.so.6*
  2154. %endif
  2155. %dir %{_datadir}/gdb
  2156. %dir %{_datadir}/gdb/auto-load
  2157. %dir %{_datadir}/gdb/auto-load/%{_prefix}
  2158. %dir %{_datadir}/gdb/auto-load/%{_prefix}/%{_lib}/
  2159. %{_datadir}/gdb/auto-load/%{_prefix}/%{_lib}/libstdc*gdb.py*
  2160. %ifarch %{multilib_64_archs}
  2161. %{_datadir}/gdb/auto-load/%{_prefix}/lib/libstdc*gdb.py*
  2162. %endif
  2163. %dir %{_prefix}/share/gcc-%{gcc_version}
  2164. %dir %{_prefix}/share/gcc-%{gcc_version}/python
  2165. %{_prefix}/share/gcc-%{gcc_version}/python/libstdcxx
  2166. %files -n libstdc++-devel
  2167. %defattr(-,root,root,-)
  2168. %dir %{_prefix}/include/c++
  2169. %dir %{_prefix}/include/c++/%{gcc_version}
  2170. %{_prefix}/include/c++/%{gcc_version}/[^gjos]*
  2171. %{_prefix}/include/c++/%{gcc_version}/os*
  2172. %{_prefix}/include/c++/%{gcc_version}/s[^u]*
  2173. %dir %{_prefix}/lib/gcc
  2174. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}
  2175. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
  2176. %ifnarch sparcv9 ppc %{multilib_64_archs}
  2177. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libstdc++.so
  2178. %endif
  2179. %doc rpm.doc/changelogs/libstdc++-v3/ChangeLog* libstdc++-v3/README*
  2180. %files -n libstdc++-static
  2181. %defattr(-,root,root,-)
  2182. %dir %{_prefix}/lib/gcc
  2183. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}
  2184. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
  2185. %ifarch sparcv9 ppc
  2186. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
  2187. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libstdc++.a
  2188. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libsupc++.a
  2189. %endif
  2190. %ifarch sparc64 ppc64
  2191. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
  2192. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libstdc++.a
  2193. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libsupc++.a
  2194. %endif
  2195. %ifnarch sparcv9 sparc64 ppc ppc64
  2196. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libstdc++.a
  2197. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libsupc++.a
  2198. %endif
  2199. %if %{build_libstdcxx_docs}
  2200. %files -n libstdc++-docs
  2201. %defattr(-,root,root)
  2202. %{_mandir}/man3/*
  2203. %doc rpm.doc/libstdc++-v3/html
  2204. %endif
  2205. %files objc
  2206. %defattr(-,root,root,-)
  2207. %dir %{_prefix}/lib/gcc
  2208. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}
  2209. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
  2210. %dir %{_prefix}/libexec/gcc
  2211. %dir %{_prefix}/libexec/gcc/%{gcc_target_platform}
  2212. %dir %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}
  2213. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include
  2214. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/objc
  2215. %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cc1obj
  2216. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libobjc.a
  2217. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libobjc.so
  2218. %ifarch sparcv9 ppc
  2219. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64
  2220. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libobjc.a
  2221. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libobjc.so
  2222. %endif
  2223. %ifarch %{multilib_64_archs}
  2224. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32
  2225. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libobjc.a
  2226. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libobjc.so
  2227. %endif
  2228. %doc rpm.doc/objc/*
  2229. %doc libobjc/THREADS* rpm.doc/changelogs/libobjc/ChangeLog*
  2230. %files objc++
  2231. %defattr(-,root,root,-)
  2232. %dir %{_prefix}/libexec/gcc
  2233. %dir %{_prefix}/libexec/gcc/%{gcc_target_platform}
  2234. %dir %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}
  2235. %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cc1objplus
  2236. %files -n libobjc
  2237. %defattr(-,root,root,-)
  2238. %{_prefix}/%{_lib}/libobjc.so.4*
  2239. %ifarch %{multilib_64_archs}
  2240. %{_prefix}/lib/libobjc.so.4*
  2241. %endif
  2242. %files gfortran
  2243. %defattr(-,root,root,-)
  2244. %{_prefix}/bin/gfortran
  2245. %{_prefix}/bin/f95
  2246. %{_mandir}/man1/gfortran.1*
  2247. %{_infodir}/gfortran*
  2248. %dir %{_prefix}/lib/gcc
  2249. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}
  2250. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
  2251. %dir %{_prefix}/libexec/gcc
  2252. %dir %{_prefix}/libexec/gcc/%{gcc_target_platform}
  2253. %dir %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}
  2254. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/finclude
  2255. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/finclude/omp_lib.h
  2256. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/finclude/omp_lib.f90
  2257. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/finclude/omp_lib.mod
  2258. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/finclude/omp_lib_kinds.mod
  2259. %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/f951
  2260. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgfortran.spec
  2261. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgfortranbegin.a
  2262. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libcaf_single.a
  2263. %ifarch sparcv9 sparc64 ppc ppc64
  2264. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgfortran.a
  2265. %endif
  2266. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgfortran.so
  2267. %ifarch sparcv9 ppc
  2268. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64
  2269. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgfortranbegin.a
  2270. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libcaf_single.a
  2271. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgfortran.a
  2272. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgfortran.so
  2273. %endif
  2274. %ifarch %{multilib_64_archs}
  2275. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32
  2276. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgfortranbegin.a
  2277. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libcaf_single.a
  2278. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgfortran.a
  2279. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgfortran.so
  2280. %endif
  2281. %doc rpm.doc/gfortran/*
  2282. %files -n libgfortran
  2283. %defattr(-,root,root,-)
  2284. %{_prefix}/%{_lib}/libgfortran.so.3*
  2285. %ifarch %{multilib_64_archs}
  2286. %{_prefix}/lib/libgfortran.so.3*
  2287. %endif
  2288. %files -n libgfortran-static
  2289. %defattr(-,root,root,-)
  2290. %dir %{_prefix}/lib/gcc
  2291. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}
  2292. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
  2293. %ifarch sparcv9 ppc
  2294. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
  2295. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libgfortran.a
  2296. %endif
  2297. %ifarch sparc64 ppc64
  2298. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
  2299. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libgfortran.a
  2300. %endif
  2301. %ifnarch sparcv9 sparc64 ppc ppc64
  2302. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgfortran.a
  2303. %endif
  2304. %if %{build_java}
  2305. %files java
  2306. %defattr(-,root,root,-)
  2307. %{_prefix}/bin/gcj
  2308. %{_prefix}/bin/gjavah
  2309. %{_prefix}/bin/gcjh
  2310. %{_prefix}/bin/jcf-dump
  2311. %{_mandir}/man1/gcj.1*
  2312. %{_mandir}/man1/jcf-dump.1*
  2313. %{_mandir}/man1/gjavah.1*
  2314. %{_mandir}/man1/gcjh.1*
  2315. %{_infodir}/gcj*
  2316. %dir %{_prefix}/libexec/gcc
  2317. %dir %{_prefix}/libexec/gcc/%{gcc_target_platform}
  2318. %dir %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}
  2319. %dir %{_prefix}/lib/gcc
  2320. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}
  2321. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
  2322. %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/jc1
  2323. %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/ecj1
  2324. %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/jvgenmain
  2325. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgcj.so
  2326. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgcj-tools.so
  2327. %ifarch sparcv9 sparc64 ppc ppc64
  2328. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgcj_bc.so
  2329. %endif
  2330. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgij.so
  2331. %ifarch sparcv9 ppc
  2332. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64
  2333. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgcj.so
  2334. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgcj-tools.so
  2335. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgcj_bc.so
  2336. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgij.so
  2337. %endif
  2338. %doc rpm.doc/changelogs/gcc/java/ChangeLog*
  2339. %files -n libgcj
  2340. %defattr(-,root,root,-)
  2341. %{_prefix}/bin/jv-convert
  2342. %{_prefix}/bin/gij
  2343. %{_prefix}/bin/gjar
  2344. %{_prefix}/bin/fastjar
  2345. %{_prefix}/bin/gnative2ascii
  2346. %{_prefix}/bin/grepjar
  2347. %{_prefix}/bin/grmic
  2348. %{_prefix}/bin/grmid
  2349. %{_prefix}/bin/grmiregistry
  2350. %{_prefix}/bin/gtnameserv
  2351. %{_prefix}/bin/gkeytool
  2352. %{_prefix}/bin/gorbd
  2353. %{_prefix}/bin/gserialver
  2354. %{_prefix}/bin/gcj-dbtool
  2355. %{_prefix}/bin/gjarsigner
  2356. %{_mandir}/man1/fastjar.1*
  2357. %{_mandir}/man1/grepjar.1*
  2358. %{_mandir}/man1/gjar.1*
  2359. %{_mandir}/man1/gjarsigner.1*
  2360. %{_mandir}/man1/jv-convert.1*
  2361. %{_mandir}/man1/gij.1*
  2362. %{_mandir}/man1/gnative2ascii.1*
  2363. %{_mandir}/man1/grmic.1*
  2364. %{_mandir}/man1/grmiregistry.1*
  2365. %{_mandir}/man1/gcj-dbtool.1*
  2366. %{_mandir}/man1/gkeytool.1*
  2367. %{_mandir}/man1/gorbd.1*
  2368. %{_mandir}/man1/grmid.1*
  2369. %{_mandir}/man1/gserialver.1*
  2370. %{_mandir}/man1/gtnameserv.1*
  2371. %{_infodir}/fastjar.info*
  2372. %{_infodir}/cp-tools.info*
  2373. %{_prefix}/%{_lib}/libgcj.so.*
  2374. %{_prefix}/%{_lib}/libgcj-tools.so.*
  2375. %{_prefix}/%{_lib}/libgcj_bc.so.*
  2376. %{_prefix}/%{_lib}/libgij.so.*
  2377. %dir %{_prefix}/%{_lib}/gcj-%{version}-14
  2378. %{_prefix}/%{_lib}/gcj-%{version}-14/classmap.db
  2379. %{_prefix}/%{_lib}/gcj-%{version}-14/libgtkpeer.so
  2380. %{_prefix}/%{_lib}/gcj-%{version}-14/libgjsmalsa.so
  2381. %{_prefix}/%{_lib}/gcj-%{version}-14/libjawt.so
  2382. %{_prefix}/%{_lib}/gcj-%{version}-14/libjvm.so
  2383. %{_prefix}/%{_lib}/gcj-%{version}-14/libjavamath.so
  2384. %dir %{_prefix}/share/java
  2385. %{_prefix}/share/java/[^sl]*
  2386. %{_prefix}/share/java/libgcj-%{version}.jar
  2387. %dir %{_prefix}/%{_lib}/security
  2388. %config(noreplace) %{_prefix}/%{_lib}/security/classpath.security
  2389. %{_prefix}/%{_lib}/logging.properties
  2390. %dir %{_prefix}/%{_lib}/gcj-%{version}/classmap.db.d
  2391. %attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) %{_prefix}/%{_lib}/gcj-%{version}/classmap.db
  2392. %files -n libgcj-devel
  2393. %defattr(-,root,root,-)
  2394. %dir %{_prefix}/lib/gcc
  2395. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}
  2396. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
  2397. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include
  2398. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/gcj
  2399. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/jawt.h
  2400. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/jawt_md.h
  2401. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/jni.h
  2402. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/jni_md.h
  2403. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/jvmpi.h
  2404. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgcj.spec
  2405. %ifarch sparcv9 ppc
  2406. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
  2407. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libgcj_bc.so
  2408. %endif
  2409. %ifarch sparc64 ppc64
  2410. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
  2411. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libgcj_bc.so
  2412. %endif
  2413. %ifnarch sparcv9 sparc64 ppc ppc64
  2414. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgcj_bc.so
  2415. %endif
  2416. %dir %{_prefix}/include/c++
  2417. %dir %{_prefix}/include/c++/%{gcc_version}
  2418. %{_prefix}/include/c++/%{gcc_version}/[gj]*
  2419. %{_prefix}/include/c++/%{gcc_version}/org
  2420. %{_prefix}/include/c++/%{gcc_version}/sun
  2421. %{_prefix}/%{_lib}/pkgconfig/libgcj-*.pc
  2422. %doc rpm.doc/boehm-gc/* rpm.doc/fastjar/* rpm.doc/libffi/*
  2423. %doc rpm.doc/libjava/*
  2424. %files -n libgcj-src
  2425. %defattr(-,root,root,-)
  2426. %dir %{_prefix}/share/java
  2427. %{_prefix}/share/java/src*.zip
  2428. %{_prefix}/share/java/libgcj-tools-%{version}.jar
  2429. %endif
  2430. %if %{build_ada}
  2431. %files gnat
  2432. %defattr(-,root,root,-)
  2433. %{_prefix}/bin/gnat
  2434. %{_prefix}/bin/gnat[^i]*
  2435. %{_infodir}/gnat*
  2436. %dir %{_prefix}/lib/gcc
  2437. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}
  2438. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
  2439. %dir %{_prefix}/libexec/gcc
  2440. %dir %{_prefix}/libexec/gcc/%{gcc_target_platform}
  2441. %dir %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}
  2442. %ifarch sparcv9 ppc
  2443. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64
  2444. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/adainclude
  2445. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/adalib
  2446. %endif
  2447. %ifarch %{multilib_64_archs}
  2448. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32
  2449. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/adainclude
  2450. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/adalib
  2451. %endif
  2452. %ifarch sparcv9 sparc64 ppc ppc64
  2453. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adainclude
  2454. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adalib
  2455. %endif
  2456. %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/gnat1
  2457. %doc rpm.doc/changelogs/gcc/ada/ChangeLog*
  2458. %files -n libgnat
  2459. %defattr(-,root,root,-)
  2460. %{_prefix}/%{_lib}/libgnat-*.so
  2461. %{_prefix}/%{_lib}/libgnarl-*.so
  2462. %files -n libgnat-devel
  2463. %defattr(-,root,root,-)
  2464. %dir %{_prefix}/lib/gcc
  2465. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}
  2466. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
  2467. %ifarch sparcv9 ppc
  2468. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
  2469. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adainclude
  2470. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adalib
  2471. %exclude %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adalib/libgnat.a
  2472. %exclude %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adalib/libgnarl.a
  2473. %endif
  2474. %ifarch sparc64 ppc64
  2475. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
  2476. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adainclude
  2477. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adalib
  2478. %exclude %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adalib/libgnat.a
  2479. %exclude %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adalib/libgnarl.a
  2480. %endif
  2481. %ifnarch sparcv9 sparc64 ppc ppc64
  2482. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adainclude
  2483. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adalib
  2484. %exclude %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adalib/libgnat.a
  2485. %exclude %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adalib/libgnarl.a
  2486. %endif
  2487. %files -n libgnat-static
  2488. %defattr(-,root,root,-)
  2489. %dir %{_prefix}/lib/gcc
  2490. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}
  2491. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
  2492. %ifarch sparcv9 ppc
  2493. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
  2494. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adalib
  2495. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adalib/libgnat.a
  2496. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adalib/libgnarl.a
  2497. %endif
  2498. %ifarch sparc64 ppc64
  2499. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
  2500. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adalib
  2501. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adalib/libgnat.a
  2502. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adalib/libgnarl.a
  2503. %endif
  2504. %ifnarch sparcv9 sparc64 ppc ppc64
  2505. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adalib
  2506. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adalib/libgnat.a
  2507. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adalib/libgnarl.a
  2508. %endif
  2509. %endif
  2510. %files -n libgomp
  2511. %defattr(-,root,root,-)
  2512. %{_prefix}/%{_lib}/libgomp.so.1*
  2513. %ifarch %{multilib_64_archs}
  2514. %{_prefix}/lib/libgomp.so.1*
  2515. %endif
  2516. %{_infodir}/libgomp.info*
  2517. %doc rpm.doc/changelogs/libgomp/ChangeLog*
  2518. %files -n libmudflap
  2519. %defattr(-,root,root,-)
  2520. %{_prefix}/%{_lib}/libmudflap.so.0*
  2521. %{_prefix}/%{_lib}/libmudflapth.so.0*
  2522. %ifarch %{multilib_64_archs}
  2523. %{_prefix}/lib/libmudflap.so.0*
  2524. %{_prefix}/lib/libmudflapth.so.0*
  2525. %endif
  2526. %files -n libmudflap-devel
  2527. %defattr(-,root,root,-)
  2528. %dir %{_prefix}/lib/gcc
  2529. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}
  2530. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
  2531. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include
  2532. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/mf-runtime.h
  2533. %ifnarch sparcv9 sparc64 ppc ppc64
  2534. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflap.so
  2535. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflapth.so
  2536. %ifarch %{multilib_64_archs}
  2537. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libmudflap.so
  2538. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libmudflapth.so
  2539. %endif
  2540. %endif
  2541. %doc rpm.doc/changelogs/libmudflap/ChangeLog*
  2542. %files -n libmudflap-static
  2543. %defattr(-,root,root,-)
  2544. %dir %{_prefix}/lib/gcc
  2545. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}
  2546. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
  2547. %ifarch sparcv9 ppc
  2548. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
  2549. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libmudflap.a
  2550. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libmudflapth.a
  2551. %endif
  2552. %ifarch sparc64 ppc64
  2553. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
  2554. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libmudflap.a
  2555. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libmudflapth.a
  2556. %endif
  2557. %ifnarch sparcv9 sparc64 ppc ppc64
  2558. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflap.a
  2559. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflapth.a
  2560. %ifarch %{multilib_64_archs}
  2561. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libmudflap.a
  2562. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libmudflapth.a
  2563. %endif
  2564. %endif
  2565. %if %{build_libquadmath}
  2566. %files -n libquadmath
  2567. %defattr(-,root,root,-)
  2568. %{_prefix}/%{_lib}/libquadmath.so.0*
  2569. %ifarch %{multilib_64_archs}
  2570. %{_prefix}/lib/libquadmath.so.0*
  2571. %endif
  2572. %{_infodir}/libquadmath.info*
  2573. %doc rpm.doc/libquadmath/COPYING*
  2574. %files -n libquadmath-devel
  2575. %defattr(-,root,root,-)
  2576. %dir %{_prefix}/lib/gcc
  2577. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}
  2578. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
  2579. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include
  2580. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/quadmath.h
  2581. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/quadmath_weak.h
  2582. %ifnarch sparcv9 sparc64 ppc ppc64
  2583. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libquadmath.so
  2584. %endif
  2585. %doc rpm.doc/libquadmath/ChangeLog*
  2586. %files -n libquadmath-static
  2587. %defattr(-,root,root,-)
  2588. %dir %{_prefix}/lib/gcc
  2589. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}
  2590. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
  2591. %ifarch sparcv9 ppc
  2592. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
  2593. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libquadmath.a
  2594. %endif
  2595. %ifarch sparc64 ppc64
  2596. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
  2597. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libquadmath.a
  2598. %endif
  2599. %ifnarch sparcv9 sparc64 ppc ppc64
  2600. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libquadmath.a
  2601. %endif
  2602. %endif
  2603. %if %{build_libitm}
  2604. %files -n libitm
  2605. %defattr(-,root,root,-)
  2606. %{_prefix}/%{_lib}/libitm.so.1*
  2607. %{_infodir}/libitm.info*
  2608. %ifarch %{multilib_64_archs}
  2609. %{_prefix}/lib/libitm.so.1*
  2610. %endif
  2611. %files -n libitm-devel
  2612. %defattr(-,root,root,-)
  2613. %dir %{_prefix}/lib/gcc
  2614. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}
  2615. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
  2616. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include
  2617. #%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/itm.h
  2618. #%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/itm_weak.h
  2619. %ifnarch sparcv9 sparc64 ppc ppc64
  2620. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libitm.so
  2621. %endif
  2622. %doc rpm.doc/libitm/ChangeLog*
  2623. %files -n libitm-static
  2624. %defattr(-,root,root,-)
  2625. %dir %{_prefix}/lib/gcc
  2626. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}
  2627. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
  2628. %ifarch sparcv9 ppc
  2629. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
  2630. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libitm.a
  2631. %endif
  2632. %ifarch sparc64 ppc64
  2633. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
  2634. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libitm.a
  2635. %endif
  2636. %ifnarch sparcv9 sparc64 ppc ppc64
  2637. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libitm.a
  2638. %endif
  2639. %endif
  2640. %if %{build_libatomic}
  2641. %files -n libatomic
  2642. %defattr(-,root,root,-)
  2643. %{_prefix}/%{_lib}/libatomic.so.1*
  2644. %ifarch %{multilib_64_archs}
  2645. %{_prefix}/lib/libatomic.so.1*
  2646. %endif
  2647. %files -n libatomic-static
  2648. %defattr(-,root,root,-)
  2649. %dir %{_prefix}/lib/gcc
  2650. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}
  2651. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
  2652. %ifarch sparcv9 ppc
  2653. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
  2654. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libatomic.a
  2655. %endif
  2656. %ifarch sparc64 ppc64
  2657. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
  2658. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libatomic.a
  2659. %endif
  2660. %ifnarch sparcv9 sparc64 ppc ppc64
  2661. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libatomic.a
  2662. %endif
  2663. %doc rpm.doc/changelogs/libatomic/ChangeLog*
  2664. %endif
  2665. %if %{build_libasan}
  2666. %files -n libasan
  2667. %defattr(-,root,root,-)
  2668. %{_prefix}/%{_lib}/libasan.so.0*
  2669. %ifarch %{multilib_64_archs}
  2670. %{_prefix}/lib/libasan.so.0*
  2671. %endif
  2672. %files -n libasan-static
  2673. %defattr(-,root,root,-)
  2674. %dir %{_prefix}/lib/gcc
  2675. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}
  2676. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
  2677. %ifarch sparcv9 ppc
  2678. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
  2679. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libasan.a
  2680. %endif
  2681. %ifarch sparc64 ppc64
  2682. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
  2683. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libasan.a
  2684. %endif
  2685. %ifnarch sparcv9 sparc64 ppc ppc64
  2686. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libasan.a
  2687. %endif
  2688. %doc rpm.doc/changelogs/libsanitizer/ChangeLog* libsanitizer/LICENSE.TXT
  2689. %endif
  2690. %if %{build_libtsan}
  2691. %files -n libtsan
  2692. %defattr(-,root,root,-)
  2693. %{_prefix}/%{_lib}/libtsan.so.0*
  2694. %files -n libtsan-static
  2695. %defattr(-,root,root,-)
  2696. %dir %{_prefix}/lib/gcc
  2697. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}
  2698. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
  2699. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libtsan.a
  2700. %doc rpm.doc/changelogs/libsanitizer/ChangeLog* libsanitizer/LICENSE.TXT
  2701. %endif
  2702. %if %{build_go}
  2703. %files go
  2704. %defattr(-,root,root,-)
  2705. %{_prefix}/bin/gccgo
  2706. %{_mandir}/man1/gccgo.1*
  2707. %dir %{_prefix}/lib/gcc
  2708. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}
  2709. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
  2710. %dir %{_prefix}/libexec/gcc
  2711. %dir %{_prefix}/libexec/gcc/%{gcc_target_platform}
  2712. %dir %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}
  2713. %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/go1
  2714. %ifarch sparcv9 ppc
  2715. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64
  2716. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgo.so
  2717. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgo.a
  2718. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgobegin.a
  2719. %endif
  2720. %ifarch %{multilib_64_archs}
  2721. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32
  2722. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgo.so
  2723. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgo.a
  2724. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgobegin.a
  2725. %endif
  2726. %ifarch sparcv9 ppc %{multilib_64_archs}
  2727. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgo.so
  2728. %endif
  2729. %ifarch sparcv9 sparc64 ppc ppc64
  2730. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgo.a
  2731. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgobegin.a
  2732. %endif
  2733. %doc rpm.doc/go/*
  2734. %files -n libgo
  2735. %defattr(-,root,root,-)
  2736. %{_prefix}/%{_lib}/libgo.so.4*
  2737. %ifarch %{multilib_64_archs}
  2738. %{_prefix}/lib/libgo.so.4*
  2739. %endif
  2740. %doc rpm.doc/libgo/*
  2741. %files -n libgo-devel
  2742. %defattr(-,root,root,-)
  2743. %dir %{_prefix}/lib/gcc
  2744. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}
  2745. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
  2746. %dir %{_prefix}/%{_lib}/go
  2747. %dir %{_prefix}/%{_lib}/go/%{gcc_version}
  2748. %{_prefix}/%{_lib}/go/%{gcc_version}/%{gcc_target_platform}
  2749. %ifarch %{multilib_64_archs}
  2750. %ifnarch sparc64 ppc64
  2751. %dir %{_prefix}/lib/go
  2752. %dir %{_prefix}/lib/go/%{gcc_version}
  2753. %{_prefix}/lib/go/%{gcc_version}/%{gcc_target_platform}
  2754. %endif
  2755. %endif
  2756. %ifarch sparcv9 ppc
  2757. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
  2758. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libgobegin.a
  2759. %endif
  2760. %ifarch sparc64 ppc64
  2761. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
  2762. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libgobegin.a
  2763. %endif
  2764. %ifnarch sparcv9 sparc64 ppc ppc64
  2765. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgobegin.a
  2766. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgo.so
  2767. %endif
  2768. %files -n libgo-static
  2769. %defattr(-,root,root,-)
  2770. %dir %{_prefix}/lib/gcc
  2771. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}
  2772. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
  2773. %ifarch sparcv9 ppc
  2774. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
  2775. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libgo.a
  2776. %endif
  2777. %ifarch sparc64 ppc64
  2778. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
  2779. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libgo.a
  2780. %endif
  2781. %ifnarch sparcv9 sparc64 ppc ppc64
  2782. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgo.a
  2783. %endif
  2784. %endif
  2785. %files plugin-devel
  2786. %defattr(-,root,root,-)
  2787. %dir %{_prefix}/lib/gcc
  2788. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}
  2789. %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
  2790. %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/plugin
  2791. %changelog
  2792. * Mon Nov 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.8.2-1
  2793. - updated to 4.8.2
  2794. * Mon Sep 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.8.1-2
  2795. - change source (original)
  2796. * Sun Sep 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.8.1-1
  2797. - updated to 4.8.1
  2798. - merged with FC 4.8.1-10.fc21
  2799. * Mon Jan 09 2012 NAKAMURA Kenta <kenta@vinelinux.org> 4.6.2-3
  2800. - updated %%install and %%files sections to pack missing 32bit libraries on multilib_64_archs
  2801. * Sat Jan 07 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.6.2-2
  2802. - add %%posttrans for gcc,gcc-cpp,gcc-c++,gcc-gfortran
  2803. to fix missing symlinks
  2804. - add Obsoletes: fastjar to libgcj
  2805. * Fri Dec 02 2011 NAKAMURA Kenta <kenta@vinelinux.org> 4.6.2-1
  2806. - updated to 4.6.2
  2807. - merged with FC 4.6.2-1.fc17.1
  2808. - removed alternatives
  2809. * Wed Nov 02 2011 NAKAMURA Kenta <kenta@vinelinux.org> - 4.4.5-8
  2810. - rebuilt with mpfr-3.1.0
  2811. * Fri Sep 09 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.4.5-7
  2812. - updated to more recent svn source from Fedora13 updates 4.4.5-2.fc13
  2813. * Mon May 02 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.5-6
  2814. - fix %%postun
  2815. - remove alternatives only if broken
  2816. * Mon May 02 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.5-5
  2817. - update %%postun to fix alternatives bug
  2818. - add %%triggerpostun to fix broken alternatives
  2819. * Sat Apr 02 2011 NAKAMURA Kenta <kenta@vinelinux.org> - 4.4.5-3
  2820. - dropped gcc44-no-add-needed.patch in Vine Linux 6
  2821. * Wed Mar 23 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.5-2
  2822. - add BR: glibc-static
  2823. * Sun Mar 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.5-1
  2824. - new upstream release
  2825. - used %%posttrans instead of %%triggerpostun
  2826. * Sun Sep 19 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.3-9
  2827. - used alternatives %%{_prefix}/%%{_lib}/security/classpath.security
  2828. * Fri Aug 13 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.3-8
  2829. - rebuilt with gcc-java-4.4.3-7
  2830. * Sun Aug 1 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.3-7
  2831. - used %%{_lib} macros for classpath.security and logging.properties (libgcj)
  2832. - this release needs to build --with java_bootstrap option
  2833. * Sun Jul 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.3-6
  2834. - bootstrapped java package
  2835. - this release needs to build --with java_bootstrap option
  2836. * Wed Apr 7 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.4.3-5
  2837. - updated to 20100401 (svn r157910)
  2838. * Tue Apr 6 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.4.3-4
  2839. - fix configure flags on ppc again (remove --with-cpu=750)
  2840. * Mon Feb 8 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.4.3-3
  2841. - fix configure flags on ppc
  2842. * Mon Jan 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.3-2
  2843. - rebuilt with new toolchain
  2844. - fixed %%install and %%file libgomp section (Thanks to kenta-san)
  2845. - added Provides: libstdc++34 to libstdc++
  2846. * Sun Jan 24 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.3-1
  2847. - new upstream release
  2848. * Fri Dec 26 2008 NAKAMURA Kenta <kenta@vinelinux.org> 4.1.2-21
  2849. - added BuildRequires: compat32-glibc-devel for x86_64 arch
  2850. * Sat Dec 20 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.2-20
  2851. - remove Requires: %{_prefox}/%{_lib}/libz.so from libgcj-devel
  2852. * Wed Sep 24 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.2-19
  2853. - rebuilt with binutils-2.18.50.0.6 and glibc-2.8
  2854. * Tue Jul 08 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.2-18
  2855. - updated to 4.1.3 prerelease 20080708 (gcc-4_1-branch r137614)
  2856. - new versioning policy
  2857. - require gecko-devel instead of firefox-devel
  2858. * Sun Feb 10 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.1.2-0vl17
  2859. - updated to 4.1.3 prerelease 20080204 (gcc-4_1-branch r132101)
  2860. * Thu Dec 27 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.1.2-0vl16
  2861. - updated to 4.1.3 prerelease 20071221 (gcc-4_1-branch r131115)
  2862. * Tue Dec 18 2007 NAKAMURA Kenta <kenta@vinelinux.org> 4.1.2-0vl15
  2863. - updated %%files section to include 32bit libraries for x86_64
  2864. * Sat Dec 15 2007 NAKAMURA Kenta <kenta@vinelinux.org> 4.1.2-0vl14
  2865. - added BuildRequires: mpfr-devel
  2866. * Sat Oct 20 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.1.2-0vl13
  2867. - updated to 4.1.3 prerelease 20070923 (gcc-4_1-branch r128704)
  2868. * Wed Jul 04 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.1.2-0vl12
  2869. - updated to 4.1.3 prerelease 20070703 (gcc-4_1-branch r126255)
  2870. - PR target/28307, boehm-gc/21940, boehm-gc/21942, target/32389,
  2871. c++/31809, c++/31806, inline-asm/32109, middle-end/32285,
  2872. rtl-optimization/28011, tree-optimization/32353, target/32163
  2873. * Thu May 31 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.1.2-0vl11
  2874. - Sorry, put a wrong srpm, it was just my mistake. Put correct version.
  2875. * Mon May 28 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.1.2-0vl10
  2876. - updated to 4.1.3 prerelease 20070524 (gcc-4_1-branch r125017)
  2877. - PR libfortran/31964, target/31701, target/31480, target/31022
  2878. - disguise version_string[], such as
  2879. "4.1.2 (4.1.3 prelease 20070524) (Vine Linux 4.1.2-0vl10)"
  2880. * Sun May 20 2007 NAKAMURA Kenta <kenta@vinelinux.org> 4.1.2-0vl9
  2881. - enable Patch5: gcc41-java-nomulti.patch
  2882. - remove obsoleted work around which building libgcj_bc.so
  2883. * Sat May 19 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.1.2-0vl8
  2884. - updated to 4.1.3 prerelease 20070517 (gcc-4_1-branch r124799)
  2885. * Sun May 13 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.1.2-0vl7
  2886. - add Patch101
  2887. (long double 128bit by default on alpha/ppc/sparc/s390 targets)
  2888. http://sources.redhat.com/bugzilla/show_bug.cgi?id=2749
  2889. which was originally derived from the following patches:
  2890. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25864#c13
  2891. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25864#c14
  2892. - add --disable-multilib configure option for no-biarch builds on ppc
  2893. - fix spec typo of Daisuk SUZUKI's -mcpu removal on 4.1.2-0vl5
  2894. * Sat May 12 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.1.2-0vl6
  2895. - enable Patch19 now
  2896. * Wed May 09 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.2-0vl5
  2897. - add Patch100 to add -mtune=generic option (from MDV)
  2898. - remove -mcpu option from OPT_FLAGS
  2899. - use bootstrap-lean instead of profiledbootstrap
  2900. - enable Patch10 to add MNI support (SSE3)
  2901. * Mon May 07 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.1.2-0vl4
  2902. - yet another minor fix (don't obsolete gcc3-* packages)
  2903. * Mon May 07 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.1.2-0vl3
  2904. - one more minor fix (libgfortran don't obsolete libf2c)
  2905. * Mon May 07 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.1.2-0vl2
  2906. - Oops, fixed one small typo
  2907. * Sun May 06 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.1.2-0vl1
  2908. - rebuild
  2909. * Wed May 02 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.1.2-0vl0
  2910. - initial build for VineSeed
  2911. - based on FC 4.1.1-30 and VineSeed 3.3.6-0vl8
  2912. - updated to 4.1.2 upstream release with most FC patches omitted (TODOs)
  2913. * Wed Oct 11 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-30
  2914. - update from gcc-4_1-branch (-r117464:117629)
  2915. - PRs c++/28302, c++/28349, c++/28450, c++/29002, libstdc++/29095,
  2916. libstdc++/29354, libstdc++/29368, target/28490
  2917. - fix gnu.xml.transform.TransformerImpl (Tom Tromey, #208854,
  2918. PR classpath/29362)
  2919. * Fri Oct 6 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-29
  2920. - update from gcc-4_1-branch (-r117266:117464)
  2921. - PRs bootstrap/26764, bootstrap/27334, c++/29080, c++/29138, c++/29226,
  2922. c/27489, c/27490, debug/28980, fortran/18791, libfortran/18791,
  2923. middle-end/28862, objc/29195, other/25035, tree-opt/28952
  2924. - fix s390{,x} address legitimization with TLS symbols (Angel Nunez
  2925. Mencias)
  2926. - fix -fno-automatic with Fortran auto arrays with non-constant size
  2927. (#203928, PR fortran/28415)
  2928. - fix char and short __sync_fetch_and_XXX (PR target/28924)
  2929. - fix emitting of vector constants with incomplete initializers (PR c/29091)
  2930. - fix ICE with multiple exit loop and -ftree-loop-linear
  2931. (#208935, PR tree-optimization/29290)
  2932. * Sat Sep 30 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-28
  2933. - fix i386/x86_64 legitimize_pic_address with TLS symbols (PR target/29198)
  2934. - fix gimplification of post-increment with side-effects on the inner
  2935. expression (PR c/29154)
  2936. * Thu Sep 28 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-27
  2937. - update from gcc-4_1-branch (-r117225:117266)
  2938. - PR target/29230
  2939. - restrict single entry mem{{,p}cpy,move,set} optimization to vars
  2940. and components thereof (PR middle-end/29272)
  2941. - fix java.util.Locale (Tom Tromey, #201712)
  2942. * Tue Sep 26 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-26
  2943. - update from gcc-4_1-branch (-r117162:117225)
  2944. - PRs classpath/28661, libgcj/29178, libstdc++/29179, libstdc++/29224
  2945. - fix unwind info generation, broken in gcc-4.1.1-21
  2946. (Roger Sayle, PR debug/29132)
  2947. * Sat Sep 23 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-25
  2948. - update from gcc-4_1-branch (-r117069:117162)
  2949. - PRs c++/28996, c++/29087, middle-end/26983
  2950. - fix -fprofile-use with anonymous namespaces (Jan Hubicka, PRs profile/20815,
  2951. profile/26399)
  2952. - fix #pragma omp parallel and #pragma omp section that call nested
  2953. functions (PRs middle-end/25261, middle-end/28790)
  2954. * Wed Sep 20 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-24
  2955. - update from gcc-4_1-branch (-r117000:117069)
  2956. - PRs fortran/21918, fortran/28526, fortran/28817, fortran/29060,
  2957. fortran/29101, java/28754, java/28892, java/29013,
  2958. middle-end/27226, middle-end/4520, tree-optimization/28900
  2959. - fix java.utils.logging.Logger (Mark Wielaard, #207111)
  2960. - fix gnu.javax.net.ssl.provider.SSLSocket (Tom Tromey, #206904)
  2961. - add support for Fortran OpenMP conditional inclusion (PR fortran/29097)
  2962. - add some -D_FORTIFY_SOURCE compile time strncat buffer overflow checks
  2963. * Sun Sep 17 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-23
  2964. - update from gcc-4_1-branch (-r116958:117000)
  2965. - PRs fortran/29051, target/28946
  2966. - fix single entry mem{{,p}cpy,move,set} optimization (Andrew Pinski,
  2967. PR tree-opt/29059)
  2968. * Fri Sep 15 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-22
  2969. - update from gcc-4_1-branch (-r116778:116958)
  2970. - PRs ada/21952, ada/29025, c++/26957, fortran/28890, fortran/28923,
  2971. fortran/28959, libfortran/28890, libfortran/28923, libfortran/28947,
  2972. middle-end/28493, other/23541, other/26507, rtl-optimization/28243,
  2973. rtl-optimization/28634, rtl-optimization/28636, rtl-optimization/28726,
  2974. target/13685, target/26504, target/27537, target/27681, target/28621,
  2975. target/29006, testsuite/28950, testsuite/29007
  2976. - fix #pragma omp atomic (PR middle-end/28046)
  2977. - speed up dominance frontiers calculation (Jan Hubicka)
  2978. - add README.libgcjwebplugin.so to libgcj %%doc (Tom Fitzsimmons)
  2979. - fix gcc-gfortran %%doc (#206333)
  2980. - fix gcc-debuginfo (#205500)
  2981. * Fri Sep 8 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-21
  2982. - update from gcc-4_1-branch (-r116498:116778)
  2983. - PRs c++/19809, c++/26102, c++/26195, c++/26571, c++/26670, c++/26671,
  2984. c++/26696, c++/26917, c++/28860, c++/28878, c++/28886, fortran/20067,
  2985. fortran/24866, fortran/25077, fortran/25102, fortran/28005,
  2986. fortran/28873, fortran/28885, fortran/28908, libfortran/28005,
  2987. middle-end/27724, middle-end/28814, other/22313,
  2988. rtl-optimization/27616, rtl-optimization/28386, target/24367
  2989. - add primitive class object symbols to libgcj_bc.so (Tom Tromey,
  2990. PR libgcj/28698)
  2991. - optimize single entry memcpy/mempcpy/memmove/memset already at the tree
  2992. level (PR middle-end/27567)
  2993. - add dependencies to *-devel subpackages, so that e.g. ppc64
  2994. libstdc++-devel requires 64-bit libstdc++, similarly for libgcj-devel
  2995. and libgcj/zlib-devel
  2996. * Fri Aug 25 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-20
  2997. - update from gcc-4_1-branch (-r116389:116498)
  2998. - PRs c++/28056, c++/28058, c++/28595, c++/28853, c/27558,
  2999. c/27893, c/28299, c/28418, driver/27622, libfortran/28452,
  3000. libfortran/28542, target/27075
  3001. - optimize A / (B << N) where A and B is positive and B is a power of two
  3002. (Alan Modra, #195924, PR rtl-optimization/26026)
  3003. - fix attribute handling in C++ (Jason Merrill, #204277, #204035,
  3004. PRs c++/28659, c++/28863)
  3005. * Fri Aug 25 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-19
  3006. - update from gcc-4_1-branch (-r116223:116389)
  3007. - PRs c++/23372, c++/27714, c++/28346, c++/28385, fortran/18111,
  3008. fortran/20886, fortran/25217, fortran/25828, fortran/28425,
  3009. fortran/28496, fortran/28601, fortran/28630, fortran/28660,
  3010. fortran/28735, fortran/28762, fortran/28771, fortran/28788,
  3011. libstdc++/28765, target/27565
  3012. - another big Java merge from the trunk (Tom Fitzsimmons)
  3013. - fix ICE in add_reg_br_prob_note (PR middle-end/28683)
  3014. * Fri Aug 18 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-18
  3015. - update from gcc-4_1-branch (-r116176:116223)
  3016. - PRs c++/28593, c++/28606, c++/28710, c/27697, middle-end/20256,
  3017. middle-end/25211, middle-end/26435
  3018. - don't waste .rodata space when copying from const array with large
  3019. entries (PR middle-end/28755)
  3020. - fix --combine with anonymous structures in unions (Alexandre Oliva,
  3021. PR c/27898)
  3022. - rebuilt with latest binutils to pick up 64K -z commonpagesize on ppc*
  3023. (#203001)
  3024. * Wed Aug 16 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-17
  3025. - update from gcc-4_1-branch (-r116082:116176)
  3026. - PRs c++/27894, c++/28677, c/28649, middle-end/28075,
  3027. rtl-optimization/23454
  3028. - merge gomp fixes from the trunk (-r116152:116154)
  3029. - PRs middle-end/28713, middle-end/28724
  3030. - add -march=geode and -mtune=geode support (Vlad Makarov)
  3031. - use %gs rather than %fs register on x86_64 with
  3032. -mcmodel=kernel -fstack-protector (Arjan van de Ven, #202842)
  3033. - don't create jar manifest in libgcj-tools-4.*.jar (#200887)
  3034. - externally_visible attribute fixes (Jan Hubicka, PRs c/25795, c++/27369)
  3035. - --combine fixes for aggregates with attributes (PRs c/28706, c/28712)
  3036. - further externally_visible attr fixes (PR c/28744)
  3037. - fix invalid token pasting error message (PR preprocessor/28709)
  3038. - obey OpenMP 2.5 chapter 4 env var requirements (whitespace rules
  3039. and case insensitivity in the env vars; PR libgomp/28725)
  3040. - fix OPT_FLAGS on sparc
  3041. * Sat Aug 12 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-16
  3042. - fix multilib conflict in libgcj-tools-4.1.1.jar (#200887)
  3043. * Fri Aug 11 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-15
  3044. - update from gcc-4_1-branch (-r115877:116082)
  3045. - PRs c++/27508, c++/28148, c++/28250, c++/28256, c++/28257, c++/28259,
  3046. c++/28267, c++/28274, c++/28347, c++/28432, c++/28557, c++/28594,
  3047. c++/28637, c++/28638, c++/28639, c++/28640, c++/28641, c/27721,
  3048. c/28136, fortran/27981, fortran/28548, fortran/28590,
  3049. middle-end/28651, rtl-optimization/27291, rtl-optimization/28221,
  3050. target/27566, target/27827
  3051. - fix Fortran ICE with nested function (Paul Thomas, #200618,
  3052. PR fortran/28600)
  3053. * Wed Aug 2 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-14
  3054. - update from gcc-4_1-branch (-r115644:115877)
  3055. - PRs c++/27572, c++/27668, c++/27962, c++/28025, c++/28258, c++/28523,
  3056. debug/25468, fortran/20892, fortran/27874, fortran/28129,
  3057. fortran/28439, libgfortran/28335, libgfortran/28339,
  3058. middle-end/28402, middle-end/28403, middle-end/28473,
  3059. target/27287, target/28247, tree-optimization/26719,
  3060. tree-optimization/27639, tree-optimization/27795,
  3061. tree-optimization/28029, tree-optimization/28238
  3062. - BuildRequire firefox-devel instead of mozilla-devel
  3063. * Tue Jul 25 2006 Alexandre Oliva <aoliva@redhat.com> 4.1.1-13
  3064. - backport fix by Andrew Haley for build problems related with the
  3065. bootstrap ClassLoader
  3066. * Mon Jul 24 2006 Alexandre Oliva <aoliva@redhat.com> 4.1.1-12
  3067. - backport fix by Mark Wielaard for NullPointerException in GCJ web plugin
  3068. * Fri Jul 21 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-11
  3069. - update from gcc-4_1-branch (-r115565:115644)
  3070. - PRs target/27363, c++/27495, c++/28048, c++/28235, c++/28337, c++/28338,
  3071. c++/28363, middle-end/28283
  3072. - turn back autoprov/autoreq on gcc-java, instead disable it on
  3073. libgcj-devel
  3074. * Thu Jul 20 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-10
  3075. - Java backport of from GCC trunk (Tom Tromey, Bryce McKinlay)
  3076. - include libgcjwebplugin.so, gappletviewer, gjarsigner, gkeytool
  3077. - C++ visibility changes (Jason Merrill, PRs c++/28407, c++/28409)
  3078. * Tue Jul 18 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-9
  3079. - update from gcc-4_1-branch (-r115330:115565)
  3080. - PRs c++/28016, c++/28051, c++/28249, c++/28291, c++/28294, c++/28304,
  3081. c++/28343, c/26993, c/28286, fortran/20844, fortran/20893,
  3082. fortran/20903, fortran/25097, fortran/27980, fortran/28201,
  3083. fortran/28353, fortran/28384, libstdc++/27878,
  3084. tree-optimization/19505, tree-optimization/28162,
  3085. tree-optimization/28187
  3086. - fix directory traversal issue in fastjar (Richard Guenther, CVE-2006-3619,
  3087. PR fastjar/28359)
  3088. - fix ICE on complex assignment in nested fn (Richard Henderson,
  3089. PR middle-end/27889)
  3090. - fix __builtin_constant_p in initializers (Mark Shinwell, #198849)
  3091. - fix tree verification - IDENTIFIER_NODE can be shared (Diego Novillo)
  3092. - fix duplicate_eh_regions
  3093. - handle > 99 tree dumps in the testsuite
  3094. * Sat Jul 15 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-8
  3095. - fix handling of C++ template static data members in anonymous namespace
  3096. (PR c++/28370)
  3097. - fix Fortran OpenMP handling of !$omp parallel do with lastprivate on the
  3098. iteration variable (PR fortran/28390)
  3099. - backported reassociation pass rewrite (Daniel Berlin, Jeff Law,
  3100. Roger Sayle, Peter Bergner, PRs ada/24994, tree-optimization/26854)
  3101. - BuildReq sharutils for uuencode
  3102. * Tue Jul 11 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-7
  3103. - update from gcc-4_1-branch (-r115058:115330)
  3104. - PRs c++/13983, c++/17519, c++/18681, c++/18698, c++/26577, c++/27019,
  3105. c++/27424, c++/27768, c++/27820, c++/28114, fortran/23420,
  3106. fortran/23862, fortran/24748, fortran/26801, fortran/27965,
  3107. fortran/28081, fortran/28094, fortran/28167, fortran/28174,
  3108. fortran/28213, fortran/28237, middle-end/27428, target/28084,
  3109. target/28207, tree-optimization/28218
  3110. - use --hash-style=gnu by default
  3111. - C++ visibility fixes (Jason Merrill, PRs c++/17470, c++/19134,
  3112. c++/21581, c++/21675, c++/25915, c++/26612, c++/26905, c++/26984,
  3113. c++/27000, c++/28215, c++/28279)
  3114. - fix ppc insvdi_internal2/3 (David Edelsohn, Alan Modra, #197755,
  3115. PR target/28170)
  3116. - avoid TFmode PRE_INC/PRE_DEC on ppc (David Edelsohn, PR target/28150)
  3117. * Thu Jun 29 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-6
  3118. - update from gcc-4_1-branch (-r114766:115058)
  3119. - PRs c++/27821, c++/28109, c++/28110, c++/28112, fortran/16206,
  3120. fortran/18769, fortran/19310, fortran/19904, fortran/20867,
  3121. fortran/20874, fortran/20876, fortran/22038, fortran/25049,
  3122. fortran/25050, fortran/25056, fortran/25073, fortran/27554,
  3123. fortran/27715, fortran/27784, fortran/27895, fortran/27958,
  3124. fortran/28118, fortran/28119, libfortran/27784, libfortran/27895,
  3125. libgcj/28178, middle-end/28045, middle-end/28151, target/27082,
  3126. target/27861, tree-optimization/27781
  3127. - fix a reload problem that lead sometimes to writes to read-only objects
  3128. (Bernd Schmidt, #196736, PR middle-end/26991, PR rtl-optimization/25636)
  3129. - ppc -mcpu=power6 initial support (Pete Steinmetz, #195924)
  3130. * Tue Jun 20 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-5
  3131. - fix C++ #pragma omp atomic (Mark Mitchell)
  3132. * Mon Jun 19 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-4
  3133. - update from gcc-4_1-branch (-r114555:114766)
  3134. - PRs bootstrap/22541, c++/21210, c++/26559, c++/27227, c++/27648,
  3135. c++/27665, c++/27666, c++/27689, c++/27884, c++/27933, c++/27951,
  3136. fortran/27786, java/28024, middle-end/27733, middle-end/27802,
  3137. target/27858, tree-optimization/27830
  3138. - merge gomp changes from the trunk (-r114642:114643)
  3139. - PR libgomp/28008
  3140. - fix -fmerge-all-constants
  3141. - fix #pragma omp critical handling if not --enable-linux-futex
  3142. * Tue Jun 13 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-3
  3143. - add BuildRequires for elfutils-devel on ia64
  3144. - fix a reload bug visible on s390x (Andreas Krebbel, #193912,
  3145. PR middle-end/27959)
  3146. * Mon Jun 12 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-2
  3147. - update from gcc-4_1-branch (-r114107:114555)
  3148. - PRs ada/27769, c++/20173, c++/26068, c++/26433, c++/26496, c++/27177,
  3149. c++/27385, c++/27447, c++/27451, c++/27601, c++/27713, c++/27716,
  3150. c++/27722, c++/27801, c++/27806, c++/27807, c++/27819, c/25161,
  3151. c/26818, c/27020, c/27718, fortran/14067, fortran/16943,
  3152. fortran/18003, fortran/19015, fortran/19777, fortran/20839,
  3153. fortran/20877, fortran/23091, fortran/23151, fortran/24168,
  3154. fortran/24558, fortran/25047, fortran/25058, fortran/25082,
  3155. fortran/25090, fortran/25098, fortran/25147, fortran/25746,
  3156. fortran/26551, fortran/27155, fortran/27320, fortran/27411,
  3157. fortran/27449, fortran/27470, fortran/27524, fortran/27552,
  3158. fortran/27584, fortran/27613, fortran/27655, fortran/27662,
  3159. fortran/27709, fortran/27897, libgcj/26483, libgfortran/24459,
  3160. libgfortran/27757, middle-end/27743, middle-end/27793,
  3161. target/25758, target/26223, target/27790, target/27842,
  3162. testsuite/27705, tree-optimization/26242, tree-optimization/26622
  3163. - merge gomp changes from the trunk (-r114518:114520 and -r114524:114525)
  3164. - PRs preprocessor/27746, c/27747, c++/27748, fortran/27916
  3165. - don't generate decls with the same DECL_UID in C++ FE (PR middle-end/27793)
  3166. * Thu May 25 2006 Jakub Jelinek <jakub@redhat.com> 4.1.1-1
  3167. - update from gcc-4_1-branch (-r113848:114107)
  3168. - GCC 4.1.1 release
  3169. - PR fortran/27553
  3170. - fix i386/x86_64 -O0 -fpic link failure (#192816, PR target/27758)
  3171. - fix gcjh on 64-bit hosts (#192700)
  3172. - -fvar-tracking fixes needed for SystemTap (Alexandre Oliva, BZ#2438)
  3173. * Wed May 17 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-19
  3174. - update from gcc-4_1-branch (-r113785:113848)
  3175. - PRs c++/26757, c++/27339, c++/27491, driver/26885, rtl-optimization/14261,
  3176. target/26600, tree-optimization/27603
  3177. - merge gomp changes from the trunk (-r113513:113514, -r113821:113823 and
  3178. -r113845:113846)
  3179. - PRs middle-end/27415, middle-end/27573
  3180. - optimize handling of large CONSTRUCTORs (Bernd Schmidt,
  3181. PR middle-end/27620)
  3182. * Mon May 15 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-18
  3183. - update from gcc-4_1-branch (-r113722:113785)
  3184. - PRs c++/27315, c++/27581, c++/27582, rtl-optimization/22563
  3185. - merge gomp changes from the trunk (-r113786:113790)
  3186. * Sun May 14 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-17
  3187. - make -mtune=z9-109 the default on s390{,x} (#184630)
  3188. * Sat May 13 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-16
  3189. - update from gcc-4_1-branch (-r113637:113722)
  3190. - PRs bootstrap/26872, c++/27547, fortran/20460, fortran/24549,
  3191. middle-end/27384, middle-end/27488, target/26545, target/27158
  3192. - fix libgcj.pc location and content on x86_64, ppc64 and s390x (#185230)
  3193. - make __dso_handle const, so that it is added into .data.rel.ro section
  3194. in shared libraries
  3195. - fix a typo in __builtin_object_size computation (Richard Guenther,
  3196. PR tree-optimization/27532)
  3197. - fix ICE on -O0 -g if static local variables are in unreachable code blocks
  3198. (Jan Hubicka, PR debug/26881)
  3199. - fix ICEs with conflicts across abnormal edges (Zdenek Dvorak,
  3200. PRs tree-optimization/27283, tree-optimization/27548,
  3201. tree-optimization/27549)
  3202. - warn about OpenMP section 2.9 region nesting violations
  3203. - fix OpenMP fortran array REDUCTION with -fbounds-check (PR fortran/27446)
  3204. - fix OpenMP {{FIRST,LAST}PRIVATE,REDUCTION} in orphaned construct on
  3205. Fortran dummy argument (PR middle-end/27416)
  3206. - fix ICE on #pragma omp for unsigned iteration variable (PR c/27499)
  3207. * Tue May 9 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-15
  3208. - update from gcc-4_1-branch (-r113623:113637)
  3209. - PR fortran/27378
  3210. - update from trunk (-r109500:109501, -r109670:109671, -r111341:111342,
  3211. -r111704:111705, -r112546:112547, -r113111:113112,
  3212. -r113339:113341, -r113511:113513)
  3213. - fix loop peeling (Zdenek Dvorak, #190039, PR rtl-optimization/27335)
  3214. * Mon May 8 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-14
  3215. - update from gcc-4_1-branch (-r113489:113623)
  3216. - PRs c++/27422, c++/27427, fortran/24813, fortran/25099, fortran/25681,
  3217. fortran/27269, fortran/27324, libfortran/26985, objc/27240,
  3218. target/26481, target/26765, tree-optimization/25985,
  3219. tree-optimization/27151
  3220. - fix zero size field handling in structalias (Richard Guenther,
  3221. PR tree-optimization/27409)
  3222. - fix PR tree-optimization/27136 (Richard Guenther)
  3223. - fix classification of invalid struct types on x86_64 (Volker Reichelt,
  3224. PR target/27421)
  3225. * Wed May 3 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-13
  3226. - update from gcc-4_1-branch (-r113416:113489)
  3227. - PRs c/25309, target/27374, target/27387, tree-optimization/27364
  3228. - merge gomp changes from trunk (-r113267:113271, -r113411:113412,
  3229. -r113452:113456, -r113482:113483, -r113493:113494)
  3230. - PR fortran/27395
  3231. - additional gomp fixes (PRs c++/27359, middle-end/27388)
  3232. - package SYSCALLS.c.X for protoize (#190047)
  3233. - fix gcj -fprofile-arcs -ftest-coverage (Alexandre Oliva, #177450)
  3234. - reenable profiledbootstrap
  3235. - in 64-bit builds remove 32-bit /usr/lib/lib* libraries from the
  3236. buildroots (and similarly on 32-bit builds remove 64-bit /usr/lib64/lib*)
  3237. before AutoReq generation (#190541)
  3238. * Mon May 1 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-12
  3239. - update from gcc-4_1-branch (-r113242:113416)
  3240. - PRs c++/26534, c++/26912, c++/27094, c++/27278, c++/27279, fortran/26017,
  3241. libgfortran/20257, libgfortran/27304, libgfortran/27360,
  3242. libstdc++/26513, middle-end/26565, middle-end/26869,
  3243. rtl-optimization/26685, target/26826
  3244. - merge gomp changes from trunk (-r113255:113256, -r113420:113421)
  3245. - PRs libgomp/25865, c/27358
  3246. - assorted gomp fixes (PRs middle-end/27325, middle-end/27310,
  3247. middle-end/27328, middle-end/27337, c++/26943)
  3248. - fix builtin memset (Alan Modra, PR middle-end/27260, PR middle-end/27095)
  3249. * Tue Apr 25 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-11
  3250. - update from gcc-4_1-branch (-r113149:113242)
  3251. - PRs c/25875, c/26774, fortran/18803, fortran/25597, fortran/25669,
  3252. fortran/26787, fortran/26822, fortran/26834, fortran/27089,
  3253. fortran/27113, fortran/27122, fortran/27124, target/21283,
  3254. target/26961
  3255. - fix number of iterations computation (Zdenek Dvorak, #189376,
  3256. PR tree-optimization/27285)
  3257. - fix handling of volatile in the inliner (Andrew Pinski, Richard Guenther,
  3258. PR tree-optimization/27236)
  3259. - strip useless type conversions in the inliner (Andrew Pinski,
  3260. Richard Guenther, PR tree-optimization/27218)
  3261. * Fri Apr 21 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-10
  3262. - update from gcc-4_1-branch (-r113110:113149)
  3263. - PRs libgcj/21941, libgcj/27170, libgcj/27231, libgfortran/27138,
  3264. libstdc++/26424, mudflap/26789
  3265. - improve dir/../-stripping code to support /usr/lib64 and /usr/lib in
  3266. separate AFS mountpoints (Alexandre Oliva, #137200)
  3267. - fix fortran real(16) transpose and reshape on 32-bit architectures
  3268. (PR fortran/26769)
  3269. - fix i?86/x86_64 vector extraction (Alexandre Oliva, #187450)
  3270. - fix testcase for ppc32 va_arg bug
  3271. - fix testsuite log uuencoding
  3272. - fix acats timeout framework
  3273. * Thu Apr 20 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-9
  3274. - update from gcc-4_1-branch (-r112951:113110)
  3275. - PRs c++/10385, c++/26036, c++/26365, c++/26558, classpath/27163,
  3276. fortran/26769, libgcj/27171, libgfortran/26766, libstdc++/27162,
  3277. middle-end/27095, middle-end/27134, target/27182,
  3278. tree-optimization/26643, tree-optimization/26821,
  3279. tree-optimization/26854, tree-optimization/27087
  3280. - fix ppc32 va_arg bug (Alan Modra)
  3281. - assorted gomp fixes (PRs c++/25874, middle-end/25989, c/25996, c/26171,
  3282. middle-end/26913)
  3283. - fix pretty printing C array types (#188944)
  3284. - fix ICE on unprototyped alloca (PR tree-optimization/26865)
  3285. - fix truncation optimization overflow handling (PR middle-end/26729)
  3286. - uuencode dejagnu testsuite log files in rpmbuild output
  3287. * Fri Apr 14 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-8
  3288. - update from gcc-4_1-branch (-r112825:112951)
  3289. - PRs c++/26122, c++/26295, fortran/23634, fortran/25619, fortran/26257,
  3290. libgcj/23829, libgcj/26522, libgfortran/26890, target/27006
  3291. - merge gomp changes from trunk (-r112934:112935)
  3292. - PR libgomp/26651
  3293. - fix ICE in gomp handling of EH regions (PR middle-end/26823)
  3294. * Mon Apr 10 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-7
  3295. - update from gcc-4_1-branch (-r112727:112825)
  3296. - PRs fortran/19101, fortran/25031, fortran/26779, fortran/26891,
  3297. fortran/26976, target/26508, tree-optimization/26919
  3298. - fix libgfortran printing of REAL*16 for IEEE quad and IBM extended formats
  3299. (PR libgfortran/24685)
  3300. - fix Fortran -fbounds-check (Roger Sayle, #188409, PR middle-end/22375)
  3301. - fix Java StackTraceElement.toString() (Mark Wielaard, #183212,
  3302. PR classpath/27081)
  3303. - fix -fopenmp -static
  3304. * Thu Apr 6 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-6
  3305. - update from gcc-4_1-branch (-r112706:112727)
  3306. - PRs classpath/24752, classpath/27028, libgcj/26625, libgcj/27024,
  3307. tree-optimization/26996
  3308. - reenable PR c++/19238, c++/21764 fixes, only PR c++/21581 is not
  3309. applied
  3310. - better fix for Java GC vs. pthread_create (Bryce McKinlay, #182263,
  3311. PR libgcj/13212)
  3312. - fix objc_push_parm (#185398)
  3313. - fix ICE with -feliminate-dwarf2-dups and using namespace (#187787,
  3314. PR debug/27057)
  3315. * Wed Apr 5 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-5
  3316. - update from gcc-4_1-branch (-r112431:112706)
  3317. - PRs bootstrap/26936, bootstrap/27023, classpath/25924, fortran/19303,
  3318. fortran/25358, fortran/26816, java/25414, java/26042, java/26858,
  3319. libfortran/26735, libgcj/26990, libstdc++/26777, testsuite/25741,
  3320. tree-optimization/18527, tree-optimization/26763,
  3321. tree-optimization/26830
  3322. - merge gomp changes from trunk (-r112602:112603 and -r112618:112619)
  3323. - temporarily revert PR c++/21764, c++/19238, c++/21581 fixes (#187399)
  3324. * Tue Mar 28 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-4
  3325. - update from gcc-4_1-branch (-r111697:112431)
  3326. - PRs ada/25885, c/26004, fortran/17298, fortran/20935, fortran/20938,
  3327. fortran/23092, fortran/24519, fortran/24557, fortran/25045,
  3328. fortran/25054, fortran/25075, fortran/25089, fortran/25378,
  3329. fortran/25395, fortran/26041, fortran/26054, fortran/26064,
  3330. fortran/26107, fortran/26277, fortran/26393, fortran/26716,
  3331. fortran/26741, libfortran/21303, libfortran/24903, libgcj/24461,
  3332. libgcj/25713, libgcj/26103, libgcj/26688, libgcj/26706,
  3333. libgfortran/26499, libgfortran/26509, libgfortran/26554,
  3334. libgfortran/26661, libgfortran/26880, libstdc++/26132,
  3335. middle-end/18859, middle-end/19543, middle-end/26557,
  3336. middle-end/26630, other/26489, target/25917, target/26347,
  3337. target/26459, target/26532, target/26607, tree-optimization/26524,
  3338. tree-optimization/26587, tree-optimization/26672
  3339. - fix visibility and builtins interaction (Jason Merrill,
  3340. PR middle-end/20297, #175442)
  3341. - merge gomp changes from trunk (-r112022:112023, -r112250:112251,
  3342. -r112252:112253, -r112350:112351 and -r112282:112283)
  3343. - PRs c++/26691, middle-end/26084, middle-end/26611, c++/26690,
  3344. middle-end/25989
  3345. - support visibility attribute on namespaces (Jason Merrill, PR c++/21764,
  3346. PR c++/19238)
  3347. - use hidden visibility for anonymous namespaces by default (Jason Merrill,
  3348. PR c++/21581)
  3349. * Thu Mar 9 2006 Alexandre Oliva <aoliva@redhat.com> 4.1.0-3
  3350. - make ppc32 TLS PIC code sequences compatible with secure plt (#184446)
  3351. (Richard Henderson and myself)
  3352. * Sat Mar 4 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-2
  3353. - update from gcc-4_1-branch (-r111570:111697)
  3354. - PRs c++/26291, libgfortran/26136, libgfortran/26423, libgfortran/26464,
  3355. libstdc++/26526, rtl-optimization/26345, target/19061, target/26453
  3356. - handle DW_CFA_val_{offset,offset_sf,expression} in the libgcc{,_s} unwinder
  3357. * Tue Feb 28 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-1
  3358. - update from gcc-4_1-branch (-r111466:111570)
  3359. - GCC 4.1.0 release
  3360. - PR other/26473
  3361. * Mon Feb 27 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.31
  3362. - add __floatuns[sdt]i[sdxt]f exports to libgcc_s.so.1 (Joseph S. Myers)
  3363. - fix unwinding through signal frames (#175951, PR other/26208, glibc BZ#300)
  3364. * Mon Feb 27 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.30
  3365. - update from gcc-4_1-branch (-r111278:111466)
  3366. - GCC 4.1.0 RC2
  3367. - PRs fortran/26201, libobjc/26309, rtl-optimization/25603, target/25603
  3368. - fix nested vector shifts (#182047, PR middle-end/26379)
  3369. - merge gomp changes from trunk (-r111390:111391, -r111428:111429 and
  3370. -r111440:111441)
  3371. - PR middle-end/26412
  3372. - fortran MATMUL optimization (Richard Sandiford)
  3373. - fortran WHERE optimizations (Roger Sayle)
  3374. - x86_64 _mm_monitor fixes (H.J. Lu, PR target/24879)
  3375. - add MNI support on i?86/x86_64, -mmni option and <tmmintrin.h> header
  3376. (H.J Lu)
  3377. * Sun Feb 19 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.29
  3378. - update from gcc-4_1-branch (-r111179:111278)
  3379. - PRs ada/13408, c++/26266, target/22209, target/26189
  3380. - fix ppc32 -fpic reload problem with extenddftf2 pattern
  3381. (David Edelsohn, #181625, PR target/26350)
  3382. - fix the PR middle-end/26334 patch
  3383. * Fri Feb 17 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.28
  3384. - update from gcc-4_1-branch (-r110978:111179)
  3385. - PRs ada/20753, bootstrap/16787, bootstrap/26053, fortran/25806,
  3386. libfortran/15234, libgfortran/25949, middle-end/25335,
  3387. target/25259, target/26255
  3388. - fix ICE with shift by -1 (#181586, PR middle-end/26300)
  3389. - merge gomp changes from trunk (-r110983:110984, -r111017:111018,
  3390. -r111152:111153 and -r111204:111205)
  3391. - PRs bootstrap/26161, fortran/26224, libgomp/25938, libgomp/25984
  3392. - don't define _REENTRANT in gthr*.h (#176278, PR libstdc++/11953)
  3393. - define _REENTRANT if -pthread and _POSIX_SOURCE if -posix on s390{,x}
  3394. and ia64
  3395. - fix ICE with register variable and __asm statement (#181731,
  3396. PR middle-end/26334)
  3397. * Tue Feb 14 2006 Alexandre Oliva <aoliva@redhat.com> 4.1.0-0.27
  3398. - merge fix by Zdenek Dvorak for regression introduced by patch for PR
  3399. tree-optimization/26209
  3400. * Tue Feb 14 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.26
  3401. - update from gcc-4_1-branch (-r110903:110978)
  3402. - PRs fortran/20861, fortran/20871, fortran/25059, fortran/25070,
  3403. fortran/25083, fortran/25088, fortran/25103, fortran/26038,
  3404. fortran/26074, inline-asm/16194, libfortran/24685,
  3405. libfortran/25425, target/26141, tree-optimization/26258
  3406. - ABI change - revert to GCC 3.3 and earlier behaviour of
  3407. zero sized bitfields in packed structs (Michael Matz, PR middle-end/22275)
  3408. - fix valarrays vs. non-POD (Paolo Carlini, Gabriel Dos Reis,
  3409. PR libstdc++/25626)
  3410. - fix C++ duplicate declspec diagnostics (Volker Reichelt, PR c++/26151)
  3411. - fix dominance ICE (Zdenek Dvorak, PR tree-optimization/26209)
  3412. - add some new Intel {,e,x}mmintrin.h intrinsics (H.J. Lu)
  3413. - speedup bitset<>::_M_copy_to_string (Paolo Carlini)
  3414. - fix tree_expr_nonzero_p (Jeff Law)
  3415. - fix TRUTH_XOR_EXPR handling in VRP (Jeff Law)
  3416. * Mon Feb 13 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.25
  3417. - update from gcc-4_1-branch (-r110831:110903)
  3418. - PRs c++/16405, c++/24996, fortran/14771, fortran/20858, fortran/25756,
  3419. middle-end/22439
  3420. - merge gomp changes from trunk (-r110719:110720, -r110852:110853 and
  3421. -r110907:110908)
  3422. - PR libgomp/25936
  3423. - fix gimplification of const fn pointers to builting functions
  3424. (PR middle-end/26092)
  3425. - make sure Fortran length artifical variables aren't SAVEd (Andrew Pinski,
  3426. PR fortran/26246)
  3427. * Fri Feb 10 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.24
  3428. - update from gcc-4_1-branch (-r110632:110831)
  3429. - PRs tree-opt/26180, c++/26070, c++/26071, fortran/25577, java/26192,
  3430. libfortran/23815, libstdc++/26127, target/23359, target/26109,
  3431. tree-opt/25251
  3432. - remove gcc-ppc32, gcc-c++-ppc32, gcc-sparc32 and gcc-c++-sparc32
  3433. subpackages, they do more harm than good. Particularly this time
  3434. gcc*ppc32 and gcc*sparc32 defaulted to DFmode long double rather
  3435. than TFmode long double
  3436. * Mon Feb 6 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.23
  3437. - update from gcc-4_1-branch (-r110582:110632)
  3438. - PRs classpath/24618, classpath/25141, classpath/25727, fortran/25046,
  3439. fortran/26039
  3440. - use LOGICAL*1 instead of LOGICAL*4 for Fortran where temporary masks
  3441. (Roger Sayle)
  3442. - fix symbol versions in s390 libgcc_s.so.1
  3443. - sparc32 and alpha long double fixes
  3444. - BuildRequires libXt-devel
  3445. - BuildRequires and Requires glibc-devel >= 2.3.90-35 on arches
  3446. that are switching long double
  3447. * Sat Feb 4 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.22
  3448. - fix ia64 debug info patch
  3449. - fix libjava pthread_create wrapper patch
  3450. * Sat Feb 4 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.21
  3451. - update from gcc-4_1-branch (-r110433:110582)
  3452. - PRs c++/25342, c++/25979, fortran/20845, fortran/24266,
  3453. fortran/24958, fortran/25072, libstdc++/21554, middle-end/24901,
  3454. middle-end/25977, middle-end/26001, target/25864, target/25926,
  3455. target/25960
  3456. - put ia64 read-only sections that require runtime relocations
  3457. even in -fno-pic code into .data.rel.ro etc. sections
  3458. rather than .rodata to avoid DT_TEXTREL binaries
  3459. (Richard Henderson, PR target/26090)
  3460. - merge gomp changes from trunk (-r110511:110512 and -r110549:110552)
  3461. - fix ia64 debug info coverage of epilogues (Alexandre Oliva, PR debug/24444)
  3462. - export pthread_create from libgcj.so.7 as a wrapper around
  3463. libpthread.so.0's pthread_create that handles GC (Anthony Green, Tom Tromey)
  3464. - BC-ABI java lookup fix (Andrew Haley, #179070, #178156)
  3465. - on sparc64 emit .register %g7,#ignore instead of .register %g7,#scratch
  3466. to avoid problems with TLS or -fstack-protector
  3467. - switch to IBM extended format long double by default on ppc and ppc64
  3468. - switch to IEEE 754 quad format long double by default on s390, s390x,
  3469. sparc32 and alpha
  3470. * Wed Feb 1 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.20
  3471. - merge from gomp-20050808-branch (up to -r110392)
  3472. - fix PR c++/25874 (Diego Novillo)
  3473. * Wed Feb 1 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.19
  3474. - s390{,x} long double patch fix for s390x ICEs on test-ldouble
  3475. and tst-align2 (Andreas Krebbel)
  3476. * Tue Jan 31 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.18
  3477. - update from gcc-4_1-branch (-r110317:110433)
  3478. - PRs c++/25855, c++/25999, fortran/17911, fortran/18578, fortran/18579,
  3479. fortran/20857, fortran/20885, fortran/20895, fortran/25030,
  3480. fortran/25835, fortran/25951, java/21428, libgfortran/25835,
  3481. target/14798, target/25706, target/25718, target/25947,
  3482. target/26018, testsuite/25318
  3483. - add -mtune=generic support for i?86 and x86_64 (Jan Hubicka, H.J. Lu,
  3484. Evandro Menezes)
  3485. - use -mtune=generic by default if neither -march= nor -mtune= is specified
  3486. on command line on i?86 or x86_64
  3487. - updated s390{,x} long double patch, fixing ICEs on s390x glibc build
  3488. (Andreas Krebbel, Ulrich Weigand)
  3489. * Sat Jan 28 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.17
  3490. - update from gcc-4_1-branch (-r110062:110317)
  3491. - PRs ada/20548, ada/21317, bootstrap/25859, c++/25552, c++/25856,
  3492. c++/25858, c++/25895, c/25892, fortran/18540, fortran/20852,
  3493. fortran/20881, fortran/23308, fortran/24276, fortran/25084,
  3494. fortran/25085, fortran/25086, fortran/25124, fortran/25416,
  3495. fortran/25538, fortran/25625, fortran/25710, fortran/25716,
  3496. fortran/25901, fortran/25964, java/25816, other/24829,
  3497. rtl-optimization/24626, rtl-optimization/25654, target/24831,
  3498. testsuite/24962, testsuite/25590
  3499. - atomic builtin fixes (Richard Henderson)
  3500. - -mlong-double-128 support on ppc32 (David Edelsohn, Alan Modra)
  3501. - -mlong-double-128 support on s390 and s390x (Andreas Krebbel,
  3502. Ulrich Weigand)
  3503. * Sat Jan 21 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.16
  3504. - update from gcc-4_1-branch (-r109815:110062)
  3505. - PRs ada/24533, c++/16829, c++/22136, c++/25836, c++/25854, c/25805,
  3506. classpath/20198, fortran/20869, fortran/20875, fortran/25024,
  3507. fortran/25631, fortran/25697, fortran/25785, libgcj/25840,
  3508. libgfortran/25631, libgfortran/25697, libstdc++/25823,
  3509. libstdc++/25824, target/25731, testsuite/25171
  3510. - fix X509Certificate.java (#174708, #177733)
  3511. * Tue Jan 17 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.15
  3512. - update from gcc-4_1-branch (-r109401:109815)
  3513. - PRs c++/24824, c++/25386, c++/25663, c/25682, classpath/25803,
  3514. fortran/12456, fortran/20868, fortran/20870, fortran/21256,
  3515. fortran/21977, fortran/22146, fortran/24640, fortran/25029,
  3516. fortran/25093, fortran/25101, fortran/25486, fortran/25598,
  3517. fortran/25730, libgcj/21637, libgcj/23499, libgfortran/25598,
  3518. libstdc++/23591, libstdc++/25472, rtl-optimization/24257,
  3519. rtl-optimization/25367, rtl-optimization/25662, target/20754,
  3520. target/25042, target/25168, testsuite/25728, testsuite/25777,
  3521. tree-opt/24365, tree-optimization/23109, tree-optimization/23948,
  3522. tree-optimization/24123, tree-optimization/25125
  3523. - update from gomp-20050608-branch (up to -r109816)
  3524. - fix ppc32 libffi (#177655)
  3525. - fix lookup_conversions_r (#177918)
  3526. - define __STDC__ as a normal macro rather than a preprocessor builtin
  3527. unless it needs to change its value between system and non-system
  3528. headers (PR preprocessor/25717)
  3529. * Fri Jan 6 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.14
  3530. - update from gcc-4_1-branch (-r109369:109401)
  3531. - PR fortran/23675
  3532. - fix Java shutdown hook (Tom Tromey, #165136)
  3533. - fix libjava/shlibpath.m4 (PR libgcj/24940)
  3534. * Thu Jan 5 2006 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.13
  3535. - update from gcc-4_1-branch (-r108957:109369)
  3536. - PRs c++/23171, c++/23172, c++/24671, c++/24782, c++/25294, c++/25417,
  3537. c++/25439, c++/25492, c++/25625, c++/25632, c++/25633, c++/25634,
  3538. c++/25635, c++/25637, c++/25638, c/25183, c/25559, debug/25562,
  3539. fortran/18990, fortran/19362, fortran/20244, fortran/20862,
  3540. fortran/20864, fortran/20889, fortran/22607, fortran/23152,
  3541. fortran/25018, fortran/25053, fortran/25055, fortran/25063,
  3542. fortran/25064, fortran/25066, fortran/25067, fortran/25068,
  3543. fortran/25069, fortran/25106, fortran/25391, fortran/25532,
  3544. fortran/25586, fortran/25587, libgcj/9715, libgcj/19132,
  3545. libgfortran/25139, libgfortran/25419, libgfortran/25510,
  3546. libgfortran/25550, libgfortran/25594, middle-end/24827, objc/25328,
  3547. rtl-optimization/21041, rtl-optimization/25130, target/24342,
  3548. target/25554, target/25572, testsuite/25214, testsuite/25441,
  3549. testsuite/25442, testsuite/25444, tree-opt/25513
  3550. - create java Package for compiled classes which are linked in but
  3551. loaded by the system class loader (Tom Tromey, #176956)
  3552. - fix posix_memalign prototype in <mm_malloc.h> (#176461)
  3553. - update from gomp-20050608-branch (up to -r109349)
  3554. - buildrequire libXtst-devel (#176898)
  3555. - fix built in path to classmap.db on x86_64, s390x and ppc64 (#176562)
  3556. - fix debug info for preprocessed Fortran code (#175071, PR fortran/25324)
  3557. * Thu Dec 22 2005 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.12
  3558. - make sure GCJFLAGS are propagated down to libjava's configure
  3559. - build crt{begin,end}*.o with -fno-asynchronous-unwind-tables
  3560. if RPM_OPT_FLAGS include -fasynchronous-unwind-tables
  3561. - fix PR c++/25369 (Mark Mitchell)
  3562. - fix PR libgfortran/25307 (Jerry DeLisle)
  3563. * Thu Dec 22 2005 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.11
  3564. - update from gcc-4_1-branch (-r108861:108957)
  3565. - PRs debug/25518, fortran/24268, fortran/25423, libgfortran/25463,
  3566. rtl-optimization/25196, tree-optimization/24793
  3567. - validate changes in forward copy propagation (PR target/25005)
  3568. - fix Java constants constructors on 64-bit big endian arches
  3569. (Andrew Haley, PR java/25535)
  3570. - fix PR c++/25364 (Mark Mitchell)
  3571. * Wed Dec 21 2005 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.10
  3572. - update from gcc-4_1-branch (-r108539:108861)
  3573. - PRs ada/18659, ada/18819, c++/20552, c++/21228, c++/24278, c++/24915,
  3574. fortran/18197, fortran/25458, libgfortran/25039, libgfortran/25264,
  3575. libgfortran/25349, libobjc/14382, libstdc++/25421, middle-end/22313,
  3576. middle-end/24306, rtl-optimization/23837, rtl-optimization/25224,
  3577. rtl-optimization/25310, target/24969, testsuite/25215,
  3578. tree-optimization/23838, tree-optimization/24378
  3579. - update from gomp-20050608-branch (up to -r108859)
  3580. - fix _Pragma handling (Richard Henderson, PR preprocessor/25240)
  3581. - fix reload re-recognition of insns (Alan Modra, PR rtl-optimization/25432)
  3582. - don't peephole RTX_FRAME_RELATED_P insns (Andrew Haley,
  3583. PR middle-end/25121)
  3584. * Thu Dec 15 2005 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.9
  3585. - fix OpenMP lastprivate handling for global vars (Aldy Hernandez)
  3586. - fix gnu.xml.dom.DomNode's detach method (Caolan McNamara,
  3587. PR classpath/25426)
  3588. - fix up the #175569 fix (Tom Tromey, #175833, PR java/25429)
  3589. - fix strength reduction miscompilation of libgnomecanvas
  3590. (#175669, PR rtl-optimization/24899)
  3591. - create libgcj-*.jar with -@E options and feed a sorted list to
  3592. it rather than relying on filesystem sorting
  3593. * Wed Dec 14 2005 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.8
  3594. - update from gcc-4_1-branch (-r108414:108539)
  3595. - PRs classpath/25389, fortran/23815, fortran/25078, target/25254
  3596. - fix Java ICE on initialized static final var used in case
  3597. (Andrew Haley, #175569, PR java/25429)
  3598. - fix crash in _Unwind_IteratePhdrCallback (Andrew Haley)
  3599. - don't Require alsa-lib-devel, just BuildRequire it
  3600. (#175627)
  3601. - use .gnu.linkonce.d.rel.ro.* sections for objects that
  3602. are constant after relocation processing
  3603. * Mon Dec 12 2005 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.7
  3604. - update from gcc-4_1-branch (-r108157:108414)
  3605. - PRs c++/19317, c++/19397, c++/19762, c++/19764, c++/25010, c++/25300,
  3606. c++/25337, debug/24908, fortran/25292, libfortran/25116,
  3607. libgcj/25265, target/17828, target/19005, target/23424,
  3608. target/25212, target/25258, target/25311, testsuite/20772,
  3609. testsuite/24478, testsuite/25167, tree-optimization/25248
  3610. - update from gomp-20050608-branch (up to -r108424)
  3611. - add BuildReq for alsa-lib-devel and configure with --disable-dssi
  3612. - sort files in libgcj-*.jar and touch them to latest ChangeLog
  3613. timestamp, so that libgcj-*.jar is identical across multilib arches
  3614. - don't use pushw instruction on i?86, as that leads to ICEs
  3615. in def_cfa_1, because negative CFA offsets not multiple of 4
  3616. aren't representable in the unwind and debug info (PR debug/25023,
  3617. PR target/25293)
  3618. - fix ICEs with x86_64 -mlarge-data-threshold=N and STRING_CSTs
  3619. (Jan Hubicka, PR target/24188)
  3620. - fix Java ICE with input_filename being unset (Alexandre Oliva, #174912)
  3621. - don't accept invalid int x,; in C++ (Petr Machata, PR c++/24907)
  3622. - fix Java ICE in do_resolve_class (Andrew Haley, PR java/25366,
  3623. PR java/25368)
  3624. - make sure g*.dg/compat/struct-layout-1.exp generated tests
  3625. don't use arrays with entries aligned more than their size (PR c++/25331)
  3626. - don't use -liberty in g++.dg/compat/struct-layout-1.exp tests
  3627. * Wed Dec 7 2005 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.6
  3628. - allow #pragmas at C struct scope as well as ObjC class scope
  3629. (PR c/25246)
  3630. - some gomp testcase fixes
  3631. * Wed Dec 7 2005 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.5
  3632. - update from gcc-4_1-branch (-r107810:108157)
  3633. - PRs bootstrap/25207, c++/24103, c++/24138, c++/24173, fortran/15809,
  3634. fortran/21302, fortran/23912, java/25283, libfortran/24919,
  3635. libgfortran/25149, middle-end/25176, other/13873, target/18580,
  3636. target/24108, target/24475, target/24934, target/25199,
  3637. testsuite/25247, tree-optimization/24963
  3638. - update from gomp-20050608-branch (up to -r108105)
  3639. - -Wstrict-aliasing C++ support (Richard Guenther, Dirk Mueller,
  3640. Paolo Carlini, PRs c++/14024, libstdc++/24975)
  3641. - fix mark_used_regs regression (Andreas Krebbel, PR rtl-optimization/24823)
  3642. - fix reload ICE (Kaz Kojima, PR target/24982)
  3643. - fix PPC ICE on Linux kernel (Paolo Bonzini, PR target/24982)
  3644. - fix s390{,x} shifts with shift count ANDed with constant mask
  3645. (Andreas Krebbel, PR target/25268)
  3646. - s390{,x} atomic builtins enhancements (Adrian Straetling)
  3647. * Thu Dec 1 2005 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.4
  3648. - update from gcc-4_1-branch (-r107618:107810)
  3649. - PRs c++/21123, c++/21166, fortran/24223, fortran/24705, java/18278,
  3650. libgfortran/25109, middle-end/20109, middle-end/25120,
  3651. middle-end/25158, rtl-opt/24930
  3652. - use %%{_tmppath} in BuildRoot (#174594)
  3653. - require libgomp in gcc subpackage
  3654. - fix Java .so symlinks
  3655. * Tue Nov 29 2005 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.3
  3656. - fix IA-64 local-exec TLS handling
  3657. - fix IA-64 __sync_fetch_and_{sub,xor,...}
  3658. * Mon Nov 28 2005 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.2
  3659. - update from gcc-4_1-branch (-r107462:107618)
  3660. - PRs fortran/24917, libgcj/25016, libgfortran/24945, middle-end/21309,
  3661. middle-end/25022, libfortran/24991
  3662. - update from gomp-20050608-branch (up to -r107619)
  3663. - fix omp_get_wti{me,ck} on older kernels
  3664. - ppc32 EH fix
  3665. - fix #pragma omp atomic
  3666. - resurrected multi32 hack for ppc32 and sparc32
  3667. * Thu Nov 24 2005 Jakub Jelinek <jakub@redhat.com> 4.1.0-0.1
  3668. - initial 4.1 package, using newly created redhat/gcc-4_1-branch