bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13633: mips64el: Testsuite fails


From: Nikita Karetnikov
Subject: bug#13633: mips64el: Testsuite fails
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=compile gcc -DPACKAGE_NAME=\"demo\" 
-DPACKAGE_TARNAME=\"demo\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"demo\ 
1.0\" -DPACKAGE_BUGREPORT=\"address@hidden" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"demo\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
-DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I.  -I./../..   -g -O2 -c -o hello.lo 
hello.c
libtool: compile:  gcc -DPACKAGE_NAME=\"demo\" -DPACKAGE_TARNAME=\"demo\" 
-DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"demo 1.0\"" 
-DPACKAGE_BUGREPORT=\"address@hidden" -DPACKAGE_URL=\"\" -DPACKAGE=\"demo\" 
-DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DLT_OBJDIR=\".libs/\" -I. -I./../.. -g -O2 -c hello.c -o .libs/hello.o
libtool: compile:  gcc -DPACKAGE_NAME=\"demo\" -DPACKAGE_TARNAME=\"demo\" 
-DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"demo 1.0\"" 
-DPACKAGE_BUGREPORT=\"address@hidden" -DPACKAGE_URL=\"\" -DPACKAGE=\"demo\" 
-DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DLT_OBJDIR=\".libs/\" -I. -I./../.. -g -O2 -c hello.c -o hello.o >/dev/null 
2>&1
/nix/store/xnd5ihy6cvjqj79dx4gzicj21yxqxhrq-bash-4.2/bin/bash ./libtool 
--tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"demo\" 
-DPACKAGE_TARNAME=\"demo\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"demo\ 
1.0\" -DPACKAGE_BUGREPORT=\"address@hidden" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"demo\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
-DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I.  -I./../..   -g -O2 -c -o foo.lo 
foo.c
libtool: compile:  gcc -DPACKAGE_NAME=\"demo\" -DPACKAGE_TARNAME=\"demo\" 
-DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"demo 1.0\"" 
-DPACKAGE_BUGREPORT=\"address@hidden" -DPACKAGE_URL=\"\" -DPACKAGE=\"demo\" 
-DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DLT_OBJDIR=\".libs/\" -I. -I./../.. -g -O2 -c foo.c -o .libs/foo.o
libtool: compile:  gcc -DPACKAGE_NAME=\"demo\" -DPACKAGE_TARNAME=\"demo\" 
-DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"demo 1.0\"" 
-DPACKAGE_BUGREPORT=\"address@hidden" -DPACKAGE_URL=\"\" -DPACKAGE=\"demo\" 
-DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DLT_OBJDIR=\".libs/\" -I. -I./../.. -g -O2 -c foo.c -o foo.o >/dev/null 2>&1
/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
----------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]