public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Torbjorn SVENSSON <torbjorn.svensson@foss.st.com>
To: <newlib@sourceware.org>
Subject: Re: Build error for moxiebox architecture
Date: Mon, 14 Aug 2023 12:24:21 +0200	[thread overview]
Message-ID: <b22f8ddd-39b3-5ad2-f849-94c81b321aed@foss.st.com> (raw)
In-Reply-To: <CAFOYHZCg1-B4fcUVji2dEe=KB1Z_ZbGt2Qkw6K0o9Lra+0QADg@mail.gmail.com>

Hello,

On 2023-08-13 02:27, Chris Packham wrote:
> Hi All,
> 
> I'm getting the next crosstool-ng release together and one build
> failure we're having is for the moxiebox architecture:
> 
> moxie-unknown-moxiebox/lib/libc.a(libc_a-closer.o): in function `_close_r':
> moxie-unknown-moxiebox/src/newlib/newlib/libc/reent/closer.c:47:
> undefined reference to `_close'
> 
> and similar for _lseek, _read, _write and _sbrk

As you do not include the link line, I'm assuming that you are not using 
anything out of the ordinary. In this case, maybe you should give 
--specs=nosys.specs a go and see if it helps.
Regardless if it helps or not, it will likely only provide you with 
stubs that you need to override in you application to get something working.

  reply	other threads:[~2023-08-14 10:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-13  0:27 Chris Packham
2023-08-14 10:24 ` Torbjorn SVENSSON [this message]
2023-09-19  8:04   ` Chris Packham
2023-09-20 18:24     ` 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=b22f8ddd-39b3-5ad2-f849-94c81b321aed@foss.st.com \
    --to=torbjorn.svensson@foss.st.com \
    --cc=newlib@sourceware.org \
    /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).