emerge warns, that the kernels >=4.14 aren’t supported, but the driver builds and works with gentoo-sources-4.17.0.
Thank you for the report. Please recompile and *attach* the logfiles and paste the emerge info as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket Please reopen this ticket (Status:unconfirmed) afterwards.
Created attachment 535996 [details] build.log nvidia-drivers-390.59 on 4.17 kernel build log
Created attachment 535998 [details] emerge --info for nvidia-drivers-390.59