Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 770166 - net-misc/networkmanager-1.28.0-r1 NetworkManager-all-sym: no symbols during emerge
Summary: net-misc/networkmanager-1.28.0-r1 NetworkManager-all-sym: no symbols during e...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-12 07:38 UTC by Rafal Kupiec
Modified: 2021-02-12 08:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafal Kupiec 2021-02-12 07:38:25 UTC
During system update it is impossible to update network manager due to linker error.

Reproducible: Always

Steps to Reproduce:
1. emerge =net-misc/networkmanager-1.28.0-r1
Actual Results:  
libtool: link: x86_64-pc-linux-gnu-gcc-ranlib src/.libs/libNetworkManager.a
libtool: link: rm -fr src/.libs/libNetworkManager.lax
libtool: link: ( cd "src/.libs" && rm -f "libNetworkManager.la" && ln -s "../libNetworkManager.la" "libNetworkManager.la" )
libtool: link: x86_64-pc-linux-gnu-gcc -fno-strict-aliasing -fdata-sections -ffunction-sections -Wl,--gc-sections -march=znver2 -mtune=znver2 -O2 -s -pipe -fomit-frame-pointer -rdynamic -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--hash-style=both -Wl,--as-needed -o src/NetworkManager-all-sym src/NetworkManager_all_sym-main.o -Wl,--export-dynamic -pthread  src/.libs/libNetworkManager.a -luuid -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -ludev -lelogind -lndp -lpsl -lcurl -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -ldl -pthread
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/nm: ./src/NetworkManager-all-sym: no symbols
make[2]: *** [Makefile:20279: src/NetworkManager.ver] Error 1
make[1]: *** [Makefile:17623: all-recursive] Error 1
make: *** [Makefile:8031: all] Error 2


Expected Results:  
Buil successful.

[ebuild     U  ] net-misc/networkmanager-1.28.0-r1::gentoo [1.26.6::gentoo] USE="elogind introspection modemmanager ncurses nss policykit ppp -audit -bluetooth -connection-sharing -dhclient -dhcpcd -gnutls -iwd -ofono -ovs -resolvconf (-selinux) -systemd -teamd -test -vala -wext -wifi (-json%)" ABI_X86="32 (64) (-x32)" 0 KiB
Comment 1 Ionen Wolkens gentoo-dev 2021-02-12 08:12:28 UTC
Do you have -s in C(XX)FLAGS?

If so, you shouldn't do that, please try without. Portage will take care of stripping installed files already.

If not that, please provide emerge --info's output and attach full build.log.