From b6b895825de4bd7a5803721afc16787e80a5966a Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Wed, 23 May 2007 20:29:51 +0000 Subject: [PATCH] Clifford Wolf: Updated oprofile (0.9.2) [2007051619333825257] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@8450 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- .../bfd_get_synthetic_symtab-hack.patch | 23 +++++++++++++++++++ package/base/oprofile/oprofile.desc | 4 ++-- 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 package/base/oprofile/bfd_get_synthetic_symtab-hack.patch diff --git a/package/base/oprofile/bfd_get_synthetic_symtab-hack.patch b/package/base/oprofile/bfd_get_synthetic_symtab-hack.patch new file mode 100644 index 000000000..34813bc28 --- /dev/null +++ b/package/base/oprofile/bfd_get_synthetic_symtab-hack.patch @@ -0,0 +1,23 @@ + +Taken from: +http://www.bitshrine.org/gpp/oprofile-0.9.2-bfd_get_synthetic_symtab-hack.patch + +diff --exclude CVS -uNr oprofile-0.9.2/configure oprofile-0.9.2.modified/configure +--- oprofile-0.9.2/configure 2006-09-15 19:32:06.000000000 +0100 ++++ oprofile-0.9.2.modified/configure 2007-01-08 15:38:39.000000000 +0000 +@@ -5613,6 +5613,15 @@ + + _ACEOF + $CC conftest.$ac_ext $LIBS -o test-for-synth > /dev/null 2>&1 ++# Hack to force SYNTHESIZE_SYMBOLS to 0. - stevep ++# This is to prevent the following build errors on the imx31 when using ++# binutils > 2.15: ++# undefined reference to `bfd_elf64_powerpc_vec' ++# undefined reference to `bfd_elf64_powerpcle_vec' ++# ++# Not sure that this is the correct fix, need some more investigation!! ++rm -f test-for-synth ++ + if test -f test-for-synth; then + echo "yes" + SYNTHESIZE_SYMBOLS='1' diff --git a/package/base/oprofile/oprofile.desc b/package/base/oprofile/oprofile.desc index f58a23dd4..5f568189e 100644 --- a/package/base/oprofile/oprofile.desc +++ b/package/base/oprofile/oprofile.desc @@ -42,8 +42,8 @@ [L] GPL [S] Stable -[V] 0.8.1 +[V] 0.9.2 [P] X -?---5---9 145.400 -[D] 3487496302 oprofile-0.8.1.tar.gz http://dl.sourceforge.net/sourceforge/oprofile/ +[D] 1871770258 oprofile-0.9.2.tar.gz http://dl.sourceforge.net/sourceforge/oprofile/