<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 23, 2017 at 2:10 PM, Hill, Jeff <span dir="ltr"><<a href="mailto:johill@lanl.gov" target="_blank">johill@lanl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Hello All,<br>
<br>
I am merging with 4.11.1, but see some gnu autotools configuration errors for nios2-rtems4.11 I haven't seen before. See below. This was probably not occurring when I was merging with nios2-rtems4.11.0 but I haven't yet worked out what the issue is, or if I am causing it locally.<br>
<br>
I will be digging deeper into this later today, but if anyone has some suggestions about a cause, then I might avoid some effort.<br>
<br>
My toolchain _is_ recently built by RSB for 4.11.1.<br>
<br></blockquote><div><br></div><div>Hmmm... if it worked for 4.11.0 and doesn't for 4.11.1 that seems odd since I</div><div>recall there was only a packaging or version number issue fixed between the</div><div>two.</div><div><br></div><div>This is in <sys/lock.h> for _Thread_queue_Queue structure but on 4.12<br></div><div>not 4.11.</div><div><br></div><div><div>struct _Thread_queue_Queue {</div><div>        struct _Ticket_lock_Control _Lock;</div><div>        struct _Thread_queue_Heads *_heads;</div><div>        struct _Thread_Control *_owner;</div><div>        const char *_name;</div><div>};</div></div><div><br></div><div>Are you building RTEMS from git and on the master branch not the 4.11 branch?</div><div>Or are you using the 4.11.1 tarball?<br></div><div><br></div><div>I can see a git branch issue causing this and it being easy to do. All the other</div><div>things that could have gone wrong seem unlikely.</div><div><br></div><div>--joel</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Jeff<br>
<br>
configure: running /bin/bash '/home/hill/nios2-rtems/rtems/<wbr>rtems-4-11-merge/c/src/../../<wbr>cpukit/configure'  '--prefix=/home/hill/install/<wbr>rtems-4.11' '--host=nios2-rtems4.11' '--build=x86_64-pc-linux-gnu' '--target=nios2-rtems4.11' '--disable-itron' '--disable-tests' '--enable-posix' '--enable-cxx' '--enable-networking' '--enable-maintainer-mode' '--with-target-subdir=nios2-<wbr>rtems4.11' '--exec-prefix=/home/hill/<wbr>install/rtems-4.11/nios2-<wbr>rtems4.11' '--includedir=/home/hill/<wbr>install/rtems-4.11/nios2-<wbr>rtems4.11/include' 'build_alias=x86_64-pc-linux-<wbr>gnu' 'host_alias=nios2-rtems4.11' 'target_alias=nios2-rtems4.11' '--with-project-root=../../' '--with-project-top=../../' 'RTEMS_BSP=altera-sys-config-<wbr>S43X-BPPM' 'RTEMS_CPU_MODEL=fast' 'RTEMS_BSP_FAMILY=altera-sys-<wbr>config' 'CFLAGS= -O3 -g -Wall -Wmissing-prototypes -Wimplicit-function-<wbr>declaration -Wstrict-prototypes -Wnested-externs' '--with-project-root=../../../<wbr>altera-sys-config-S43X-BPPM/'    '--includedir=/home/hill/<wbr>install/rtems-4.11/nios2-rtem<br>
 s4.11/altera-sys-config-S43X-<wbr>BPPM/lib/include'    '--libdir=/home/hill/install/<wbr>rtems-4.11/nios2-rtems4.11/<wbr>altera-sys-config-S43X-BPPM/<wbr>lib'    --cache-file=/dev/null --srcdir=/home/hill/nios2-<wbr>rtems/rtems/rtems-4-11-merge/<wbr>c/src/../../cpukit<br>
