[RTEMS Project] #3217: Add RTEMS version, build and tools details to tests
RTEMS trac
trac at rtems.org
Mon Nov 13 13:16:44 UTC 2017
#3217: Add RTEMS version, build and tools details to tests
-------------------------+--------------------------
Reporter: Chris Johns | Owner: Chris Johns
Type: enhancement | Status: assigned
Priority: normal | Milestone: 5.1
Component: lib | Version: 5
Severity: normal | Resolution:
Keywords: |
-------------------------+--------------------------
Comment (by Sebastian Huber):
I get build failures on CentOS Linux release 7.4.1708 with a "make -j 1":
{{{
+ version=5
+ bsp=t32mppc
+ target=powerpc
+ build_dir=b-t32mppc
+ source_dir=/home/rtems/rtems
+ rm -rf b-t32mppc
+ mkdir b-t32mppc
+ cd b-t32mppc
+ /home/rtems/rtems/configure --target=powerpc-rtems5
--prefix=/opt/rtems/5 --enable-maintainer-mode --enable-rtemsbsp=t32mppc
--enable-posix --disable-tests --enable-networking --enable-smp
checking for gmake... gmake
checking for RTEMS Version... 5.0.0
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
...
Making all-am in sapi
gmake[5]: Entering directory `/home/rtems/build/b-t32mppc/powerpc-
rtems5/c/t32mppc/cpukit/sapi'
powerpc-rtems5-gcc --pipe -DHAVE_CONFIG_H -I..
-I../../cpukit/../../../t32mppc/lib/include -I. -mcpu=8540 -meabi
-msdata=sysv -fno-common -msoft-float -mno-spe -D__ppc_generic -Og -g
-ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-
function-declaration -Wstrict-prototypes -Wnested-externs -MT src
/libsapi_a-version.o -MD -MP -MF src/.deps/libsapi_a-version.Tpo -c -o src
/libsapi_a-version.o `test -f 'src/version.c' || echo
'/home/rtems/rtems/c/src/../../cpukit/sapi/'`src/version.c
/home/rtems/rtems/c/src/../../cpukit/sapi/src/version.c:30:10: fatal
error: version-vc-key.h: No such file or directory
#include "version-vc-key.h"
^~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[5]: *** [src/libsapi_a-version.o] Error 1
gmake[5]: Leaving directory `/home/rtems/build/b-t32mppc/powerpc-
rtems5/c/t32mppc/cpukit/sapi'
gmake[4]: *** [sapi] Error 2
gmake[4]: Leaving directory `/home/rtems/build/b-t32mppc/powerpc-
rtems5/c/t32mppc/cpukit'
gmake[3]: *** [cpukit] Error 2
gmake[3]: Leaving directory `/home/rtems/build/b-t32mppc/powerpc-
rtems5/c/t32mppc'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/rtems/build/b-t32mppc/powerpc-
rtems5/c/t32mppc'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/rtems/build/b-t32mppc/powerpc-rtems5/c'
make: *** [all-recursive] Error 1
}}}
It works only if I change into the sapi build directory and run "make"
here:
{{{
cd /home/rtems/build/b-t32mppc/powerpc-rtems5/c/t32mppc/cpukit/sapi
~/build/b-t32mppc/powerpc-rtems5/c/t32mppc/cpukit/sapi > make
Generating version-vc-key.h
gmake all-am
gmake[1]: Entering directory `/home/rtems/build/b-t32mppc/powerpc-
rtems5/c/t32mppc/cpukit/sapi'
powerpc-rtems5-gcc --pipe -DHAVE_CONFIG_H -I..
-I../../cpukit/../../../t32mppc/lib/include -I. -mcpu=8540 -meabi
-msdata=sysv -fno-common -msoft-float -mno-spe -D__ppc_generic -Og -g
-ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-
function-declaration -Wstrict-prototypes -Wnested-externs -MT src
/libsapi_a-version.o -MD -MP -MF src/.deps/libsapi_a-version.Tpo -c -o src
/libsapi_a-version.o `test -f 'src/version.c' || echo
'/home/rtems/rtems/c/src/../../cpukit/sapi/'`src/version.c
}}}
--
Ticket URL: <http://devel.rtems.org/ticket/3217#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list