can not build examples (https://github.com/RTEMS/rtems-examples.git) for sparc/erc32.
Seems to related to missing run time linker lib.

waf configure shows:
...
Compiler version (sparc-rtems6-gcc) : 10.2.1 20210315 (RTEMS 6, RSB 62363ba982213588ef5d8bc8c4ff3acc28075f3f, Newlib d10d0d9)
Checking for a valid RTEMS BSP installation : yes
Checking for RTEMS_DEBUG                    : no
Checking for RTEMS_MULTIPROCESSING          : no
Checking for RTEMS_NEWLIB                   : yes
Checking for RTEMS_POSIX_API                : yes
Checking for RTEMS_SMP                      : no
Checking for RTEMS_NETWORKING               : no
Library libm.a                              : found
Library liblvgl.a                           : not found
Library libbsd.a                            : not found


junkes@Krikkit:~/VE/app/rtems-examples$ ./waf -v
Waf: Entering directory `/home/junkes/VE/app/rtems-examples/build/sparc-rtems6-erc32'
[ 8/14] Compiling build/sparc-rtems6-erc32/hello/both_hello/test.c.2.o
09:20:00 runner ['/home/junkes/VE/rtems/6/bin/rtems-tld', '-W hello-deep', '-C', '../../hello/both_hello/hello-deep.ini', '-r', '/home/junkes/VE/rtems/6', '-B', 'sparc/erc32', '-c', '/home/junkes/VE/rtems/6/bin/sparc-rtems6-gcc', '-l', '/home/junkes/VE/rtems/6/bin/sparc-rtems6-gcc', '--', 'hello/both_hello/test.c.2.o', '-mcpu=cypress', '-I/home/junkes/VE/rtems/6/sparc-rtems6/erc32/lib/include', '-MMD', '-B/home/junkes/VE/rtems/6/sparc-rtems6/erc32/lib', '-qrtems', '-Wl,--gc-sections', '-o', '/home/junkes/VE/app/rtems-examples/build/sparc-rtems6-erc32/hello/both_hello/hello-deep.texe', '-Wl,-Bstatic'] /home/junkes/VE/rtems/6/bin/sparc-rtems6-gcc: hello-deep.c:1042:6: error: conflicting types for '_Objects_Set_name' /home/junkes/VE/rtems/6/bin/sparc-rtems6-gcc: 1042 | bool _Objects_Set_name(const Objects_Information* a1, Objects_Control* a2, const char* a3); /home/junkes/VE/rtems/6/bin/sparc-rtems6-gcc: | ^~~~~~~~~~~~~~~~~ /home/junkes/VE/rtems/6/bin/sparc-rtems6-gcc: In file included from hello-deep.c:29: /home/junkes/VE/rtems/6/bin/sparc-rtems6-gcc: /home/junkes/VE/rtems/6/sparc-rtems6/erc32/lib/include/rtems/score/objectimpl.h:443:16: note: previous declaration of '_Objects_Set_name' was here /home/junkes/VE/rtems/6/bin/sparc-rtems6-gcc: 443 | Status_Control _Objects_Set_name( /home/junkes/VE/rtems/6/bin/sparc-rtems6-gcc: | ^~~~~~~~~~~~~~~~~ /home/junkes/VE/rtems/6/bin/sparc-rtems6-gcc: hello-deep.c:1187:6: error: conflicting types for '_Thread_Initialize' /home/junkes/VE/rtems/6/bin/sparc-rtems6-gcc: 1187 | bool _Thread_Initialize(Thread_Information * a1, Thread_Control* a2, const Thread_Configuration * a3); /home/junkes/VE/rtems/6/bin/sparc-rtems6-gcc: | ^~~~~~~~~~~~~~~~~~ /home/junkes/VE/rtems/6/bin/sparc-rtems6-gcc: In file included from hello-deep.c:30: /home/junkes/VE/rtems/6/bin/sparc-rtems6-gcc: /home/junkes/VE/rtems/6/sparc-rtems6/erc32/lib/include/rtems/score/threadimpl.h:213:16: note: previous declaration of '_Thread_Initialize' was here /home/junkes/VE/rtems/6/bin/sparc-rtems6-gcc: 213 | Status_Control _Thread_Initialize( /home/junkes/VE/rtems/6/bin/sparc-rtems6-gcc: | ^~~~~~~~~~~~~~~~~~

error: compiling wrapper: Compiler error

Waf: Leaving directory `/home/junkes/VE/app/rtems-examples/build/sparc-rtems6-erc32'
Build failed
 -> task in 'hello-deep.texe' failed with exit status 10:
        {task 139713808016464: rtrace test.c.2.o -> hello-deep.texe}
['/home/junkes/VE/rtems/6/bin/rtems-tld', '-W hello-deep', '-C', '../../hello/both_hello/hello-deep.ini', '-r', '/home/junkes/VE/rtems/6', '-B', 'sparc/erc32', '-c', '/home/junkes/VE/rtems/6/bin/sparc-rtems6-gcc', '-l', '/home/junkes/VE/rtems/6/bin/sparc-rtems6-gcc', '--', 'hello/both_hello/test.c.2.o', '-mcpu=cypress', '-I/home/junkes/VE/rtems/6/sparc-rtems6/erc32/lib/include', '-MMD', '-B/home/junkes/VE/rtems/6/sparc-rtems6/erc32/lib', '-qrtems', '-Wl,--gc-sections', '-o', '/home/junkes/VE/app/rtems-examples/build/sparc-rtems6-erc32/hello/both_hello/hello-deep.texe', '-Wl,-Bstatic']


_______________________________________________
users mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/users

Reply via email to