On 09/25/2012 01:54 PM, Игорь Пашев wrote:
> So:
> 
> # ldd /usr/bin/m4
>       linux-vdso.so.1 =>  (0x00007fff3fdff000)
>       libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fd42a210000)
>       /lib64/ld-linux-x86-64.so.2 (0x00007fd42a5bc000)

Your point?  libsigsegv is typically linked statically, even though it
is also possible to set things up to link dynamically.

The real test is whether you get nice stack overflow detection:

$ echo 'changequote([,])define(a,[a(a])a' | m4
m4: stack overflow

which is only possible if m4 linked against libsigsegv (whether
statically or dynamically).

-- 
Eric Blake   ebl...@redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to