uclibc-0058-test-tls-fix-build-with-newer-binutils.patch 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. From 931e8391565323ed2e589c83b83a7345813a5514 Mon Sep 17 00:00:00 2001
  2. From: Baruch Siach <baruch@tkos.co.il>
  3. Date: Wed, 02 Oct 2013 07:08:29 +0000
  4. Subject: test: tls: fix build with newer binutils
  5. Fix the following build failures:
  6. ld: tst-tls10.o: undefined reference to symbol 'f2a'
  7. ld: tst-tls12.o: undefined reference to symbol 'a1'
  8. binutils ld defaults to --no-copy-dt-needed-entries since version 2.22. Add
  9. library dependencies explicitly.
  10. Signed-off-by: Baruch Siach <baruch@tkos.co.il>
  11. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
  12. ---
  13. (limited to 'test')
  14. diff --git a/test/tls/Makefile.in b/test/tls/Makefile.in
  15. index 875c607..7ab4e2a 100644
  16. --- a/test/tls/Makefile.in
  17. +++ b/test/tls/Makefile.in
  18. @@ -102,9 +102,9 @@ LDFLAGS_tst-tls6 := -ldl
  19. LDFLAGS_tst-tls7 := -ldl
  20. LDFLAGS_tst-tls8 := -ldl
  21. LDFLAGS_tst-tls9 := -ldl
  22. -LDFLAGS_tst-tls10 := -Wl,-rpath-link=. tst-tlsmod8.so
  23. -LDFLAGS_tst-tls11 := -Wl,-rpath-link=. tst-tlsmod10.so
  24. -LDFLAGS_tst-tls12 := -Wl,-rpath-link=. tst-tlsmod12.so
  25. +LDFLAGS_tst-tls10 := -Wl,-rpath-link=. tst-tlsmod8.so tst-tlsmod7.so
  26. +LDFLAGS_tst-tls11 := -Wl,-rpath-link=. tst-tlsmod9.so tst-tlsmod10.so
  27. +LDFLAGS_tst-tls12 := -Wl,-rpath-link=. tst-tlsmod11.so tst-tlsmod12.so
  28. LDFLAGS_tst-tls13 := -ldl -Wl,-rpath-link=.
  29. LDFLAGS_tst-tls14 := -ldl -Wl,-rpath-link=. tst-tlsmod14a.so
  30. LDFLAGS_tst-tls15 := -ldl -Wl,-rpath-link=.
  31. --
  32. cgit v0.9.1