rtems-source-builder on cygwin/64, WAF?

emanuel stiebler emu at e-bbes.com
Tue Mar 17 16:30:34 UTC 2015


On 2015-03-17 11:41, Chris Johns wrote:> On 17/03/2015 2:48 am, Joel 
Sherrill wrote:
 >> Hmmm.. copying from the log you attached:
 >>
 >> This looks like somehow the the contents of
 >> ./rtemstoolkit/elftoolchain/libelf/_libelf_config.h are not being
 >> tripped by whatever conditionals are set on your host. I see FreeBSD,
 >> Apple, and Linux sections of the file.
 >>
 >> You can build rtems-tools by hand easily and see what's going
 >> wrong in that file. It may be as easy as adding "|| defined(__cygwin__)"
 >> or similar in the right place.
 >>
 >
 > I have pushed a fix for this. It is building on Cygwin.

Which one did you update? I did a "git pull" on rtems-source-builder,
and still got the same error ...

-------------- next part --------------
RTEMS Tools Project - Source Builder Error Report
 Build: error: building rtems-tools-HEAD-1
 Command Line: ../source-builder/sb-set-builder --log=l-arm.txt --jobs=4 --prefix=/opt/rtems-4.11 4.11/rtems-arm --no-clean
 Python: 2.7.8 (default, Jul 25 2014, 14:04:36) [GCC 4.8.3]
 git://git.rtems.org/rtems-source-builder.git/origin/7f7d388af88f56139d7c6a832b551c5366adcefc-modified
 CYGWIN_NT-6.1 w530 1.7.35(0.287/5/3) 2015-03-04 12:09 x86_64
