Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020 
<== Date ==> <== Thread ==>

Subject: Re: epics base compilation for ARM Cotex-A53 (ARM64bit)
From: Michael Davidsaver via Tech-talk <tech-talk@aps.anl.gov>
To: "Ha, Kiman" <kha@bnl.gov>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Thu, 25 Jul 2019 20:43:43 -0700
> ../src/tools/EpicsHostArch.pl: Architecture 'aarch64-linux-gnu-thread-multi' not recognized

I think you can work around this for the moment with:

> export EPICS_HOST_ARCH=linux-arm
> make

I'm able to cross build Base for aarch64.  I haven't done much more than this though.
If you succeed in building, please report the results of running the unit tests.

> make runtests


On 7/25/19 6:53 PM, Ha, Kiman via Tech-talk wrote:
> Hello all,
> 
>  
> 
> I am trying to install epics base to Zynq Ultrascal+ FPGA and local compile same as the Linux host, It has quad ARM Cotex-A53 core.
> 
> My approach is a local compilation instead of cross-compile.
> 
>  
> 
> Does anyone have experience an EPICS base (3.16.x and 7.x) compilation for ARM64 core ?
> 
>  
> 
> OS : Debian GNU/Linux 10.0
> 
> Core Architects : aarch64
> 
> Kernel : 4.19.0
> 
>  
> 
> I typed make and got below messages.
> 
> fpga@debian10-zcu102:~/epics/base-7.0.2.2/configure$ make
> 
> ../src/tools/EpicsHostArch.pl: Architecture 'aarch64-linux-gnu-thread-multi' not recognized
> 
> ../configure/CONFIG:58: ../configure/os/CONFIG..Common: No such file or directory
> 
> make: *** No rule to make target '../configure/os/CONFIG..Common'.  Stop.
> 
>  
> 
>  
> 
> fpga@debian10-zcu102:~/epics/base-7.0.2.2/configure$ gcc -v
> 
> Using built-in specs.
> 
> COLLECT_GCC=gcc
> 
> COLLECT_LTO_WRAPPER=/usr/lib/gcc/aarch64-linux-gnu/8/lto-wrapper
> 
> Target: aarch64-linux-gnu
> 
> Configured with: ../src/configure -v --with-pkgversion='Debian 8.3.0-6' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=aarch64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libquadmath --disable-libquadmath-support --enable-plugin --enable-default-pie --with-system-zlib --disable-libphobos --enable-multiarch --enable-fix-cortex-a53-843419 --disable-werror --enable-checking=release --build=aarch64-linux-gnu --host=aarch64-linux-gnu --target=aarch64-linux-gnu
> 
> Thread model: posix
> 
> gcc version 8.3.0 (Debian 8.3.0-6)
> 
>  
> 
>  
> 
> Thanks,
> 
> Kiman
> 


Replies:
RE: epics base compilation for ARM Cotex-A53 (ARM64bit) Ha, Kiman via Tech-talk
References:
epics base compilation for ARM Cotex-A53 (ARM64bit) Ha, Kiman via Tech-talk

Navigate by Date:
Prev: epics base compilation for ARM Cotex-A53 (ARM64bit) Ha, Kiman via Tech-talk
Next: RE: epics base compilation for ARM Cotex-A53 (ARM64bit) Ha, Kiman via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020 
Navigate by Thread:
Prev: epics base compilation for ARM Cotex-A53 (ARM64bit) Ha, Kiman via Tech-talk
Next: RE: epics base compilation for ARM Cotex-A53 (ARM64bit) Ha, Kiman via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020 
ANJ, 25 Jul 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·