Fix T15729 in master
authorZejun Wu <watashi@fb.com>
Wed, 17 Oct 2018 19:07:07 +0000 (15:07 -0400)
committerBen Gamari <ben@smart-cactus.org>
Wed, 17 Oct 2018 19:07:23 +0000 (15:07 -0400)
commit46f2906d1c6e1fb732a90882487479a2ebf19ca1
tree19c380c23974204827162df23a96bb15b1f85a9c
parent17b60f18202c9ddeb881a0654e91967506f093f4
Fix T15729 in master

Summary:
It failed when running ./validate on master
T15729 is added by me in D5219 recently,
it failed when GHCi is dynamicly linked:

```
Stderr ( T15729 ):
/bin/ld.gold: error: bss.o: requires unsupported dynamic reloc 11;
recompile with -fPIC
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)
```

Test Plan: Both tests pass now.

Reviewers: simonmar, bgamari

Reviewed By: bgamari

Subscribers: rwbarton, carter

Differential Revision: https://phabricator.haskell.org/D5235
testsuite/tests/ghci/linking/Makefile