[solved] Unable to update: compiler configuration issue

Hello everybody,
usual update turns in to a quest for the issue on sys-apps/kmod, which refuse to build due to configuration issue.
The last error I can see is

configure: error: C compiler cannot create executables

I try to manually emerge other C ebuild, like nginx and I got the same error.

I’ve also examined the make.conf/default but I can’t find any typos.

Thanks for advices and recommendations!

I’ve fixed the problem!
After the recent gcc or binutils update, all the symbolic links in the /usr/x86_64-pc-linux-gnu/bin were invalid!

In my case the solution was to recreate correct files to these links:

# ls -ls /usr/x86_64-pc-linux-gnu/bin
total 0
0 lrwxrwxrwx 1 root root 52 Sep 18 15:03 addr2line -> /usr/x86_64-pc-linux-gnu/binutils-bin/2.38/addr2line
0 lrwxrwxrwx 1 root root 45 Sep 18 15:04 ar -> /usr/x86_64-pc-linux-gnu/binutils-bin/2.38/ar
0 lrwxrwxrwx 1 root root 45 Sep 18 15:04 as -> /usr/x86_64-pc-linux-gnu/binutils-bin/2.38/as
0 lrwxrwxrwx 1 root root 50 Sep 18 15:07 c++filt -> /usr/x86_64-pc-linux-gnu/binutils-bin/2.38/c++filt
0 lrwxrwxrwx 1 root root 46 Sep 18 15:07 dwp -> /usr/x86_64-pc-linux-gnu/binutils-bin/2.38/dwp
0 lrwxrwxrwx 1 root root 50 Sep 18 15:07 elfedit -> /usr/x86_64-pc-linux-gnu/binutils-bin/2.38/elfedit
0 lrwxrwxrwx 1 root root 48 Sep 18 15:04 gprof -> /usr/x86_64-pc-linux-gnu/binutils-bin/2.38/gprof
0 lrwxrwxrwx 1 root root 45 Sep 18 15:04 ld -> /usr/x86_64-pc-linux-gnu/binutils-bin/2.38/ld
0 lrwxrwxrwx 1 root root 49 Sep 18 15:04 ld.bfd -> /usr/x86_64-pc-linux-gnu/binutils-bin/2.38/ld.bfd
0 lrwxrwxrwx 1 root root 50 Sep 18 15:04 ld.gold -> /usr/x86_64-pc-linux-gnu/binutils-bin/2.38/ld.gold
0 lrwxrwxrwx 1 root root 45 Sep 18 15:05 nm -> /usr/x86_64-pc-linux-gnu/binutils-bin/2.38/nm
0 lrwxrwxrwx 1 root root 50 Sep 18 15:05 objcopy -> /usr/x86_64-pc-linux-gnu/binutils-bin/2.38/objcopy
0 lrwxrwxrwx 1 root root 50 Sep 18 15:05 objdump -> /usr/x86_64-pc-linux-gnu/binutils-bin/2.38/objdump
0 lrwxrwxrwx 1 root root 49 Sep 18 15:05 ranlib -> /usr/x86_64-pc-linux-gnu/binutils-bin/2.38/ranlib
0 lrwxrwxrwx 1 root root 50 Sep 18 15:05 readelf -> /usr/x86_64-pc-linux-gnu/binutils-bin/2.38/readelf
0 lrwxrwxrwx 1 root root 47 Sep 18 15:05 size -> /usr/x86_64-pc-linux-gnu/binutils-bin/2.38/size
0 lrwxrwxrwx 1 root root 50 Sep 18 15:05 strings -> /usr/x86_64-pc-linux-gnu/binutils-bin/2.38/strings
0 lrwxrwxrwx 1 root root 48 Sep 18 15:05 strip -> /usr/x86_64-pc-linux-gnu/binutils-bin/2.38/strip

If you are aware of the root of this problem please comment!