public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Torbjorn SVENSSON <torbjorn.svensson@foss.st.com>
To: Sebastian Huber <sebastian.huber@embedded-brains.de>,
	Newlib <newlib@sourceware.org>
Subject: Re: Unable to link C++ application with libstdc++ when newlib is used (gcc 13 and perhaps also 12)
Date: Mon, 19 Sep 2022 18:07:24 +0200	[thread overview]
Message-ID: <e13dd974-b06b-4140-15a2-972684ce65e2@foss.st.com> (raw)
In-Reply-To: <9e4e280c-6c29-1b70-45a6-02988c6823ae@embedded-brains.de>

On 2022-09-19 17:28, Sebastian Huber wrote:
> On 17/09/2022 19:45, Torbjorn SVENSSON wrote:
>> I suppose the origin of the problem is the definition of the 
>> getentropy function in the newlib provided unistd.h, but what is the 
>> appropriate fix for it?
>> - Create a stub function that just returns -1 and sets errno=ENOSYS?
> 
> This should be fine.
> 

What library should contain this? libnosys.a?

      reply	other threads:[~2022-09-19 16:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-17 17:45 Torbjorn SVENSSON
2022-09-17 20:47 ` Christophe Lyon
2022-09-18  8:53   ` Torbjorn SVENSSON
2022-09-19 15:28 ` Sebastian Huber
2022-09-19 16:07   ` Torbjorn SVENSSON [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e13dd974-b06b-4140-15a2-972684ce65e2@foss.st.com \
    --to=torbjorn.svensson@foss.st.com \
    --cc=newlib@sourceware.org \
    --cc=sebastian.huber@embedded-brains.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).