Hi, After a long absence I decided to have another shot at RTEMS for Zynq devices. I chose the zc706 board. Installation using RSB went OK. Building the BSP seemed to go well until this error:
/home/peter/development/rtems/5.1/lib/gcc/arm-rtems5/7.5.0/../../../../arm-rtems5/bin/ld: /home/peter/development/rtems/5.1/lib/gcc/arm-rtems5/7.5.0/../../../../arm-rtems5/lib/thumb/armv7-a/neon/hard/libc.a(lib_a-init.o): in function `__libc_init_array': /home/peter/development/rtems/rtems-source-builder-5.1/rtems/build/arm-rtems5-gcc-7.5.0-newlib-7947581-x86_64-linux-gnu-1/build/arm-rtems5/thumb/armv7-a/neon/hard/newlib/libc/misc/../../../../../../../../../gcc-7.5.0/newlib/libc/misc/init.c:40: undefined reference to `_init' collect2: error: ld returned 1 exit status make[5]: *** [Makefile:631: base_sp.exe] Error 1 make[5]: Leaving directory '/home/peter/development/kernel/xilinx_zynq_zc706/arm-rtems5/c/xilinx_zynq_zc706/testsuites/samples' make[4]: *** [Makefile:663: samples] Error 2 make[4]: Leaving directory '/home/peter/development/kernel/xilinx_zynq_zc706/arm-rtems5/c/xilinx_zynq_zc706/testsuites' make[3]: *** [Makefile:1342: testsuites] Error 2 make[3]: Leaving directory '/home/peter/development/kernel/xilinx_zynq_zc706/arm-rtems5/c/xilinx_zynq_zc706' make[2]: *** [Makefile:822: all-recursive] Error 1 make[2]: Leaving directory '/home/peter/development/kernel/xilinx_zynq_zc706/arm-rtems5/c/xilinx_zynq_zc706' make[1]: *** [Makefile:289: all-recursive] Error 1 make[1]: Leaving directory '/home/peter/development/kernel/xilinx_zynq_zc706/arm-rtems5/c' make: *** [Makefile:410: all-recursive] Error 1 peter@peter-OptiPlex-7070:~/development/kernel/xilinx_zynq_zc706$ I am building on Ubuntu 20.04. Config.log is attached. Any suggestions? Pete.
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by rtems configure 6.0.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ ../rtems/configure --prefix=/home/peter/development/rtems/5.1 --target=arm-rtems5 --enable-rtemsbsp=xilinx_zynq_zc706 --enable-posix --disable-networking ## --------- ## ## Platform. ## ## --------- ## hostname = peter-OptiPlex-7070 uname -m = x86_64 uname -r = 5.4.0-73-generic uname -s = Linux uname -v = #82-Ubuntu SMP Wed Apr 14 17:39:42 UTC 2021 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/peter/development/rtems/5.1/bin PATH: /home/peter/.local/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games PATH: /usr/local/games PATH: /snap/bin PATH: /usr/local/epics/base/bin/linux-x86_64 PATH: /usr/local/epics/extensions/bin/linux_x86_64 PATH: /usr/local/epics/base/bin/linux-x86_64 PATH: /usr/local/epics/extensions/bin/linux-x86_64 PATH: /home/peter/development/rtems/5.1/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1821: checking for gmake configure:1851: result: no configure:1821: checking for make configure:1837: found /usr/bin/make configure:1848: result: make configure:1873: checking for RTEMS Version configure:1875: result: 6.0.0 configure:1905: checking build system type configure:1919: result: x86_64-pc-linux-gnu configure:1939: checking host system type configure:1952: result: x86_64-pc-linux-gnu configure:1972: checking target system type configure:1985: result: arm-unknown-rtems5 configure:2027: checking for a BSD-compatible install configure:2095: result: /usr/bin/install -c configure:2106: checking whether build environment is sane configure:2161: result: yes configure:2310: checking for a thread-safe mkdir -p configure:2349: result: /bin/mkdir -p configure:2356: checking for gawk configure:2372: found /usr/bin/gawk configure:2383: result: gawk configure:2394: checking whether make sets $(MAKE) configure:2416: result: yes configure:2494: checking whether to enable maintainer-specific portions of Makefiles configure:2503: result: no configure:2878: checking that generated files are newer than configure configure:2884: result: done configure:3050: creating ./config.status configure:4080: configuring in arm-rtems5/c configure:4167: running /bin/sh '../../../rtems/c/configure' '--prefix=/home/peter/development/rtems/5.1' '--host=arm-rtems5' '--build=x86_64-pc-linux-gnu' '--target=arm-rtems5' '--enable-rtemsbsp=xilinx_zynq_zc706' '--enable-posix' '--disable-networking' '--with-target-subdir=arm-rtems5' '--exec-prefix=/home/peter/development/rtems/5.1/arm-rtems5' '--includedir=/home/peter/development/rtems/5.1/arm-rtems5/include' '--cache-file=/dev/null' '--srcdir=../../../rtems/c' ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by rtems config.status 6.0.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on peter-OptiPlex-7070 config.status:769: creating Makefile ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=arm-rtems5 ac_cv_host=x86_64-pc-linux-gnu ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_MAKE=make ac_cv_prog_make_make_set=yes ac_cv_target=arm-unknown-rtems5 ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/peter/development/kernel/rtems/missing --run aclocal-1.12' AMTAR='$${TAR-tar}' AUTOCONF='${SHELL} /home/peter/development/kernel/rtems/missing --run autoconf' AUTOHEADER='${SHELL} /home/peter/development/kernel/rtems/missing --run autoheader' AUTOMAKE='${SHELL} /home/peter/development/kernel/rtems/missing --run automake-1.12' AWK='gawk' CYGPATH_W='echo' DEFS='-DPACKAGE_NAME=\"rtems\" -DPACKAGE_TARNAME=\"rtems\" -DPACKAGE_VERSION=\"6.0.0\" -DPACKAGE_STRING=\"rtems\ 6.0.0\" -DPACKAGE_BUGREPORT=\"https://devel.rtems.org/newticket\" -DPACKAGE_URL=\"\"' ECHO_C='' ECHO_N='-n' ECHO_T='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LIBOBJS='' LIBS='' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKE='make' MAKEINFO='${SHELL} /home/peter/development/kernel/rtems/missing --run makeinfo' MKDIR_P='/bin/mkdir -p' PACKAGE='rtems' PACKAGE_BUGREPORT='https://devel.rtems.org/newticket' PACKAGE_NAME='rtems' PACKAGE_STRING='rtems 6.0.0' PACKAGE_TARNAME='rtems' PACKAGE_URL='' PACKAGE_VERSION='6.0.0' PATH_SEPARATOR=':' PROJECT_ROOT='./$(top_builddir)' PROJECT_TOPdir='./$(top_builddir)' RTEMS_BUILD_ROOT='' RTEMS_HAS_NETWORKING='no' RTEMS_HAS_POSIX_API='yes' RTEMS_SOURCE_ROOT='' RTEMS_TOPdir='.' SET_MAKE='' SHELL='/bin/sh' STRIP='' VERSION='6.0.0' am__isrc=' -I$(srcdir)' am__leading_dot='.' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_SUBDIRS='' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_subdir='.' build_vendor='pc' buildargs='' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' host='x86_64-pc-linux-gnu' host_SUBDIRS='' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_subdir='' host_vendor='pc' hostargs='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/peter/development/kernel/rtems/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' pkgdatadir='${datarootdir}/rtems6' prefix='/home/peter/development/rtems/5.1' program_transform_name='s&^&arm-rtems5-&' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target='arm-unknown-rtems5' target_SUBDIRS=' arm-rtems5/c' target_alias='arm-rtems5' target_configdirs=' c' target_cpu='arm' target_os='rtems5' target_subdir='arm-rtems5' target_vendor='unknown' targetargs=''\''--host=arm-rtems5'\'' '\''--build=x86_64-pc-linux-gnu'\'' '\''--target=arm-rtems5'\'' '\''--enable-rtemsbsp=xilinx_zynq_zc706'\'' '\''--enable-posix'\'' '\''--disable-networking'\''' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "rtems" #define PACKAGE_TARNAME "rtems" #define PACKAGE_VERSION "6.0.0" #define PACKAGE_STRING "rtems 6.0.0" #define PACKAGE_BUGREPORT "https://devel.rtems.org/newticket" #define PACKAGE_URL "" configure: exit 0
_______________________________________________ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users