#3079 closed defect (fixed)
Ada tests do not build
Reported by: | Sebastian Huber | Owned by: | Sebastian Huber <sebastian.huber@…> |
---|---|---|---|
Priority: | normal | Milestone: | 5.1 |
Component: | build | Version: | 5 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
A "make" in the top level build directory does not build the Ada tests (used to work some weeks ago). A "make" in ./sparc-rtems4.12/c/erc32/ada-tests for example works.
The configuration step seems to work:
configure: configuring in ada-tests configure: running /bin/sh '../../../../../rtems/c/src/ada-tests/configure' '--prefix=/home/joel/rtems-4.11-work/bsp-install' '--host=sparc-rtems4.12' '--build=x86_64-pc-linux-gnu' '--target=sparc-rtems4.12' '--enable-smp' '--disable-profiling' '--disable-multiprocessing' '--enable-rtems-debug' '--enable-cxx' '--disable-rdbg' '--enable-maintainer-mode' '--enable-tests' '--enable-networking' '--enable-posix' '--disable-itron' '--disable-deprecated' '--enable-ada' '--enable-expada' 'SIMSPARC_FAST_IDLE=1' '--with-target-subdir=sparc-rtems4.12' '--exec-prefix=/home/joel/rtems-4.11-work/bsp-install/sparc-rtems4.12' '--includedir=/home/joel/rtems-4.11-work/bsp-install/sparc-rtems4.12/include' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=sparc-rtems4.12' 'target_alias=sparc-rtems4.12' '--with-project-root=../../' '--with-project-top=../../' 'RTEMS_BSP=erc32' 'RTEMS_CPU_MODEL=erc32' 'RTEMS_BSP_FAMILY=erc32' 'CFLAGS=-mcpu=cypress -O2 -g -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs' '--enable-rtems-root=../' '--enable-project-root=../../../erc32' '--with-project-top=../../../' '--enable-rtemsbsp=erc32' --cache-file=/dev/null --srcdir=../../../../../rtems/c/src/ada-tests configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu checking for gmake... gmake
However:
gmake[4]: Entering directory '/scratch/git-rtems-testing/rtems/build-sparc-erc32-rtems/sparc-rtems4.12/c/erc32/ada-tests' gmake[4]: Nothing to be done for 'all-am'.
Change History (8)
comment:1 Changed on 10/12/17 at 00:18:40 by Joel Sherrill
Milestone: | 4.12.0 → 4.10.3 |
---|---|
Owner: | changed from chrisj@… to Sebastian Huber |
Status: | new → assigned |
comment:2 Changed on 10/12/17 at 05:29:11 by Sebastian Huber
Milestone: | 4.10.3 → 4.12.0 |
---|---|
Owner: | changed from Sebastian Huber to Chris Johns |
This is a 4.12 problem and related to recent changes in the build system.
comment:3 Changed on 10/12/17 at 05:39:24 by Chris Johns
Owner: | Chris Johns deleted |
---|---|
Status: | assigned → new |
No point assigning this to me, I do not have an Ada compiler and when I last looked it did not build easily on my hosts. I have no ability to test any of this.
I suggest you change SUBDIRS
to _SUBDIRS
and see what happens. SUBDIRS
is owned by automake
and our build system circumvented automake
long ago.
comment:4 follow-up: 7 Changed on 10/12/17 at 08:52:56 by Sebastian Huber
Thanks, this _SUBDIR hint was what I needed.
comment:6 Changed on 10/12/17 at 08:56:07 by Sebastian Huber <sebastian.huber@…>
Owner: | set to Sebastian Huber <sebastian.huber@…> |
---|---|
Resolution: | → fixed |
Status: | new → closed |
In ee537ea/rtems:
comment:7 Changed on 10/12/17 at 15:53:17 by Chris Johns
Replying to Sebastian Huber:
Thanks, this _SUBDIR hint was what I needed.
Awesome change. Thank you.
comment:8 Changed on 11/09/17 at 06:27:14 by Sebastian Huber
Milestone: | 4.12.0 → 5.1 |
---|
Milestone renamed
Is this fixed now?