New binutils 2.22 causing havoc on many AUR packages

view full story

https://bbs.archlinux.org – Many posts around here showing that this is a common problem. ld has changed behaviour and has broken some packages that don't explicitly link to libraries.My example: Minutorgcc -Wl,--as-needed -o minutor minutor.o mapviewer.o colorschemes.o `pkg-config --libs gtk+-2.0` MinutorMap/MinutorMap.a /usr/bin/ld: MinutorMap/MinutorMap.a(nbt.o): undefined reference to symbol 'gzopen' /usr/bin/ld: note: 'gzopen' is defined in DSO /usr/lib/libz.so.1 so try adding it to the linker command line /usr/lib/libz.so.1: could not read symbols: Invalid operation collect2: ld returned 1 (HowTos)