[RTEMS Project] #3479: error: building rtems-tools-4.11.2-1

RTEMS trac trac at rtems.org
Fri Jul 27 14:24:52 UTC 2018


#3479: error: building rtems-tools-4.11.2-1
-------------------------+--------------------
  Reporter:  FredDeCaro  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  high        |  Milestone:
 Component:  admin       |    Version:  4.11
  Severity:  normal      |   Keywords:
Blocked By:              |   Blocking:
-------------------------+--------------------
 I was trying to build the RTEMS Tools and Kernel for the ARM tool chain. I
 used the follloiwng command:

  ../source-builder/sb-set-builder  --prefix=/opt/rtems/4.11 --jobs=none
 4.11/rtems-arm

 Near the end, I get this error:
 building: rtems-tools-4.11.2-1
 error: building rtems-tools-4.11.2-1
 Build FAILED
   See error report: rsb-report-rtems-tools-4.11.2-1.txt
 error: building rtems-tools-4.11.2-1
 Build Set: Time 14:32:26.052397
 Build FAILED




 Below is the detailed error from the error report:

 + cd rtems-tools-4.11.2
 + chmod -R a+rX,g-w,o-w .
 + cd /c/opt/rtems/4_11_2/rtems/build/rtems-tools-4.11.2-1
 + SB_CXC=no
 ==> clean %{buildroot}: /c/opt/rtems/4_11_2/rtems/build/tmp/rtems-
 tools-4.11.2-1-root-fred.decaro
 + echo '==> clean %{buildroot}: /c/opt/rtems/4_11_2/rtems/build/tmp/rtems-
 tools-4.11.2-1-root-fred.decaro'
 + rm -rf /c/opt/rtems/4_11_2/rtems/build/tmp/rtems-tools-4.11.2-1-root-
 fred.decaro
 + /bin/mkdir -p /c/opt/rtems/4_11_2/rtems/build/tmp/rtems-tools-4.11.2-1
 -root-fred.decaro
 + echo '==> %build:'
 ==> %build:
 ++ pwd
 + build_top=/c/opt/rtems/4_11_2/rtems/build/rtems-tools-4.11.2-1
 + test i686-pc-cygwin '!=' i686-pc-cygwin
 + RT_HOST=
 + cd rtems-tools-4.11.2
 + ./waf configure --prefix=/opt/rtems/4.11
 Setting top to                           : /c/opt/rtems/4_11_2/rtems/build
 /rtems-tools-4.11.2-1/rtems-tools-4.11.2
 Setting out to                           : /c/opt/rtems/4_11_2/rtems/build
 /rtems-tools-4.11.2-1/rtems-tools-4.11.2/build
 Version                                  : 4.11.2 (4.11)
 Checking for program 'python'            : /usr/bin/python
 Checking for python version              : (2, 6, 8, 'final', 0)
 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 program 'm4'                : /usr/bin/m4
 Checking for header sys/wait.h           : yes
 Checking for function kill               : yes
 Checking for function open64             : not found
 Checking for function stat64             : not found
 'configure' finished successfully (6.458s)
 + ./waf
 Waf: Entering directory `/c/opt/rtems/4_11_2/rtems/build/rtems-
 tools-4.11.2-1/rtems-tools-4.11.2/build'
 [  1/141] Compiling rtemstoolkit/elftoolchain/libelf/libelf_convert.m4
 [  2/141] Compiling rtemstoolkit/elftoolchain/libelf/libelf_fsize.m4
 [  3/141] Compiling rtemstoolkit/elftoolchain/libelf/libelf_msize.m4
 [  4/141] Compiling rtemstoolkit/elftoolchain/libelf/elf.c
 [  5/141] Compiling rtemstoolkit/elftoolchain/libelf/elf_begin.c
 [  6/141] Compiling rtemstoolkit/elftoolchain/libelf/elf_cntl.c
 [  7/141] Compiling rtemstoolkit/elftoolchain/libelf/elf_end.c
 [  8/141] Compiling rtemstoolkit/elftoolchain/libelf/elf_errmsg.c
 [ 10/141] Compiling rtemstoolkit/elftoolchain/libelf/elf_errno.c
 [ 10/141] Compiling rtemstoolkit/elftoolchain/libelf/elf_data.c
 [ 11/141] Compiling rtemstoolkit/elftoolchain/libelf/elf_fill.c
 [ 12/141] Compiling rtemstoolkit/elftoolchain/libelf/elf_flag.c
 [ 13/141] Compiling rtemstoolkit/elftoolchain/libelf/elf_getarhdr.c
 [ 14/141] Compiling rtemstoolkit/elftoolchain/libelf/elf_getarsym.c
 [ 15/141] Compiling rtemstoolkit/elftoolchain/libelf/elf_getbase.c
 [ 16/141] Compiling rtemstoolkit/elftoolchain/libelf/elf_getident.c
 [ 17/141] Compiling rtemstoolkit/elftoolchain/libelf/elf_hash.c
 [ 18/141] Compiling rtemstoolkit/elftoolchain/libelf/elf_kind.c
 [ 19/141] Compiling rtemstoolkit/elftoolchain/libelf/elf_memory.c
 [ 20/141] Compiling rtemstoolkit/elftoolchain/libelf/elf_next.c
 [ 21/141] Compiling rtemstoolkit/elftoolchain/libelf/elf_rand.c
 [ 22/141] Compiling rtemstoolkit/elftoolchain/libelf/elf_rawfile.c
 [ 23/141] Compiling rtemstoolkit/elftoolchain/libelf/elf_phnum.c
 [ 24/141] Compiling rtemstoolkit/elftoolchain/libelf/elf_shnum.c
 [ 25/141] Compiling rtemstoolkit/elftoolchain/libelf/elf_shstrndx.c
 [ 26/141] Compiling rtemstoolkit/elftoolchain/libelf/elf_scn.c
 [ 27/141] Compiling rtemstoolkit/elftoolchain/libelf/elf_strptr.c
 [ 28/141] Compiling rtemstoolkit/elftoolchain/libelf/elf_update.c
 [ 29/141] Compiling rtemstoolkit/elftoolchain/libelf/elf_version.c
 [ 30/141] Compiling rtemstoolkit/elftoolchain/libelf/gelf_cap.c
 [ 31/141] Compiling rtemstoolkit/elftoolchain/libelf/gelf_checksum.c
 ../rtemstoolkit/elftoolchain/libelf/elf_scn.c: In function
 '_libelf_load_section_headers':
 ../rtemstoolkit/elftoolchain/libelf/elf_scn.c:96:3: error: expected
 expression before 'struct'

 Build failed
 Waf: Leaving directory `/c/opt/rtems/4_11_2/rtems/build/rtems-
 tools-4.11.2-1/rtems-tools-4.11.2/build'
  -> task in 'elf' failed (exit status 1):
         {task 4291424812L: c elf_scn.c -> elf_scn.c.4.o}
 ['/usr/bin/gcc', '-pipe', '-g', '-O2', '-I/c/opt/rtems/4_11_2/rtems/build
 /rtems-tools-4.11.2-1/rtems-tools-4.11.2/build',
 '-I/c/opt/rtems/4_11_2/rtems/build/rtems-tools-4.11.2-1/rtems-
 tools-4.11.2/build/rtemstoolkit/elftoolchain/libelf',
 '-I/c/opt/rtems/4_11_2/rtems/build/rtems-tools-4.11.2-1/rtems-
 tools-4.11.2/rtemstoolkit/elftoolchain/libelf',
 '-I/c/opt/rtems/4_11_2/rtems/build/rtems-tools-4.11.2-1/rtems-
 tools-4.11.2/build/rtemstoolkit/elftoolchain/common',
 '-I/c/opt/rtems/4_11_2/rtems/build/rtems-tools-4.11.2-1/rtems-
 tools-4.11.2/rtemstoolkit/elftoolchain/common',
 '../rtemstoolkit/elftoolchain/libelf/elf_scn.c', '-c', '-o',
 '/c/opt/rtems/4_11_2/rtems/build/rtems-tools-4.11.2-1/rtems-
 tools-4.11.2/build/rtemstoolkit/elftoolchain/libelf/elf_scn.c.4.o']
 shell cmd failed: sh -ex  /c/opt/rtems/4_11_2/rtems/build/rtems-
 tools-4.11.2-1/doit
 error: building rtems-tools-4.11.2-1
   See error report: rsb-report-rtems-tools-4.11.2-1.txt
 Build Set: Time 14:32:26.052397

--
Ticket URL: <http://devel.rtems.org/ticket/3479>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list