On 10/2/2018 3:14 AM, Karel Zak wrote:
On Sun, Sep 30, 2018 at 04:33:14PM -0700, L A Walsh wrote:
On 9/25/2018 3:47 AM, Karel Zak wrote:
The commands mount and umount
---
I note that umount has a static option umount.static, but I don't see
the same for mount (i.e. mount.static).
$ ./configure --enable-static-programs=mount,umount
$ make mount.static umount.static
works for me:
so I see... Except I got:
CC sys-utils/mount_static-mount.o
CCLD mount.static
libtool: warning: complete static linking is impossible in this
configuration
/usr/bin/ld: total time in link: 0.038189
CC sys-utils/umount_static-umount.o
CCLD umount.static
libtool: warning: complete static linking is impossible in this
configuration
/usr/bin/ld: total time in link: 0.039017
with ldd:
Ishtar:tools/util-linux/util-linux-2.33-rc1> ldd mount.static
linux-vdso.so.1 (0x00007ffc38d78000)
librt.so.1 => /lib64/librt.so.1 (0x0000003001c00000)
libc.so.6 => /lib64/libc.so.6 (0x0000003000800000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003000c00000)
/lib64/ld-linux-x86-64.so.2 (0x00007f81b9262000)
It seems something about my config (or Suse's config) is creating a problem
for static linking. I should probably ask on the Suse list
to see if anyone as run into this or solved it, though if you
have any ideas or known probs, great!