Package: oprofile
Version: 0.9.3-1.1
Followup-For: Bug #450607

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


The patch below replaces the remaining instances of -lbfd that may end up on
the linker command line for oprof_start. Of course, configure etc. need to
be regenerated from the patched files.


diff -up -ru oprofile-0.9.3-1.1.orig/oprofile-0.9.3/m4/binutils.m4 
oprofile-0.9.3-1.1/oprofile-0.9.3/m4/binutils.m4
- --- oprofile-0.9.3-1.1.orig/oprofile-0.9.3/m4/binutils.m4     2007-07-16 
20:22:17.000000000 +0200
+++ oprofile-0.9.3-1.1/oprofile-0.9.3/m4/binutils.m4    2008-01-18 
09:09:07.000000000 +0100
@@ -8,7 +8,7 @@ AC_CHECK_FUNCS(xcalloc)
 AC_CHECK_FUNCS(xmemdup)
 AC_CHECK_LIB(dl, dlopen, LIBS="$LIBS -ldl"; DL_LIB="-ldl", DL_LIB="")
 AC_CHECK_LIB(intl, main, LIBS="$LIBS -lintl"; INTL_LIB="-lintl", INTL_LIB="")
- -AC_CHECK_LIB(bfd, bfd_openr,, AC_MSG_ERROR([bfd library not found]))
+AC_CHECK_LIB(bfd, bfd_openr, LIBS="$LIBS /usr/lib/libbfd.a", AC_MSG_ERROR([bfd 
library not found]))
 
 # Determine if bfd_get_synthetic_symtab macro is available
 OS="`uname`"
diff -up -ru oprofile-0.9.3-1.1.orig/oprofile-0.9.3/m4/cellspubfdsupport.m4 
oprofile-0.9.3-1.1/oprofile-0.9.3/m4/cellspubfdsupport.m4
- --- oprofile-0.9.3-1.1.orig/oprofile-0.9.3/m4/cellspubfdsupport.m4    
2007-07-16 20:22:17.000000000 +0200
+++ oprofile-0.9.3-1.1/oprofile-0.9.3/m4/cellspubfdsupport.m4   2008-01-18 
08:46:20.000000000 +0100
@@ -12,7 +12,7 @@ AC_DEFUN([AX_CELL_SPU],
 
 AC_LANG_PUSH(C)
 SAVE_LIBS=$LIBS
- -LIBS=" -lbfd -liberty "
+LIBS=" /usr/lib/libbfd.a -liberty "
 
 AC_CHECK_LIB(bfd, bfd_openr_iovec,
        [bfd_openr_iovec_exists="yes"],



- -- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (102, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.24-rc8
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages oprofile depends on:
ii  cdebconf [debconf-2.0]  0.126            Debian Configuration Management Sy
ii  debconf [debconf-2.0]   1.5.18           Debian configuration management sy
ii  libc6                   2.7-6            GNU C Library: Shared libraries
ii  libgcc1                 1:4.3-20080116-1 GCC support library
ii  libpopt0                1.10-3           lib for parsing cmdline parameters
ii  libstdc++6              4.3-20080116-1   The GNU Standard C++ Library v3

oprofile recommends no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHkNYgWoGvjmrbsgARAjomAJ4nuxDmOStFCgeyvYRaXVCB38GGvwCdGfWn
THctg2OMIAVIzIaKerUZ0CE=
=ieQy
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to