Ok, so I compiled syslinux with the -custom-cflags, and i copied the files from /usr/share/syslinux/efi64 that I needed, but when i go to boot the new syslinux.efi it doesn't work, i dont get any error messages i just get a blinking curser for a few seconds then UEFI attempts the next device. Reproducible: Always
What version of syslinux?
Oh sorry 6.03 version
Please try again with: env CFLAGS="-march=x86_64" CPPFLAGS="$CFLAGS" emerge -1 syslinux This worked for me, my previous compiler flags were too aggressive (-march=native on Haswell).
If you still see this problem with syslinux-6.04_pre1, please provide "emerge --info" output and reopen this bug. Do you use ld.gold (bug 563364)?