Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84780 - linux26-headers break when compiling xorg-x11-6.8.2 with gcc-4.0
Summary: linux26-headers break when compiling xorg-x11-6.8.2 with gcc-4.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-10 12:57 UTC by Jonathan Briggs
Modified: 2005-05-04 13:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Briggs 2005-03-10 12:57:39 UTC
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.
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2005-04-23 04:55:03 UTC
Could you paste the compiler error messages please?
Comment 2 Jonathan Briggs 2005-04-23 20:23:52 UTC
It is quite a lengthy process.  I would have to rebuild the headers because I edited them, then rebuild Xorg.

Did you try it?
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2005-04-24 07:11:28 UTC
No, as I don't have any AMD64 hardware, hence the request for compiler error messages :)
Comment 4 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-05-04 12:46:46 UTC
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).
Comment 5 Tim Yamin (RETIRED) gentoo-dev 2005-05-04 13:18:34 UTC
Closing as fixed, so please try syncing and remerging linux-headers.