libtool
[Top][All Lists]
Advanced

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

disable nopic on x86_64 and s390* (was: Re: GNU Libtool 1.5.8 released.)


From: Daniel Reed
Subject: disable nopic on x86_64 and s390* (was: Re: GNU Libtool 1.5.8 released.)
Date: Wed, 11 Aug 2004 21:25:12 -0400 (EDT)

On 2004-08-12T09:00+0900, Peter O'Gorman wrote:
) Daniel Reed wrote:
) > On 2004-08-11T10:06+0900, Peter O'Gorman wrote:
) > ) Daniel Reed wrote:
) > ) >   >   libtool-1.4.2-demo.patch (on x86_64 s390 s390x)
) > ) >   Yes, this is just to disable several nopic tests: afaicr nopic is
) > ) >   meaningless on those archs bicbw... ie a patch should really go 
upstream
) > ) >   to skip those tests on those archs I guess.
) > ) Well, if you can be bothered to make a real patch, we might look at it. A
) > ) patch that simply removes tests from the Makefile.am is not a good 
thing[tm] :).
) > tests/demo-nopic.test already skips itself if `config.guess` begins with
) > "hppa"; should I just extend that check to skip x86_64 and s390?

With this patch, libtool's make check passes on an x86_64 test machine.

Without it, the demo-make after demo-nopic generates a failure:
 ...
| gcc -shared  .libs/hello.o .libs/foo.o  -lm  -Wl,-soname -Wl,libhello.so.2 -o 
.libs/libhello.so.2.1.12
| /usr/bin/ld: .libs/hello.o: relocation R_X86_64_32 can not be used when 
making a shared object; recompile with -fPIC
| .libs/hello.o: could not read symbols: Bad value
| collect2: ld returned 1 exit status
| make[3]: *** [libhello.la] Error 1
| make[3]: Leaving directory `/tmp/libtool-1.5.8/demo'
| FAIL: demo-make.test

-- 
Daniel Reed <address@hidden>    http://people.redhat.com/djr/   
http://naim.n.ml.org/
"A professor is one who talks in someone else's sleep."

Attachment: libtool-1.5.8-x86_64_s390_nonopic.patch
Description: libtool-1.5.8-x86_64_s390_nonopic.patch


reply via email to

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