This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
This is just a note to myself, really. I'm sure these issues are my own fault somehow.
I tried building with sanitized headers today, and ran into curious problems on the following combinations, all using gcc-3.4.3, glibc-2.3.5, binutils-2.15, linux-2.6.8 (or 2.6.11.3), and linux-libc-headers-2.6.11.2:
alpha-gcc-3.4.3-glibc-2.3.5 arm-gcc-3.4.3-glibc-2.3.5 ia64-gcc-3.4.3-glibc-2.3.5
--- alpha --- arch/alpha/kernel/sys_titan.c:204: warning: initialization from incompatible pointer type make[1]: *** [arch/alpha/kernel/sys_titan.o] Error 1
For alpha, the error was probably a mismatch between include/linux/irq.h: void (*set_affinity)(unsigned int irq, cpumask_t dest); and arch/alpha/kernel/sys_titan.c: static void titan_set_irq_affinity(unsigned int irq, unsigned long affinity)
--- arm --- In file included from include/asm/page.h:27, from include/asm/cpu-single.h:33, from include/asm/proc-fns.h:154, from include/asm/system.h:90, from include/asm/bitops.h:22, from include/linux/bitops.h:4, from include/linux/thread_info.h:20, from include/linux/spinlock.h:12, from include/linux/capability.h:45, from include/linux/sched.h:7, from arch/arm/kernel/asm-offsets.c:13: include/asm/glue.h:111:2: #error Unknown data abort handler type In file included from include/asm/cpu-single.h:33, from include/asm/proc-fns.h:154, from include/asm/system.h:90, from include/asm/bitops.h:22, from include/linux/bitops.h:4, from include/linux/thread_info.h:20, from include/linux/spinlock.h:12, from include/linux/capability.h:45, from include/linux/sched.h:7, from arch/arm/kernel/asm-offsets.c:13: include/asm/page.h:96:2: #error Unknown user operations model make[1]: *** [arch/arm/kernel/asm-offsets.asm] Error 1 make: *** [arch/arm/kernel/asm-offsets.asm] Error 2
arch/ia64/kernel/acpi.c: In function `acpi_get_sysname': arch/ia64/kernel/acpi.c:77: warning: implicit declaration of function `acpi_find_rsdp' arch/ia64/kernel/acpi.c:84: error: dereferencing pointer to incomplete type arch/ia64/kernel/acpi.c:89: error: dereferencing pointer to incomplete type arch/ia64/kernel/acpi.c:90: error: dereferencing pointer to incomplete type make[1]: *** [arch/ia64/kernel/acpi.o] Error 1 make: *** [arch/ia64/kernel] Error 2
For ia64, the incomplete types were probably struct acpi20_table_rsdp and struct acpi_table_xsdt
-- Trying to get a job as a c++ developer? See http://kegel.com/academy/getting-hired.html
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |