Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 17 years ago
parent
commit
b6b895825d
2 changed files with 25 additions and 2 deletions
  1. +23
    -0
      package/base/oprofile/bfd_get_synthetic_symtab-hack.patch
  2. +2
    -2
      package/base/oprofile/oprofile.desc

+ 23
- 0
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'

+ 2
- 2
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/

Loading…
Cancel
Save