Hello community, here is the log from the commit of package kexec-tools for openSUSE:Factory checked in at Tue May 17 15:24:59 CEST 2011.
-------- --- kexec-tools/kexec-tools.changes 2010-09-12 11:49:27.000000000 +0200 +++ /mounts/work_src_done/STABLE/kexec-tools/kexec-tools.changes 2011-05-17 11:13:46.000000000 +0200 @@ -1,0 +2,5 @@ +Tue May 17 11:12:54 CEST 2011 - [email protected] + +- fix build with gcc that doesn't understand --no-undefined + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- gcc-no-undefined-flag-fix.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kexec-tools.spec ++++++ --- /var/tmp/diff_new_pack.NgIrbh/_old 2011-05-17 15:19:15.000000000 +0200 +++ /var/tmp/diff_new_pack.NgIrbh/_new 2011-05-17 15:19:15.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package kexec-tools (Version 2.0.2) +# spec file for package kexec-tools # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,7 +29,7 @@ AutoReqProv: on Summary: Tools for fast kernel loading Version: 2.0.2 -Release: 1 +Release: 5 Source: %{name}-%{version}.tar.bz2 Source1: kexec-bootloader Source2: kexec-bootloader.8.txt @@ -37,6 +37,7 @@ Source4: %{name}-%{version}-rpmlintrc Patch0: %{name}-no-vga-output.diff Patch1: %{name}-xen-static.diff +Patch2: gcc-no-undefined-flag-fix.patch Url: ftp://kernel.org/pub/linux/utils/kernel/kexec/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build #!BuildIgnore: fop @@ -70,6 +71,7 @@ %setup -q -n kexec-tools-%{version} %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build # disable as-needed ++++++ gcc-no-undefined-flag-fix.patch ++++++ >From 8880e5b8a295788dcae8f5cc038de92cd97b6807 Mon Sep 17 00:00:00 2001 From: Simon Horman <[email protected]> Date: Wed, 30 Mar 2011 08:34:39 +0900 Subject: build: Pass --no-undefined as a linker option Git-commit: 8880e5b8a295788dcae8f5cc038de92cd97b6807 Patch-mainline: yes gcc-4.6 does not accept --no-undefined as a compiler option Reported-by: Civil <[email protected]> Acked-by: "Eric W. Biederman" <[email protected]> Signed-off-by: Simon Horman <[email protected]> Signed-off-by: Jiri Slaby <[email protected]> --- purgatory/Makefile | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/purgatory/Makefile b/purgatory/Makefile index ea0c19a..ee1679c 100644 --- a/purgatory/Makefile +++ b/purgatory/Makefile @@ -56,8 +56,8 @@ $(PURGATORY): CPPFLAGS=$($(ARCH)_PURGATORY_EXTRA_CFLAGS) \ -I$(srcdir)/include \ -I$(shell $(CC) -print-file-name=include) $(PURGATORY): LDFLAGS=$($(ARCH)_PURGATORY_EXTRA_CFLAGS)\ - --no-undefined -nostartfiles -nostdlib -nodefaultlibs \ - -e purgatory_start -r + -Wl,--no-undefined -nostartfiles -nostdlib \ + -nodefaultlibs -e purgatory_start -r $(PURGATORY): $(PURGATORY_OBJS) $(MKDIR) -p $(@D) -- 1.7.4.2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
