Control: tags -1 patch On Mon, Nov 06, 2017 at 08:59:37PM +0100, Steinar H. Gunderson wrote: > On Mon, Nov 06, 2017 at 08:51:27PM +0100, Sebastian Ramacher wrote: > > | /usr/bin/ld: httpd.o: undefined reference to symbol > > '__atomic_fetch_sub_8@@LIBATOMIC_1.0' > > | //usr/lib/arm-linux-gnueabi/libatomic.so.1: error adding symbols: DSO > > missing from command line > > FWIW, last time I asked about this, it was a toolchain bug on armel > (std::atomic doesn't work). Is there any other information I should know > about?
It is not true that std::atomic doesn't work on armel, and that's not what the error message is about. The following patch fixes the FTBFS on armel and the other architectures where nageru currently FTBFS: --- debian/rules.old 2017-11-07 09:43:20.849529546 +0000 +++ debian/rules 2017-11-07 09:43:20.849529546 +0000 @@ -1,5 +1,8 @@ #!/usr/bin/make -f +# see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81358 +export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -latomic + export QT_SELECT=5 %: cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed