Build failure in libclang for ARM.

Brett Wynkoop wynkoop at wynn.com
Mon Feb 11 18:08:34 UTC 2013


On Mon, 11 Feb 2013 09:18:40 -0800
Tim Kientzle <kientzle at freebsd.org> wrote:

> Been seeing this for a couple of days now.  First with
> native ARM-on-ARM builds, and now with cross ARM-on-x86 builds.
> FWIW, my /etc/make.conf and /etc/src.conf are both empty.
> 
> c++  -O -pipe
> -I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/include
> -I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/include
> -I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema
> -I.
> -I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/../../lib/clang/include
> -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS
> -D__STDC_CONSTANT_MACROS -fno-strict-aliasing
> -DLLVM_DEFAULT_TARGET_TRIPLE=\"armv6-unknown-freebsd10.0\"
> -DLLVM_HOSTTRIPLE=\"armv6-unknown-freebsd10.0\"
> -DDEFAULT_SYSROOT=\"\" -fno-exceptions -fno-rtti
> -c /usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
> -o SemaTemplateInstantiateDecl.o {standard input}: Assembler
> messages: {standard input}:48382: Warning: end of file not at end of
> a line; newline inserted {standard input}:49458: Error: ARM register
> expected -- `mov' c++: Internal error: Killed (program cc1plus)
> Please submit a full bug report. See
> <URL:http://gcc.gnu.org/bugs.html> for instructions. ***
> [SemaTemplate.o] Error code 1 1 error *** [all] Error code 2 1 error
> *** [all] Error code 2
> 

Greeting-

I have built 2 kernels from head as of the small hours of this morning,
and several ports with no problems.  

One kernel was built on the BeagleBone, one kernel was built on the PI
and the ports were built on the PI.

Here is some of my info:

wynkoop at beaglebone:~ % cc -v
Using built-in specs.
Target: armv6-undermydesk-freebsd
Configured with: FreeBSD/armv6 system compiler
Thread model: posix
gcc version 4.2.1 20070831 patched [FreeBSD]
wynkoop at beaglebone:~ % uname -a
FreeBSD beaglebone 10.0-CURRENT FreeBSD 10.0-CURRENT #2: Mon Feb 11
02:15:36 EST 2013
root at beaglebone:/sys/arm/compile/BEAGLEBONE-DEBUG  arm
wynkoop at beaglebone:~ % cc -v Using built-in specs. Target:
armv6-undermydesk-freebsd Configured with: FreeBSD/armv6 system compiler
Thread model: posix
gcc version 4.2.1 20070831 patched [FreeBSD]
wynkoop at beaglebone:~ % 

root at fbsd-pi:/sys/arm/compile/RPI-B-TMPFS # uname -a
FreeBSD fbsd-pi 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Mon Feb 11
09:48:01 EST 2013     root at fbsd-pi:/sys/arm/compile/RPI-B  arm
root at fbsd-pi:/sys/arm/compile/RPI-B-TMPFS # cc -v Using built-in specs.
Target: armv6-undermydesk-freebsd
Configured with: FreeBSD/armv6 system compiler
Thread model: posix
gcc version 4.2.1 20070831 patched [FreeBSD]
root at fbsd-pi:/sys/arm/compile/RPI-B-TMPFS # 

I hope this helps.


-Brett

-- 

wynkoop at wynn.com               http://prd4.wynn.com/wynkoop/pgp-keys.txt
917-642-6925
718-717-5435

April 19, 1775 An English attempt to confiscate guns from Americans
triggered a successful revolution......

     Dear Congress, that's a hint.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20130211/8431a6bb/attachment.sig>


More information about the freebsd-arm mailing list