OSDN Git Service

test: tls: fix build with newer binutils
authorBaruch Siach <baruch@tkos.co.il>
Wed, 2 Oct 2013 07:08:29 +0000 (10:08 +0300)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 6 Nov 2013 21:22:00 +0000 (22:22 +0100)
Fix the following build failures:

ld: tst-tls10.o: undefined reference to symbol 'f2a'
ld: tst-tls12.o: undefined reference to symbol 'a1'

binutils ld defaults to --no-copy-dt-needed-entries since version 2.22. Add
library dependencies explicitly.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
test/tls/Makefile.in

index 875c607..7ab4e2a 100644 (file)
@@ -102,9 +102,9 @@ LDFLAGS_tst-tls6 := -ldl
 LDFLAGS_tst-tls7 := -ldl
 LDFLAGS_tst-tls8 := -ldl
 LDFLAGS_tst-tls9 := -ldl
-LDFLAGS_tst-tls10 := -Wl,-rpath-link=. tst-tlsmod8.so
-LDFLAGS_tst-tls11 := -Wl,-rpath-link=. tst-tlsmod10.so
-LDFLAGS_tst-tls12 := -Wl,-rpath-link=. tst-tlsmod12.so
+LDFLAGS_tst-tls10 := -Wl,-rpath-link=. tst-tlsmod8.so tst-tlsmod7.so
+LDFLAGS_tst-tls11 := -Wl,-rpath-link=. tst-tlsmod9.so tst-tlsmod10.so
+LDFLAGS_tst-tls12 := -Wl,-rpath-link=. tst-tlsmod11.so tst-tlsmod12.so
 LDFLAGS_tst-tls13 := -ldl -Wl,-rpath-link=.
 LDFLAGS_tst-tls14 := -ldl -Wl,-rpath-link=. tst-tlsmod14a.so
 LDFLAGS_tst-tls15 := -ldl -Wl,-rpath-link=.