Date: Sun, 21 Jul 2013 15:05:23 -0600 From: Warner Losh <imp@bsdimp.com> To: Tom Everett <tom@khubla.com> Cc: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: problem building xdev. Message-ID: <B291CC11-B48E-44B9-AA07-70BA192F3FE3@bsdimp.com> In-Reply-To: <CAB3ij4C1RDOYUUVUEbH6%2BKdQTBWhRU54wZ9%2BGDNZ_h2K5qQDDg@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
Try on a system that doesn't have clang as the default compiler.
Warner
On Jul 21, 2013, at 2:44 PM, Tom Everett wrote:
> I have SVN revision 253531. When I try to build the arm xdev tools:
>
> make XDEV=arm XDEV_ARCH=armv6 xdev
>
> I get this trace:
>
> cc -isystem /usr/armv6-freebsd/usr/include -L/usr/armv6-freebsd/usr/lib
> -B/usr/armv6-freebsd/usr/lib -c -O -pipe -DTARGET_ARM_EABI -DIN_GCC
> -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -DHAVE_GTHR_DEFAULT
> -I/src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcclibs/include
> -I/src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config
> -I/src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc -I.
> -I/src/FreeBSD/head/gnu/lib/libgcc/../../usr.bin/cc/cc_tools
> -Dinhibit_libc -fno-inline -fheinous-gnu-extensions -std=gnu99
> -Qunused-arguments -fvisibility=hidden -DHIDE_EXPORTS -fPIC -fexceptions
> -D__GLIBC__=3 -DElfW=__ElfN -o unwind-arm.o
> /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-arm.c
> /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-arm.c:40:50:
> error: unknown type name '_Unwind_Control_Block'
> void __attribute__((weak)) __cxa_call_unexpected(_Unwind_Control_Block
> *ucbp);
> ^
> /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-arm.c:41:48:
> error: unknown type name '_Unwind_Control_Block'
> bool __attribute__((weak)) __cxa_begin_cleanup(_Unwind_Control_Block *ucbp);
> ^
> /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-arm.c:42:45:
> error: unknown type name '_Unwind_Control_Block'
> bool __attribute__((weak)) __cxa_type_match(_Unwind_Control_Block *ucbp,
> ^
> /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-arm.c:65:3:
> error: unknown type name '_uw'
> _uw r[16];
> ^
> /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-arm.c:72:3:
> error: unknown type name '_uw64'
> _uw64 d[16];
> ^
> /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-arm.c:73:3:
> error: unknown type name '_uw'
> _uw pad;
> ^
> /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-arm.c:78:3:
> error: unknown type name '_uw'
> _uw w[3];
> ^
> /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-arm.c:90:3:
> error: unknown type name '_uw16'
> _uw16 length;
> ^
> /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-arm.c:91:3:
> error: unknown type name '_uw16'
> _uw16 offset;
> ^
> /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-arm.c:96:3:
> error: unknown type name '_uw'
> _uw length;
> ^
> /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-arm.c:97:3:
> error: unknown type name '_uw'
> _uw offset;
> ^
> /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-arm.c:112:3:
> error: unknown type name '_uw'
> _uw demand_save_flags;
> ^
> /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-arm.c:114:3:
> error: unknown type name '_uw'
> _uw prev_sp; /* Only valid during forced unwinding. */
> ^
> /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-arm.c:124:3:
> error: unknown type name '_uw'
> _uw demand_save_flags;
> ^
> /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-arm.c:133:3:
> error: unknown type name '_uw'
> _uw fnoffset;
> ^
> /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-arm.c:134:3:
> error: unknown type name '_uw'
> _uw content;
> ^
> /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-arm.c:168:27:
> error: expected ')'
> _Unwind_Control_Block *, _Unwind_Context *);// __attribute__((weak));
> ^
> /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-arm.c:167:51:
> note: to match this '('
> extern _Unwind_Reason_Code __aeabi_unwind_cpp_pr0 (_Unwind_State,
> ^
> /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-arm.c:167:52:
> error: a parameter list without types is only allowed in a function
> definition
> extern _Unwind_Reason_Code __aeabi_unwind_cpp_pr0 (_Unwind_State,
> ^
> /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-arm.c:170:27:
> error: expected ')'
> _Unwind_Control_Block *, _Unwind_Context *) __attribute__((weak));
> ^
> /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-arm.c:169:51:
> note: to match this '('
> extern _Unwind_Reason_Code __aeabi_unwind_cpp_pr1 (_Unwind_State,
> ^
> fatal error: too many errors emitted, stopping now [-ferror-limit=]
>
> --
> A better world shall emerge based on faith and understanding - Douglas
> MacArthur
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B291CC11-B48E-44B9-AA07-70BA192F3FE3>
