arm-elf make check fixincludes failures
Brian Sidebotham
micros@valvers.com
Thu Jun 21 20:34:00 GMT 2007
Ah, checking the compiler would not be possible without running the
dejagnu simulator for arm anyway. So I am busy creating a combined
source tree and will see how I get on with that...
Previously, I did not have dejagnu installed, and I didn't know newlib
was required for testing the compiler either. So hopefully the new
source collection will help things go smoother!
Best Regards,
Brian Sidebotham.
Brian Sidebotham wrote:
> Hi All,
>
> I am trying to compile gcc for target arm-elf on ubuntu. The compiler
> builds, but make check falls over at the first hurdle - fixincludes.
>
> My configure line is:
> ../4.2-20070620/configure --prefix=/var/public/installs/arm-elf-gcc
> --target=arm-elf --without-headers --enable-multilib --enable-interwork
> --enable-languages=c --disable-nls --disable-libssp --disable-libgomp
> --with-gnu-as --with-gnu-ld
> --with-build-tools=/var/public/installs/arm-elf-gcc/bin
>
> The output of make check, after a successful make all is at the end of
> this mail.
>
> Is anything wrong with my configure line? Or anything else I can provide
> as a clue to whats going wrong?
>
> Any pointers welcome to get this working greatly appreciated!
>
> Best Regards,
>
> Brian Sidebotham.
>
> Fixed: testing.h
> Fixed: testing.h
> Fixed: ansi/math.h
> Fixed: ansi/stdlib.h
> Fixed: arch/i960/archI960.h
> Fixed: architecture/ppc/math.h
> Fixed: arpa/inet.h
> Fixed: assert.h
> Fixed: AvailabilityMacros.h
> Fixed: bits/huge_val.h
> Fixed: bsd/libc.h
> Fixed: c_asm.h
> Fixed: com_err.h
> Fixed: ctrl-quotes-def-1.h
> Fixed: ctype.h
> Fixed: curses.h
> Fixed: errno.h
> Fixed: fixinc-test-limits.h
> Fixed: fs/rfs/rf_cache.h
> Fixed: _G_config.h
> Fixed: hsfs/hsfs_spec.h
> Fixed: ia64/sys/getppdp.h
> Fixed: internal/math_core.h
> Fixed: internal/sgimacros.h
> Fixed: internal/wchar_core.h
> Fixed: inttypes.h
> Fixed: io-quotes-def-1.h
> Fixed: iso/math_c99.h
> Fixed: locale.h
> Fixed: machine/cpu.h
> Fixed: mach-o/dyld.h
> Fixed: malloc.h
> Fixed: math.h
> Fixed: netdnet/dnetdb.h
> Fixed: netinet/in.h
> Fixed: netinet/ip.h
> Fixed: obstack.h
> Fixed: pixrect/memvar.h
> Fixed: pthread.h
> Fixed: regex.h
> Fixed: regexp.h
> Fixed: reg_types.h
> Fixed: rpc/auth.h
> Fixed: rpc/rpc.h
> Fixed: rpc/svc.h
> Fixed: rpcsvc/rstat.h
> Fixed: rpcsvc/rusers.h
> Fixed: rpc/xdr.h
> Fixed: sparc/asm_linkage.h
> Fixed: standards.h
> Fixed: stdio.h
> Fixed: stdio_tag.h
> Fixed: stdlib.h
> Fixed: string.h
> Fixed: strings.h
> Fixed: sundev/vuid_event.h
> Fixed: sunwindow/win_lock.h
> Fixed: sym.h
> Fixed: sys/asm.h
> Fixed: sys/cdefs.h
> Fixed: sys/file.h
> Fixed: sys/ioctl.h
> Fixed: sys/limits.h
> Fixed: sys/machine.h
> Fixed: sys/mman.h
> Fixed: sys/pthread.h
> Fixed: sys/regset.h
> Fixed: sys/signal.h
> Fixed: sys/socket.h
> Fixed: sys/spinlock.h
> Fixed: sys/stat.h
> Fixed: sys/time.h
> Fixed: sys/times.h
> Fixed: sys/types.h
> Fixed: sys/ucontext.h
> Fixed: sys/utsname.h
> Fixed: sys/wait.h
> Fixed: testing.h
> Fixed: time.h
> Fixed: tinfo.h
> Fixed: types/vxTypesBase.h
> Fixed: unistd.h
> Fixed: wchar.h
> Fixed: widec.h
> Fixed: X11/ShellP.h
> Fixed: X11/Xmu.h
> Fixed: Xm/BaseClassI.h
> Fixed: Xm/Traversal.h
> math.h
> /var/public/build/arm-elf-gcc/gcc/4.2-20070620/fixincludes/tests/base/math.h
> differ: byte 1538, line 77
> *** math.h 2007-06-21 15:16:33.000000000 +0100
> ---
> /var/public/build/arm-elf-gcc/gcc/4.2-20070620/fixincludes/tests/base/math.h
> 2007-02-06 18:12:22.000000000 +0000
> ***************
> *** 74,79 ****
> --- 74,80 ----
>
>
> #if defined( MATH_HUGE_VAL_FROM_DBL_MAX_CHECK )
> +
> #define HUGE_VAL 3.1415e+9 /* really big */
> #endif /* MATH_HUGE_VAL_FROM_DBL_MAX_CHECK */
>
> reg_types.h
> /var/public/build/arm-elf-gcc/gcc/4.2-20070620/fixincludes/tests/base/reg_types.h
> differ: byte 266, line 12
> *** reg_types.h 2007-06-21 15:16:33.000000000 +0100
> ---
> /var/public/build/arm-elf-gcc/gcc/4.2-20070620/fixincludes/tests/base/reg_types.h
> 2004-08-31 10:27:00.000000000 +0100
> ***************
> *** 9,15 ****
>
>
>
> ! #if defined( OSF_NAMESPACE_A_CHECK )typedef struct {
> int stuff, mo_suff;
> } __regex_t;
> extern __regex_t re;
> --- 9,16 ----
>
>
>
> ! #if defined( OSF_NAMESPACE_A_CHECK )
> ! typedef struct {
> int stuff, mo_suff;
> } __regex_t;
> extern __regex_t re;
> sys/stat.h
> /var/public/build/arm-elf-gcc/gcc/4.2-20070620/fixincludes/tests/base/sys/stat.h
> differ: byte 1338, line 64
> *** sys/stat.h 2007-06-21 15:16:34.000000000 +0100
> ---
> /var/public/build/arm-elf-gcc/gcc/4.2-20070620/fixincludes/tests/base/sys/stat.h
> 2004-08-31 10:27:00.000000000 +0100
> ***************
> *** 61,67 ****
> #endif /* ULTRIX_STAT_CHECK */
>
>
> ! #if defined( VXWORKS_NEEDS_VXWORKS_CHECK )#include </dev/null> /*
> ULONG */
> # define __INCstath <sys/stat.h>
> #include <types/vxTypesOld.h>
> #endif /* VXWORKS_NEEDS_VXWORKS_CHECK */
> --- 61,68 ----
> #endif /* ULTRIX_STAT_CHECK */
>
>
> ! #if defined( VXWORKS_NEEDS_VXWORKS_CHECK )
> ! #include </dev/null> /* ULONG */
> # define __INCstath <sys/stat.h>
> #include <types/vxTypesOld.h>
> #endif /* VXWORKS_NEEDS_VXWORKS_CHECK */
> time.h
> /var/public/build/arm-elf-gcc/gcc/4.2-20070620/fixincludes/tests/base/time.h
> differ: byte 375, line 17
> *** time.h 2007-06-21 15:16:34.000000000 +0100
> ---
> /var/public/build/arm-elf-gcc/gcc/4.2-20070620/fixincludes/tests/base/time.h
> 2004-08-31 10:27:00.000000000 +0100
> ***************
> *** 14,20 ****
> #endif /* VXWORKS_NEEDS_VXTYPES_CHECK */
>
>
> ! #if defined( VXWORKS_TIME_CHECK )#ifndef __gcc_VOIDFUNCPTR_defined
> #ifdef __cplusplus
> typedef void (*__gcc_VOIDFUNCPTR) (...);
> #else
> --- 14,21 ----
> #endif /* VXWORKS_NEEDS_VXTYPES_CHECK */
>
>
> ! #if defined( VXWORKS_TIME_CHECK )
> ! #ifndef __gcc_VOIDFUNCPTR_defined
> #ifdef __cplusplus
> typedef void (*__gcc_VOIDFUNCPTR) (...);
> #else
> There were fixinclude test FAILURES
> make[2]: *** [check] Error 1
> make[1]: *** [check-fixincludes] Error 2
> make: *** [do-check] Error 2
>
More information about the Gcc-help
mailing list