Tail of the build log:
script: 80: build_top=$(pwd)
script: 81: source_dir_rtems_tools="rtems-tools-HEAD-1"
source setup: rtems-tools-HEAD-1: source rtems-tools -q -D -n rtems-tools-HEAD-1
making dir: /cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git
git: fetch: git://git.rtems.org/rtems-tools.git -> sources/git/rtems-tools.git
git: reset: git://git.rtems.org/rtems-tools.git
git: checkout: git://git.rtems.org/rtems-tools.git => master
script: 82: cd /cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/rtems-tools-HEAD-1
script: 83: ln -s /cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git/rtems-tools.git ${source_dir_rtems_tools}
script: 84: cd rtems-tools-HEAD-1
script: 85: chmod -R a+rX,g-w,o-w .
script: 86: cd ${build_top}
script: 87: SB_CXC="no"
script: 88: echo "==> clean %{buildroot}: ${SB_BUILD_ROOT}"
script: 89: rm -rf ${SB_BUILD_ROOT}
script: 90: /bin/mkdir -p ${SB_BUILD_ROOT}
script: 91: echo "==> %build:"
script: 92: build_top=$(pwd)
script: 93: if test "x86_64-pc-cygwin" != "x86_64-pc-cygwin" ; then
script: 94: RT_HOST="-host=x86_64-pc-cygwin"
script: 95: else
script: 96: RT_HOST=
script: 97: fi
script: 98: cd ${source_dir_rtems_tools}
script: 99: ./waf configure ${RT_HOST} --prefix=/opt/rtems-4.11
script:100: ./waf
script:101: cd ${build_top}
script:102: echo "==> %install:"
script:103: build_top=$(pwd)
script:104: rm -rf $SB_BUILD_ROOT
script:105: cd ${source_dir_rtems_tools}
script:106: ./waf --destdir=$SB_BUILD_ROOT install
script:107: cd ${build_top}
removing: /cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/rtems-tools-HEAD-1
making dir: /cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/rtems-tools-HEAD-1
write script: /cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/rtems-tools-HEAD-1/doit
building: rtems-tools-HEAD-1
run: sh -ex  /cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/rtems-tools-HEAD-1/doit
+ export 'SB_ORIG_PATH=/opt/rtems-4.11/bin:/usr/local/bin:/usr/bin:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/PROGRAM FILES/COMMON FILES/MICROSOFT SHARED/WINDOWS LIVE:/cygdrive/c/PROGRAM FILES (X86)/COMMON FILES/MICROSOFT SHARED/WINDOWS LIVE:/cygdrive/c/PROGRAM FILES (X86)/INTEL/ICLS CLIENT:/cygdrive/c/PROGRAM FILES/INTEL/ICLS CLIENT:/cygdrive/c/windows/SYSTEM32:/cygdrive/c/windows:/cygdrive/c/windows/SYSTEM32/WBEM:/cygdrive/c/windows/SYSTEM32/WINDOWSPOWERSHELL/V1.0:/cygdrive/c/PROGRAM FILES/INTEL/INTEL(R) MANAGEMENT ENGINE COMPONENTS/DAL:/cygdrive/c/PROGRAM FILES/INTEL/INTEL(R) MANAGEMENT ENGINE COMPONENTS/IPT:/cygdrive/c/PROGRAM FILES (X86)/INTEL/INTEL(R) MANAGEMENT ENGINE COMPONENTS/DAL:/cygdrive/c/PROGRAM FILES (X86)/INTEL/INTEL(R) MANAGEMENT ENGINE COMPONENTS/IPT:/cygdrive/c/PROGRAM FILES (X86)/INTEL/OPENCL SDK/2.0/BIN/X86:/cygdrive/c/PROGRAM FILES (X86)/INTEL/OPENCL SDK/2.0/BIN/X64:/cygdrive/c/PROGRAM FILES/COMMON FILES/LENOVO:/cygdrive/c/PROGRAM FILES (X86)/COMMON FILES/ULEAD SYSTEMS/MPEG:/cygdrive/c/PROGRAM FILES (X86)/WINDOWS LIVE/SHARED:/cygdrive/c/SWTOOLS/READYAPPS:/cygdrive/c/PROGRAM FILES (X86)/SYMANTEC/VIP ACCESS CLIENT:/cygdrive/c/PROGRAM FILES (X86)/COMMON FILES/LENOVO:/cygdrive/c/Program Files/ThinkPad/Bluetooth Software:/cygdrive/c/Program Files/ThinkPad/Bluetooth Software/syswow64:/cygdrive/c/Program Files (x86)/Intel/OpenCL SDK/2.0/bin/x86:/cygdrive/c/Program Files (x86)/Intel/OpenCL SDK/2.0/bin/x64:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/cygdrive/c/Program Files (x86)/Common Files/Acronis/SnapAPI:/cygdrive/c/Cadence/SPB_16.5/tools/pcb/bin:/cygdrive/c/Cadence/SPB_16.5/tools/bin:/cygdrive/c/Cadence/SPB_16.5/tools/libutil/bin:/cygdrive/c/Cadence/SPB_16.5/tools/fet/bin:/cygdrive/c/Cadence/SPB_16.5/tools/specctra/bin:/cygdrive/c/Cadence/SPB_16.5/tools/PSpice:/cygdrive/c/Cadence/SPB_16.5/tools/PSpice/Library:/cygdrive/c/Cadence/SPB_16.5/tools/Capture:/cygdrive/c/Cadence/SPB_16.5/OpenAccess/bin/win32/opt:/cygdrive/c/Program Files (x86)/Lenovo/Access Connections:/cygdrive/c/Program Files/doxygen/bin:/cygdrive/c/Program Files/Intel/WiFi/bin:/cygdrive/c/Program Files/Common Files/Intel/WirelessCommon:/cygdrive/c/Program Files (x86)/Altium Designer S09 Viewer/System:/cygdrive/c/CooCox/CoIDE/gcc/bin:/cygdrive/c/Program Files/Intel/WiFi/bin:/cygdrive/c/Program Files/Common Files/Intel/WirelessCommon:/usr/bin:/usr/local/bin:/cygdrive/c/jdk/bin'
+ SB_ORIG_PATH='/opt/rtems-4.11/bin:/usr/local/bin:/usr/bin:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/PROGRAM FILES/COMMON FILES/MICROSOFT SHARED/WINDOWS LIVE:/cygdrive/c/PROGRAM FILES (X86)/COMMON FILES/MICROSOFT SHARED/WINDOWS LIVE:/cygdrive/c/PROGRAM FILES (X86)/INTEL/ICLS CLIENT:/cygdrive/c/PROGRAM FILES/INTEL/ICLS CLIENT:/cygdrive/c/windows/SYSTEM32:/cygdrive/c/windows:/cygdrive/c/windows/SYSTEM32/WBEM:/cygdrive/c/windows/SYSTEM32/WINDOWSPOWERSHELL/V1.0:/cygdrive/c/PROGRAM FILES/INTEL/INTEL(R) MANAGEMENT ENGINE COMPONENTS/DAL:/cygdrive/c/PROGRAM FILES/INTEL/INTEL(R) MANAGEMENT ENGINE COMPONENTS/IPT:/cygdrive/c/PROGRAM FILES (X86)/INTEL/INTEL(R) MANAGEMENT ENGINE COMPONENTS/DAL:/cygdrive/c/PROGRAM FILES (X86)/INTEL/INTEL(R) MANAGEMENT ENGINE COMPONENTS/IPT:/cygdrive/c/PROGRAM FILES (X86)/INTEL/OPENCL SDK/2.0/BIN/X86:/cygdrive/c/PROGRAM FILES (X86)/INTEL/OPENCL SDK/2.0/BIN/X64:/cygdrive/c/PROGRAM FILES/COMMON FILES/LENOVO:/cygdrive/c/PROGRAM FILES (X86)/COMMON FILES/ULEAD SYSTEMS/MPEG:/cygdrive/c/PROGRAM FILES (X86)/WINDOWS LIVE/SHARED:/cygdrive/c/SWTOOLS/READYAPPS:/cygdrive/c/PROGRAM FILES (X86)/SYMANTEC/VIP ACCESS CLIENT:/cygdrive/c/PROGRAM FILES (X86)/COMMON FILES/LENOVO:/cygdrive/c/Program Files/ThinkPad/Bluetooth Software:/cygdrive/c/Program Files/ThinkPad/Bluetooth Software/syswow64:/cygdrive/c/Program Files (x86)/Intel/OpenCL SDK/2.0/bin/x86:/cygdrive/c/Program Files (x86)/Intel/OpenCL SDK/2.0/bin/x64:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/cygdrive/c/Program Files (x86)/Common Files/Acronis/SnapAPI:/cygdrive/c/Cadence/SPB_16.5/tools/pcb/bin:/cygdrive/c/Cadence/SPB_16.5/tools/bin:/cygdrive/c/Cadence/SPB_16.5/tools/libutil/bin:/cygdrive/c/Cadence/SPB_16.5/tools/fet/bin:/cygdrive/c/Cadence/SPB_16.5/tools/specctra/bin:/cygdrive/c/Cadence/SPB_16.5/tools/PSpice:/cygdrive/c/Cadence/SPB_16.5/tools/PSpice/Library:/cygdrive/c/Cadence/SPB_16.5/tools/Capture:/cygdrive/c/Cadence/SPB_16.5/OpenAccess/bin/win32/opt:/cygdrive/c/Program Files (x86)/Lenovo/Access Connections:/cygdrive/c/Program Files/doxygen/bin:/cygdrive/c/Program Files/Intel/WiFi/bin:/cygdrive/c/Program Files/Common Files/Intel/WirelessCommon:/cygdrive/c/Program Files (x86)/Altium Designer S09 Viewer/System:/cygdrive/c/CooCox/CoIDE/gcc/bin:/cygdrive/c/Program Files/Intel/WiFi/bin:/cygdrive/c/Program Files/Common Files/Intel/WirelessCommon:/usr/bin:/usr/local/bin:/cygdrive/c/jdk/bin'
+ SB_PREFIX=/opt/rtems-4.11
++ echo /opt/rtems-4.11
++ sed -e 's/^\///'
+ SB_PREFIX_CLEAN=opt/rtems-4.11
+ SB_SOURCE_DIR=/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources
+ SB_BUILD_DIR=/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/rtems-tools-HEAD-1
+ SB_HOST_CFLAGS='-O2 -pipe '
+ SB_HOST_CXXFLAGS='-O2 -pipe '
+ SB_HOST_LDFLAGS=-L/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/tmp/sb-emu/4.11/rtems-arm/opt/rtems-4.11/lib
+ SB_BUILD_CFLAGS='-O2 -pipe -I/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/tmp/sb-emu/4.11/rtems-arm/opt/rtems-4.11/include'
+ SB_BUILD_CXXFLAGS='-O2 -pipe -I/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/tmp/sb-emu/4.11/rtems-arm/opt/rtems-4.11/include'
+ SB_BUILD_LDFLAGS=-L/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/tmp/sb-emu/4.11/rtems-arm/opt/rtems-4.11/lib
+ SB_CFLAGS='-O2 -pipe -I/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/tmp/sb-emu/4.11/rtems-arm/opt/rtems-4.11/include '
=> rtems-tools-HEAD-1:
==> %prep:
+ SB_CXXFLAGS='-O2 -pipe -I/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/tmp/sb-emu/4.11/rtems-arm/opt/rtems-4.11/include '
+ SB_ARCH=x86_64
+ SB_OS=win32
+ export SB_SOURCE_DIR SB_BUILD_DIR SB_ARCH SB_OS
+ export SB_HOST_CFLAGS SB_HOST_CXXFLAGS SB_HOST_LDFLAGS
+ export SB_BUILD_CFLAGS SB_BUILD_CXXFLAGS SB_BUILD_LDFLAGS
+ export SB_CFLAGS SB_CXXFLAGS
+ SB_DOC_DIR=/opt/rtems-4.11/share/doc
+ export SB_DOC_DIR
+ SB_PACKAGE_NAME=rtems-tools-HEAD-1
+ SB_PACKAGE_BUILDNAME=rtems-tools-HEAD-1
+ SB_PACKAGE_VERSION=HEAD
+ SB_PACKAGE_RELEASE=1
+ export SB_PACKAGE_NAME SB_PACKAGE_VERSION SB_PACKAGE_RELEASE
+ export SB_PREFIX
+ SB_BUILD_DIR=/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/rtems-tools-HEAD-1
+ SB_BUILD_ROOT=/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/tmp/rtems-tools-HEAD-1-root-emu
+ SB_BUILD_ROOT_BINDIR=/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/tmp/rtems-tools-HEAD-1-root-emu/opt/rtems-4.11/bin
+ export SB_BUILD_ROOT SB_BUILD_DIR SB_BUILD_ROOT_BINDIR
+ SB_BUILD_CXC_DIR=/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/rtems-tools-HEAD-1-cxc
+ SB_BUILD_CXC_ROOT=/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/tmp/rtems-tools-HEAD-1-emu-cxc
+ SB_BUILD_CXC_ROOT_BINDIR=/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/tmp/rtems-tools-HEAD-1-emu-cxc/opt/rtems-4.11/bin
+ export SB_BUILD_CXC_ROOT SB_BUILD_CXC_DIR SB_BUILD_CXC_ROOT_BINDIR
+ SB_TMPROOT=/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/tmp/sb-emu/4.11/rtems-arm
+ SB_TMPPREFIX=/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/tmp/sb-emu/4.11/rtems-arm/opt/rtems-4.11
+ SB_TMPBINDIR=/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/tmp/sb-emu/4.11/rtems-arm/opt/rtems-4.11/bin
+ export SB_TMPROOT SB_TMPPREFIX SB_TMPBINDIR
+ SB_TMPCXCROOT=/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/tmp/sb-emu/4.11/rtems-arm
+ SB_TMPCXCPREFIX=/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/tmp/sb-emu-cxc/4.11/rtems-arm/opt/rtems-4.11
+ SB_TMPCXCBINDIR=/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/tmp/sb-emu-cxc/4.11/rtems-arm/opt/rtems-4.11/bin
+ export SB_TMPCXCROOT SB_TMPCXCPREFIX SB_TMPCXCBINDIR
+ SB_EXTRAPATH=/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/source-builder
+ export CFLAGS_FOR_TARGET
+ export CXXFLAGS_FOR_TARGET
+ test -n /cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/tmp/sb-emu/4.11/rtems-arm/opt/rtems-4.11/bin
+ PATH='/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/tmp/sb-emu/4.11/rtems-arm/opt/rtems-4.11/bin:/opt/rtems-4.11/bin:/usr/local/bin:/usr/bin:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/PROGRAM FILES/COMMON FILES/MICROSOFT SHARED/WINDOWS LIVE:/cygdrive/c/PROGRAM FILES (X86)/COMMON FILES/MICROSOFT SHARED/WINDOWS LIVE:/cygdrive/c/PROGRAM FILES (X86)/INTEL/ICLS CLIENT:/cygdrive/c/PROGRAM FILES/INTEL/ICLS CLIENT:/cygdrive/c/windows/SYSTEM32:/cygdrive/c/windows:/cygdrive/c/windows/SYSTEM32/WBEM:/cygdrive/c/windows/SYSTEM32/WINDOWSPOWERSHELL/V1.0:/cygdrive/c/PROGRAM FILES/INTEL/INTEL(R) MANAGEMENT ENGINE COMPONENTS/DAL:/cygdrive/c/PROGRAM FILES/INTEL/INTEL(R) MANAGEMENT ENGINE COMPONENTS/IPT:/cygdrive/c/PROGRAM FILES (X86)/INTEL/INTEL(R) MANAGEMENT ENGINE COMPONENTS/DAL:/cygdrive/c/PROGRAM FILES (X86)/INTEL/INTEL(R) MANAGEMENT ENGINE COMPONENTS/IPT:/cygdrive/c/PROGRAM FILES (X86)/INTEL/OPENCL SDK/2.0/BIN/X86:/cygdrive/c/PROGRAM FILES (X86)/INTEL/OPENCL SDK/2.0/BIN/X64:/cygdrive/c/PROGRAM FILES/COMMON FILES/LENOVO:/cygdrive/c/PROGRAM FILES (X86)/COMMON FILES/ULEAD SYSTEMS/MPEG:/cygdrive/c/PROGRAM FILES (X86)/WINDOWS LIVE/SHARED:/cygdrive/c/SWTOOLS/READYAPPS:/cygdrive/c/PROGRAM FILES (X86)/SYMANTEC/VIP ACCESS CLIENT:/cygdrive/c/PROGRAM FILES (X86)/COMMON FILES/LENOVO:/cygdrive/c/Program Files/ThinkPad/Bluetooth Software:/cygdrive/c/Program Files/ThinkPad/Bluetooth Software/syswow64:/cygdrive/c/Program Files (x86)/Intel/OpenCL SDK/2.0/bin/x86:/cygdrive/c/Program Files (x86)/Intel/OpenCL SDK/2.0/bin/x64:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/cygdrive/c/Program Files (x86)/Common Files/Acronis/SnapAPI:/cygdrive/c/Cadence/SPB_16.5/tools/pcb/bin:/cygdrive/c/Cadence/SPB_16.5/tools/bin:/cygdrive/c/Cadence/SPB_16.5/tools/libutil/bin:/cygdrive/c/Cadence/SPB_16.5/tools/fet/bin:/cygdrive/c/Cadence/SPB_16.5/tools/specctra/bin:/cygdrive/c/Cadence/SPB_16.5/tools/PSpice:/cygdrive/c/Cadence/SPB_16.5/tools/PSpice/Library:/cygdrive/c/Cadence/SPB_16.5/tools/Capture:/cygdrive/c/Cadence/SPB_16.5/OpenAccess/bin/win32/opt:/cygdrive/c/Program Files (x86)/Lenovo/Access Connections:/cygdrive/c/Program Files/doxygen/bin:/cygdrive/c/Program Files/Intel/WiFi/bin:/cygdrive/c/Program Files/Common Files/Intel/WirelessCommon:/cygdrive/c/Program Files (x86)/Altium Designer S09 Viewer/System:/cygdrive/c/CooCox/CoIDE/gcc/bin:/cygdrive/c/Program Files/Intel/WiFi/bin:/cygdrive/c/Program Files/Common Files/Intel/WirelessCommon:/usr/bin:/usr/local/bin:/cygdrive/c/jdk/bin'
+ test -n /cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/tmp/sb-emu-cxc/4.11/rtems-arm/opt/rtems-4.11/bin
+ PATH='/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/tmp/sb-emu-cxc/4.11/rtems-arm/opt/rtems-4.11/bin:/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/tmp/sb-emu/4.11/rtems-arm/opt/rtems-4.11/bin:/opt/rtems-4.11/bin:/usr/local/bin:/usr/bin:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/PROGRAM FILES/COMMON FILES/MICROSOFT SHARED/WINDOWS LIVE:/cygdrive/c/PROGRAM FILES (X86)/COMMON FILES/MICROSOFT SHARED/WINDOWS LIVE:/cygdrive/c/PROGRAM FILES (X86)/INTEL/ICLS CLIENT:/cygdrive/c/PROGRAM FILES/INTEL/ICLS CLIENT:/cygdrive/c/windows/SYSTEM32:/cygdrive/c/windows:/cygdrive/c/windows/SYSTEM32/WBEM:/cygdrive/c/windows/SYSTEM32/WINDOWSPOWERSHELL/V1.0:/cygdrive/c/PROGRAM FILES/INTEL/INTEL(R) MANAGEMENT ENGINE COMPONENTS/DAL:/cygdrive/c/PROGRAM FILES/INTEL/INTEL(R) MANAGEMENT ENGINE COMPONENTS/IPT:/cygdrive/c/PROGRAM FILES (X86)/INTEL/INTEL(R) MANAGEMENT ENGINE COMPONENTS/DAL:/cygdrive/c/PROGRAM FILES (X86)/INTEL/INTEL(R) MANAGEMENT ENGINE COMPONENTS/IPT:/cygdrive/c/PROGRAM FILES (X86)/INTEL/OPENCL SDK/2.0/BIN/X86:/cygdrive/c/PROGRAM FILES (X86)/INTEL/OPENCL SDK/2.0/BIN/X64:/cygdrive/c/PROGRAM FILES/COMMON FILES/LENOVO:/cygdrive/c/PROGRAM FILES (X86)/COMMON FILES/ULEAD SYSTEMS/MPEG:/cygdrive/c/PROGRAM FILES (X86)/WINDOWS LIVE/SHARED:/cygdrive/c/SWTOOLS/READYAPPS:/cygdrive/c/PROGRAM FILES (X86)/SYMANTEC/VIP ACCESS CLIENT:/cygdrive/c/PROGRAM FILES (X86)/COMMON FILES/LENOVO:/cygdrive/c/Program Files/ThinkPad/Bluetooth Software:/cygdrive/c/Program Files/ThinkPad/Bluetooth Software/syswow64:/cygdrive/c/Program Files (x86)/Intel/OpenCL SDK/2.0/bin/x86:/cygdrive/c/Program Files (x86)/Intel/OpenCL SDK/2.0/bin/x64:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/cygdrive/c/Program Files (x86)/Common Files/Acronis/SnapAPI:/cygdrive/c/Cadence/SPB_16.5/tools/pcb/bin:/cygdrive/c/Cadence/SPB_16.5/tools/bin:/cygdrive/c/Cadence/SPB_16.5/tools/libutil/bin:/cygdrive/c/Cadence/SPB_16.5/tools/fet/bin:/cygdrive/c/Cadence/SPB_16.5/tools/specctra/bin:/cygdrive/c/Cadence/SPB_16.5/tools/PSpice:/cygdrive/c/Cadence/SPB_16.5/tools/PSpice/Library:/cygdrive/c/Cadence/SPB_16.5/tools/Capture:/cygdrive/c/Cadence/SPB_16.5/OpenAccess/bin/win32/opt:/cygdrive/c/Program Files (x86)/Lenovo/Access Connections:/cygdrive/c/Program Files/doxygen/bin:/cygdrive/c/Program Files/Intel/WiFi/bin:/cygdrive/c/Program Files/Common Files/Intel/WirelessCommon:/cygdrive/c/Program Files (x86)/Altium Designer S09 Viewer/System:/cygdrive/c/CooCox/CoIDE/gcc/bin:/cygdrive/c/Program Files/Intel/WiFi/bin:/cygdrive/c/Program Files/Common Files/Intel/WirelessCommon:/usr/bin:/usr/local/bin:/cygdrive/c/jdk/bin'
+ test -n /cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/source-builder
+ PATH='/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/source-builder:/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/tmp/sb-emu-cxc/4.11/rtems-arm/opt/rtems-4.11/bin:/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/tmp/sb-emu/4.11/rtems-arm/opt/rtems-4.11/bin:/opt/rtems-4.11/bin:/usr/local/bin:/usr/bin:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/PROGRAM FILES/COMMON FILES/MICROSOFT SHARED/WINDOWS LIVE:/cygdrive/c/PROGRAM FILES (X86)/COMMON FILES/MICROSOFT SHARED/WINDOWS LIVE:/cygdrive/c/PROGRAM FILES (X86)/INTEL/ICLS CLIENT:/cygdrive/c/PROGRAM FILES/INTEL/ICLS CLIENT:/cygdrive/c/windows/SYSTEM32:/cygdrive/c/windows:/cygdrive/c/windows/SYSTEM32/WBEM:/cygdrive/c/windows/SYSTEM32/WINDOWSPOWERSHELL/V1.0:/cygdrive/c/PROGRAM FILES/INTEL/INTEL(R) MANAGEMENT ENGINE COMPONENTS/DAL:/cygdrive/c/PROGRAM FILES/INTEL/INTEL(R) MANAGEMENT ENGINE COMPONENTS/IPT:/cygdrive/c/PROGRAM FILES (X86)/INTEL/INTEL(R) MANAGEMENT ENGINE COMPONENTS/DAL:/cygdrive/c/PROGRAM FILES (X86)/INTEL/INTEL(R) MANAGEMENT ENGINE COMPONENTS/IPT:/cygdrive/c/PROGRAM FILES (X86)/INTEL/OPENCL SDK/2.0/BIN/X86:/cygdrive/c/PROGRAM FILES (X86)/INTEL/OPENCL SDK/2.0/BIN/X64:/cygdrive/c/PROGRAM FILES/COMMON FILES/LENOVO:/cygdrive/c/PROGRAM FILES (X86)/COMMON FILES/ULEAD SYSTEMS/MPEG:/cygdrive/c/PROGRAM FILES (X86)/WINDOWS LIVE/SHARED:/cygdrive/c/SWTOOLS/READYAPPS:/cygdrive/c/PROGRAM FILES (X86)/SYMANTEC/VIP ACCESS CLIENT:/cygdrive/c/PROGRAM FILES (X86)/COMMON FILES/LENOVO:/cygdrive/c/Program Files/ThinkPad/Bluetooth Software:/cygdrive/c/Program Files/ThinkPad/Bluetooth Software/syswow64:/cygdrive/c/Program Files (x86)/Intel/OpenCL SDK/2.0/bin/x86:/cygdrive/c/Program Files (x86)/Intel/OpenCL SDK/2.0/bin/x64:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/cygdrive/c/Program Files (x86)/Common Files/Acronis/SnapAPI:/cygdrive/c/Cadence/SPB_16.5/tools/pcb/bin:/cygdrive/c/Cadence/SPB_16.5/tools/bin:/cygdrive/c/Cadence/SPB_16.5/tools/libutil/bin:/cygdrive/c/Cadence/SPB_16.5/tools/fet/bin:/cygdrive/c/Cadence/SPB_16.5/tools/specctra/bin:/cygdrive/c/Cadence/SPB_16.5/tools/PSpice:/cygdrive/c/Cadence/SPB_16.5/tools/PSpice/Library:/cygdrive/c/Cadence/SPB_16.5/tools/Capture:/cygdrive/c/Cadence/SPB_16.5/OpenAccess/bin/win32/opt:/cygdrive/c/Program Files (x86)/Lenovo/Access Connections:/cygdrive/c/Program Files/doxygen/bin:/cygdrive/c/Program Files/Intel/WiFi/bin:/cygdrive/c/Program Files/Common Files/Intel/WirelessCommon:/cygdrive/c/Program Files (x86)/Altium Designer S09 Viewer/System:/cygdrive/c/CooCox/CoIDE/gcc/bin:/cygdrive/c/Program Files/Intel/WiFi/bin:/cygdrive/c/Program Files/Common Files/Intel/WirelessCommon:/usr/bin:/usr/local/bin:/cygdrive/c/jdk/bin'
+ export PATH
+ LANG=C
+ export LANG
+ unset DISPLAY
+ umask 022
+ cd /cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/rtems-tools-HEAD-1
+ echo '=> rtems-tools-HEAD-1:'
+ echo '==> %prep:'
++ pwd
+ build_top=/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/rtems-tools-HEAD-1
+ source_dir_rtems_tools=rtems-tools-HEAD-1
+ cd /cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/rtems-tools-HEAD-1
+ ln -s /cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git/rtems-tools.git rtems-tools-HEAD-1
+ cd rtems-tools-HEAD-1
+ chmod -R a+rX,g-w,o-w .
+ cd /cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/rtems-tools-HEAD-1
+ SB_CXC=no
==> clean %{buildroot}: /cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/tmp/rtems-tools-HEAD-1-root-emu
+ echo '==> clean %{buildroot}: /cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/tmp/rtems-tools-HEAD-1-root-emu'
+ rm -rf /cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/tmp/rtems-tools-HEAD-1-root-emu
+ /bin/mkdir -p /cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/tmp/rtems-tools-HEAD-1-root-emu
==> %build:
+ echo '==> %build:'
++ pwd
+ build_top=/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/rtems-tools-HEAD-1
+ test x86_64-pc-cygwin '!=' x86_64-pc-cygwin
+ RT_HOST=
+ cd rtems-tools-HEAD-1
+ ./waf configure --prefix=/opt/rtems-4.11
Setting top to                           : /cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git/rtems-tools.git 
Setting out to                           : /cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git/rtems-tools.git/build 
Checking for 'gcc' (c compiler)          : /usr/bin/gcc 
Checking for 'g++' (c++ compiler)        : /usr/bin/g++ 
Checking for header alloca.h             : yes 
Checking for header fcntl.h              : yes 
Checking for header process.h            : yes 
Checking for header stdlib.h             : yes 
Checking for header string.h             : yes 
Checking for header strings.h            : yes 
Checking for header sys/file.h           : yes 
Checking for header sys/stat.h           : yes 
Checking for header sys/time.h           : yes 
Checking for header sys/types.h          : yes 
Checking for header sys/wait.h           : yes 
Checking for header unistd.h             : yes 
Checking for header vfork.h              : not found 
Checking for function getrusage          : yes 
Checking for header sys/wait.h           : yes 
Checking for function kill               : yes 
Checking for function open64             : not found 
Checking for function stat64             : not found 
Checking for program python              : /usr/bin/python 
Checking for python version              : (2, 7, 8, 'final', 0) 
Checking for python version              : (2, 7, 8, 'final', 0) 
'configure' finished successfully (3.494s)
+ ./waf
Waf: Entering directory `/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git/rtems-tools.git/build'
[  4/141] c: rtemstoolkit/elftoolchain/libelf/elf.c -> build/rtemstoolkit/elftoolchain/libelf/elf.c.4.o
[  5/141] c: rtemstoolkit/elftoolchain/libelf/elf_begin.c -> build/rtemstoolkit/elftoolchain/libelf/elf_begin.c.4.o
[  6/141] c: rtemstoolkit/elftoolchain/libelf/elf_cntl.c -> build/rtemstoolkit/elftoolchain/libelf/elf_cntl.c.4.o
[  7/141] c: rtemstoolkit/elftoolchain/libelf/elf_end.c -> build/rtemstoolkit/elftoolchain/libelf/elf_end.c.4.o
[  8/141] c: rtemstoolkit/elftoolchain/libelf/elf_errmsg.c -> build/rtemstoolkit/elftoolchain/libelf/elf_errmsg.c.4.o
../rtemstoolkit/elftoolchain/libelf/elf.c:31:14: error: expected declaration specifiers or '...' before string constant
 LIBELF_VCSID("$Id: elf.c 1345 2011-01-01 11:17:52Z jkoshy $");
              ^
../rtemstoolkit/elftoolchain/libelf/elf.c:34:18: error: 'LIBELF_ARCH' undeclared here (not in a function)
  .libelf_arch  = LIBELF_ARCH,
                  ^
../rtemstoolkit/elftoolchain/libelf/elf.c:35:22: error: 'LIBELF_BYTEORDER' undeclared here (not in a function)
  .libelf_byteorder = LIBELF_BYTEORDER,
                      ^
../rtemstoolkit/elftoolchain/libelf/elf.c:36:19: error: 'LIBELF_CLASS' undeclared here (not in a function)
  .libelf_class  = LIBELF_CLASS,
                   ^
../rtemstoolkit/elftoolchain/libelf/elf_cntl.c:31:14: error: expected declaration specifiers or '...' before string constant
 LIBELF_VCSID("$Id: elf_cntl.c 189 2008-07-20 10:38:08Z jkoshy $");
              ^
../rtemstoolkit/elftoolchain/libelf/elf_begin.c:44:14: error: expected declaration specifiers or '...' before string constant
 LIBELF_VCSID("$Id: elf_begin.c 1923 2011-09-23 09:01:13Z jkoshy $");
              ^
../rtemstoolkit/elftoolchain/libelf/elf_end.c:37:14: error: expected declaration specifiers or '...' before string constant
 LIBELF_VCSID("$Id: elf_end.c 1922 2011-09-23 08:04:33Z jkoshy $");
              ^
../rtemstoolkit/elftoolchain/libelf/elf_errmsg.c:35:14: error: expected declaration specifiers or '...' before string constant
 LIBELF_VCSID("$Id: elf_errmsg.c 1345 2011-01-01 11:17:52Z jkoshy $");
              ^
Waf: Leaving directory `/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git/rtems-tools.git/build'
Build failed
 -> task in 'elf' failed (exit status 1): 
	{task 7696573921040: c elf.c -> elf.c.4.o}
