[Crash-utility] [PATCH] Fix build on non-Xen architectures

Dave Anderson anderson at redhat.com
Tue Oct 14 14:00:39 UTC 2008


----- "Bernhard Walle" <bwalle at suse.de> wrote:

> This patch fixes the following build error on s390/s390x and ppc64.
> 
>  gcc -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2
> -fstack-protector \
>          -g -fno-builtin-memset -fno-strict-aliasing
> -fno-builtin-memset \
>          -o `cat mergeobj` libgdb.a ../bfd/libbfd.a
> ../readline/libreadline.a \
>         ../opcodes/libopcodes.a  ../libiberty/libiberty.a \
>         -lm -lncurses  ../libiberty/libiberty.a  -ldl -rdynamic `cat
> mergelibs`
>  ../../crashlib.a(kernel.o): In function `back_trace':
>  /usr/src/packages/BUILD/crash-4.0-7.3/kernel.c:2095: undefined
> reference to
> 
> 
> Signed-off-by: Bernhard Walle <bwalle at suse.de>

Thanks Bernhard -- the package has been updated to 4.0-7.4:

4.0-7.4  - Fix for a build regression for non-xen architectures introduced in 
           version 4.0-7.3.  The ppc64, s390 and s390x architectures fail to
           compile due to an undefined reference to "xen_hyper_print_bt_header".  
           (bwalle at suse.de)






More information about the Crash-utility mailing list