Your error is related to a piece of the kernel used for Network File System.
The linker is trying to resolve a symbol called dns_query, which is probably provided by a kernel option you have not selected.

You can grep the entire kernel for dns_query and when you find where its defined, turn on that option, or if you do not need NFS, you can turn off NFS support in the kernel._________________Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.

It was a bug, I would like to see the config to reproduce it and have this filed at https://bugs.gentoo.org such that I can keep track of it and look into it; but well, the config is likely gone now...

As far as I see, this forum topic itself is the only occurence of it on the internet.

Do you mean you removed your custom .config ? :?
Out of curiosity, how had you made it ?

Code:

but well, the config is likely gone now... :(

No, I keep it. I did a "mv .config .config-bad" before "make mrproper". If I have enough time, I will submit a bug to Gentoo._________________Linux Proud User: HP Pavilion 15-an002ns laptop (amd64), Raspberry Pi 2 (armv7), Mac Mini mod.2009 (arm64)