Skip to content

2.40.1 - ld.lld: error: version script assignment of 'UUID_2.40' to symbol 'uuid_time64' failed: symbol not defined #3036

@nvinson

Description

@nvinson

Originally reported downstream in Gentoo at Gentoo bug 931328

ld.lld: error: version script assignment of 'UUID_2.40' to symbol 'uuid_time64' failed: symbol not defined
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [Makefile:8264: libuuid.la] Error 1
make[2]: *** Waiting for unfinished jobs....

Configure args:

/var/tmp/portage/sys-apps/util-linux-2.40.1/work/util-linux-2.40.1/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/util-linux-2.40.1 --htmldir=/usr/share/doc/util-linux-2.40.1/html --with-sysroot=/ --libdir=/usr/lib64 --localstatedir=/var --runstatedir=/run --enable-fs-paths-extra=/usr/sbin:/bin:/usr/bin --with-bashcompletiondir=/usr/share/bash-completion/completions --without-python --enable-makeinstall-chown --enable-makeinstall-setuid --with-readline --without-slang --without-libmagic --with-ncursesw --without-ncurses --without-audit --enable-nls --enable-poman --enable-widechar --enable-static --with-tinfo --without-selinux --without-econf --disable-liblastlog2 --disable-pam-lastlog2 --without-systemd --with-udev --disable-chfn-chsh --disable-login --disable-newgrp --disable-nologin --disable-pylibmount --disable-raw --disable-vipw --enable-agetty --enable-bash-completion --enable-line --enable-partx --enable-rename --enable-rfkill --enable-schedutils --with-systemdsystemunitdir=/lib/systemd/system --with-tmpfilesdir=/usr/lib/tmpfiles.d --disable-setpriv --enable-cramfs --disable-fdformat --enable-hardlink --disable-kill --enable-logger --enable-pg --enable-su --disable-mesg --disable-wall --disable-write --without-cryptsetup --disable-asciidoc

Full log (xz compressed): https://bugs.gentoo.org/attachment.cgi?id=892417.

Starting with version 17, ld.lld's default behavior is to reject version scripts that reference undefined symbols. A work-around is to add the -Wl,--undefined-version linker flag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions