gcc-vl.spec 156 KB

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