1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008 |
- %bcond_with gcc5
- %bcond_with systemd
- %define glibcversion 2.33
- %define glibcsrcdir glibc-%{glibcversion}
- %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
- %define run_glibc_tests 1
- %define auxarches athlon sparcv9v sparc64v alphaev6
- %if %{build_compat32}
- %define auxarches i586 athlon sparcv9 alphaev6
- %endif
- %define xenarches i686 athlon
- %ifarch %{xenarches}
- %define buildxen 1
- %define xenpackage 0
- %else
- %define buildxen 0
- %define xenpackage 0
- %endif
- %ifarch ppc64
- %define buildpower6 1
- %else
- %define buildpower6 0
- %endif
- %define biarcharches %{ix86} x86_64 ppc ppc64 s390 s390x
- %global _enable_debug_packages 1
- %define debuginfocommonarches %{biarcharches} alpha alphaev6
- %define multiarcharches ppc ppc64 %{ix86} x86_64 %{sparc}
- %define silentrules PARALLELMFLAGS=-s
- %undefine __brp_ldconfig
- Summary: The GNU libc libraries
- Summary(ja): GNU libc ライブラリ
- Name: glibc
- Version: %{glibcversion}
- Release: 2%{?_dist_release}%{?with_systemd:.systemd}
- Group: system
- Vendor: Project Vine
- Distribution: Vine Linux
- License: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+
- URL: http://www.gnu.org/software/glibc/
- Source0: https://ftp.gnu.org/gnu/glibc/%{glibcsrcdir}.tar.xz
- Source1: build-locale-archive.c
- Source4: nscd.conf
- Source7: nsswitch.conf.vine
- Source8: power6emul.c
- Source9: bench.mk
- Source10: glibc-bench-compare
- Source11: SUPPORTED
- Source1000: rpm-old-changelog.txt
- Patch0: glibc-2.33-20210308.patch
- Patch2: glibc-fedora-nscd.patch
- Patch3: glibc-rh697421.patch
- Patch4: glibc-fedora-linux-tcsetattr.patch
- Patch6: glibc-fedora-localedef.patch
- Patch8: glibc-fedora-manual-dircategory.patch
- Patch9: glibc-rh827510.patch
- Patch10: glibc-fedora-locarchive.patch
- Patch12: glibc-rh819430.patch
- Patch13: glibc-fedora-localedata-rh61908.patch
- Patch15: glibc-rh1070416.patch
- Patch16: glibc-nscd-sysconfig.patch
- Patch17: glibc-cs-path.patch
- Patch18: glibc-c-utf8-locale.patch
- Patch23: glibc-python3.patch
- Patch29: glibc-fedora-nsswitch.patch
- Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
- Obsoletes: glibc-profile < 2.4
- Provides: ldconfig
- Provides: rtld(GNU_HASH)
- Requires: glibc-common = %{version}-%{release}
- Requires(pre): basesystem, libgcc
- BuildRequires: gd-devel libpng-devel zlib-devel texinfo
- BuildRequires: audit-libs-devel >= 1.1.3, sed >= 3.95, libcap-devel, gettext, nss-devel
- BuildRequires: python3-devel
- BuildRequires: bison
- BuildRequires: /bin/ps, /bin/kill, /bin/awk
- BuildRequires: gcc >= 3.2
- %define enablekernel 3.2
- Conflicts: kernel < %{enablekernel}
- %ifarch i386
- %define target_cpu i486
- %else
- %define target_cpu %{_target_cpu}
- %endif
- %define target %{_target_cpu}-vine-linux
- %ifarch %{arm}
- %define target %{_target_cpu}-vine-linuxeabi
- %endif
- %ifarch %{power64}
- %define target ppc64-vine-linux
- %endif
- %ifarch %{multiarcharches}
- %ifarch ppc ppc64
- BuildRequires: binutils >= 2.20.51.0.2
- Conflicts: binutils < 2.20.51.0.2
- %else
- BuildRequires: binutils >= 2.19.51.0.10
- Conflicts: binutils < 2.19.51.0.10
- %endif
- Conflicts: prelink < 0.4.2
- %else
- BuildRequires: binutils >= 2.17.50.0.2-5
- %endif
- BuildRequires: gcc >= 3.2.1-5
- %ifarch ppc s390 s390x
- BuildRequires: gcc >= 4.1.0-0.17
- %endif
- %if 0%{?_enable_debug_packages}
- BuildRequires: elfutils >= 0.72
- BuildRequires: rpm >= 4.2-0.56
- %endif
- BuildRequires: libstdc++-static
- BuildRequires: tzdata
- %define __find_provides %{SOURCE10}
- %define __find_requires %{SOURCE11}
- %define _filter_GLIBC_PRIVATE 1
- %description
- The glibc package contains standard libraries which are used by
- multiple programs on the system. In order to save disk space and
- memory, as well as to make upgrading easier, common system code is
- kept in one place and shared between programs. This particular package
- contains the most important sets of shared libraries: the standard C
- library and the standard math library. Without these two libraries, a
- Linux system will not function.
- %description -l ja
- glibc パッケージはシステム上の複数のプログラムで使われる標準ライブラリを
- ふくみます。ディスクスペースとメモリを節約したり、アップグレードを
- 用意にするために、共通のシステムコードは一つの場所におかれ、プログラム
- 間で共有されます。この部分的なパッケージはシェアドライブラリのかなり
- 重要なセットをふくみます: 標準 C ライブラリと標準数値ライブラリです。
- この二つのライブラリ抜きでは、Linux システムは機能しません。
- %package -n compat32-%{name}
- Summary: The GNU libc libraries.
- Summary(ja): GNU libc ライブラリ
- Group: system
- Requires: %{name} >= %{version}-%{release}
- %description -n compat32-%{name}
- The glibc package contains standard libraries which are used by
- multiple programs on the system. In order to save disk space and
- memory, as well as to make upgrading easier, common system code is
- kept in one place and shared between programs. This particular package
- contains the most important sets of shared libraries: the standard C
- library and the standard math library. Without these two libraries, a
- Linux system will not function.
- %description -n compat32-%{name} -l ja
- glibc パッケージはシステム上の複数のプログラムで使われる標準ライブラリを
- ふくみます。ディスクスペースとメモリを節約したり、アップグレードを
- 用意にするために、共通のシステムコードは一つの場所におかれ、プログラム
- 間で共有されます。この部分的なパッケージはシェアドライブラリのかなり
- 重要なセットをふくみます: 標準 C ライブラリと標準数値ライブラリです。
- この二つのライブラリ抜きでは、Linux システムは機能しません。
- %if %{xenpackage}
- %package xen
- Summary: The GNU libc libraries (optimized for running under Xen)
- Group: system
- Requires: glibc = %{version}-%{release}, glibc-utils = %{version}-%{release}
- %description xen
- The standard glibc package is optimized for native kernels and does not
- perform as well under the Xen hypervisor. This package provides alternative
- library binaries that will be selected instead when running under Xen.
- Install glibc-xen if you might run your system under the Xen hypervisor.
- %endif
- %package devel
- Summary: Object files for development using standard C libraries.
- Summary(ja): 標準 C ライブラリで使われるオブジェクトファイル
- Group: programming
- Requires(pre): /sbin/install-info
- Requires(pre): %{name}-headers
- Requires: %{name}-headers = %{version}-%{release}
- Requires: %{name} = %{version}-%{release}
- %description devel
- The glibc-devel package contains the object files necessary
- for developing programs which use the standard C libraries (which are
- used by nearly all programs). If you are developing programs which
- will use the standard C libraries, your system needs to have these
- standard object files available in order to create the
- executables.
- Install glibc-devel if you are going to develop programs which will
- use the standard C libraries.
- %description devel -l ja
- glibc-devel パッケージには (ほとんどすべてのプログラムで使われる)
- 標準 C ライブラリを使用したプログラムを開発するためのオブジェクトファイルが
- 含まれます。標準 C ライブラリを使用するプログラムを開発する場合には、
- これらオブジェクトファイルを使用して実行ファイルを作成できます。
- 標準 C ライブラリを使用するプログラムを開発するなら glibc-devel
- をインストールしてください。
- %package -n compat32-%{name}-devel
- Summary: Object files for development using standard C libraries.
- Summary(ja): 標準 C ライブラリで使われるオブジェクトファイル
- Group: programming
- Requires: %{name}-devel = %{version}-%{release}
- Requires: compat32-%{name} = %{version}-%{release}
- %description -n compat32-%{name}-devel
- The glibc-devel package contains the object files necessary
- for developing programs which use the standard C libraries (which are
- used by nearly all programs). If you are developing programs which
- will use the standard C libraries, your system needs to have these
- standard object files available in order to create the
- executables.
- Install glibc-devel if you are going to develop programs which will
- use the standard C libraries.
- %description -n compat32-%{name}-devel -l ja
- glibc-devel パッケージには (ほとんどすべてのプログラムで使われる)
- 標準 C ライブラリを使用したプログラムを開発するためのオブジェクトファイルが
- 含まれます。標準 C ライブラリを使用するプログラムを開発する場合には、
- これらオブジェクトファイルを使用して実行ファイルを作成できます。
- 標準 C ライブラリを使用するプログラムを開発するなら glibc-devel
- をインストールしてください。
- %package static
- Summary: C library static libraries for -static linking.
- Summary(ja): -static リンクのための静的 C ライブラリ
- Group: programming
- Requires: %{name}-devel = %{version}-%{release}
- %description static
- The glibc-static package contains the C library static libraries
- for -static linking. You don't need these, unless you link statically,
- which is highly discouraged.
- %description static -l ja
- glibc-static パッケージには -static リンクで使用する静的 C ライブラリが
- 入っています。
- 静的ライブラリが必要な場合でなければ、このパッケージをインストールする
- ことは避けて下さい。
- %package -n compat32-%{name}-static
- Summary: C library static libraries for -static linking.
- Summary(ja): -static リンクのための静的 C ライブラリ
- Group: programming
- Requires: %{name}-devel = %{version}-%{release}
- Requires: %{name}-static = %{version}-%{release}
- Requires: compat32-%{name}-devel = %{version}-%{release}
- %description -n compat32-%{name}-static
- The glibc-static package contains the C library static libraries
- for -static linking. You don't need these, unless you link statically,
- which is highly discouraged.
- %description -n compat32-%{name}-static -l ja
- glibc-static パッケージには -static リンクで使用する静的 C ライブラリが
- 入っています。
- 静的ライブラリが必要な場合でなければ、このパッケージをインストールする
- ことは避けて下さい。
- %package headers
- Summary: Header files for development using standard C libraries.
- Summary(ja): 標準 C ライブラリで使われるヘッダーファイル
- Group: programming
- Provides: %{name}-headers(%{_target_cpu})
- %ifarch x86_64
- Obsoletes: %{name}-headers < %{version}-%{release}
- %endif
- Requires(pre): kernel-headers
- Requires: kernel-headers >= 2.2.1, %{name} = %{version}-%{release}
- BuildRequires: kernel-headers >= 2.6.22
- %description headers
- The glibc-headers package contains the header files necessary
- for developing programs which use the standard C libraries (which are
- used by nearly all programs). If you are developing programs which
- will use the standard C libraries, your system needs to have these
- standard header files available in order to create the
- executables.
- Install glibc-headers if you are going to develop programs which will
- use the standard C libraries.
- %description headers -l ja
- glibc-headers パッケージには (ほとんどすべてのプログラムで使われる)
- 標準 C ライブラリを使用したプログラムを開発するためのヘッダーファイルが
- 含まれます。標準 C ライブラリを使用するプログラムを開発する場合には、
- これら標準ヘッダーファイルを使用して実行ファイルを作成できます。
- 標準 C ライブラリを使用するプログラムを開発するなら glibc-headers
- をインストールしてください。
- %package common
- Summary: Common binaries and locale data for glibc
- Summary(ja): glibc 用共通バイナリとロケールデータ
- Requires: %{name} = %{version}-%{release}
- Requires: tzdata >= 2003a
- Group: system
- %description common
- The glibc-common package includes common binaries for the GNU libc
- libraries, as well as national language (locale) support.
- This package include ja and en locale-archive.
- %description common -l ja
- glibc-common パッケージには GNU libc ライブラリ用の共用バイナリに
- 加えて、言語(ロケール)サポートや時間帯データベースが収められています。
- このパッケージには日本語と英語のみの locale-archive が含まれます。
- %package common-extra
- Summary: Extra Locale data for glibc
- Summary(ja): glibc 用ロケールデータ(日本語以外)
- Group: system
- Autoreq: false
- Requires(pre): %{name}-common = %{version}-%{release}
- %description common-extra
- The glibc-common-extra package includes national language (locale)
- support except for English and Japanese.
- %description common-extra -l ja
- glibc-common-extra パッケージには GNU libc ライブラリ用の英語と
- 日本語以外の言語(ロケール)が収められています。
- %package locale-source
- Summary: The sources for the locales of glibc
- Summary(ja): glibc 用ロケールデータのソース
- Group: system
- Requires: %{name} = %{version}-%{release}
- Requires: %{name}-common = %{version}-%{release}
- %description locale-source
- The sources for all locales provided in glibc. If you are building
- custom locales you will most likely use these sources as the basis
- for your new locale.
- %package -n nscd
- Summary: A Name Service Caching Daemon (nscd).
- Summary(ja): ネームサービスキャッシングデーモン (nscd)
- Group: system
- Requires: %{name} = %{version}-%{release}
- Requires: audit-libs >= 1.1.3
- Requires(pre): /usr/sbin/useradd, coreutils
- Requires(postun): /usr/sbin/userdel
- %if %{with systemd}
- Requires(post): systemd
- Requires(preun): systemd
- Requires(postun): systemd
- %else
- Requires(pre): /sbin/chkconfig
- %endif
- %description -n nscd
- Nscd caches name service lookups and can dramatically improve
- performance with NIS+, and may help with DNS as well.
- %description -n nscd -l ja
- nscd はネームサービス参照をキャッシュし、NIS+ のパフォーマンスを
- 劇的にに改善することができます。DNS のパフォーマンス向上にも同様に寄与します。
- %package utils
- Summary: Development utilities from GNU C library
- Summary(ja): GNU C ライブラリの開発ユーティリティ
- Group: programming,admin-tools
- Requires: %{name} = %{version}-%{release}
- %description utils
- The glibc-utils package contains memusage, a memory usage profiler,
- mtrace, a memory leak tracer and xtrace, a function call tracer
- which can be helpful during program debugging.
- If unsure if you need this, don't install this package.
- %description utils -l ja
- glibc-utils にはプログラムのデバッグに便利な以下のツールが収録されています:
- memusage (メモリ使用量プロファイラ)、mtrace (メモリリークトレーサ)、
- xtrace (関数呼出しトレーサ)。
- これらが必要かどうか分からない場合は、インストールする必要はありません。
- %if 0%{?_enable_debug_packages}
- %define debug_package %{nil}
- %define __debug_install_post %{nil}
- %global __debug_package 1
- %package debuginfo
- Summary: Debug information for package %{name}
- Group: Development/Debug
- AutoReqProv: no
- %ifarch %{debuginfocommonarches}
- Requires: glibc-debuginfo-common = %{version}-%{release}
- %else
- %ifarch %{ix86}
- Obsoletes: glibc-debuginfo-common
- %endif
- %endif
- %description debuginfo
- This package provides debug information for package %{name}.
- Debug information is useful when developing applications that use this
- package or when debugging this package.
- This package also contains static standard C libraries with
- debugging information. You need this only if you want to step into
- C library routines during debugging programs statically linked against
- one or more of the standard C libraries.
- To use this debugging information, you need to link binaries
- with -static -L%{_prefix}/lib/debug%{_prefix}/%{_lib} compiler options.
- %ifarch %{debuginfocommonarches}
- %package debuginfo-common
- Summary: Debug information for package %{name}
- Group: Development/Debug
- AutoReqProv: no
- %description debuginfo-common
- This package provides debug information for package %{name}.
- Debug information is useful when developing applications that use this
- package or when debugging this package.
- %endif
- %endif
- %prep
- %autosetup -n %{glibcsrcdir} -p1
- # Make benchmark scripts executable
- chmod +x benchtests/scripts/*.py scripts/pylint
- # Remove all files generated from patching.
- find . -type f -size 0 -o -name "*.orig" -exec rm -f {} \;
- # Ensure timestamps on configure files are current to prevent
- # regenerating them.
- touch `find . -name configure`
- # Ensure *-kw.h files are current to prevent regenerating them.
- touch locale/programs/*-kw.h
- # Verify that our copy of localedata/SUPPORTED matches the glibc
- # version.
- #
- # The separate file copy is used by the Lua parser above.
- # Patches or new upstream versions may change the list of locales,
- # which changes the set of langpacks we need to build. Verify the
- # differences then update the copy of SUPPORTED. This approach has
- # two purposes: (a) avoid spurious changes to the set of langpacks,
- # and (b) the Lua snippet can use a fully patched-up version
- # of the localedata/SUPPORTED file.
- diff -u %{SOURCE11} localedata/SUPPORTED
- cp -f %{SOURCE1000} ./
- %build
- # We build using the native system compilers.
- GCC=gcc
- GXX=g++
- # Part of rpm_inherit_flags. Is overridden below.
- rpm_append_flag ()
- {
- BuildFlags="$BuildFlags $*"
- }
- # Propagates the listed flags to rpm_append_flag if supplied by
- # redhat-rpm-config.
- BuildFlags="-O2 -g"
- rpm_inherit_flags ()
- {
- local reference=" $* "
- local flag
- for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS ; do
- if echo "$reference" | grep -q -F " $flag " ; then
- rpm_append_flag "$flag"
- fi
- done
- }
- # Propgate select compiler flags from redhat-rpm-config. These flags
- # are target-dependent, so we use only those which are specified in
- # redhat-rpm-config. We keep the -m32/-m32/-m64 flags to support
- # multilib builds.
- #
- # Note: For building alternative run-times, care is required to avoid
- # overriding the architecture flags which go into CC/CXX. The flags
- # below are passed in CFLAGS.
- rpm_inherit_flags \
- "-Wp,-D_GLIBCXX_ASSERTIONS" \
- "-fasynchronous-unwind-tables" \
- %if %{without gcc5}
- "-fstack-clash-protection" \
- %endif
- "-funwind-tables" \
- "-m31" \
- "-m32" \
- "-m64" \
- "-march=i686" \
- "-march=x86-64" \
- "-march=z13" \
- "-march=z14" \
- "-march=zEC12" \
- "-mfpmath=sse" \
- "-msse2" \
- "-mstackrealign" \
- "-mtune=generic" \
- "-mtune=z13" \
- "-mtune=z14" \
- "-mtune=zEC12" \
- "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" \
- # Propagate additional build flags to BuildFlagsNonshared. This is
- # very special because some of these files are part of the startup
- # code. We essentially hope that these flags have little effect
- # there, and only specify the, for consistency, so that annobin
- # records the expected compiler flags.
- BuildFlagsNonshared=
- rpm_append_flag () {
- BuildFlagsNonshared="$BuildFlagsNonshared $*"
- }
- rpm_inherit_flags \
- "-Wp,-D_FORTIFY_SOURCE=2" \
- # Special flag to enable annobin annotations for statically linked
- # assembler code. Needs to be passed to make; not preserved by
- # configure.
- %define glibc_make_flags_as ASFLAGS="-g -Wa,--generate-missing-build-notes=yes"
- %define glibc_make_flags %{glibc_make_flags_as}
- ##############################################################################
- # %%build - Generic options.
- ##############################################################################
- EnableKernel="--enable-kernel=%{enablekernel}"
- # Save the used compiler and options into the file "Gcc" for use later
- # by %%install.
- echo "$GCC" > Gcc
- ##############################################################################
- # build()
- # Build glibc in `build-%{target}$1', passing the rest of the arguments
- build()
- {
- local builddir=build-%{target}${1:+-$1}
- ${1+shift}
- rm -rf $builddir
- mkdir $builddir
- pushd $builddir
- ../configure CC="$GCC" CXX="$GXX" CFLAGS="$BuildFlags $*" \
- --prefix=%{_prefix} \
- --with-headers=%{_prefix}/include $EnableKernel \
- --with-nonshared-cflags="$BuildFlagsNonshared" \
- --enable-bind-now \
- --build=%{target} \
- --enable-stack-protector=strong \
- %ifarch %{pie_arches}
- --enable-static-pie \
- %endif
- --enable-tunables \
- %if 0
- --enable-systemtap \
- %endif
- ${core_with_options} \
- %ifarch x86_64 %{ix86}
- %if %{without gcc5}
- --enable-cet \
- %endif
- %endif
- %ifarch %{ix86}
- --disable-multi-arch \
- %endif
- %if %{without werror}
- --disable-werror \
- %endif
- --disable-profile \
- --without-selinux \
- --disable-crypt ||
- { cat config.log; false; }
- make %{?_smp_mflags} -O -r %{glibc_make_flags}
- popd
- }
- build
- %install
- rm -rf %{buildroot}
- %define glibc_sysroot $RPM_BUILD_ROOT
- find . -type f -name '*.filelist' -exec rm -rf {} \;
- GCC=`cat Gcc`
- make -j1 install_root=%{glibc_sysroot} install -C build-%{target}
- %ifnarch %{auxarches}
- pushd build-%{target}
- make install_root=%{glibc_sysroot} \
- install-locales -C ../localedata objdir=`pwd`
- popd
- %endif
- install_different()
- {
- local lib libbase libbaseso dlib
- local destdir="$1"
- local subdir="$2"
- local subdir_up="$3"
- local libdestdir="$destdir/$subdir"
-
- if ! [ "$destdir" \
- -a "$subdir" \
- -a "$subdir_up" ]; then
- echo "One of the arguments to install_different was emtpy."
- exit 1
- fi
-
- mkdir -p "$destdir"
- mkdir -p "$libdestdir"
-
- for lib in libc math/libm nptl/libpthread rt/librt nptl_db/libthread_db
- do
- libbase=${lib
-
-
- libbaseso=$(basename %{glibc_sysroot}/%{_lib}/${libbase}-*.so)
-
- if cmp -s ${lib}.so ../build-%{target}/${lib}.so; then
- ln -sf "$subdir_up"/$libbaseso $libdestdir/$libbaseso
- else
- cp -a ${lib}.so $libdestdir/$libbaseso
- fi
- dlib=$libdestdir/$(basename %{glibc_sysroot}/%{_lib}/${libbase}.so.*)
- ln -sf $libbaseso $dlib
- done
- }
- rm -f %{glibc_sysroot}/%{_libdir}/libNoVersion*
- rm -f %{glibc_sysroot}/%{_lib}/libNoVersion*
- rm -f %{glibc_sysroot}/%{_lib}/libnss1-*
- rm -f %{glibc_sysroot}/%{_lib}/libnss-*.so.1
- rm -f %{glibc_sysroot}/{usr/,}sbin/sln
- mkdir -p %{glibc_sysroot}/var/cache/ldconfig
- truncate -s 0 %{glibc_sysroot}/var/cache/ldconfig/aux-cache
- %{glibc_sysroot}/sbin/ldconfig -N -r %{glibc_sysroot}
- %if %{with docs}
- if [ -d %{glibc_sysroot}%{_prefix}/info -a "%{_infodir}" != "%{_prefix}/info" ]; then
- mkdir -p %{glibc_sysroot}%{_infodir}
- mv -f %{glibc_sysroot}%{_prefix}/info/* %{glibc_sysroot}%{_infodir}
- rm -rf %{glibc_sysroot}%{_prefix}/info
- fi
- gzip -9nvf %{glibc_sysroot}%{_infodir}/libc*
- %else
- rm -f %{glibc_sysroot}%{_infodir}/dir
- rm -f %{glibc_sysroot}%{_infodir}/libc.info*
- %endif
- rm -f %{glibc_sysroot}/etc/localtime
- cp -f %{_datadir}/zoneinfo/Asia/Tokyo %{glibc_sysroot}/etc/localtime
- %ifnarch %{auxarches}
- olddir=`pwd`
- pushd %{glibc_sysroot}%{_prefix}/lib/locale
- rm -f locale-archive
- $olddir/build-%{target}/elf/ld.so \
- --library-path $olddir/build-%{target}/ \
- $olddir/build-%{target}/locale/localedef \
- --prefix %{glibc_sysroot} --add-to-archive \
- eo *_*
- mv locale-archive{,-extra.tmpl}
- $olddir/build-%{target}/elf/ld.so \
- --library-path $olddir/build-%{target}/ \
- $olddir/build-%{target}/locale/localedef \
- --prefix %{glibc_sysroot} --add-to-archive \
- ja_JP* en_US*
- mv locale-archive{,.tmpl}
- cp -a locale-archive{.tmpl,-ja.tmpl}
- for i in eo *_*
- do
- lang=${i%%_*}
- echo "%dir %{_prefix}/lib/locale/$i" >> locales.filelist
- echo "%{_prefix}/lib/locale/$i/*" >> locales.filelist
- done
- popd
- pushd %{glibc_sysroot}%{_prefix}/share/locale
- for i in */LC_MESSAGES/libc.mo
- do
- locale=${i%%%%/*}
- lang=${locale%%%%_*}
- echo "%lang($lang) %{_prefix}/share/locale/${i}" \
- >> %{glibc_sysroot}%{_prefix}/lib/locale/locales.filelist
- done
- popd
- mv %{glibc_sysroot}%{_prefix}/lib/locale/*.filelist .
- %endif
- install -p -m 644 %{SOURCE7} %{glibc_sysroot}/etc/nsswitch.conf
- %ifnarch %{auxarches}
- install -m 644 nscd/nscd.conf %{glibc_sysroot}/etc
- %if %{with systemd}
- mkdir -p %{glibc_sysroot}%{_tmpfilesdir}
- install -m 644 %{SOURCE4} %{buildroot}%{_tmpfilesdir}
- mkdir -p %{glibc_sysroot}%{_unitdir}
- install -m 644 nscd/nscd.service nscd/nscd.socket %{glibc_sysroot}%{_unitdir}/
- %else
- mkdir -p %{glibc_sysroot}/etc/rc.d/init.d
- install -m 755 nscd/nscd.init %{glibc_sysroot}/etc/rc.d/init.d/nscd
- %endif
- %endif
- echo 'include ld.so.conf.d/*.conf' > %{glibc_sysroot}/etc/ld.so.conf
- truncate -s 0 %{glibc_sysroot}/etc/ld.so.cache
- chmod 644 %{glibc_sysroot}/etc/ld.so.conf
- mkdir -p %{glibc_sysroot}/etc/ld.so.conf.d
- %ifnarch %{auxarches}
- mkdir -p %{glibc_sysroot}/etc/sysconfig
- truncate -s 0 %{glibc_sysroot}/etc/sysconfig/nscd
- truncate -s 0 %{glibc_sysroot}/etc/gai.conf
- %endif
- truncate -s 0 %{glibc_sysroot}%{_libdir}/gconv/gconv-modules.cache
- chmod 644 %{glibc_sysroot}%{_libdir}/gconv/gconv-modules.cache
- %if 0%{?_enable_debug_packages}
- mkdir -p %{glibc_sysroot}%{_prefix}/lib/debug%{_libdir}
- cp -a %{glibc_sysroot}%{_libdir}/*.a \
- %{glibc_sysroot}%{_prefix}/lib/debug%{_libdir}/
- rm -f %{glibc_sysroot}%{_prefix}/lib/debug%{_libdir}/*_p.a
- %endif
- rm -rf %{glibc_sysroot}%{_prefix}/share/zoneinfo
- touch -r %{SOURCE0} %{glibc_sysroot}/etc/ld.so.conf
- touch -r inet/etc.rpc %{glibc_sysroot}/etc/rpc
- pushd build-%{target}
- $GCC -Os -g -static -o build-locale-archive %{SOURCE1} \
- ../build-%{target}/locale/locarchive.o \
- ../build-%{target}/locale/md5.o \
- ../build-%{target}/locale/record-status.o \
- -I. -DDATADIR=\"%{_datadir}\" -DPREFIX=\"%{_prefix}\" \
- -L../build-%{target} \
- -B../build-%{target}/csu/ -lc -lc_nonshared
- install -m 700 build-locale-archive %{glibc_sysroot}%{_prefix}/sbin/build-locale-archive
- popd
- # Lastly copy some additional documentation for the packages.
- rm -rf documentation
- mkdir documentation
- cp timezone/README documentation/README.timezone
- cp posix/gai.conf documentation/
- %ifarch s390x
- # Compatibility symlink
- mkdir -p %{glibc_sysroot}/lib
- ln -sf /%{_lib}/ld64.so.1 %{glibc_sysroot}/lib/ld64.so.1
- %endif
- %if %{with benchtests}
- # Build benchmark binaries. Ignore the output of the benchmark runs.
- pushd build-%{target}
- make BENCH_DURATION=1 bench-build
- popd
- # Copy over benchmark binaries.
- mkdir -p %{glibc_sysroot}%{_prefix}/libexec/glibc-benchtests
- cp $(find build-%{target}/benchtests -type f -executable) %{glibc_sysroot}%{_prefix}/libexec/glibc-benchtests/
- # ... and the makefile.
- for b in %{SOURCE9} %{SOURCE10}; do
- cp $b %{glibc_sysroot}%{_prefix}/libexec/glibc-benchtests/
- done
- # .. and finally, the comparison scripts.
- cp benchtests/scripts/benchout.schema.json %{glibc_sysroot}%{_prefix}/libexec/glibc-benchtests/
- cp benchtests/scripts/compare_bench.py %{glibc_sysroot}%{_prefix}/libexec/glibc-benchtests/
- cp benchtests/scripts/import_bench.py %{glibc_sysroot}%{_prefix}/libexec/glibc-benchtests/
- cp benchtests/scripts/validate_benchout.py %{glibc_sysroot}%{_prefix}/libexec/glibc-benchtests/
- %endif
- %if 0%{?_enable_debug_packages}
- # The #line directives gperf generates do not give the proper
- # file name relative to the build directory.
- pushd locale
- ln -sf programs/*.gperf .
- popd
- pushd iconv
- ln -sf ../locale/programs/charmap-kw.gperf .
- popd
- %endif # %{?_enable_debug_packages}
- %if %{with docs}
- # Remove the `dir' info-heirarchy file which will be maintained
- # by the system as it adds info files to the install.
- rm -f %{glibc_sysroot}%{_infodir}/dir
- %endif
- %ifnarch %{auxarches}
- truncate -s 0 %{glibc_sysroot}/%{_prefix}/lib/locale/locale-archive
- mkdir -p %{glibc_sysroot}/var/{db,run}/nscd
- touch %{glibc_sysroot}/var/{db,run}/nscd/{passwd,group,hosts,services}
- touch %{glibc_sysroot}/var/run/nscd/{socket,nscd.pid}
- %endif
- # Move libpcprofile.so and libmemusage.so into the proper library directory.
- # They can be moved without any real consequences because users would not use
- # them directly.
- mkdir -p %{glibc_sysroot}%{_libdir}
- mv -f %{glibc_sysroot}/%{_lib}/lib{pcprofile,memusage}.so \
- %{glibc_sysroot}%{_libdir}
- # Strip all of the installed object files.
- strip -g %{glibc_sysroot}%{_libdir}/*.o
- ###############################################################################
- # Rebuild libpthread.a using --whole-archive to ensure all of libpthread
- # is included in a static link. This prevents any problems when linking
- # statically, using parts of libpthread, and other necessary parts not
- # being included. Upstream has decided that this is the wrong approach to
- # this problem and that the full set of dependencies should be resolved
- # such that static linking works and produces the most minimally sized
- # static application possible.
- ###############################################################################
- pushd %{glibc_sysroot}%{_prefix}/%{_lib}/
- $GCC -r -nostdlib -o libpthread.o -Wl,--whole-archive ./libpthread.a
- rm libpthread.a
- ar rcs libpthread.a libpthread.o
- rm libpthread.o
- popd
- # The xtrace and memusage scripts have hard-coded paths that need to be
- # translated to a correct set of paths using the $LIB token which is
- # dynamically translated by ld.so as the default lib directory.
- for i in %{glibc_sysroot}%{_prefix}/bin/{xtrace,memusage}; do
- %if %{with bootstrap}
- test -w $i || continue
- %endif
- sed -e 's~=/%{_lib}/libpcprofile.so~=%{_libdir}/libpcprofile.so~' \
- -e 's~=/%{_lib}/libmemusage.so~=%{_libdir}/libmemusage.so~' \
- -e 's~='\''/\\\$LIB/libpcprofile.so~='\''%{_prefix}/\\$LIB/libpcprofile.so~' \
- -e 's~='\''/\\\$LIB/libmemusage.so~='\''%{_prefix}/\\$LIB/libmemusage.so~' \
- -i $i
- done
- ##############################################################################
- # Build an empty libpthread_nonshared.a for compatiliby with applications
- # that have old linker scripts that reference this file. We ship this only
- # in compat-libpthread-nonshared sub-package.
- ##############################################################################
- ar cr %{glibc_sysroot}%{_prefix}/%{_lib}/libpthread_nonshared.a
- ##############################################################################
- # Beyond this point in the install process we no longer modify the set of
- # installed files, with one exception, for auxarches we cleanup the file list
- # at the end and remove files which we don't intend to ship. We need the file
- # list to effect a proper cleanup, and so it happens last.
- ##############################################################################
- ##############################################################################
- # Build the file lists used for describing the package and subpackages.
- ##############################################################################
- # There are several main file lists (and many more for
- # the langpack sub-packages (langpack-${lang}.filelist)):
- # * master.filelist
- # - Master file list from which all other lists are built.
- # * glibc.filelist
- # - Files for the glibc packages.
- # * common.filelist
- # - Flies for the common subpackage.
- # * utils.filelist
- # - Files for the utils subpackage.
- # * nscd.filelist
- # - Files for the nscd subpackage.
- # * devel.filelist
- # - Files for the devel subpackage.
- # * headers.filelist
- # - Files for the headers subpackage.
- # * static.filelist
- # - Files for the static subpackage.
- # * libnsl.filelist
- # - Files for the libnsl subpackage
- # * nss_db.filelist
- # * nss_hesiod.filelist
- # - File lists for nss_* NSS module subpackages.
- # * nss-devel.filelist
- # - File list with the .so symbolic links for NSS packages.
- # * compat-libpthread-nonshared.filelist.
- # - File list for compat-libpthread-nonshared subpackage.
- # * debuginfo.filelist
- # - Files for the glibc debuginfo package.
- # * debuginfocommon.filelist
- # - Files for the glibc common debuginfo package.
- #
- # Create the main file lists. This way we can append to any one of them later
- # wihtout having to create it. Note these are removed at the start of the
- # install phase.
- touch master.filelist
- touch glibc.filelist
- touch common.filelist
- touch utils.filelist
- touch nscd.filelist
- touch devel.filelist
- touch headers.filelist
- touch static.filelist
- touch libnsl.filelist
- touch nss_db.filelist
- touch nss_hesiod.filelist
- touch nss-devel.filelist
- touch compat-libpthread-nonshared.filelist
- touch debuginfo.filelist
- touch debuginfocommon.filelist
- ###############################################################################
- # Master file list, excluding a few things.
- ###############################################################################
- {
- # List all files or links that we have created during install.
- # Files with 'etc' are configuration files, likewise 'gconv-modules'
- # and 'gconv-modules.cache' are caches, and we exclude them.
- find %{glibc_sysroot} \( -type f -o -type l \) \
- \( \
- -name etc -printf "%%%%config " -o \
- -name gconv-modules \
- -printf "%%%%verify(not md5 size mtime) %%%%config(noreplace) " -o \
- -name gconv-modules.cache \
- -printf "%%%%verify(not md5 size mtime) " \
- , \
- ! -path "*/lib/debug/*" -printf "/%%P\n" \)
- # List all directories with a %%dir prefix. We omit the info directory and
- # all directories in (and including) /usr/share/locale.
- find %{glibc_sysroot} -type d \
- \( -path '*%{_prefix}/share/locale' -prune -o \
- \( -path '*%{_prefix}/share/*' \
- %if %{with docs}
- ! -path '*%{_infodir}' -o \
- %endif
- -path "*%{_prefix}/include/*" \
- \) -printf "%%%%dir /%%P\n" \)
- } | {
- # Also remove the *.mo entries. We will add them to the
- # language specific sub-packages.
- # libnss_ files go into subpackages related to NSS modules.
- # and .*/share/i18n/charmaps/.*), they go into the sub-package
- # "locale-source":
- sed -e '\,.*/share/locale/\([^/_]\+\).*/LC_MESSAGES/.*\.mo,d' \
- -e '\,.*/share/i18n/locales/.*,d' \
- -e '\,.*/share/i18n/charmaps/.*,d' \
- -e '\,.*/etc/\(localtime\|nsswitch.conf\|ld\.so\.conf\|ld\.so\.cache\|default\|rpc\|gai\.conf\),d' \
- -e '\,.*/%{_libdir}/lib\(pcprofile\|memusage\)\.so,d' \
- -e '\,.*/bin/\(memusage\|mtrace\|xtrace\|pcprofiledump\),d'
- } | sort > master.filelist
- # The master file list is now used by each subpackage to list their own
- # files. We go through each package and subpackage now and create their lists.
- # Each subpackage picks the files from the master list that they need.
- # The order of the subpackage list generation does not matter.
- # Make the master file list read-only after this point to avoid accidental
- # modification.
- chmod 0444 master.filelist
- ###############################################################################
- # glibc
- ###############################################################################
- # Add all files with the following exceptions:
- # - The info files '%{_infodir}/dir'
- # - The partial (lib*_p.a) static libraries, include files.
- # - The static files, objects, unversioned DSOs, and nscd.
- # - The bin, locale, some sbin, and share.
- # - The use of [^gi] is meant to exclude all files except glibc_post_upgrade,
- # and iconvconfig, which we want in the main packages.
- # - All the libnss files (we add back the ones we want later).
- # - All bench test binaries.
- # - The aux-cache, since it's handled specially in the files section.
- # - The build-locale-archive binary since it's in the common package.
- cat master.filelist \
- | grep -v \
- -e '%{_infodir}' \
- -e '%{_libdir}/lib.*_p.a' \
- -e '%{_prefix}/include' \
- -e '%{_libdir}/lib.*\.a' \
- -e '%{_libdir}/.*\.o' \
- -e '%{_libdir}/lib.*\.so' \
- -e 'nscd' \
- -e '%{_prefix}/bin' \
- -e '%{_prefix}/lib/locale' \
- -e '%{_prefix}/sbin/[^gi]' \
- -e '%{_prefix}/share' \
- -e '/var/db/Makefile' \
- -e '/libnss_.*\.so[0-9.]*$' \
- -e '/libnsl' \
- -e 'glibc-benchtests' \
- -e 'aux-cache' \
- -e 'build-locale-archive' \
- > glibc.filelist
- # Add specific files:
- # - The nss_files, nss_compat, and nss_db files.
- # - The libmemusage.so and libpcprofile.so used by utils.
- for module in compat files db dns hesiod; do
- cat master.filelist \
- | grep -E \
- -e "/libnss_$module(\.so\.[0-9.]+|-[0-9.]+\.so)$" \
- >> glibc.filelist
- done
- grep -e "libmemusage.so" -e "libpcprofile.so" master.filelist >> glibc.filelist
- cat glibc.filelist \
- | grep -v \
- -e '/sbin/ldconfig' \
- > compat32-glibc.filelist
- %if %{with docs}
- grep '%{_infodir}' master.filelist | grep -v '%{_infodir}/dir' > devel.filelist
- %endif
- grep '%{_libdir}/lib.*\.a' master.filelist \
- | grep '/lib\(\(c\|pthread\|nldbl\|mvec\)_nonshared\|g\|ieee\|mcheck\)\.a$' \
- >> devel.filelist
- grep '%{_libdir}/.*\.o' < master.filelist >> devel.filelist
- grep '%{_libdir}/lib.*\.so' < master.filelist >> devel.filelist
- sed -i -e '\,libmemusage.so,d' \
- -e '\,libpcprofile.so,d' \
- -e '\,/libnss_[a-z]*\.so$,d' \
- devel.filelist
- grep '%{_prefix}/include/gnu/stubs-.*\.h$' < master.filelist >> devel.filelist || :
- grep '%{_prefix}/include/gnu/lib-names-.*\.h$' < master.filelist >> devel.filelist || :
- grep '%{_prefix}/include' < master.filelist \
- | egrep -v '%{_prefix}/include/gnu/stubs-.*\.h$' \
- | egrep -v '%{_prefix}/include/gnu/lib-names-.*\.h$' \
- > headers.filelist
- grep '%{_libdir}/lib.*\.a' < master.filelist \
- | grep -v '/lib\(\(c\|pthread\|nldbl\|mvec\)_nonshared\|g\|ieee\|mcheck\)\.a$' \
- > static.filelist
- grep '%{_prefix}/bin' master.filelist >> common.filelist
- grep '%{_prefix}/sbin/[^gi]' master.filelist \
- | grep -v 'nscd' >> common.filelist
- grep '%{_prefix}/share' master.filelist \
- | grep -v \
- -e '%{_prefix}/share/info/libc.info.*' \
- -e '%%dir %{_prefix}/share/info' \
- -e '%%dir %{_prefix}/share' \
- >> common.filelist
- grep -e "/en_US/" -e "/ja_JP" -e "/ja/" locales.filelist >> common.filelist
- grep -v -e "/en_US/" -e "/ja_JP" -e "/ja/" locales.filelist >> common-extra.filelist
- echo '%{_prefix}/sbin/nscd' > nscd.filelist
- cat > utils.filelist <<EOF
- %if %{without bootstrap}
- %{_prefix}/bin/memusage
- %{_prefix}/bin/memusagestat
- %endif
- %{_prefix}/bin/mtrace
- %{_prefix}/bin/pcprofiledump
- %{_prefix}/bin/xtrace
- EOF
- for module in db hesiod; do
- grep -E "/libnss_$module(\.so\.[0-9.]+|-[0-9.]+\.so)$" \
- master.filelist > nss_$module.filelist
- done
- ###############################################################################
- # nss-devel
- ###############################################################################
- # Symlinks go into the nss-devel package (instead of the main devel
- # package).
- grep '/libnss_[a-z]*\.so$' master.filelist > nss-devel.filelist
- grep '/libnss_[a-z]*\.so$' master.filelist >> devel.filelist
- ###############################################################################
- # libnsl
- ###############################################################################
- # Prepare the libnsl-related file lists.
- grep '/libnsl-[0-9.]*.so$' master.filelist > libnsl.filelist
- test $(wc -l < libnsl.filelist) -eq 1
- grep '/libnsl-[0-9.]*.so$' master.filelist >> devel.filelist
- ###############################################################################
- # glibc-benchtests
- ###############################################################################
- %if %{with benchtests}
- # List of benchmarks.
- find build-%{target}/benchtests -type f -executable | while read b; do
- echo "%{_prefix}/libexec/glibc-benchtests/$(basename $b)"
- done >> benchtests.filelist
- # ... and the makefile.
- for b in %{SOURCE9} %{SOURCE10}; do
- echo "%{_prefix}/libexec/glibc-benchtests/$(basename $b)" >> benchtests.filelist
- done
- # ... and finally, the comparison scripts.
- echo "%{_prefix}/libexec/glibc-benchtests/benchout.schema.json" >> benchtests.filelist
- echo "%{_prefix}/libexec/glibc-benchtests/compare_bench.py*" >> benchtests.filelist
- echo "%{_prefix}/libexec/glibc-benchtests/import_bench.py*" >> benchtests.filelist
- echo "%{_prefix}/libexec/glibc-benchtests/validate_benchout.py*" >> benchtests.filelist
- %endif
- ###############################################################################
- # compat-libpthread-nonshared
- ###############################################################################
- echo "%{_libdir}/libpthread_nonshared.a" >> compat-libpthread-nonshared.filelist
- ###############################################################################
- # glibc-debuginfocommon, and glibc-debuginfo
- ###############################################################################
- %if 0%{?_enable_debug_packages}
- find_debuginfo_args='--strict-build-id -g'
- %ifarch %{debuginfocommonarches}
- find_debuginfo_args="$find_debuginfo_args \
- -l common.filelist \
- -l utils.filelist \
- -l nscd.filelist \
- -p '.*/(sbin|libexec)/.*' \
- -o debuginfocommon.filelist \
- -l nss_db.filelist -l nss_hesiod.filelist \
- -l libnsl.filelist -l glibc.filelist \
- %if %{with benchtests}
- -l benchtests.filelist
- %endif
- "
- %endif
- /usr/lib/rpm/find-debuginfo.sh $find_debuginfo_args -o debuginfo.filelist
- # List all of the *.a archives in the debug directory.
- list_debug_archives()
- {
- local dir=%{_prefix}/lib/debug%{_libdir}
- find %{glibc_sysroot}$dir -name "*.a" -printf "$dir/%%P\n"
- }
- %ifarch %{debuginfocommonarches}
- # Remove the source files from the common package debuginfo.
- sed -i '\#^%{glibc_sysroot}%{_prefix}/src/debug/#d' debuginfocommon.filelist
- # Create a list of all of the source files we copied to the debug directory.
- find %{glibc_sysroot}%{_prefix}/src/debug \
- \( -type d -printf '%%%%dir ' \) , \
- -printf '%{_prefix}/src/debug/%%P\n' > debuginfocommon.sources
- %ifarch %{biarcharches}
- # Add the source files to the core debuginfo package.
- cat debuginfocommon.sources >> debuginfo.filelist
- %else
- %ifarch %{ix86}
- %define basearch i686
- %endif
- %ifarch sparc sparcv9
- %define basearch sparc
- %endif
- # The auxarches get only these few source files.
- auxarches_debugsources=\
- '/(generic|linux|%{basearch}|nptl(_db)?)/|/%{glibcsrcdir}/build|/dl-osinfo\.h'
- # Place the source files into the core debuginfo pakcage.
- egrep "$auxarches_debugsources" debuginfocommon.sources >> debuginfo.filelist
- # Remove the source files from the common debuginfo package.
- egrep -v "$auxarches_debugsources" \
- debuginfocommon.sources >> debuginfocommon.filelist
- %endif # %{biarcharches}
- # Add the list of *.a archives in the debug directory to
- # the common debuginfo package.
- list_debug_archives >> debuginfocommon.filelist
- %endif # %{debuginfocommonarches}
- # Remove some common directories from the common package debuginfo so that we
- # don't end up owning them.
- exclude_common_dirs()
- {
- exclude_dirs="%{_prefix}/src/debug"
- exclude_dirs="$exclude_dirs $(echo %{_prefix}/lib/debug{,/%{_lib},/bin,/sbin})"
- exclude_dirs="$exclude_dirs $(echo %{_prefix}/lib/debug%{_prefix}{,/%{_lib},/libexec,/bin,/sbin})"
- for d in $(echo $exclude_dirs | sed 's/ /\n/g'); do
- sed -i "\|^%%dir $d/\?$|d" $1
- done
- }
- %ifarch %{debuginfocommonarches}
- exclude_common_dirs debuginfocommon.filelist
- %endif
- exclude_common_dirs debuginfo.filelist
- ##############################################################################
- # Delete files that we do not intended to ship with the auxarch.
- # This is the only place where we touch the installed files after generating
- # the file lists.
- ##############################################################################
- %ifarch %{auxarches}
- echo Cutting down the list of unpackaged files
- sed -e '/%%dir/d;/%%config/d;/%%verify/d;s/%%lang([^)]*) //;s
- common.filelist devel.filelist static.filelist headers.filelist \
- utils.filelist nscd.filelist \
- %ifarch %{debuginfocommonarches}
- debuginfocommon.filelist \
- %endif
- | (cd %{glibc_sysroot}; xargs --no-run-if-empty rm -f 2> /dev/null || :)
- %endif
- %endif
- %check
- %if %{with testsuite}
- run_tests () {
-
-
-
- make %{?_smp_mflags} -O check |& tee rpmbuild.check.log >&2
- test -n tests.sum
- if ! grep -q '^Summary of test results:$' rpmbuild.check.log ; then
- echo "FAIL: test suite build of target: $(basename "$(pwd)")" >& 2
- exit 1
- fi
- set +x
- grep -v ^PASS: tests.sum > rpmbuild.tests.sum.not-passing || true
- if test -n rpmbuild.tests.sum.not-passing ; then
- echo ===================FAILED TESTS===================== >&2
- echo "Target: $(basename "$(pwd)")" >& 2
- cat rpmbuild.tests.sum.not-passing >&2
- while read failed_code failed_test ; do
- for suffix in out test-result ; do
- if test -e "$failed_test.$suffix"; then
- echo >&2
- echo "=====$failed_code $failed_test.$suffix=====" >&2
- cat -- "$failed_test.$suffix" >&2
- echo >&2
- fi
- done
- done <rpmbuild.tests.sum.not-passing
- fi
-
- echo "* System call consistency checks:" >&2
- cat misc/tst-syscall-list.out >&2
- set -x
- }
- export TIMEOUTFACTOR=16
- parent=$$
- echo ====================TESTING=========================
- pushd build-%{target}
- run_tests
- popd
- echo ====================TESTING END=====================
- PLTCMD='/^Relocation section .*\(\.rela\?\.plt\|\.rela\.IA_64\.pltoff\)/,/^$/p'
- echo ====================PLT RELOCS LD.SO================
- readelf -Wr %{glibc_sysroot}/%{_lib}/ld-*.so | sed -n -e "$PLTCMD"
- echo ====================PLT RELOCS LIBC.SO==============
- readelf -Wr %{glibc_sysroot}/%{_lib}/libc-*.so | sed -n -e "$PLTCMD"
- echo ====================PLT RELOCS END==================
- pushd build-%{target}
- LD_SHOW_AUXV=1 elf/ld.so --library-path .:elf:nptl:dlfcn /bin/true
- %if %{with valgrind}
- elf/ld.so --library-path .:elf:nptl:dlfcn \
- /usr/bin/valgrind --error-exitcode=1 \
- elf/ld.so --library-path .:elf:nptl:dlfcn /usr/bin/true
- %endif
- popd
- %endif
- %transfiletriggerin common -P 2000000 -- /lib /usr/lib /lib64 /usr/lib64
- /sbin/ldconfig
- %end
- %transfiletriggerpostun common -P 2000000 -- /lib /usr/lib /lib64 /usr/lib64
- /sbin/ldconfig
- %end
- %pre -p <lua>
- -- Check that the running kernel is new enough
- required = '%{enablekernel}'
- rel = posix.uname("%r")
- if rpm.vercmp(rel, required) < 0 then
- error("FATAL: kernel too old", 0)
- end
- %post -p <lua>
- -- We use lua's posix.exec because there may be no shell that we can
- -- run during glibc upgrade. We used to implement much of %%post as a
- -- C program, but from an overall maintenance perspective the lua in
- -- the spec file was simpler and safer given the operations required.
- -- All lua code will be ignored by rpm-ostree; see:
- -- https://github.com/projectatomic/rpm-ostree/pull/1869
- -- If we add new lua actions to the %%post code we should coordinate
- -- with rpm-ostree and ensure that their glibc install is functional.
- function post_exec (program, ...)
- local pid = posix.fork ()
- if pid == 0 then
- assert (posix.exec (program, ...))
- elseif pid > 0 then
- posix.wait (pid)
- end
- end
- -- (1) Remove multilib libraries from previous installs.
- -- In order to support in-place upgrades, we must immediately remove
- -- obsolete platform directories after installing a new glibc
- -- version. RPM only deletes files removed by updates near the end
- -- of the transaction. If we did not remove the obsolete platform
- -- directories here, they may be preferred by the dynamic linker
- -- during the execution of subsequent RPM scriptlets, likely
- -- resulting in process startup failures.
- -- Full set of libraries glibc may install.
- install_libs = { "anl", "BrokenLocale", "c", "dl", "m", "mvec",
- "nss_compat", "nss_db", "nss_dns", "nss_files",
- "nss_hesiod", "pthread", "resolv", "rt", "SegFault",
- "thread_db", "util" }
- -- We are going to remove these libraries. Generally speaking we remove
- -- all core libraries in the multilib directory.
- -- We employ a tight match where X.Y is in [2.0,9.9*], so we would
- -- match "libc-2.0.so" and so on up to "libc-9.9*".
- remove_regexps = {}
- for i = 1, #install_libs do
- remove_regexps[i] = ("lib" .. install_libs[i]
- .. "%%-[2-9]%%.[0-9]+%%.so$")
- end
- -- Two exceptions:
- remove_regexps[#install_libs + 1] = "libthread_db%%-1%%.0%%.so"
- remove_regexps[#install_libs + 2] = "libSegFault%%.so"
- -- We are going to search these directories.
- local remove_dirs = { "%{_libdir}/i686",
- "%{_libdir}/i686/nosegneg",
- "%{_libdir}/power6",
- "%{_libdir}/power7",
- "%{_libdir}/power8" }
- -- Walk all the directories with files we need to remove...
- for _, rdir in ipairs (remove_dirs) do
- if posix.access (rdir) then
- -- If the directory exists we look at all the files...
- local remove_files = posix.files (rdir)
- for rfile in remove_files do
- for _, rregexp in ipairs (remove_regexps) do
- -- Does it match the regexp?
- local dso = string.match (rfile, rregexp)
- if (dso ~= nil) then
- -- Removing file...
- os.remove (rdir .. '/' .. rfile)
- end
- end
- end
- end
- end
- -- (2) Update /etc/ld.so.conf
- -- Next we update /etc/ld.so.conf to ensure that it starts with
- -- a literal "include ld.so.conf.d/*.conf".
- local ldsoconf = "/etc/ld.so.conf"
- local ldsoconf_tmp = "/etc/glibc_post_upgrade.ld.so.conf"
- if posix.access (ldsoconf) then
- -- We must have a "include ld.so.conf.d/*.conf" line.
- local have_include = false
- for line in io.lines (ldsoconf) do
- -- This must match, and we don't ignore whitespace.
- if string.match (line, "^include ld.so.conf.d/%%*%%.conf$") ~= nil then
- have_include = true
- end
- end
- if not have_include then
- -- Insert "include ld.so.conf.d/*.conf" line at the start of the
- -- file. We only support one of these post upgrades running at
- -- a time (temporary file name is fixed).
- local tmp_fd = io.open (ldsoconf_tmp, "w")
- if tmp_fd ~= nil then
- tmp_fd:write ("include ld.so.conf.d/*.conf\n")
- for line in io.lines (ldsoconf) do
- tmp_fd:write (line .. "\n")
- end
- tmp_fd:close ()
- local res = os.rename (ldsoconf_tmp, ldsoconf)
- if res == nil then
- io.stdout:write ("Error: Unable to update configuration file (rename).\n")
- end
- else
- io.stdout:write ("Error: Unable to update configuration file (open).\n")
- end
- end
- end
- -- (3) Rebuild ld.so.cache early.
- -- If the format of the cache changes then we need to rebuild
- -- the cache early to avoid any problems running binaries with
- -- the new glibc.
- -- Note: We use _prefix because Fedora's UsrMove says so.
- post_exec ("/sbin/ldconfig")
- -- (4) Update gconv modules cache.
- -- If the /usr/lib/gconv/gconv-modules.cache exists, then update it
- -- with the latest set of modules that were just installed.
- -- We assume that the cache is in _libdir/gconv and called
- -- "gconv-modules.cache".
- local iconv_dir = "%{_libdir}/gconv"
- local iconv_cache = iconv_dir .. "/gconv-modules.cache"
- if (posix.utime (iconv_cache) == 0) then
- post_exec ("%{_prefix}/sbin/iconvconfig",
- "-o", iconv_cache,
- "--nostdlib",
- iconv_dir)
- else
- io.stdout:write ("Error: Missing " .. iconv_cache .. " file.\n")
- end
- %triggerin common -p <lua> -- glibc
- if posix.stat("%{_prefix}/lib/locale/locale-archive.tmpl", "size") > 0 then
- pid = posix.fork()
- if pid == 0 then
- posix.exec("%{_prefix}/sbin/build-locale-archive")
- elseif pid > 0 then
- posix.wait(pid)
- end
- end
- %post common -p <lua>
- if posix.access("/etc/ld.so.cache") then
- if posix.stat("%{_prefix}/lib/locale/locale-archive.tmpl", "size") > 0 then
- pid = posix.fork()
- if pid == 0 then
- posix.exec("%{_prefix}/sbin/build-locale-archive")
- elseif pid > 0 then
- posix.wait(pid)
- end
- end
- end
- %if %{without systemd}
- %triggerin common -p <lua> -- tzdata
- function update (filename, new_data)
- local fd = io.open(filename)
- if not fd then return end
- local data = fd:read("*a")
- fd:close()
- if not data then return end
- -- Don't update the file unnecessarily.
- if data == new_data then return end
- local tempfilename = filename .. ".tzupdate"
- fd = io.open(tempfilename, "w")
- if not fd then return end
- fd:write(new_data)
- fd:close()
- posix.chmod(tempfilename, 0644)
- if not os.rename(tempfilename, filename) then
- os.remove(tempfilename)
- end
- end
- fd = io.open("/etc/sysconfig/clock")
- if not fd then return end
- zonename = nil
- for l in fd:lines() do
- zone = string.match(l, "^[ \t]*ZONE[ \t]*=[ \t]*\"?([^ \t\n\"]*)");
- if zone then
- zonename = "/usr/share/zoneinfo/" .. zone
- break
- end
- end
- fd:close()
- if not zonename then return end
- fd = io.open(zonename)
- if not fd then return end
- data = fd:read("*a")
- fd:close()
- if not data then return end
- update("/etc/localtime", data)
- update("/var/spool/postfix/etc/localtime", data)
- %endif
- %post common-extra -p <lua>
- -- cp -f /usr/lib/locale/locale-archive-extra.tmpl /usr/lib/locale/locale-archive.tmpl
- if posix.access("/etc/ld.so.cache") then
- if posix.stat("%{_prefix}/lib/locale/locale-archive.tmpl", "size") > 0 then
- pid = posix.fork()
- if pid == 0 then
- posix.exec("%{_prefix}/sbin/build-locale-archive")
- elseif pid > 0 then
- posix.wait(pid)
- end
- end
- end
- %postun common-extra -p <lua>
- posix.exec("cp -f /usr/lib/locale/locale-archive-ja.tmpl /usr/lib/locale/locale-archive.tmpl")
- if posix.access("/etc/ld.so.cache") then
- if posix.stat("%{_prefix}/lib/locale/locale-archive.tmpl", "size") > 0 then
- pid = posix.fork()
- if pid == 0 then
- posix.exec("%{_prefix}/sbin/build-locale-archive")
- elseif pid > 0 then
- posix.wait(pid)
- end
- end
- end
- %triggerun -- common-extra
- posix.exec("cp -f /usr/lib/locale/locale-archive-ja.tmpl /usr/lib/locale/locale-archive.tmpl")
- if posix.access("/etc/ld.so.cache") then
- if posix.stat("%{_prefix}/lib/locale/locale-archive.tmpl", "size") > 0 then
- pid = posix.fork()
- if pid == 0 then
- posix.exec("%{_prefix}/sbin/build-locale-archive")
- elseif pid > 0 then
- posix.wait(pid)
- end
- end
- end
- %post devel
- /sbin/install-info %{_infodir}/libc.info.gz %{_infodir}/dir > /dev/null 2>&1 || :
- %pre headers
- if [ -L %{_prefix}/include/scsi ] ; then
- rm -f %{_prefix}/include/scsi
- fi
- %preun devel
- if [ "$1" = 0 ]; then
- /sbin/install-info --delete %{_infodir}/libc.info.gz %{_infodir}/dir > /dev/null 2>&1 || :
- fi
- %pre -n nscd
- getent group nscd >/dev/null || /usr/sbin/groupadd -g 28 -r nscd
- getent passwd nscd >/dev/null ||
- /usr/sbin/useradd -M -o -r -d / -s /sbin/nologin \
- -c "NSCD Daemon" -u 28 -g nscd nscd
- %post -n nscd
- %if %{with systemd}
- %systemd_post nscd.service
- %else
- /sbin/chkconfig --add nscd
- %endif
- %preun -n nscd
- %if %{with systemd}
- %systemd_preun nscd.service
- %else
- if [ $1 = 0 -o -x /bin/systemctl ] ; then
- /sbin/service nscd stop > /dev/null 2>&1
- /sbin/chkconfig --del nscd
- fi
- %endif
- %postun -n nscd
- if [ $1 = 0 ] ; then
- /usr/sbin/userdel nscd > /dev/null 2>&1 || :
- fi
- %if %{with systemd}
- %systemd_postun_with_restart nscd.service
- %else
- if [ "$1" -ge "1" ]; then
- service nscd condrestart > /dev/null 2>&1 || :
- fi
- %endif
- %clean
- rm -rf "$RPM_BUILD_ROOT"
- rm -f *.filelist*
- %files -f glibc.filelist
- %defattr(-,root,root)
- /sbin/ldconfig
- /%{_lib}/libnsl.so.*
- %dir %{_prefix}/%{_lib}/audit
- %if %{with systemd}
- %exclude /etc/localtime
- %else
- %verify(not md5 size mtime) %config(noreplace) /etc/localtime
- %endif
- %verify(not md5 size mtime) %config(noreplace) /etc/nsswitch.conf
- %verify(not md5 size mtime) %config(noreplace) /etc/ld.so.conf
- %verify(not md5 size mtime) %config(noreplace) /etc/rpc
- %dir /etc/ld.so.conf.d
- %dir %{_prefix}/libexec/getconf
- %dir %{_prefix}/%{_lib}/gconv
- %dir %{_localstatedir}/db
- %{_localstatedir}/db/Makefile
- %dir %attr(0700,root,root) /var/cache/ldconfig
- %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/cache/ldconfig/aux-cache
- %attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /etc/ld.so.cache
- %attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /etc/gai.conf
- %doc rpm-old-changelog.txt
- %doc README NEWS INSTALL elf/rtld-debugger-interface.txt
- %license COPYING COPYING.LIB LICENSES
- %if %{build_compat32}
- %files -f compat32-glibc.filelist -n compat32-%{name}
- /%{_lib}/libnsl.so.*
- %endif
- %ifnarch %{auxarches}
- %files -f common.filelist common
- %defattr(-,root,root)
- %dir %{_datadir}/locale
- %dir %{_prefix}/lib/locale
- %dir %{_prefix}/lib/locale/C.utf8
- %{_prefix}/lib/locale/C.utf8/*
- %attr(0644,root,root) %verify(not md5 size mtime) %{_prefix}/lib/locale/locale-archive-ja.tmpl
- %attr(0644,root,root) %verify(not md5 size mtime) %{_prefix}/lib/locale/locale-archive.tmpl
- %attr(0644,root,root) %verify(not md5 size mtime mode) %ghost %config(missingok,noreplace) %{_prefix}/lib/locale/locale-archive
- %dir %{_prefix}/share/locale
- %dir %{_prefix}/share/locale/ja
- %doc documentation/README.timezone
- %doc documentation/gai.conf
- %files common-extra -f common-extra.filelist
- %defattr(-,root,root)
- %attr(0644,root,root) %verify(not md5 size mtime) %{_prefix}/lib/locale/locale-archive-extra.tmpl
- %files locale-source
- %defattr(-,root,root)
- %dir %{_prefix}/share/i18n/locales
- %{_prefix}/share/i18n/locales/*
- %dir %{_prefix}/share/i18n/charmaps
- %{_prefix}/share/i18n/charmaps/*
- %files -f devel.filelist devel
- %defattr(-,root,root)
- %files -f static.filelist static
- %defattr(-,root,root)
- %if %{build_compat32}
- %files -f devel.filelist -n compat32-%{name}-devel
- %defattr(-,root,root)
- %exclude %{_prefix}/share
- %files -f static.filelist -n compat32-%{name}-static
- %defattr(-,root,root)
- %endif
- %files -f headers.filelist headers
- %defattr(-,root,root)
- %files -f utils.filelist utils
- %defattr(-,root,root)
- %files -f nscd.filelist -n nscd
- %defattr(-,root,root)
- %config(noreplace) /etc/nscd.conf
- %if %{with systemd}
- %{_unitdir}/*
- %{_tmpfilesdir}/*
- %else
- %config /etc/rc.d/init.d/nscd
- %endif
- %dir %attr(0755,root,root) /var/run/nscd
- %dir %attr(0755,root,root) /var/db/nscd
- %attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/nscd.pid
- %attr(0666,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/socket
- %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/passwd
- %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/group
- %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/hosts
- %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/services
- %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/db/nscd/passwd
- %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/db/nscd/group
- %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/db/nscd/hosts
- %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/db/nscd/services
- %ghost %config(missingok,noreplace) /etc/sysconfig/nscd
- %endif
- %if 0%{?_enable_debug_packages}
- %files debuginfo -f debuginfo.filelist
- %defattr(-,root,root)
- %ifarch %{debuginfocommonarches}
- %ifnarch %{auxarches}
- %files debuginfo-common -f debuginfocommon.filelist
- %defattr(-,root,root)
- %endif
- %endif
- %endif
- %changelog
- * Mon Mar 08 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.33-2
- - updated Patch0.
- - added filetriggers.
- * Tue Feb 09 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.33-1
- - updated to 2.33.
- - updated Patch0.
- - dropped Patch1, 5, 7 and 14.
- - updated Source11.
- - updated Source1.
- * Sat May 09 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.31-2
- - updated Patch0.
- - added systemd support (disabled as default).
- - dropped /sbin/ldconfig from compat32.
- * Thu Mar 19 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.31-1
- - updated to 2.31.
- - updated Patch0.
- - dropped Patch28.
- - imported Patch29 from rawhide.
- - updated Patch5 and 23.
- - updated Source11.
- * Sun Sep 22 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.30-1
- - updated to 2.30.
- - updated Patch0.
- - dropped Patch11, 24 and 25.
- * Sun Jan 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.28-1
- - updated to 2.28.
- - dropped Source2, 3, 10 and 11.
- - imported Source8-11 from rawhide.
- - dropped Patch11-13.
- - imported Patch1-28 from rawhide.
- - dropped Patch10000.
- - trimmed %%changelog: old logs are rpm-old-changelog.txt.
- * Tue Jun 20 2017 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.23-5
- - add patch20005 for fix CVE-2017-1000366
- * Mon Aug 1 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.23-4
- - added Patch20000-20004 to fix vulnerabilities.
- - CVE-2016-1234
- - CVE-2016-3075
- - CVE-2016-3706
- - CVE-2016-4429
- * Sun Jun 26 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.23-3
- - rebuilt with gcc-5.4.0
- * Tue May 24 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.23-2
- - rebuilt with new binutils.
- * Sat May 07 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.23-1
- - update to 2.23
- - remove Patch14-18
- - update SOURCE1 from fedora
|