Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 May 2016 23:09:08 +0200
From:      Ulrich Grey <usenet@ulrich-grey.de>
To:        freebsd-arm@freebsd.org
Subject:   Upgrading and devel/ccache
Message-ID:  <20160521230908.8e3594331e6ca820dbddb7d3@ulrich-grey.de>

next in thread | raw e-mail | index | archive | help
I have tried to upgrade to armv6hf using devel/ccache.

This howto
/usr/local/share/doc/ccache/ccache-howto-freebsd.txt
is outdated. I had build failures because some parts of the source tree get ignored.

I have found this instructions
https://lists.freebsd.org/pipermail/freebsd-arch/2015-November/017472.html
and it seems to work.

In the shell I have set these environment variables:

export CCACHE_PATH=/usr/bin:/usr/local/bin
export CCACHE_DIR=<path/to/ccache_dir>
#export CCACHE_COMPRESS=yes

And in /etc/make.conf:

MALLOC_PRODUCTION=yes
#NO_CLEAN=1
WITH_FAST_DEPEND=1
WITH_CCACHE_BUILD=1

ccache works, but now I have the same problems like bob prohaska. :(

===> usr.bin/clang/clang-tblgen (all)
===> usr.bin/clang/llvm-tblgen (all)
cc1_main.o: In function `std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> >::__zero()': /usr/include/c++/v1/string:1783: relocation
truncated to fit: R_ARM_CALL against symbol `memset' defined in .text section
in /usr/lib/libc.a(memset.o) cc1_main.o: In function `__vector_base': /usr/include/c+
+/v1/vector:432: relocation truncated to fit: R_ARM_CALL against symbol `memset' defined
in .text section in /usr/lib/libc.a(memset.o) cc1_main.o: In function
...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160521230908.8e3594331e6ca820dbddb7d3>