['/usr/bin/gcc', '-pipe', '-g', '-O2', '-I/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git/rtems-tools.git/build', '-I/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git/rtems-tools.git/build/rtemstoolkit/elftoolchain/libelf', '-I/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git/rtems-tools.git/rtemstoolkit/elftoolchain/libelf', '-I/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git/rtems-tools.git/build/rtemstoolkit/elftoolchain/common', '-I/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git/rtems-tools.git/rtemstoolkit/elftoolchain/common', '-DPYTHONDIR="/opt/rtems-4.11/lib/python2.7/site-packages"', '-DPYTHONARCHDIR="/opt/rtems-4.11/lib/python2.7/site-packages"', '../rtemstoolkit/elftoolchain/libelf/elf.c', '-c', '-o', 'rtemstoolkit/elftoolchain/libelf/elf.c.4.o']
 -> task in 'elf' failed (exit status 1): 
	{task 7696573921296: c elf_cntl.c -> elf_cntl.c.4.o}
['/usr/bin/gcc', '-pipe', '-g', '-O2', '-I/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git/rtems-tools.git/build', '-I/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git/rtems-tools.git/build/rtemstoolkit/elftoolchain/libelf', '-I/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git/rtems-tools.git/rtemstoolkit/elftoolchain/libelf', '-I/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git/rtems-tools.git/build/rtemstoolkit/elftoolchain/common', '-I/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git/rtems-tools.git/rtemstoolkit/elftoolchain/common', '-DPYTHONDIR="/opt/rtems-4.11/lib/python2.7/site-packages"', '-DPYTHONARCHDIR="/opt/rtems-4.11/lib/python2.7/site-packages"', '../rtemstoolkit/elftoolchain/libelf/elf_cntl.c', '-c', '-o', 'rtemstoolkit/elftoolchain/libelf/elf_cntl.c.4.o']
 -> task in 'elf' failed (exit status 1): 
	{task 7696573921168: c elf_begin.c -> elf_begin.c.4.o}
