[Bug rust/113553] rust fails to build on spar64-linux-gnu

2024-01-23 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113553

Matthias Klose  changed:

   What|Removed |Added

 Target||sparc64-linux-gnu

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug rust/113553] New: rust fails to build on spar64-linux-gnu

2024-01-23 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113553

Bug ID: 113553
   Summary: rust fails to build on spar64-linux-gnu
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: rust
  Assignee: unassigned at gcc dot gnu.org
  Reporter: doko at gcc dot gnu.org
CC: dkm at gcc dot gnu.org, gcc-rust at gcc dot gnu.org
  Target Milestone: ---

seen with trunk 20240121 on sparc64-linux-gnu:

[...]
../../../../src/libgrust/libp
roc_macro_internal/literal.cc: In static member function 'static
ProcMacro::Literal ProcMacro::
Literal::make_f32(float, bool)':
../../../../src/libgrust/libproc_macro_internal/literal.cc:155:57: error: call
of overloaded 'to_string(float&)' is ambiguous
  155 |   auto text = FFIString::make_ffistring (std::to_string (value));
  |  ~~~^~~
In file included from
/<>/build/sparc64-linux-gnu/libstdc++-v3/include/string:54,
 from
../../../../src/libgrust/libproc_macro_internal/literal.h:27,
 from
../../../../src/libgrust/libproc_macro_internal/literal.cc:23:
/<>/build/sparc64-linux-gnu/libstdc++-v3/include/bits/basic_string.h:4240:3:
note: candidate: 'std::string std::__cxx11::to_string(int)'
 4240 |   to_string(int __val)
  |   ^
/<>/build/sparc64-linux-gnu/libstdc++-v3/include/bits/basic_string.h:4259:3:
note: candidate: 'std::string std::__cxx11::to_string(unsigned int)'
 4259 |   to_string(unsigned __val)
  |   ^
/<>/build/sparc64-linux-gnu/libstdc++-v3/include/bits/basic_string.h:4275:3:
note: candidate: 'std::string std::__cxx11::to_string(long int)'
 4275 |   to_string(long __val)
  |   ^
/<>/build/sparc64-linux-gnu/libstdc++-v3/include/bits/basic_string.h:4294:3:
note: candidate: 'std::string std::__cxx11::to_string(long unsigned int)'
 4294 |   to_string(unsigned long __val)
  |   ^
/<>/build/sparc64-linux-gnu/libstdc++-v3/include/bits/basic_string.h:4310:3:
note: candidate: 'std::string std::__cxx11::to_string(long long int)'
 4310 |   to_string(long long __val)
  |   ^
/<>/build/sparc64-linux-gnu/libstdc++-v3/include/bits/basic_string.h:4327:3:
note: candidate: 'std::string std::__cxx11::to_string(long long unsigned int)'
 4327 |   to_string(unsigned long long __val)
  |   ^
../../../../src/libgrust/libproc_macro_internal/literal.cc:157:70: error: could
not convert '{ProcMacro::LitKind::make_float(), text, suffix,
ProcMacro::Span::make_unknown()}' from '' to
'ProcMacro::Literal'
  157 |   return {LitKind::make_float (), text, suffix, Span::make_unknown ()};
  |  ^
  |  |
  | 

../../../../src/libgrust/libproc_macro_internal/literal.cc: In static member
function 'static ProcMacro::Literal ProcMacro::Literal::make_f64(double,
bool)':
../../../../src/libgrust/libproc_macro_internal/literal.cc:163:57: error: call
of overloaded 'to_string(double&)' is ambiguous
  163 |   auto text = FFIString::make_ffistring (std::to_string (value));
  |  ~~~^~~
/<>/build/sparc64-linux-gnu/libstdc++-v3/include/bits/basic_string.h:4240:3:
note: candidate: 'std::string std::__cxx11::to_string(int)'
 4240 |   to_string(int __val)
  |   ^
checking if /<>/build/./gcc/xgcc -B/<>/build/./gcc/
-B/usr/sparc64-linux-gnu/bin/ -B/usr/sparc64-linux-gnu/lib/ -isystem
/usr/sparc64-linux-gnu/include -isystem /usr/sparc64-linux-gnu/sys-include
-isystem /<>/build/sys-includesupports -fno-rtti
-fno-exceptions...
/<>/build/sparc64-linux-gnu/libstdc++-v3/include/bits/basic_string.h:4259:3:
note: candidate: 'std::string std::__cxx11::to_string(unsigned int)'
 4259 |   to_string(unsigned __val)
  |   ^
/<>/build/sparc64-linux-gnu/libstdc++-v3/include/bits/basic_string.h:4275:3:
note: candidate: 'std::string std::__cxx11::to_string(long int)'
 4275 |   to_string(long __val)
  |   ^
/<>/build/sparc64-linux-gnu/libstdc++-v3/include/bits/basic_string.h:4294:3:
note: candidate: 'std::string std::__cxx11::to_string(long unsigned int)'
 4294 |   to_string(unsigned long __val)
  |   ^
/<>/build/sparc64-linux-gnu/libstdc++-v3/include/bits/basic_string.h:4310:3:
note: candidate: 'std::string std::__cxx11::to_string(long long int)'
 4310 |   to_string(long long __val)
  |   ^
/<>/build/sparc64-linux-gnu/libstdc++-v3/include/bits/basic_string.h:4327:3:
note: candidate: 'std::string std::__cxx11::to_string(long long unsigned int)'
 4327 |   to_string(unsigned long long __val)
  |   ^
../../../../src/libgrust/libproc_macro_internal/literal.cc:165:70: error: could
not convert '{ProcMacro::LitK

[Bug rust/113553] rust fails to build on sparc64-linux-gnu

2024-01-23 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113553

Matthias Klose  changed:

   What|Removed |Added

Summary|rust fails to build on  |rust fails to build on
   |spar64-linux-gnu|sparc64-linux-gnu

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Re: GCC GSoC 2024: Call for project ideas and mentors (rust)

2024-01-23 Thread Martin Jambor
Hi Arthur,

On Fri, Jan 19 2024, Arthur Cohen wrote:
> Hi Martin,
>
> On 1/15/24 18:48, Martin Jambor wrote:
>> Hello,
>> 
>> another year has passed, Google has announced there will be again Google
>> Summer of Code (GsoC) in 2024 and the deadline for organizations to
>> apply is already approaching (February 6th).  I'd like to volunteer to
>> be the main org-admin for GCC again but let me know if you think I
>> shouldn't or that someone else should or if you want to do it instead.
>> Otherwise I'll assume that I will and I hope that I can continue to rely
>> on David Edelsohn and Thomas Schwinge to back me up and help me with
>> some decision making along the way as my co-org-admins.
>
> I think that'd be good :) we've really appreciated all the work you've 
> done for the past editions.
>
> We'll be discussing project ideas with the rest of the gccrs team and 
> will update the page shortly. We'd love to mentor again this year.

Thanks a lot.  The organization registration ends February 6th, I guess
that is when the GSoC folks are going to start looking at applications
and idea lists.  So please consider that your deadline though of course
the earlier the better :-)

Thanks again,

Martin