Mailinglist Archive: opensuse-bugs (4216 mails)

< Previous Next >
[Bug 742846] filesystems/autofs: Bug, undefined symbol: getnetconfig

Leonardo Chiquitto <lchiquitto@xxxxxxxx> changed:

What |Removed |Added
CC| |dmueller@xxxxxxxx
InfoProvider| |dmueller@xxxxxxxx

--- Comment #5 from Leonardo Chiquitto <lchiquitto@xxxxxxxx> 2012-01-24
20:36:53 UTC ---
Indeed, I can reproduce the issue here.

The problem seems to be caused by the linker option "--as-needed". It insists
in marking libtirpc as not needed in the automount binary. I'm just guessing
here, but maybe this is because glibc provides the same symbols as libtirpc, so
the latter always appears as not used.

As we're compiling with --with-libtirpc, all the headers are taken from
libtirpc. IIUC, in the end, we're using libtirpc's headers and glibc's
functions. If I disable "--as-needed", everything works as expected and the
link against libtirpc is kept in the automount binary.

Dirk, do you know if it's possible to fix the build and keep "--as-needed" in
cases like this or should I just keep it disabled?

Richard, I've disabled "--as-needed" temporarily in the filesystems repository,
just to bring it back to a working state. The fixed package should appear there
in the next couple of hours.

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >