* linker plugin support
* AMD Bulldozer enablement OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=40
This commit is contained in:
parent
2d05369731
commit
fd10e898ba
@ -2,6 +2,10 @@
|
||||
Mon Jan 10 16:51:10 UTC 2011 - rguenther@novell.com
|
||||
|
||||
- Update to binutils 2.21.
|
||||
* linker plugin support
|
||||
* AMD Bulldozer enablement
|
||||
- Disable package fail when testsuite failures occur for now
|
||||
because of gold (testsuite) issues.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 27 11:43:24 UTC 2010 - rguenther@novell.com
|
||||
|
@ -41,7 +41,8 @@ Release: 11
|
||||
%define make_check_handling true
|
||||
%else
|
||||
# XXX check again
|
||||
%define make_check_handling false
|
||||
# XXX disabled because gold is seriously broken for now
|
||||
%define make_check_handling true
|
||||
%endif
|
||||
# let make check fail anyway if RUN_TESTS was requested
|
||||
%if %{run_tests}
|
||||
@ -360,13 +361,7 @@ make %{?_smp_mflags}
|
||||
export SUSE_ASNEEDED=0
|
||||
cd build-dir
|
||||
%ifnarch %arm
|
||||
make -k check \
|
||||
%if %{suse_version} > 1020
|
||||
CFLAGS="$RPM_OPT_FLAGS -w -Wno-unprototyped-calls" \
|
||||
%else
|
||||
CFLAGS="$RPM_OPT_FLAGS -w" \
|
||||
%endif
|
||||
|| %{make_check_handling}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
|
||||
%endif
|
||||
#
|
||||
#
|
||||
|
@ -2,6 +2,10 @@
|
||||
Mon Jan 10 16:51:10 UTC 2011 - rguenther@novell.com
|
||||
|
||||
- Update to binutils 2.21.
|
||||
* linker plugin support
|
||||
* AMD Bulldozer enablement
|
||||
- Disable package fail when testsuite failures occur for now
|
||||
because of gold (testsuite) issues.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 27 11:43:24 UTC 2010 - rguenther@novell.com
|
||||
|
@ -19,6 +19,8 @@
|
||||
|
||||
Name: cross-alpha-binutils
|
||||
BuildRequires: bison dejagnu flex gcc-c++
|
||||
# for some gold tests
|
||||
BuildRequires: bc
|
||||
%if 0%{suse_version} > 1110
|
||||
BuildRequires: zlib-devel-static
|
||||
%else
|
||||
@ -39,7 +41,8 @@ Release: 11
|
||||
%define make_check_handling true
|
||||
%else
|
||||
# XXX check again
|
||||
%define make_check_handling false
|
||||
# XXX disabled because gold is seriously broken for now
|
||||
%define make_check_handling true
|
||||
%endif
|
||||
# let make check fail anyway if RUN_TESTS was requested
|
||||
%if %{run_tests}
|
||||
@ -284,9 +287,6 @@ echo "Building native binutils."
|
||||
%if %build_multitarget
|
||||
EXTRA_TARGETS="%(printf ,%%s-suse-linux %target_list)"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,powerpc-macos,powerpc-macos10,spu-elf"
|
||||
%if !%{test_vanilla}
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,i386-macos10"
|
||||
%endif
|
||||
%else
|
||||
EXTRA_TARGETS=
|
||||
%ifarch sparc
|
||||
@ -308,18 +308,19 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
|
||||
%endif
|
||||
%endif
|
||||
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} \\\
|
||||
--infodir=%{_infodir} --mandir=%{_mandir} \\\
|
||||
--with-bugurl=http://bugs.opensuse.org/ \\\
|
||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||
--with-pic --build=%{HOST}
|
||||
mkdir build-dir
|
||||
cd build-dir
|
||||
../configure \
|
||||
CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} \
|
||||
--infodir=%{_infodir} --mandir=%{_mandir} \
|
||||
--with-bugurl=http://bugs.opensuse.org/ \
|
||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \
|
||||
--with-pic --build=%{HOST} \
|
||||
../configure %common_flags \
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} \
|
||||
--enable-plugins \
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
rm bfd/Makefile
|
||||
@ -329,7 +330,7 @@ make %{?_smp_mflags}
|
||||
export SUSE_ASNEEDED=0
|
||||
cd build-dir
|
||||
%ifnarch %arm
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
|
||||
%endif
|
||||
#
|
||||
#
|
||||
@ -400,6 +401,11 @@ cd build-dir
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-info install
|
||||
make -C gas/doc DESTDIR=$RPM_BUILD_ROOT install-info-am install-am
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes
|
||||
# we could eventually use alternatives for /usr/bin/ld
|
||||
if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then
|
||||
rm $RPM_BUILD_ROOT%{_bindir}/ld
|
||||
ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld;
|
||||
fi
|
||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
ln -sf ../../bin/{ar,as,ld,nm,ranlib,strip} $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
@ -414,6 +420,7 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libbfd-*
|
||||
chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
|
@ -2,6 +2,10 @@
|
||||
Mon Jan 10 16:51:10 UTC 2011 - rguenther@novell.com
|
||||
|
||||
- Update to binutils 2.21.
|
||||
* linker plugin support
|
||||
* AMD Bulldozer enablement
|
||||
- Disable package fail when testsuite failures occur for now
|
||||
because of gold (testsuite) issues.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 27 11:43:24 UTC 2010 - rguenther@novell.com
|
||||
|
@ -19,6 +19,8 @@
|
||||
|
||||
Name: cross-arm-binutils
|
||||
BuildRequires: bison dejagnu flex gcc-c++
|
||||
# for some gold tests
|
||||
BuildRequires: bc
|
||||
%if 0%{suse_version} > 1110
|
||||
BuildRequires: zlib-devel-static
|
||||
%else
|
||||
@ -39,7 +41,8 @@ Release: 11
|
||||
%define make_check_handling true
|
||||
%else
|
||||
# XXX check again
|
||||
%define make_check_handling false
|
||||
# XXX disabled because gold is seriously broken for now
|
||||
%define make_check_handling true
|
||||
%endif
|
||||
# let make check fail anyway if RUN_TESTS was requested
|
||||
%if %{run_tests}
|
||||
@ -284,9 +287,6 @@ echo "Building native binutils."
|
||||
%if %build_multitarget
|
||||
EXTRA_TARGETS="%(printf ,%%s-suse-linux %target_list)"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,powerpc-macos,powerpc-macos10,spu-elf"
|
||||
%if !%{test_vanilla}
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,i386-macos10"
|
||||
%endif
|
||||
%else
|
||||
EXTRA_TARGETS=
|
||||
%ifarch sparc
|
||||
@ -308,18 +308,19 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
|
||||
%endif
|
||||
%endif
|
||||
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} \\\
|
||||
--infodir=%{_infodir} --mandir=%{_mandir} \\\
|
||||
--with-bugurl=http://bugs.opensuse.org/ \\\
|
||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||
--with-pic --build=%{HOST}
|
||||
mkdir build-dir
|
||||
cd build-dir
|
||||
../configure \
|
||||
CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} \
|
||||
--infodir=%{_infodir} --mandir=%{_mandir} \
|
||||
--with-bugurl=http://bugs.opensuse.org/ \
|
||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \
|
||||
--with-pic --build=%{HOST} \
|
||||
../configure %common_flags \
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} \
|
||||
--enable-plugins \
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
rm bfd/Makefile
|
||||
@ -329,7 +330,7 @@ make %{?_smp_mflags}
|
||||
export SUSE_ASNEEDED=0
|
||||
cd build-dir
|
||||
%ifnarch %arm
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
|
||||
%endif
|
||||
#
|
||||
#
|
||||
@ -400,6 +401,11 @@ cd build-dir
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-info install
|
||||
make -C gas/doc DESTDIR=$RPM_BUILD_ROOT install-info-am install-am
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes
|
||||
# we could eventually use alternatives for /usr/bin/ld
|
||||
if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then
|
||||
rm $RPM_BUILD_ROOT%{_bindir}/ld
|
||||
ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld;
|
||||
fi
|
||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
ln -sf ../../bin/{ar,as,ld,nm,ranlib,strip} $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
@ -414,6 +420,7 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libbfd-*
|
||||
chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
|
@ -2,6 +2,10 @@
|
||||
Mon Jan 10 16:51:10 UTC 2011 - rguenther@novell.com
|
||||
|
||||
- Update to binutils 2.21.
|
||||
* linker plugin support
|
||||
* AMD Bulldozer enablement
|
||||
- Disable package fail when testsuite failures occur for now
|
||||
because of gold (testsuite) issues.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 27 11:43:24 UTC 2010 - rguenther@novell.com
|
||||
|
@ -19,6 +19,8 @@
|
||||
|
||||
Name: cross-hppa-binutils
|
||||
BuildRequires: bison dejagnu flex gcc-c++
|
||||
# for some gold tests
|
||||
BuildRequires: bc
|
||||
%if 0%{suse_version} > 1110
|
||||
BuildRequires: zlib-devel-static
|
||||
%else
|
||||
@ -39,7 +41,8 @@ Release: 11
|
||||
%define make_check_handling true
|
||||
%else
|
||||
# XXX check again
|
||||
%define make_check_handling false
|
||||
# XXX disabled because gold is seriously broken for now
|
||||
%define make_check_handling true
|
||||
%endif
|
||||
# let make check fail anyway if RUN_TESTS was requested
|
||||
%if %{run_tests}
|
||||
@ -284,9 +287,6 @@ echo "Building native binutils."
|
||||
%if %build_multitarget
|
||||
EXTRA_TARGETS="%(printf ,%%s-suse-linux %target_list)"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,powerpc-macos,powerpc-macos10,spu-elf"
|
||||
%if !%{test_vanilla}
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,i386-macos10"
|
||||
%endif
|
||||
%else
|
||||
EXTRA_TARGETS=
|
||||
%ifarch sparc
|
||||
@ -308,18 +308,19 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
|
||||
%endif
|
||||
%endif
|
||||
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} \\\
|
||||
--infodir=%{_infodir} --mandir=%{_mandir} \\\
|
||||
--with-bugurl=http://bugs.opensuse.org/ \\\
|
||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||
--with-pic --build=%{HOST}
|
||||
mkdir build-dir
|
||||
cd build-dir
|
||||
../configure \
|
||||
CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} \
|
||||
--infodir=%{_infodir} --mandir=%{_mandir} \
|
||||
--with-bugurl=http://bugs.opensuse.org/ \
|
||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \
|
||||
--with-pic --build=%{HOST} \
|
||||
../configure %common_flags \
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} \
|
||||
--enable-plugins \
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
rm bfd/Makefile
|
||||
@ -329,7 +330,7 @@ make %{?_smp_mflags}
|
||||
export SUSE_ASNEEDED=0
|
||||
cd build-dir
|
||||
%ifnarch %arm
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
|
||||
%endif
|
||||
#
|
||||
#
|
||||
@ -400,6 +401,11 @@ cd build-dir
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-info install
|
||||
make -C gas/doc DESTDIR=$RPM_BUILD_ROOT install-info-am install-am
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes
|
||||
# we could eventually use alternatives for /usr/bin/ld
|
||||
if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then
|
||||
rm $RPM_BUILD_ROOT%{_bindir}/ld
|
||||
ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld;
|
||||
fi
|
||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
ln -sf ../../bin/{ar,as,ld,nm,ranlib,strip} $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
@ -414,6 +420,7 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libbfd-*
|
||||
chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
|
@ -2,6 +2,10 @@
|
||||
Mon Jan 10 16:51:10 UTC 2011 - rguenther@novell.com
|
||||
|
||||
- Update to binutils 2.21.
|
||||
* linker plugin support
|
||||
* AMD Bulldozer enablement
|
||||
- Disable package fail when testsuite failures occur for now
|
||||
because of gold (testsuite) issues.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 27 11:43:24 UTC 2010 - rguenther@novell.com
|
||||
|
@ -19,6 +19,8 @@
|
||||
|
||||
Name: cross-hppa64-binutils
|
||||
BuildRequires: bison dejagnu flex gcc-c++
|
||||
# for some gold tests
|
||||
BuildRequires: bc
|
||||
%if 0%{suse_version} > 1110
|
||||
BuildRequires: zlib-devel-static
|
||||
%else
|
||||
@ -39,7 +41,8 @@ Release: 11
|
||||
%define make_check_handling true
|
||||
%else
|
||||
# XXX check again
|
||||
%define make_check_handling false
|
||||
# XXX disabled because gold is seriously broken for now
|
||||
%define make_check_handling true
|
||||
%endif
|
||||
# let make check fail anyway if RUN_TESTS was requested
|
||||
%if %{run_tests}
|
||||
@ -284,9 +287,6 @@ echo "Building native binutils."
|
||||
%if %build_multitarget
|
||||
EXTRA_TARGETS="%(printf ,%%s-suse-linux %target_list)"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,powerpc-macos,powerpc-macos10,spu-elf"
|
||||
%if !%{test_vanilla}
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,i386-macos10"
|
||||
%endif
|
||||
%else
|
||||
EXTRA_TARGETS=
|
||||
%ifarch sparc
|
||||
@ -308,18 +308,19 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
|
||||
%endif
|
||||
%endif
|
||||
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} \\\
|
||||
--infodir=%{_infodir} --mandir=%{_mandir} \\\
|
||||
--with-bugurl=http://bugs.opensuse.org/ \\\
|
||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||
--with-pic --build=%{HOST}
|
||||
mkdir build-dir
|
||||
cd build-dir
|
||||
../configure \
|
||||
CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} \
|
||||
--infodir=%{_infodir} --mandir=%{_mandir} \
|
||||
--with-bugurl=http://bugs.opensuse.org/ \
|
||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \
|
||||
--with-pic --build=%{HOST} \
|
||||
../configure %common_flags \
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} \
|
||||
--enable-plugins \
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
rm bfd/Makefile
|
||||
@ -329,7 +330,7 @@ make %{?_smp_mflags}
|
||||
export SUSE_ASNEEDED=0
|
||||
cd build-dir
|
||||
%ifnarch %arm
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
|
||||
%endif
|
||||
#
|
||||
#
|
||||
@ -400,6 +401,11 @@ cd build-dir
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-info install
|
||||
make -C gas/doc DESTDIR=$RPM_BUILD_ROOT install-info-am install-am
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes
|
||||
# we could eventually use alternatives for /usr/bin/ld
|
||||
if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then
|
||||
rm $RPM_BUILD_ROOT%{_bindir}/ld
|
||||
ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld;
|
||||
fi
|
||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
ln -sf ../../bin/{ar,as,ld,nm,ranlib,strip} $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
@ -414,6 +420,7 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libbfd-*
|
||||
chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
|
@ -2,6 +2,10 @@
|
||||
Mon Jan 10 16:51:10 UTC 2011 - rguenther@novell.com
|
||||
|
||||
- Update to binutils 2.21.
|
||||
* linker plugin support
|
||||
* AMD Bulldozer enablement
|
||||
- Disable package fail when testsuite failures occur for now
|
||||
because of gold (testsuite) issues.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 27 11:43:24 UTC 2010 - rguenther@novell.com
|
||||
|
@ -19,6 +19,8 @@
|
||||
|
||||
Name: cross-i386-binutils
|
||||
BuildRequires: bison dejagnu flex gcc-c++
|
||||
# for some gold tests
|
||||
BuildRequires: bc
|
||||
%if 0%{suse_version} > 1110
|
||||
BuildRequires: zlib-devel-static
|
||||
%else
|
||||
@ -39,7 +41,8 @@ Release: 11
|
||||
%define make_check_handling true
|
||||
%else
|
||||
# XXX check again
|
||||
%define make_check_handling false
|
||||
# XXX disabled because gold is seriously broken for now
|
||||
%define make_check_handling true
|
||||
%endif
|
||||
# let make check fail anyway if RUN_TESTS was requested
|
||||
%if %{run_tests}
|
||||
@ -284,9 +287,6 @@ echo "Building native binutils."
|
||||
%if %build_multitarget
|
||||
EXTRA_TARGETS="%(printf ,%%s-suse-linux %target_list)"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,powerpc-macos,powerpc-macos10,spu-elf"
|
||||
%if !%{test_vanilla}
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,i386-macos10"
|
||||
%endif
|
||||
%else
|
||||
EXTRA_TARGETS=
|
||||
%ifarch sparc
|
||||
@ -308,18 +308,19 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
|
||||
%endif
|
||||
%endif
|
||||
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} \\\
|
||||
--infodir=%{_infodir} --mandir=%{_mandir} \\\
|
||||
--with-bugurl=http://bugs.opensuse.org/ \\\
|
||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||
--with-pic --build=%{HOST}
|
||||
mkdir build-dir
|
||||
cd build-dir
|
||||
../configure \
|
||||
CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} \
|
||||
--infodir=%{_infodir} --mandir=%{_mandir} \
|
||||
--with-bugurl=http://bugs.opensuse.org/ \
|
||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \
|
||||
--with-pic --build=%{HOST} \
|
||||
../configure %common_flags \
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} \
|
||||
--enable-plugins \
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
rm bfd/Makefile
|
||||
@ -329,7 +330,7 @@ make %{?_smp_mflags}
|
||||
export SUSE_ASNEEDED=0
|
||||
cd build-dir
|
||||
%ifnarch %arm
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
|
||||
%endif
|
||||
#
|
||||
#
|
||||
@ -400,6 +401,11 @@ cd build-dir
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-info install
|
||||
make -C gas/doc DESTDIR=$RPM_BUILD_ROOT install-info-am install-am
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes
|
||||
# we could eventually use alternatives for /usr/bin/ld
|
||||
if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then
|
||||
rm $RPM_BUILD_ROOT%{_bindir}/ld
|
||||
ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld;
|
||||
fi
|
||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
ln -sf ../../bin/{ar,as,ld,nm,ranlib,strip} $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
@ -414,6 +420,7 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libbfd-*
|
||||
chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
|
@ -2,6 +2,10 @@
|
||||
Mon Jan 10 16:51:10 UTC 2011 - rguenther@novell.com
|
||||
|
||||
- Update to binutils 2.21.
|
||||
* linker plugin support
|
||||
* AMD Bulldozer enablement
|
||||
- Disable package fail when testsuite failures occur for now
|
||||
because of gold (testsuite) issues.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 27 11:43:24 UTC 2010 - rguenther@novell.com
|
||||
|
@ -19,6 +19,8 @@
|
||||
|
||||
Name: cross-ia64-binutils
|
||||
BuildRequires: bison dejagnu flex gcc-c++
|
||||
# for some gold tests
|
||||
BuildRequires: bc
|
||||
%if 0%{suse_version} > 1110
|
||||
BuildRequires: zlib-devel-static
|
||||
%else
|
||||
@ -39,7 +41,8 @@ Release: 11
|
||||
%define make_check_handling true
|
||||
%else
|
||||
# XXX check again
|
||||
%define make_check_handling false
|
||||
# XXX disabled because gold is seriously broken for now
|
||||
%define make_check_handling true
|
||||
%endif
|
||||
# let make check fail anyway if RUN_TESTS was requested
|
||||
%if %{run_tests}
|
||||
@ -284,9 +287,6 @@ echo "Building native binutils."
|
||||
%if %build_multitarget
|
||||
EXTRA_TARGETS="%(printf ,%%s-suse-linux %target_list)"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,powerpc-macos,powerpc-macos10,spu-elf"
|
||||
%if !%{test_vanilla}
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,i386-macos10"
|
||||
%endif
|
||||
%else
|
||||
EXTRA_TARGETS=
|
||||
%ifarch sparc
|
||||
@ -308,18 +308,19 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
|
||||
%endif
|
||||
%endif
|
||||
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} \\\
|
||||
--infodir=%{_infodir} --mandir=%{_mandir} \\\
|
||||
--with-bugurl=http://bugs.opensuse.org/ \\\
|
||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||
--with-pic --build=%{HOST}
|
||||
mkdir build-dir
|
||||
cd build-dir
|
||||
../configure \
|
||||
CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} \
|
||||
--infodir=%{_infodir} --mandir=%{_mandir} \
|
||||
--with-bugurl=http://bugs.opensuse.org/ \
|
||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \
|
||||
--with-pic --build=%{HOST} \
|
||||
../configure %common_flags \
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} \
|
||||
--enable-plugins \
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
rm bfd/Makefile
|
||||
@ -329,7 +330,7 @@ make %{?_smp_mflags}
|
||||
export SUSE_ASNEEDED=0
|
||||
cd build-dir
|
||||
%ifnarch %arm
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
|
||||
%endif
|
||||
#
|
||||
#
|
||||
@ -400,6 +401,11 @@ cd build-dir
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-info install
|
||||
make -C gas/doc DESTDIR=$RPM_BUILD_ROOT install-info-am install-am
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes
|
||||
# we could eventually use alternatives for /usr/bin/ld
|
||||
if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then
|
||||
rm $RPM_BUILD_ROOT%{_bindir}/ld
|
||||
ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld;
|
||||
fi
|
||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
ln -sf ../../bin/{ar,as,ld,nm,ranlib,strip} $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
@ -414,6 +420,7 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libbfd-*
|
||||
chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
|
@ -2,6 +2,10 @@
|
||||
Mon Jan 10 16:51:10 UTC 2011 - rguenther@novell.com
|
||||
|
||||
- Update to binutils 2.21.
|
||||
* linker plugin support
|
||||
* AMD Bulldozer enablement
|
||||
- Disable package fail when testsuite failures occur for now
|
||||
because of gold (testsuite) issues.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 27 11:43:24 UTC 2010 - rguenther@novell.com
|
||||
|
@ -19,6 +19,8 @@
|
||||
|
||||
Name: cross-mips-binutils
|
||||
BuildRequires: bison dejagnu flex gcc-c++
|
||||
# for some gold tests
|
||||
BuildRequires: bc
|
||||
%if 0%{suse_version} > 1110
|
||||
BuildRequires: zlib-devel-static
|
||||
%else
|
||||
@ -39,7 +41,8 @@ Release: 11
|
||||
%define make_check_handling true
|
||||
%else
|
||||
# XXX check again
|
||||
%define make_check_handling false
|
||||
# XXX disabled because gold is seriously broken for now
|
||||
%define make_check_handling true
|
||||
%endif
|
||||
# let make check fail anyway if RUN_TESTS was requested
|
||||
%if %{run_tests}
|
||||
@ -284,9 +287,6 @@ echo "Building native binutils."
|
||||
%if %build_multitarget
|
||||
EXTRA_TARGETS="%(printf ,%%s-suse-linux %target_list)"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,powerpc-macos,powerpc-macos10,spu-elf"
|
||||
%if !%{test_vanilla}
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,i386-macos10"
|
||||
%endif
|
||||
%else
|
||||
EXTRA_TARGETS=
|
||||
%ifarch sparc
|
||||
@ -308,18 +308,19 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
|
||||
%endif
|
||||
%endif
|
||||
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} \\\
|
||||
--infodir=%{_infodir} --mandir=%{_mandir} \\\
|
||||
--with-bugurl=http://bugs.opensuse.org/ \\\
|
||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||
--with-pic --build=%{HOST}
|
||||
mkdir build-dir
|
||||
cd build-dir
|
||||
../configure \
|
||||
CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} \
|
||||
--infodir=%{_infodir} --mandir=%{_mandir} \
|
||||
--with-bugurl=http://bugs.opensuse.org/ \
|
||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \
|
||||
--with-pic --build=%{HOST} \
|
||||
../configure %common_flags \
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} \
|
||||
--enable-plugins \
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
rm bfd/Makefile
|
||||
@ -329,7 +330,7 @@ make %{?_smp_mflags}
|
||||
export SUSE_ASNEEDED=0
|
||||
cd build-dir
|
||||
%ifnarch %arm
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
|
||||
%endif
|
||||
#
|
||||
#
|
||||
@ -400,6 +401,11 @@ cd build-dir
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-info install
|
||||
make -C gas/doc DESTDIR=$RPM_BUILD_ROOT install-info-am install-am
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes
|
||||
# we could eventually use alternatives for /usr/bin/ld
|
||||
if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then
|
||||
rm $RPM_BUILD_ROOT%{_bindir}/ld
|
||||
ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld;
|
||||
fi
|
||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
ln -sf ../../bin/{ar,as,ld,nm,ranlib,strip} $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
@ -414,6 +420,7 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libbfd-*
|
||||
chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
|
@ -2,6 +2,10 @@
|
||||
Mon Jan 10 16:51:10 UTC 2011 - rguenther@novell.com
|
||||
|
||||
- Update to binutils 2.21.
|
||||
* linker plugin support
|
||||
* AMD Bulldozer enablement
|
||||
- Disable package fail when testsuite failures occur for now
|
||||
because of gold (testsuite) issues.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 27 11:43:24 UTC 2010 - rguenther@novell.com
|
||||
|
@ -19,6 +19,8 @@
|
||||
|
||||
Name: cross-ppc-binutils
|
||||
BuildRequires: bison dejagnu flex gcc-c++
|
||||
# for some gold tests
|
||||
BuildRequires: bc
|
||||
%if 0%{suse_version} > 1110
|
||||
BuildRequires: zlib-devel-static
|
||||
%else
|
||||
@ -39,7 +41,8 @@ Release: 11
|
||||
%define make_check_handling true
|
||||
%else
|
||||
# XXX check again
|
||||
%define make_check_handling false
|
||||
# XXX disabled because gold is seriously broken for now
|
||||
%define make_check_handling true
|
||||
%endif
|
||||
# let make check fail anyway if RUN_TESTS was requested
|
||||
%if %{run_tests}
|
||||
@ -284,9 +287,6 @@ echo "Building native binutils."
|
||||
%if %build_multitarget
|
||||
EXTRA_TARGETS="%(printf ,%%s-suse-linux %target_list)"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,powerpc-macos,powerpc-macos10,spu-elf"
|
||||
%if !%{test_vanilla}
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,i386-macos10"
|
||||
%endif
|
||||
%else
|
||||
EXTRA_TARGETS=
|
||||
%ifarch sparc
|
||||
@ -308,18 +308,19 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
|
||||
%endif
|
||||
%endif
|
||||
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} \\\
|
||||
--infodir=%{_infodir} --mandir=%{_mandir} \\\
|
||||
--with-bugurl=http://bugs.opensuse.org/ \\\
|
||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||
--with-pic --build=%{HOST}
|
||||
mkdir build-dir
|
||||
cd build-dir
|
||||
../configure \
|
||||
CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} \
|
||||
--infodir=%{_infodir} --mandir=%{_mandir} \
|
||||
--with-bugurl=http://bugs.opensuse.org/ \
|
||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \
|
||||
--with-pic --build=%{HOST} \
|
||||
../configure %common_flags \
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} \
|
||||
--enable-plugins \
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
rm bfd/Makefile
|
||||
@ -329,7 +330,7 @@ make %{?_smp_mflags}
|
||||
export SUSE_ASNEEDED=0
|
||||
cd build-dir
|
||||
%ifnarch %arm
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
|
||||
%endif
|
||||
#
|
||||
#
|
||||
@ -400,6 +401,11 @@ cd build-dir
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-info install
|
||||
make -C gas/doc DESTDIR=$RPM_BUILD_ROOT install-info-am install-am
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes
|
||||
# we could eventually use alternatives for /usr/bin/ld
|
||||
if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then
|
||||
rm $RPM_BUILD_ROOT%{_bindir}/ld
|
||||
ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld;
|
||||
fi
|
||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
ln -sf ../../bin/{ar,as,ld,nm,ranlib,strip} $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
@ -414,6 +420,7 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libbfd-*
|
||||
chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
|
@ -2,6 +2,10 @@
|
||||
Mon Jan 10 16:51:10 UTC 2011 - rguenther@novell.com
|
||||
|
||||
- Update to binutils 2.21.
|
||||
* linker plugin support
|
||||
* AMD Bulldozer enablement
|
||||
- Disable package fail when testsuite failures occur for now
|
||||
because of gold (testsuite) issues.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 27 11:43:24 UTC 2010 - rguenther@novell.com
|
||||
|
@ -19,6 +19,8 @@
|
||||
|
||||
Name: cross-ppc64-binutils
|
||||
BuildRequires: bison dejagnu flex gcc-c++
|
||||
# for some gold tests
|
||||
BuildRequires: bc
|
||||
%if 0%{suse_version} > 1110
|
||||
BuildRequires: zlib-devel-static
|
||||
%else
|
||||
@ -39,7 +41,8 @@ Release: 11
|
||||
%define make_check_handling true
|
||||
%else
|
||||
# XXX check again
|
||||
%define make_check_handling false
|
||||
# XXX disabled because gold is seriously broken for now
|
||||
%define make_check_handling true
|
||||
%endif
|
||||
# let make check fail anyway if RUN_TESTS was requested
|
||||
%if %{run_tests}
|
||||
@ -284,9 +287,6 @@ echo "Building native binutils."
|
||||
%if %build_multitarget
|
||||
EXTRA_TARGETS="%(printf ,%%s-suse-linux %target_list)"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,powerpc-macos,powerpc-macos10,spu-elf"
|
||||
%if !%{test_vanilla}
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,i386-macos10"
|
||||
%endif
|
||||
%else
|
||||
EXTRA_TARGETS=
|
||||
%ifarch sparc
|
||||
@ -308,18 +308,19 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
|
||||
%endif
|
||||
%endif
|
||||
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} \\\
|
||||
--infodir=%{_infodir} --mandir=%{_mandir} \\\
|
||||
--with-bugurl=http://bugs.opensuse.org/ \\\
|
||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||
--with-pic --build=%{HOST}
|
||||
mkdir build-dir
|
||||
cd build-dir
|
||||
../configure \
|
||||
CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} \
|
||||
--infodir=%{_infodir} --mandir=%{_mandir} \
|
||||
--with-bugurl=http://bugs.opensuse.org/ \
|
||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \
|
||||
--with-pic --build=%{HOST} \
|
||||
../configure %common_flags \
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} \
|
||||
--enable-plugins \
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
rm bfd/Makefile
|
||||
@ -329,7 +330,7 @@ make %{?_smp_mflags}
|
||||
export SUSE_ASNEEDED=0
|
||||
cd build-dir
|
||||
%ifnarch %arm
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
|
||||
%endif
|
||||
#
|
||||
#
|
||||
@ -400,6 +401,11 @@ cd build-dir
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-info install
|
||||
make -C gas/doc DESTDIR=$RPM_BUILD_ROOT install-info-am install-am
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes
|
||||
# we could eventually use alternatives for /usr/bin/ld
|
||||
if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then
|
||||
rm $RPM_BUILD_ROOT%{_bindir}/ld
|
||||
ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld;
|
||||
fi
|
||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
ln -sf ../../bin/{ar,as,ld,nm,ranlib,strip} $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
@ -414,6 +420,7 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libbfd-*
|
||||
chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
|
@ -2,6 +2,10 @@
|
||||
Mon Jan 10 16:51:10 UTC 2011 - rguenther@novell.com
|
||||
|
||||
- Update to binutils 2.21.
|
||||
* linker plugin support
|
||||
* AMD Bulldozer enablement
|
||||
- Disable package fail when testsuite failures occur for now
|
||||
because of gold (testsuite) issues.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 27 11:43:24 UTC 2010 - rguenther@novell.com
|
||||
|
@ -19,6 +19,8 @@
|
||||
|
||||
Name: cross-s390-binutils
|
||||
BuildRequires: bison dejagnu flex gcc-c++
|
||||
# for some gold tests
|
||||
BuildRequires: bc
|
||||
%if 0%{suse_version} > 1110
|
||||
BuildRequires: zlib-devel-static
|
||||
%else
|
||||
@ -39,7 +41,8 @@ Release: 11
|
||||
%define make_check_handling true
|
||||
%else
|
||||
# XXX check again
|
||||
%define make_check_handling false
|
||||
# XXX disabled because gold is seriously broken for now
|
||||
%define make_check_handling true
|
||||
%endif
|
||||
# let make check fail anyway if RUN_TESTS was requested
|
||||
%if %{run_tests}
|
||||
@ -284,9 +287,6 @@ echo "Building native binutils."
|
||||
%if %build_multitarget
|
||||
EXTRA_TARGETS="%(printf ,%%s-suse-linux %target_list)"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,powerpc-macos,powerpc-macos10,spu-elf"
|
||||
%if !%{test_vanilla}
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,i386-macos10"
|
||||
%endif
|
||||
%else
|
||||
EXTRA_TARGETS=
|
||||
%ifarch sparc
|
||||
@ -308,18 +308,19 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
|
||||
%endif
|
||||
%endif
|
||||
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} \\\
|
||||
--infodir=%{_infodir} --mandir=%{_mandir} \\\
|
||||
--with-bugurl=http://bugs.opensuse.org/ \\\
|
||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||
--with-pic --build=%{HOST}
|
||||
mkdir build-dir
|
||||
cd build-dir
|
||||
../configure \
|
||||
CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} \
|
||||
--infodir=%{_infodir} --mandir=%{_mandir} \
|
||||
--with-bugurl=http://bugs.opensuse.org/ \
|
||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \
|
||||
--with-pic --build=%{HOST} \
|
||||
../configure %common_flags \
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} \
|
||||
--enable-plugins \
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
rm bfd/Makefile
|
||||
@ -329,7 +330,7 @@ make %{?_smp_mflags}
|
||||
export SUSE_ASNEEDED=0
|
||||
cd build-dir
|
||||
%ifnarch %arm
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
|
||||
%endif
|
||||
#
|
||||
#
|
||||
@ -400,6 +401,11 @@ cd build-dir
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-info install
|
||||
make -C gas/doc DESTDIR=$RPM_BUILD_ROOT install-info-am install-am
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes
|
||||
# we could eventually use alternatives for /usr/bin/ld
|
||||
if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then
|
||||
rm $RPM_BUILD_ROOT%{_bindir}/ld
|
||||
ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld;
|
||||
fi
|
||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
ln -sf ../../bin/{ar,as,ld,nm,ranlib,strip} $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
@ -414,6 +420,7 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libbfd-*
|
||||
chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
|
@ -2,6 +2,10 @@
|
||||
Mon Jan 10 16:51:10 UTC 2011 - rguenther@novell.com
|
||||
|
||||
- Update to binutils 2.21.
|
||||
* linker plugin support
|
||||
* AMD Bulldozer enablement
|
||||
- Disable package fail when testsuite failures occur for now
|
||||
because of gold (testsuite) issues.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 27 11:43:24 UTC 2010 - rguenther@novell.com
|
||||
|
@ -19,6 +19,8 @@
|
||||
|
||||
Name: cross-s390x-binutils
|
||||
BuildRequires: bison dejagnu flex gcc-c++
|
||||
# for some gold tests
|
||||
BuildRequires: bc
|
||||
%if 0%{suse_version} > 1110
|
||||
BuildRequires: zlib-devel-static
|
||||
%else
|
||||
@ -39,7 +41,8 @@ Release: 11
|
||||
%define make_check_handling true
|
||||
%else
|
||||
# XXX check again
|
||||
%define make_check_handling false
|
||||
# XXX disabled because gold is seriously broken for now
|
||||
%define make_check_handling true
|
||||
%endif
|
||||
# let make check fail anyway if RUN_TESTS was requested
|
||||
%if %{run_tests}
|
||||
@ -284,9 +287,6 @@ echo "Building native binutils."
|
||||
%if %build_multitarget
|
||||
EXTRA_TARGETS="%(printf ,%%s-suse-linux %target_list)"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,powerpc-macos,powerpc-macos10,spu-elf"
|
||||
%if !%{test_vanilla}
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,i386-macos10"
|
||||
%endif
|
||||
%else
|
||||
EXTRA_TARGETS=
|
||||
%ifarch sparc
|
||||
@ -308,18 +308,19 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
|
||||
%endif
|
||||
%endif
|
||||
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} \\\
|
||||
--infodir=%{_infodir} --mandir=%{_mandir} \\\
|
||||
--with-bugurl=http://bugs.opensuse.org/ \\\
|
||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||
--with-pic --build=%{HOST}
|
||||
mkdir build-dir
|
||||
cd build-dir
|
||||
../configure \
|
||||
CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} \
|
||||
--infodir=%{_infodir} --mandir=%{_mandir} \
|
||||
--with-bugurl=http://bugs.opensuse.org/ \
|
||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \
|
||||
--with-pic --build=%{HOST} \
|
||||
../configure %common_flags \
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} \
|
||||
--enable-plugins \
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
rm bfd/Makefile
|
||||
@ -329,7 +330,7 @@ make %{?_smp_mflags}
|
||||
export SUSE_ASNEEDED=0
|
||||
cd build-dir
|
||||
%ifnarch %arm
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
|
||||
%endif
|
||||
#
|
||||
#
|
||||
@ -400,6 +401,11 @@ cd build-dir
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-info install
|
||||
make -C gas/doc DESTDIR=$RPM_BUILD_ROOT install-info-am install-am
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes
|
||||
# we could eventually use alternatives for /usr/bin/ld
|
||||
if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then
|
||||
rm $RPM_BUILD_ROOT%{_bindir}/ld
|
||||
ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld;
|
||||
fi
|
||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
ln -sf ../../bin/{ar,as,ld,nm,ranlib,strip} $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
@ -414,6 +420,7 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libbfd-*
|
||||
chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
|
@ -2,6 +2,10 @@
|
||||
Mon Jan 10 16:51:10 UTC 2011 - rguenther@novell.com
|
||||
|
||||
- Update to binutils 2.21.
|
||||
* linker plugin support
|
||||
* AMD Bulldozer enablement
|
||||
- Disable package fail when testsuite failures occur for now
|
||||
because of gold (testsuite) issues.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 27 11:43:24 UTC 2010 - rguenther@novell.com
|
||||
|
@ -19,6 +19,8 @@
|
||||
|
||||
Name: cross-sh4-binutils
|
||||
BuildRequires: bison dejagnu flex gcc-c++
|
||||
# for some gold tests
|
||||
BuildRequires: bc
|
||||
%if 0%{suse_version} > 1110
|
||||
BuildRequires: zlib-devel-static
|
||||
%else
|
||||
@ -39,7 +41,8 @@ Release: 11
|
||||
%define make_check_handling true
|
||||
%else
|
||||
# XXX check again
|
||||
%define make_check_handling false
|
||||
# XXX disabled because gold is seriously broken for now
|
||||
%define make_check_handling true
|
||||
%endif
|
||||
# let make check fail anyway if RUN_TESTS was requested
|
||||
%if %{run_tests}
|
||||
@ -284,9 +287,6 @@ echo "Building native binutils."
|
||||
%if %build_multitarget
|
||||
EXTRA_TARGETS="%(printf ,%%s-suse-linux %target_list)"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,powerpc-macos,powerpc-macos10,spu-elf"
|
||||
%if !%{test_vanilla}
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,i386-macos10"
|
||||
%endif
|
||||
%else
|
||||
EXTRA_TARGETS=
|
||||
%ifarch sparc
|
||||
@ -308,18 +308,19 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
|
||||
%endif
|
||||
%endif
|
||||
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} \\\
|
||||
--infodir=%{_infodir} --mandir=%{_mandir} \\\
|
||||
--with-bugurl=http://bugs.opensuse.org/ \\\
|
||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||
--with-pic --build=%{HOST}
|
||||
mkdir build-dir
|
||||
cd build-dir
|
||||
../configure \
|
||||
CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} \
|
||||
--infodir=%{_infodir} --mandir=%{_mandir} \
|
||||
--with-bugurl=http://bugs.opensuse.org/ \
|
||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \
|
||||
--with-pic --build=%{HOST} \
|
||||
../configure %common_flags \
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} \
|
||||
--enable-plugins \
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
rm bfd/Makefile
|
||||
@ -329,7 +330,7 @@ make %{?_smp_mflags}
|
||||
export SUSE_ASNEEDED=0
|
||||
cd build-dir
|
||||
%ifnarch %arm
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
|
||||
%endif
|
||||
#
|
||||
#
|
||||
@ -400,6 +401,11 @@ cd build-dir
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-info install
|
||||
make -C gas/doc DESTDIR=$RPM_BUILD_ROOT install-info-am install-am
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes
|
||||
# we could eventually use alternatives for /usr/bin/ld
|
||||
if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then
|
||||
rm $RPM_BUILD_ROOT%{_bindir}/ld
|
||||
ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld;
|
||||
fi
|
||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
ln -sf ../../bin/{ar,as,ld,nm,ranlib,strip} $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
@ -414,6 +420,7 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libbfd-*
|
||||
chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
|
@ -2,6 +2,10 @@
|
||||
Mon Jan 10 16:51:10 UTC 2011 - rguenther@novell.com
|
||||
|
||||
- Update to binutils 2.21.
|
||||
* linker plugin support
|
||||
* AMD Bulldozer enablement
|
||||
- Disable package fail when testsuite failures occur for now
|
||||
because of gold (testsuite) issues.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 27 11:43:24 UTC 2010 - rguenther@novell.com
|
||||
|
@ -19,6 +19,8 @@
|
||||
|
||||
Name: cross-sparc-binutils
|
||||
BuildRequires: bison dejagnu flex gcc-c++
|
||||
# for some gold tests
|
||||
BuildRequires: bc
|
||||
%if 0%{suse_version} > 1110
|
||||
BuildRequires: zlib-devel-static
|
||||
%else
|
||||
@ -39,7 +41,8 @@ Release: 11
|
||||
%define make_check_handling true
|
||||
%else
|
||||
# XXX check again
|
||||
%define make_check_handling false
|
||||
# XXX disabled because gold is seriously broken for now
|
||||
%define make_check_handling true
|
||||
%endif
|
||||
# let make check fail anyway if RUN_TESTS was requested
|
||||
%if %{run_tests}
|
||||
@ -284,9 +287,6 @@ echo "Building native binutils."
|
||||
%if %build_multitarget
|
||||
EXTRA_TARGETS="%(printf ,%%s-suse-linux %target_list)"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,powerpc-macos,powerpc-macos10,spu-elf"
|
||||
%if !%{test_vanilla}
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,i386-macos10"
|
||||
%endif
|
||||
%else
|
||||
EXTRA_TARGETS=
|
||||
%ifarch sparc
|
||||
@ -308,18 +308,19 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
|
||||
%endif
|
||||
%endif
|
||||
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} \\\
|
||||
--infodir=%{_infodir} --mandir=%{_mandir} \\\
|
||||
--with-bugurl=http://bugs.opensuse.org/ \\\
|
||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||
--with-pic --build=%{HOST}
|
||||
mkdir build-dir
|
||||
cd build-dir
|
||||
../configure \
|
||||
CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} \
|
||||
--infodir=%{_infodir} --mandir=%{_mandir} \
|
||||
--with-bugurl=http://bugs.opensuse.org/ \
|
||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \
|
||||
--with-pic --build=%{HOST} \
|
||||
../configure %common_flags \
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} \
|
||||
--enable-plugins \
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
rm bfd/Makefile
|
||||
@ -329,7 +330,7 @@ make %{?_smp_mflags}
|
||||
export SUSE_ASNEEDED=0
|
||||
cd build-dir
|
||||
%ifnarch %arm
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
|
||||
%endif
|
||||
#
|
||||
#
|
||||
@ -400,6 +401,11 @@ cd build-dir
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-info install
|
||||
make -C gas/doc DESTDIR=$RPM_BUILD_ROOT install-info-am install-am
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes
|
||||
# we could eventually use alternatives for /usr/bin/ld
|
||||
if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then
|
||||
rm $RPM_BUILD_ROOT%{_bindir}/ld
|
||||
ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld;
|
||||
fi
|
||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
ln -sf ../../bin/{ar,as,ld,nm,ranlib,strip} $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
@ -414,6 +420,7 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libbfd-*
|
||||
chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
|
@ -2,6 +2,10 @@
|
||||
Mon Jan 10 16:51:10 UTC 2011 - rguenther@novell.com
|
||||
|
||||
- Update to binutils 2.21.
|
||||
* linker plugin support
|
||||
* AMD Bulldozer enablement
|
||||
- Disable package fail when testsuite failures occur for now
|
||||
because of gold (testsuite) issues.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 27 11:43:24 UTC 2010 - rguenther@novell.com
|
||||
|
@ -19,6 +19,8 @@
|
||||
|
||||
Name: cross-spu-binutils
|
||||
BuildRequires: bison dejagnu flex gcc-c++
|
||||
# for some gold tests
|
||||
BuildRequires: bc
|
||||
%if 0%{suse_version} > 1110
|
||||
BuildRequires: zlib-devel-static
|
||||
%else
|
||||
@ -39,7 +41,8 @@ Release: 11
|
||||
%define make_check_handling true
|
||||
%else
|
||||
# XXX check again
|
||||
%define make_check_handling false
|
||||
# XXX disabled because gold is seriously broken for now
|
||||
%define make_check_handling true
|
||||
%endif
|
||||
# let make check fail anyway if RUN_TESTS was requested
|
||||
%if %{run_tests}
|
||||
@ -284,9 +287,6 @@ echo "Building native binutils."
|
||||
%if %build_multitarget
|
||||
EXTRA_TARGETS="%(printf ,%%s-suse-linux %target_list)"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,powerpc-macos,powerpc-macos10,spu-elf"
|
||||
%if !%{test_vanilla}
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,i386-macos10"
|
||||
%endif
|
||||
%else
|
||||
EXTRA_TARGETS=
|
||||
%ifarch sparc
|
||||
@ -308,18 +308,19 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
|
||||
%endif
|
||||
%endif
|
||||
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} \\\
|
||||
--infodir=%{_infodir} --mandir=%{_mandir} \\\
|
||||
--with-bugurl=http://bugs.opensuse.org/ \\\
|
||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||
--with-pic --build=%{HOST}
|
||||
mkdir build-dir
|
||||
cd build-dir
|
||||
../configure \
|
||||
CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} \
|
||||
--infodir=%{_infodir} --mandir=%{_mandir} \
|
||||
--with-bugurl=http://bugs.opensuse.org/ \
|
||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \
|
||||
--with-pic --build=%{HOST} \
|
||||
../configure %common_flags \
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} \
|
||||
--enable-plugins \
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
rm bfd/Makefile
|
||||
@ -329,7 +330,7 @@ make %{?_smp_mflags}
|
||||
export SUSE_ASNEEDED=0
|
||||
cd build-dir
|
||||
%ifnarch %arm
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
|
||||
%endif
|
||||
#
|
||||
#
|
||||
@ -400,6 +401,11 @@ cd build-dir
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-info install
|
||||
make -C gas/doc DESTDIR=$RPM_BUILD_ROOT install-info-am install-am
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes
|
||||
# we could eventually use alternatives for /usr/bin/ld
|
||||
if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then
|
||||
rm $RPM_BUILD_ROOT%{_bindir}/ld
|
||||
ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld;
|
||||
fi
|
||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
ln -sf ../../bin/{ar,as,ld,nm,ranlib,strip} $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
@ -414,6 +420,7 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libbfd-*
|
||||
chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
|
@ -2,6 +2,10 @@
|
||||
Mon Jan 10 16:51:10 UTC 2011 - rguenther@novell.com
|
||||
|
||||
- Update to binutils 2.21.
|
||||
* linker plugin support
|
||||
* AMD Bulldozer enablement
|
||||
- Disable package fail when testsuite failures occur for now
|
||||
because of gold (testsuite) issues.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 27 11:43:24 UTC 2010 - rguenther@novell.com
|
||||
|
@ -19,6 +19,8 @@
|
||||
|
||||
Name: cross-x86_64-binutils
|
||||
BuildRequires: bison dejagnu flex gcc-c++
|
||||
# for some gold tests
|
||||
BuildRequires: bc
|
||||
%if 0%{suse_version} > 1110
|
||||
BuildRequires: zlib-devel-static
|
||||
%else
|
||||
@ -39,7 +41,8 @@ Release: 11
|
||||
%define make_check_handling true
|
||||
%else
|
||||
# XXX check again
|
||||
%define make_check_handling false
|
||||
# XXX disabled because gold is seriously broken for now
|
||||
%define make_check_handling true
|
||||
%endif
|
||||
# let make check fail anyway if RUN_TESTS was requested
|
||||
%if %{run_tests}
|
||||
@ -284,9 +287,6 @@ echo "Building native binutils."
|
||||
%if %build_multitarget
|
||||
EXTRA_TARGETS="%(printf ,%%s-suse-linux %target_list)"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,powerpc-macos,powerpc-macos10,spu-elf"
|
||||
%if !%{test_vanilla}
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,i386-macos10"
|
||||
%endif
|
||||
%else
|
||||
EXTRA_TARGETS=
|
||||
%ifarch sparc
|
||||
@ -308,18 +308,19 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
|
||||
%endif
|
||||
%endif
|
||||
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} \\\
|
||||
--infodir=%{_infodir} --mandir=%{_mandir} \\\
|
||||
--with-bugurl=http://bugs.opensuse.org/ \\\
|
||||
--with-pkgversion="GNU Binutils; %{DIST}" \\\
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
|
||||
--with-pic --build=%{HOST}
|
||||
mkdir build-dir
|
||||
cd build-dir
|
||||
../configure \
|
||||
CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} \
|
||||
--infodir=%{_infodir} --mandir=%{_mandir} \
|
||||
--with-bugurl=http://bugs.opensuse.org/ \
|
||||
--with-pkgversion="GNU Binutils; %{DIST}" \
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \
|
||||
--with-pic --build=%{HOST} \
|
||||
../configure %common_flags \
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} \
|
||||
--enable-plugins \
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
rm bfd/Makefile
|
||||
@ -329,7 +330,7 @@ make %{?_smp_mflags}
|
||||
export SUSE_ASNEEDED=0
|
||||
cd build-dir
|
||||
%ifnarch %arm
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
|
||||
%endif
|
||||
#
|
||||
#
|
||||
@ -400,6 +401,11 @@ cd build-dir
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-info install
|
||||
make -C gas/doc DESTDIR=$RPM_BUILD_ROOT install-info-am install-am
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes
|
||||
# we could eventually use alternatives for /usr/bin/ld
|
||||
if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then
|
||||
rm $RPM_BUILD_ROOT%{_bindir}/ld
|
||||
ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld;
|
||||
fi
|
||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
ln -sf ../../bin/{ar,as,ld,nm,ranlib,strip} $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
|
||||
@ -414,6 +420,7 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libbfd-*
|
||||
chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
|
@ -11,15 +11,4 @@
|
||||
targetobjs="$targetobjs ${targ_obj}.\$(OBJEXT)"
|
||||
if test "$targ_extra_obj" != ""; then
|
||||
|
||||
--- gold/testsuite/Makefile.in.orig 2011-01-11 16:34:55.000000000 +0100
|
||||
+++ gold/testsuite/Makefile.in 2011-01-11 16:35:49.000000000 +0100
|
||||
@@ -60,9 +60,7 @@
|
||||
@GCC_TRUE@@NATIVE_LINKER_TRUE@am__append_2 = incremental_test.sh \
|
||||
@GCC_TRUE@@NATIVE_LINKER_TRUE@ gc_comdat_test.sh gc_tls_test.sh \
|
||||
@GCC_TRUE@@NATIVE_LINKER_TRUE@ gc_orphan_section_test.sh \
|
||||
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ icf_test.sh \
|
||||
@GCC_TRUE@@NATIVE_LINKER_TRUE@ icf_keep_unique_test.sh \
|
||||
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ icf_safe_test.sh \
|
||||
@GCC_TRUE@@NATIVE_LINKER_TRUE@ icf_safe_so_test.sh \
|
||||
@GCC_TRUE@@NATIVE_LINKER_TRUE@ final_layout.sh \
|
||||
@GCC_TRUE@@NATIVE_LINKER_TRUE@ icf_preemptible_functions_test.sh \
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user