['/usr/bin/gcc', '-pipe', '-g', '-O2', '-I/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git/rtems-tools.git/build', '-I/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git/rtems-tools.git/build/rtemstoolkit/elftoolchain/libelf', '-I/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git/rtems-tools.git/rtemstoolkit/elftoolchain/libelf', '-I/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git/rtems-tools.git/build/rtemstoolkit/elftoolchain/common', '-I/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git/rtems-tools.git/rtemstoolkit/elftoolchain/common', '-DPYTHONDIR="/opt/rtems-4.11/lib/python2.7/site-packages"', '-DPYTHONARCHDIR="/opt/rtems-4.11/lib/python2.7/site-packages"', '../rtemstoolkit/elftoolchain/libelf/elf_begin.c', '-c', '-o', 'rtemstoolkit/elftoolchain/libelf/elf_begin.c.4.o']
 -> task in 'elf' failed (exit status 1): 
	{task 7696573921424: c elf_end.c -> elf_end.c.4.o}
['/usr/bin/gcc', '-pipe', '-g', '-O2', '-I/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git/rtems-tools.git/build', '-I/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git/rtems-tools.git/build/rtemstoolkit/elftoolchain/libelf', '-I/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git/rtems-tools.git/rtemstoolkit/elftoolchain/libelf', '-I/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git/rtems-tools.git/build/rtemstoolkit/elftoolchain/common', '-I/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git/rtems-tools.git/rtemstoolkit/elftoolchain/common', '-DPYTHONDIR="/opt/rtems-4.11/lib/python2.7/site-packages"', '-DPYTHONARCHDIR="/opt/rtems-4.11/lib/python2.7/site-packages"', '../rtemstoolkit/elftoolchain/libelf/elf_end.c', '-c', '-o', 'rtemstoolkit/elftoolchain/libelf/elf_end.c.4.o']
 -> task in 'elf' failed (exit status 1): 
	{task 7696573921552: c elf_errmsg.c -> elf_errmsg.c.4.o}
['/usr/bin/gcc', '-pipe', '-g', '-O2', '-I/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git/rtems-tools.git/build', '-I/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git/rtems-tools.git/build/rtemstoolkit/elftoolchain/libelf', '-I/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git/rtems-tools.git/rtemstoolkit/elftoolchain/libelf', '-I/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git/rtems-tools.git/build/rtemstoolkit/elftoolchain/common', '-I/cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/sources/git/rtems-tools.git/rtemstoolkit/elftoolchain/common', '-DPYTHONDIR="/opt/rtems-4.11/lib/python2.7/site-packages"', '-DPYTHONARCHDIR="/opt/rtems-4.11/lib/python2.7/site-packages"', '../rtemstoolkit/elftoolchain/libelf/elf_errmsg.c', '-c', '-o', 'rtemstoolkit/elftoolchain/libelf/elf_errmsg.c.4.o']
shell cmd failed: sh -ex  /cygdrive/d/_home/emu/RTEMS.Work/rtems-source-builder/rtems/build/rtems-tools-HEAD-1/doit
error: building rtems-tools-HEAD-1


More information about the devel mailing list