From: Alan Modra <amodra@gmail.com>
To: 程智星 <zhixing@nj.iscas.ac.cn>
Cc: binutils@sourceware.org
Subject: Re: binutils for musl
Date: Wed, 12 Jul 2023 18:35:37 +0930 [thread overview]
Message-ID: <ZK5s4QmFJlbrYjMq@squeak.grove.modra.org> (raw)
In-Reply-To: <6002ef10.1bdab.18948ca8d90.Coremail.zhixing@nj.iscas.ac.cn>
On Wed, Jul 12, 2023 at 02:29:41PM +0800, 程智星 wrote:
> hi,friend:
>
> When I use Musl as the base library to compile the yocto embedded system, the following error will be reported:
>
> = {anonymous}::Target_i386; Scan = {anonymous}::Target_i386::Scan; Classify_reloc = {anonymous}::Target_i386::Classify_reloc; size_t = long unsigned int]':
>
> | ../../gold/i386.cc:2624:19: required from here
>
> | ../../gold/gc.h:250:34: error: invalid cast from type 'std::nullptr_t' to type 'gold::Relobj*'
>
> | 250 | (*secvec).push_back(Section_id(reinterpret_cast<Relobj*>(NULL), 0));
>
> | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This was fixed in git commit b97bd976233e, with the same patch you
posted.
--
Alan Modra
Australia Development Lab, IBM
prev parent reply other threads:[~2023-07-12 9:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-12 6:29 程智星
2023-07-12 9:05 ` Alan Modra [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=ZK5s4QmFJlbrYjMq@squeak.grove.modra.org \
--to=amodra@gmail.com \
--cc=binutils@sourceware.org \
--cc=zhixing@nj.iscas.ac.cn \
/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).