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> References: <CAB3ij4C1RDOYUUVUEbH6%2BKdQTBWhRU54wZ9%2BGDNZ_h2K5qQDDg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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: >=20 > make XDEV=3Darm XDEV_ARCH=3Darmv6 xdev >=20 > I get this trace: >=20 > 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=3Dgnu99 > -Qunused-arguments -fvisibility=3Dhidden -DHIDE_EXPORTS -fPIC = -fexceptions > -D__GLIBC__=3D3 -DElfW=3D__ElfN -o unwind-arm.o > = /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-ar= m.c > = /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-ar= m.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-ar= m.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-ar= m.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-ar= m.c:65:3: > error: unknown type name '_uw' > _uw r[16]; > ^ > = /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-ar= m.c:72:3: > error: unknown type name '_uw64' > _uw64 d[16]; > ^ > = /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-ar= m.c:73:3: > error: unknown type name '_uw' > _uw pad; > ^ > = /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-ar= m.c:78:3: > error: unknown type name '_uw' > _uw w[3]; > ^ > = /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-ar= m.c:90:3: > error: unknown type name '_uw16' > _uw16 length; > ^ > = /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-ar= m.c:91:3: > error: unknown type name '_uw16' > _uw16 offset; > ^ > = /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-ar= m.c:96:3: > error: unknown type name '_uw' > _uw length; > ^ > = /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-ar= m.c:97:3: > error: unknown type name '_uw' > _uw offset; > ^ > = /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-ar= m.c:112:3: > error: unknown type name '_uw' > _uw demand_save_flags; > ^ > = /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-ar= m.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-ar= m.c:124:3: > error: unknown type name '_uw' > _uw demand_save_flags; > ^ > = /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-ar= m.c:133:3: > error: unknown type name '_uw' > _uw fnoffset; > ^ > = /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-ar= m.c:134:3: > error: unknown type name '_uw' > _uw content; > ^ > = /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-ar= m.c:168:27: > error: expected ')' > _Unwind_Control_Block *, _Unwind_Context *);// = __attribute__((weak)); > ^ > = /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-ar= m.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-ar= m.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-ar= m.c:170:27: > error: expected ')' > _Unwind_Control_Block *, _Unwind_Context *) __attribute__((weak)); > ^ > = /src/FreeBSD/head/gnu/lib/libgcc/../../../contrib/gcc/config/arm/unwind-ar= m.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=3D] >=20 > --=20 > 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B291CC11-B48E-44B9-AA07-70BA192F3FE3>