<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en" style="--code-editor-font: var(--default-mono-font, "GitLab Mono"), JetBrains Mono, Menlo, DejaVu Sans Mono, Liberation Mono, Consolas, Ubuntu Mono, Courier New, andale mono, lucida console, monospace;">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title>
GitLab
</title>
<style data-premailer="ignore" type="text/css">
a { color: #1068bf; }
</style>
<style>img {
max-width: 100%; height: auto;
}
body {
font-size: .875rem;
}
body {
-webkit-text-shadow: hsla(0,0%,100%,.01) 0 0 1px;
}
body {
font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; font-size: inherit;
}
</style>
</head>
<body style="font-size: inherit; -webkit-text-shadow: hsla(0,0%,100%,.01) 0 0 1px; font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";">
<div class="content">
<p class="details" style="font-style: italic; color: #626168;">
Issue created by <a href="https://gitlab.rtems.org/tracmigrate">Trac Migrate</a>: <a href="https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/work_items/200">#200</a>
</p>
<p>
Assignee: Trac Migrate
</p>
<div class="md" style="position: relative; z-index: 1; color: #3a383f; word-wrap: break-word;">
<p dir="auto" style="color: #3a383f; margin: 0px 0px 1rem;" align="initial">Original author: FredDeCaro</p>
<p dir="auto" style="color: #3a383f; margin: 0px 0px 1rem;" align="initial">I was trying to build the RTEMS Tools and Kernel for the ARM tool chain. I used the follloiwng command:</p>
<p dir="auto" style="color: #3a383f; margin: 0px 0px 1rem;" align="initial">../source-builder/sb-set-builder --prefix=/opt/rtems/4.11 --jobs=none 4.11/rtems-arm</p>
<p dir="auto" style="color: #3a383f; margin: 0px 0px 1rem;" align="initial">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</p>
<p dir="auto" style="color: #3a383f; margin: 0px 0px 1rem;" align="initial">Below is the detailed error from the error report:</p>
<ul dir="auto" style="text-align: initial; list-style-type: disc; margin: 0px 0px 1rem; padding: 0;">
<li style="margin-top: 0px; line-height: 1.6em; margin-left: 25px; padding-left: 3px;">cd rtems-tools-4.11.2</li>
<li style="line-height: 1.6em; margin-left: 25px; padding-left: 3px;">chmod -R a+rX,g-w,o-w .</li>
<li style="line-height: 1.6em; margin-left: 25px; padding-left: 3px;">cd /c/opt/rtems/4_11_2/rtems/build/rtems-tools-4.11.2-1</li>
<li style="line-height: 1.6em; margin-left: 25px; padding-left: 3px;">SB_CXC=no
==> clean %{buildroot}: /c/opt/rtems/4_11_2/rtems/build/tmp/rtems-tools-4.11.2-1-root-fred.decaro</li>
<li style="line-height: 1.6em; margin-left: 25px; padding-left: 3px;">echo '==> clean %{buildroot}: /c/opt/rtems/4_11_2/rtems/build/tmp/rtems-tools-4.11.2-1-root-fred.decaro'</li>
<li style="line-height: 1.6em; margin-left: 25px; padding-left: 3px;">rm -rf /c/opt/rtems/4_11_2/rtems/build/tmp/rtems-tools-4.11.2-1-root-fred.decaro</li>
<li style="line-height: 1.6em; margin-left: 25px; padding-left: 3px;">/bin/mkdir -p /c/opt/rtems/4_11_2/rtems/build/tmp/rtems-tools-4.11.2-1-root-fred.decaro</li>
<li style="line-height: 1.6em; margin-left: 25px; padding-left: 3px;">echo '==> %build:'
==> %build:
++ pwd</li>
<li style="line-height: 1.6em; margin-left: 25px; padding-left: 3px;">build_top=/c/opt/rtems/4_11_2/rtems/build/rtems-tools-4.11.2-1</li>
<li style="line-height: 1.6em; margin-left: 25px; padding-left: 3px;">test i686-pc-cygwin '!=' i686-pc-cygwin</li>
<li style="line-height: 1.6em; margin-left: 25px; padding-left: 3px;">RT_HOST=</li>
<li style="line-height: 1.6em; margin-left: 25px; padding-left: 3px;">cd rtems-tools-4.11.2</li>
<li style="line-height: 1.6em; margin-left: 25px; padding-left: 3px;">./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)</li>
<li style="line-height: 1.6em; margin-left: 25px; padding-left: 3px;">./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'</li>
</ul>
<p dir="auto" style="color: #3a383f; margin: 0px;" align="initial">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</p>
</div>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #626168;">
—
<br>
<a href="https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/work_items/200">View it on GitLab</a>.
<br>
You're receiving this email because of your account on <a target="_blank" rel="noopener noreferrer" href="https://gitlab.rtems.org">gitlab.rtems.org</a>. <a href="https://gitlab.rtems.org/-/sent_notifications/4-2s20l6foh37wm1jfvq0bw51k0-e/unsubscribe" target="_blank" rel="noopener noreferrer">Unsubscribe</a> from this thread · <a href="https://gitlab.rtems.org/-/profile/notifications" target="_blank" rel="noopener noreferrer" class="mng-notif-link">Manage all notifications</a> · <a href="https://gitlab.rtems.org/help" target="_blank" rel="noopener noreferrer" class="help-link">Help</a>
<span style="color: transparent; font-size: 0; display: none; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0;">
Notification message regarding https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/work_items/200 at 1783017156
</span>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Work item","url":"https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/work_items/200"}}</script>
</p>
</div>
</body>
</html>