public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Sebastian Huber <sebastian.huber@embedded-brains.de>
To: Torbjorn SVENSSON <torbjorn.svensson@foss.st.com>,
	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 17:28:42 +0200	[thread overview]
Message-ID: <9e4e280c-6c29-1b70-45a6-02988c6823ae@embedded-brains.de> (raw)
In-Reply-To: <e11e6ec0-5848-44ad-78e7-1972c29db0a4@foss.st.com>

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.

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/

  parent reply	other threads:[~2022-09-19 15:28 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 [this message]
2022-09-19 16:07   ` Torbjorn SVENSSON

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=9e4e280c-6c29-1b70-45a6-02988c6823ae@embedded-brains.de \
    --to=sebastian.huber@embedded-brains.de \
    --cc=newlib@sourceware.org \
    --cc=torbjorn.svensson@foss.st.com \
    /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).