then mv -f ".deps/my_fopen.Tpo" ".deps/my_fopen.Po"; else rm -f ".deps/my_fopen.Tpo"; exit 1; fi /usr/include/asm/system.h:247: error: expected ',' or '...' before 'new' /usr/include/asm/system.h: In function 'long unsigned int __cmpxchg(volatile void*, long unsigned int, long unsigned int)': /usr/include/asm/system.h:250: error: 'size' was not declared in this scope /usr/include/asm/system.h:254: error: expected type-specifier before ')' token /usr/include/asm/system.h:260: error: expected type-specifier before ')' token /usr/include/asm/system.h:266: error: expected type-specifier before ')' token make[2]: *** [my_new.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/mysql-4.0.24-r1/work/mysql-4.0.24/mysys' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/mysql-4.0.24-r1/work/mysql-4.0.24' make: *** [all] Error 2 !!! ERROR: dev-db/mysql-4.0.24-r1 failed. !!! Function src_compile, Line 223, Exitcode 2 !!! compile problem !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 53359 [details] linux26-headers-2.6.11.3-appCompat.patch
Comment on attachment 53359 [details] linux26-headers-2.6.11.3-appCompat.patch This patch should replace the old patch and fix some problems with the new heades and gcc4
Created attachment 53390 [details, diff] appComp patch bump Reattaching this patch as text.
Plasmaroo: Think we could get a bump for linux-headers to 2.6.11? Attached is the appComp patch updated to patch onto 2.6.11 linux-headers-2.6.8.1-parisc-syscall.patch is now obsolete since the problem seems to be fixed. This does fix the compile error for mysql for me, and probably will fix some other GCC4 related issues.
Do you have a diff for system.h only?
Created attachment 53501 [details, diff] asm-i386/system.h asm-x86_64/system.h
Ok, 2.6.11 added to CVS; please give that a go.
This has fixed the issue for me. Thanks Tim.