Re: rtems-source-builder on cygwin/64, WAF?
On 2015-03-17 22:38, Chris Johns wrote: On 18/03/2015 7:28 am, Chris Johns wrote: I am testing this now as I needed to add 'merge' to the git module. Pushed as https://git.rtems.org/rtems-source-builder/commit/?id=b0f9e30fa46a8025b76bf86321ebe585de8972f4 OK, so I managed to compile the toolchains for arm, m68k and mips today. (and also compiled RTEMS for arm and two BSPs) So I guess it is working. Thanks! ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
Re: rtems-source-builder on cygwin/64, WAF?
On 2015-03-17 17:37, Joel Sherrill wrote: On 3/17/2015 11:30 AM, emanuel stiebler wrote: 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 ... This was an issue in rtems-tools. Can you see if you can update that and build it by hand? RSB may need a hash tag updated and Chris might not have done that. *** note sure on this *** On 2015-03-17 17:37, Joel Sherrill wrote: This was an issue in rtems-tools. Can you see if you can update that and build it by hand? RSB may need a hash tag updated and Chris might not have done that. *** note sure on this *** OK, this time it went through! Thanks! ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
Re: rtems-source-builder on cygwin/64, WAF?
On 18/03/2015 7:28 am, Chris Johns wrote: I am testing this now as I needed to add 'merge' to the git module. Pushed as https://git.rtems.org/rtems-source-builder/commit/?id=b0f9e30fa46a8025b76bf86321ebe585de8972f4 Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
Re: rtems-source-builder on cygwin/64, WAF?
On 18/03/2015 3:37 am, Joel Sherrill wrote: On 3/17/2015 11:30 AM, emanuel stiebler wrote: 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 ... This was an issue in rtems-tools. Can you see if you can update that and build it by hand? RSB may need a hash tag updated and Chris might not have done that. *** note sure on this *** It is tracking head. I am wondering if the git sequence being used is wrong and should be: git://git.rtems.org/rtems-tools.git?fetch?reset=hard?merge where we fetch, reset to erase any local patches applied and then merge any changes fetched. I am testing this now as I needed to add 'merge' to the git module. Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
Re: rtems-source-builder on cygwin/64, WAF?
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 ... 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
Re: rtems-source-builder on cygwin/64, WAF?
On 3/17/2015 11:30 AM, emanuel stiebler wrote: 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 ... This was an issue in rtems-tools. Can you see if you can update that and build it by hand? RSB may need a hash tag updated and Chris might not have done that. *** note sure on this *** -- Joel Sherrill, Ph.D. Director of Research Development joel.sherr...@oarcorp.comOn-Line Applications Research Ask me about RTEMS: a free RTOS Huntsville AL 35805 Support Available(256) 722-9985 ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
Re: rtems-source-builder on cygwin/64, WAF?
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. [ 6/141] c: rtemstoolkit/elftoolchain/libelf/elf_cntl.c - build/rtemstoolkit/elftoolchain/libelf/elf_cntl.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_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 $); On 3/16/2015 10:16 AM, emanuel stiebler wrote: On 2015-03-15 22:19, Chris Johns wrote: [ back on list ] Thanks. Can you please try the attached windows.py ? OK, it seems to build most of the stuff, and fails in the WAF build :( RTEMS Source Builder - Set Builder, v0.5.0 Build Set: 4.11/rtems-arm Build Set: 4.11/rtems-autotools.bset Build Set: 4.11/rtems-autotools-internal.bset config: tools/rtems-autoconf-2.69-1.cfg package: autoconf-2.69-x86_64-pc-cygwin-1 building: autoconf-2.69-x86_64-pc-cygwin-1 config: tools/rtems-automake-1.12.6-1.cfg package: automake-1.12.6-x86_64-pc-cygwin-1 building: automake-1.12.6-x86_64-pc-cygwin-1 cleaning: autoconf-2.69-x86_64-pc-cygwin-1 cleaning: automake-1.12.6-x86_64-pc-cygwin-1 Build Set: Time 0:00:54.896497 Build Set: 4.11/rtems-autotools-base.bset config: tools/rtems-autoconf-2.69-1.cfg package: autoconf-2.69-x86_64-pc-cygwin-1 building: autoconf-2.69-x86_64-pc-cygwin-1 config: tools/rtems-automake-1.12.6-1.cfg package: automake-1.12.6-x86_64-pc-cygwin-1 building: automake-1.12.6-x86_64-pc-cygwin-1 installing: autoconf-2.69-x86_64-pc-cygwin-1 - /opt/rtems-4.11 installing: automake-1.12.6-x86_64-pc-cygwin-1 - /opt/rtems-4.11 cleaning: autoconf-2.69-x86_64-pc-cygwin-1 cleaning: automake-1.12.6-x86_64-pc-cygwin-1 Build Set: Time 0:00:52.899693 Build Set: Time 0:01:47.811790 config: devel/expat-2.1.0-1.cfg package: expat-2.1.0-x86_64-pc-cygwin-1 building: expat-2.1.0-x86_64-pc-cygwin-1 config: tools/rtems-binutils-2.24-1.cfg package: arm-rtems4.11-binutils-2.24-x86_64-pc-cygwin-1 building: arm-rtems4.11-binutils-2.24-x86_64-pc-cygwin-1 config: tools/rtems-gcc-4.9.2-newlib-git-1.cfg package: arm-rtems4.11-gcc-4.9.2-newlib-b75c57950318ed657807f87a4c694e7b8d68fcae-x86_64-pc-cygwin-1 git: fetch: git://sourceware.org/git/newlib.git - sources/git/newlib.git git: reset: git://sourceware.org/git/newlib.git git: checkout: git://sourceware.org/git/newlib.git = master git: checkout: git://sourceware.org/git/newlib.git = b75c57950318ed657807f87a4c694e7b8d68fcae building: arm-rtems4.11-gcc-4.9.2-newlib-b75c57950318ed657807f87a4c694e7b8d68fcae-x86_64-pc-cygwin-1 config: tools/rtems-gdb-7.9-1.cfg package: arm-rtems4.11-gdb-7.9-x86_64-pc-cygwin-1 download: http://ftp.gnu.org/gnu/gdb/gdb-7.9.tar.xz - sources/gdb-7.9.tar.xz downloading: sources/gdb-7.9.tar.xz - 17.0MB of 17.0MB (100%) warning: gdb-7.9.tar.xz: no hash found Creating source directory: patches download: http://git.rtems.org/rtems-tools/plain/tools/4.11/gdb/gdb-sim-arange-inline.diff - patches/gdb-sim-arange-inline.diff redirect: https://git.rtems.org/rtems-tools/plain/tools/4.11/gdb/gdb-sim-arange-inline.diff downloading: patches/gdb-sim-arange-inline.diff - 761.0 bytes of 761.0 bytes (100%) download: http://git.rtems.org/rtems-tools/plain/tools/4.11/gdb/gdb-sim-cgen-inline.diff - patches/gdb-sim-cgen-inline.diff redirect: https://git.rtems.org/rtems-tools/plain/tools/4.11/gdb/gdb-sim-cgen-inline.diff downloading: patches/gdb-sim-cgen-inline.diff - 706.0 bytes of 706.0 bytes (100%) building: arm-rtems4.11-gdb-7.9-x86_64-pc-cygwin-1 config: tools/rtems-tools-4.11-1.cfg package: rtems-tools-HEAD-1 git: clone: git://git.rtems.org/rtems-tools.git - sources/git/rtems-tools.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 building: rtems-tools-HEAD-1 error: