upgrading arm6hf

bob prohaska fbsd at www.zefox.net
Sat May 21 15:50:46 UTC 2016


On Fri, May 20, 2016 at 07:35:15PM -0700, Oleksandr Tymoshenko wrote:
> Ian Lepore (ian at freebsd.org) wrote:
> > 
> > It might be worth trying to use kernel.old, verify that uname -p says
> > armv6hf again when booted from it, then see if you can buildworld and
> > buildkernel with TARGET_ARCH=armv6.  If so, then you should be able to
> > install those (remember to use the TARGET_ARCH=armv6 when installing
> > too!), and then you'll be on the new armv6 with hardfloat.  I think.
> 

The build stopped in clang with an error that isn't obviously related
to hardfloat. Here's the end of the log:

cc1_main.o: In function `clang::DiagnosticsEngine::Report(unsigned int)':
/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/include/clang/Basic/Diagnostic.h:1119: relocation truncated to fit: R_ARM_CALL against symbol `__assert' defined in .text section in /usr/lib/libc.a(assert.o)
cc1_main.o: In function `ForcePassLinking':
/usr/src/usr.bin/clang/clang/../../../contrib/llvm/include/llvm/LinkAllPasses.h:55: relocation truncated to fit: R_ARM_CALL against symbol `getenv' defined in .text section in /usr/lib/libc.a(getenv.o)
cc1_main.o: In function `Twine':
/usr/src/usr.bin/clang/clang/../../../contrib/llvm/include/llvm/ADT/Twine.h:274:--More relocation truncated to fit: R_ARM_CALL against symbol `__assert' defined in .text section in /usr/lib/libc.a(assert.o)
cc1_main.o: In function `llvm::iplist<llvm::AliasSet, llvm::ilist_traits<llvm::AliasSet> >::remove(llvm::ilist_iterator<llvm::AliasSet>&)':
/usr/src/usr.bin/clang/clang/../../../contrib/llvm/include/llvm/ADT/ilist.h:485: relocation truncated to fit: R_ARM_CALL against symbol `__assert' defined in .text section in /usr/lib/libc.a(assert.o)
cc1_main.o: In function `llvm::MallocAllocator::Allocate(unsigned int, unsigned int)':
/usr/src/usr.bin/clang/clang/../../../contrib/llvm/include/llvm/Support/Allocator.h:95: additional relocation overflows omitted from the output
c++: error: linker command failed with exit code 1 (use -v to see invocation)
*** [clang.full] Error code 1

make[4]: stopped in /usr/src/usr.bin/clang/clang
1 error

make[4]: stopped in /usr/src/usr.bin/clang/clang
*** [all_subdir_usr.bin/clang/clang] Error code 2

make[3]: stopped in /usr/src/usr.bin/clang
1 error

make[3]: stopped in /usr/src/usr.bin/clang
*** [cross-tools] Error code 2

make[2]: stopped in /usr/src
1 error


Any suggestions appreciated!

bob prohaska



More information about the freebsd-arm mailing list