I had to edit /usr/include/asm-x86_64/processor.h to fix a compile error about unknown array element sizes. processor.h declares an extern array of struct tss_struct before it actually defines struct tss_struct. I moved these two lines to the end of the file (before the last #endif): extern struct cpuinfo_x86 boot_cpu_data; extern struct tss_struct init_tss[NR_CPUS]; There was no real reason to move boot_cpu_data but it was there. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Could you paste the compiler error messages please?
It is quite a lengthy process. I would have to rebuild the headers because I edited them, then rebuild Xorg. Did you try it?
No, as I don't have any AMD64 hardware, hence the request for compiler error messages :)
This happened to me, but I synced and re-emerged linux-headers, and it works fine now. The problem has been fixed (verified against an old verison of linux-headers I had lying around).
Closing as fixed, so please try syncing and remerging linux-headers.