GCC 10, nvptx target: newlib build failure?

Thomas Schwinge thomas@codesourcery.com
Tue Jun 16 18:59:38 GMT 2020


Hi Matthias!

Andrew relayed the following to me:

    <doko> ams_cs, Tobias__: can you build the nvptx offload compiler on the branch? I get:
    <doko> In file included from /<<PKGBUILDDIR>>/src-nvptx/newlib/libc/include/ssp/stdio.h:34,
    <doko>                  from /<<PKGBUILDDIR>>/src-nvptx/newlib/libc/include/stdio.h:800,
    <doko>                  from ../../../../../../src-nvptx/newlib/libc/stdio/gets.c:62:
    <doko> ../../../../../../src-nvptx/newlib/libc/stdio/gets.c:96:1: error: expected declaration specifiers or '...' before '__builtin_object
    <doko> _size'
    <doko>    96 | gets (char *buf)
    <doko>       | ^~~~
    <doko> make[10]: *** [Makefile:1096: lib_a-gets.o] Error 1
    <doko> this is newlib 3.3.0, unchanged from the previous build
    <doko> gcc-10 branch

Earlier today, I built releases/gcc-10 branch at commit
7d249d84e4c1be7c6f857c3a9d7791623a0e9d00, with newlib at commit
6d79e0a58866548f435527798fbd4a6849d05bc7 (tag: newlib-3.3.0),
successfully.

Tobias also stated that he "did a build of GCC 10 (the branch) and it did
*not* fail".

Hmm.

Do you have any local patches applied that might be relevant?


Grüße
 Thomas
-----------------
Mentor Graphics (Deutschland) GmbH, Arnulfstraße 201, 80634 München / Germany
Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Alexander Walter


More information about the Gcc-help mailing list