libgcrypt-1.4.4 fails to link with the gold linker. The following error is reported: /usr/libexec/gcc/i686-pc-linux-gnu/ld: register.o: in function check_run:register.c(.text+0x28c): error: undefined reference to 'gpg_strerror' /usr/libexec/gcc/i686-pc-linux-gnu/ld: register.o: in function check_run:register.c(.text+0x424): error: undefined reference to 'gpg_strerror' /usr/libexec/gcc/i686-pc-linux-gnu/ld: register.o: in function check_run:register.c(.text+0x444): error: undefined reference to 'gpg_strerror' This is because -lgpg-error is not explicitly passed to the linker. Reproducible: Always Steps to Reproduce: 1. USE=gold emerge binutils 2. emerge =libgcrypt-1.4.4
Created attachment 250373 [details, diff] Patch to allow the package to be linked with gold.
1.4.4 is no longer in the tree. Is the problem still present in 1.4.6?
Works fine with gold now.