> Date: Sun, 9 Apr 2017 22:09:17 +0100 > From: Stuart Henderson <s...@spacehopper.org> > > On 2017/04/09 22:55, Patrick Wildt wrote: > > > > The other symbols akin to those are provided by lib/libcompiler_rt. The > > symbols you mentioned are part of the source code but are not compiled > > in for aarch64. This might simply be an oversight, so adding those to > > the compiler-rt library Makefile should make it work. > > Ah great, I'm using the below and yes that helps (at least for my test > with gtar; I'll find out more about others later). Thanks!
Probably better to do it this way to match the logic in CMakeLists.txt. Index: lib/libcompiler_rt/Makefile =================================================================== RCS file: /cvs/src/lib/libcompiler_rt/Makefile,v retrieving revision 1.5 diff -u -p -r1.5 Makefile --- lib/libcompiler_rt/Makefile 20 Jan 2017 07:55:20 -0000 1.5 +++ lib/libcompiler_rt/Makefile 9 Apr 2017 21:29:28 -0000 @@ -170,14 +170,19 @@ SRCS+= ${file}.c SRCS+= comparetf2.c \ extenddftf2.c \ extendsftf2.c \ - trunctfdf2.c \ - trunctfsf2.c \ fixtfdi.c \ fixtfsi.c \ + fixtfti.c \ + fixunstfdi.c \ + fixunstfsi.c \ + fixunstfti.c \ floatditf.c \ floatsitf.c \ floatunsitf.c \ - multc3.c + floatunditf.c \ + multc3.c \ + trunctfdf2.c \ + trunctfsf2.c .endif .if ${RTARCH} == "arm"