mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
835 B

  1. Taken from:
  2. http://www.bitshrine.org/gpp/oprofile-0.9.2-bfd_get_synthetic_symtab-hack.patch
  3. diff --exclude CVS -uNr oprofile-0.9.2/configure oprofile-0.9.2.modified/configure
  4. --- oprofile-0.9.2/configure 2006-09-15 19:32:06.000000000 +0100
  5. +++ oprofile-0.9.2.modified/configure 2007-01-08 15:38:39.000000000 +0000
  6. @@ -5613,6 +5613,15 @@
  7. _ACEOF
  8. $CC conftest.$ac_ext $LIBS -o test-for-synth > /dev/null 2>&1
  9. +# Hack to force SYNTHESIZE_SYMBOLS to 0. - stevep
  10. +# This is to prevent the following build errors on the imx31 when using
  11. +# binutils > 2.15:
  12. +# undefined reference to `bfd_elf64_powerpc_vec'
  13. +# undefined reference to `bfd_elf64_powerpcle_vec'
  14. +#
  15. +# Not sure that this is the correct fix, need some more investigation!!
  16. +rm -f test-for-synth
  17. +
  18. if test -f test-for-synth; then
  19. echo "yes"
  20. SYNTHESIZE_SYMBOLS='1'