checking for gmake... no<br>
checking for make... make<br>
checking build system type... x86_64-pc-linux-gnu<br>
checking host system type... nios2-unknown-rtems4.11<br>
checking rtems target cpu... nios2<br>
checking for a BSD-compatible install... /usr/bin/install -c<br>
checking whether build environment is sane... yes<br>
checking for nios2-rtems4.11-strip... nios2-rtems4.11-strip<br>
checking for a thread-safe mkdir -p... /bin/mkdir -p<br>
checking for gawk... no<br>
checking for mawk... mawk<br>
checking whether make sets $(MAKE)... yes<br>
checking whether to enable maintainer-specific portions of Makefiles... yes<br>
/home/hill/nios2-rtems/rtems/<wbr>rtems-4-11-merge/c/src/../../<wbr>cpukit/configure: line 3404: RTEMS_ENABLE_CXX: command not found<br>
checking if cpu nios2 is supported... yes<br>
checking for style of include used by make... GNU<br>
checking for nios2-rtems4.11-gcc... nios2-rtems4.11-gcc<br>
checking for nios2-rtems4.11-gcc... (cached) nios2-rtems4.11-gcc<br>
checking whether the C compiler works... yes<br>
checking for C compiler default output file name... a.out<br>
checking for suffix of executables...<br>
checking whether we are cross compiling... yes<br>
checking for suffix of object files... o<br>
checking whether we are using the GNU C compiler... yes<br>
checking whether nios2-rtems4.11-gcc accepts -g... yes<br>
checking for nios2-rtems4.11-gcc option to accept ISO C89... none needed<br>
checking dependency style of nios2-rtems4.11-gcc... gcc3<br>
checking how to run the C preprocessor... nios2-rtems4.11-gcc -E<br>
checking whether nios2-rtems4.11-gcc accepts --pipe... yes<br>
/home/hill/nios2-rtems/rtems/<wbr>rtems-4-11-merge/c/src/../../<wbr>cpukit/configure: line 4696: RTEMS_GCC_SPECS: command not found<br>
/home/hill/nios2-rtems/rtems/<wbr>rtems-4-11-merge/c/src/../../<wbr>cpukit/configure: line 4720: RTEMS_PROG_CXX_FOR_TARGET: command not found<br>
checking whether nios2-rtems4.11-gcc --pipe and cc understand -c and -o together... yes<br>
checking for nios2-rtems4.11-ar... nios2-rtems4.11-ar<br>
checking for nios2-rtems4.11-ranlib... nios2-rtems4.11-ranlib<br>
checking dependency style of nios2-rtems4.11-gcc --pipe... gcc3<br>
checking for nios2-rtems4.11-ranlib... (cached) nios2-rtems4.11-ranlib<br>
checking for RTEMS newlib... yes<br>
checking for strsep... yes<br>
checking for strcasecmp... yes<br>
checking for snprintf... yes<br>
checking for strdup... yes<br>
checking for strndup... yes<br>
checking for strncasecmp... yes<br>
checking for bcopy... yes<br>
checking for bcmp... yes<br>
checking for isascii... yes<br>
checking for fileno... yes<br>
checking for readdir_r... yes<br>
checking for isatty... yes<br>
checking for creat... yes<br>
checking for opendir... yes<br>
checking for closedir... yes<br>
checking for readdir... yes<br>
checking for rewinddir... yes<br>
checking for scandir... yes<br>
checking for seekdir... yes<br>
checking for sleep... yes<br>
checking for telldir... yes<br>
checking for usleep... yes<br>
checking for __assert... yes<br>
checking for execl... yes<br>
checking for execlp... yes<br>
checking for execle... yes<br>
checking for execv... yes<br>
checking for execvp... yes<br>
checking for execve... yes<br>
checking for regcomp... yes<br>
checking for regexec... yes<br>
checking for regerror... yes<br>
checking for regfree... yes<br>
checking whether flockfile is declared... yes<br>
checking for flockfile... no<br>
checking whether funlockfile is declared... yes<br>
checking for funlockfile... no<br>
checking whether ftrylockfile is declared... yes<br>
checking for ftrylockfile... no<br>
checking for struct _Thread_queue_Queue._name... no<br>
configure: error: please update your tool chain via the RSB <<a href="https://docs.rtems.org/branches/master/rsb/quick-start.html" rel="noreferrer" target="_blank">https://docs.rtems.org/<wbr>branches/master/rsb/quick-<wbr>start.html</a>><br>
configure: error: /bin/bash '/home/hill/nios2-rtems/rtems/<wbr>rtems-4-11-merge/c/src/../../<wbr>cpukit/configure' failed for ../../cpukit<br>
make[2]: *** [altera-sys-config-S43X-BPPM] Error 1<br>
make[2]: Leaving directory `/home/hill/build/b-rtems/<wbr>nios2-rtems4.11/c'<br>
make[1]: *** [all-recursive] Error 1<br>
make[1]: Leaving directory `/home/hill/build/b-rtems/<wbr>nios2-rtems4.11/c'<br>
make: *** [all-recursive] Error 1<br>
______________________________<wbr>_________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/<wbr>mailman/listinfo/users</a><br>
</blockquote></div><br></div></div>