[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl5-porters
Subject:    -lbind on SuSE9.1
From:       Nick Ing-Simmons <nick () ing-simmons ! net>
Date:       2004-08-29 18:00:52
Message-ID: 20040829180052.17828.1 () llama ! ing-simmons ! net
[Download RAW message or body]


I have "done" something to my SuSE system - possibly online update
or installing some new package.

Now when I ./Configure I get offered -lbind 
but when Configure trys to compile try.c it gets a FPE.

I can reduce this to:
/usr/bin/cc -o Try Try.c -lbind
nick@llama:/home/p4work/perl/devperl> ./Try
Floating point exception (core dumped)

gdb shows this to happen before I reach main().

nick@llama:/home/p4work/perl/devperl> ldd Try
        linux-gate.so.1 =>  (0xffffe000)
        libbind.so.2 => /usr/lib/libbind.so.2 (0x40030000)
        libc.so.6 => /lib/tls/libc.so.6 (0x40076000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x4018b000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x401a1000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

nick@llama:/home/p4work/perl/devperl> rpm -q --whatprovides /usr/lib/libbind.so.2
bind-utils-9.2.3-76

nick@llama:/home/p4work/perl/devperl> ldd /usr/lib/libbind.so.2
        linux-gate.so.1 =>  (0xffffe000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x4005f000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40074000)
        libc.so.6 => /lib/tls/libc.so.6 (0x40084000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

That /lib/tls seems to be the problem?

If I manually remove -lbind then perl builds and passes all tests.
Has anyone else seen this or any clue as to what is happening?
Seems like a hints patch is needed but what should condition be?



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic