Subject: mips64el: Testsuite fails

From: Nikita Karetnikov <[email-masked]>
Date: Tue, 05 Feb 2013 17:27:21 -0500

'demo-nopic-make.test' fails.  Ludo (CC'd) noticed that '.libs/foo.o' is
not built with '-fPIC'.

=========================================
   GNU Libtool 2.4.2: ./test-suite.log   
=========================================

1 of 103 tests failed.  (2 tests were not run).  

.. contents:: :depth: 2

SKIP: tests/tagtrace.test (exit: 77)
====================================

tagtrace.test: ===  Running tagtrace.test
tagtrace.test: This test requires GNU Autoconf

FAIL: tests/demo-nopic-make.test (exit: 2)
==========================================

demo-nopic-make.test: ===  Running demo-nopic-make.test
demo-nopic-make.test: ===  Running demo-nopic-make.test
demo-nopic-make.test: ===  Running `make ' in demo
/nix/store/xnd5ihy6cvjqj79dx4gzicj21yxqxhrq-bash-4.2/bin/bash ./libtool --tag=CC   --mode=link gcc  -g -O2 -no-undefined -version-info 3:12:1  -o libhello.la -rpath /usr/local/lib hello.lo foo.lo -lm -ldl 
libtool: link: gcc -shared  -fPIC -DPIC  .libs/hello.o .libs/foo.o   -lm -ldl  -O2   -Wl,-soname -Wl,libhello.so.2 -o .libs/libhello.so.2.1.12
ld: .libs/hello.o: relocation R_MIPS_HI16 against `__gnu_local_gp' can not be used when making a shared object; recompile with -fPIC
.libs/hello.o: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make: *** [libhello.la] Error 1

SKIP: tests/demo-nopic-exec.test (exit: 77)
===========================================

demo-nopic-exec.test: ===  Running demo-nopic-exec.test
demo-nopic-exec.test: ===  Running demo-nopic-exec.test
demo-nopic-exec.test: You must run demo-make.test before running ./tests/demo-nopic-exec.test
----------