rtems6 master build tests for erc32 fail : undefined reference to `_Timespec_Is_non_negative'

Joel Sherrill joel at rtems.org
Mon Jun 21 20:18:00 UTC 2021


The autoconf build system is on life support and fading fast but
this one was fixable and a patch was pushed. I tested with
sparc/leon3 and Ryan provided a patch. Try again please.

There are only a couple of issues remaining before the autoconf
build system is removed from the master so it is time to figure
out the waf build system if you haven't already. :)

--joel

On Mon, Jun 21, 2021 at 10:24 AM junkes <junkes at fhi-berlin.mpg.de> wrote:

> Making all-am in fstests
> make[5]: Entering directory
> '/home/junkes/VE/build/b-erc32/sparc-rtems6/c/erc32/testsuites/fstests'
> sparc-rtems6-gcc  -mcpu=cypress -O2 -g -ffunction-sections
> -fdata-sections -Wall -Wmissing-prototypes
> -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs
> -B./../../lib/libbsp/sparc/erc32
> -B/home/junkes/VE/kernel/bsps/sparc/erc32/start -specs bsp_specs -qrtems
> -L./../../cpukit -L/home/junkes/VE/kernel/bsps/sparc/shared/start
> -Wl,--wrap=printf -Wl,--wrap=puts -Wl,--wrap=putchar -Wl,--gc-sections
> -o fsimfsconfig01.exe fsimfsconfig01/fsimfsconfig01-init.o
> ./../../lib/libbsp/sparc/erc32/librtemsbsp.a
> ./../../cpukit/librtemscpu.a ./../../cpukit/librtemstest.a
> /home/junkes/VE/rtems/6/lib/gcc/sparc-rtems6/10.3.1/../../../../sparc-rtems6/bin/ld:
>
> ./../../cpukit/librtemscpu.a(utimensat.o): in function
> `rtems_filesystem_utime_update':
> /home/junkes/VE/build/b-erc32/sparc-rtems6/c/erc32/cpukit/../../../../../../kernel/c/src/../../cpukit/libcsupport/src/utimensat.c:153:
>
> undefined reference to `_Timespec_Is_non_negative'
> /home/junkes/VE/rtems/6/lib/gcc/sparc-rtems6/10.3.1/../../../../sparc-rtems6/bin/ld:
>
> /home/junkes/VE/build/b-erc32/sparc-rtems6/c/erc32/cpukit/../../../../../../kernel/c/src/../../cpukit/libcsupport/src/utimensat.c:157:
>
> undefined reference to `_Timespec_Is_non_negative'
> collect2: error: ld returned 1 exit status
> make[5]: *** [Makefile:1905: fsimfsconfig01.exe] Error 1
> make[5]: Leaving directory
> '/home/junkes/VE/build/b-erc32/sparc-rtems6/c/erc32/testsuites/fstests'
> make[4]: *** [Makefile:663: fstests] Error 2
> make[4]: Leaving directory
> '/home/junkes/VE/build/b-erc32/sparc-rtems6/c/erc32/testsuites'
> make[3]: *** [Makefile:1342: testsuites] Error 2
> make[3]: Leaving directory
> '/home/junkes/VE/build/b-erc32/sparc-rtems6/c/erc32'
> make[2]: *** [Makefile:822: all-recursive] Error 1
> make[2]: Leaving directory
> '/home/junkes/VE/build/b-erc32/sparc-rtems6/c/erc32'
> make[1]: *** [Makefile:289: all-recursive] Error 1
> make[1]: Leaving directory
> '/home/junkes/VE/build/b-erc32/sparc-rtems6/c'
> make: *** [Makefile:410: all-recursive] Error 1
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20210621/f8b6814e/attachment.html>


More information about the devel mailing list