rtems-source-builder on cygwin/64, WAF?
Joel Sherrill
joel.sherrill at oarcorp.com
Mon Mar 16 15:48:23 UTC 2015
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: building rtems-tools-HEAD-1
> Build FAILED
> See error report: rsb-report-rtems-tools-HEAD-1.txt
> error: building rtems-tools-HEAD-1
> Build Set: Time 3:24:31.876757
> Build FAILED
>
>
>
> ------------------------------- cut -----------------------------------
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the devel
mailing list