public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* GCC 10, nvptx target: newlib build failure?
@ 2020-06-16 18:59 Thomas Schwinge
  2020-07-17 12:04 ` Matthias Klose
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Schwinge @ 2020-06-16 18:59 UTC (permalink / raw)
  To: Matthias Klose; +Cc: Andrew Stubbs, Tobias Burnus, gcc-help

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: GCC 10, nvptx target: newlib build failure?
  2020-06-16 18:59 GCC 10, nvptx target: newlib build failure? Thomas Schwinge
@ 2020-07-17 12:04 ` Matthias Klose
  0 siblings, 0 replies; 2+ messages in thread
From: Matthias Klose @ 2020-07-17 12:04 UTC (permalink / raw)
  To: Thomas Schwinge; +Cc: Andrew Stubbs, Tobias Burnus, gcc-help

Hi,

sorry for not following-up earlier.  This was an issue on my side, trying to
build newlib with fortify source by mistake ...

Sorry, Matthias

On 6/16/20 8:59 PM, Thomas Schwinge wrote:
> 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
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-17 12:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-16 18:59 GCC 10, nvptx target: newlib build failure? Thomas Schwinge
2020-07-17 12:04 ` Matthias Klose

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).