From: will schmidt <will_schmidt@vnet.ibm.com>
To: Mike Frysinger <vapier@gentoo.org>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] sim: ppc: use silent build rules here too
Date: Wed, 03 Nov 2021 11:55:42 -0500 [thread overview]
Message-ID: <7683f58442c9296c23930476d514b713d522693f.camel@vnet.ibm.com> (raw)
In-Reply-To: <YYH9C2FGn5DvGXK4@vapier>
On Tue, 2021-11-02 at 23:07 -0400, Mike Frysinger wrote:
> On 02 Nov 2021 18:58, will schmidt wrote:
> > On Sun, 2021-10-31 at 05:27 -0400, Mike Frysinger via Gdb-patches
> > wrote:
> > > The ppc codebase is unique and doesn't leverage common/, so have
> > > to
> > > add silent rules to it specifically.
> >
> > I may have evidence to the contrary. :-) I don't see any
> > changes
> > here or in the recent patches that I can specifically identify as
> > troublesome, but something seems fishy between sim/ppc/libsim.a and
> > sim/common/libcommon.a ; I'm seeing this error during recent
> > build
> > attempts on ppc64le, sometime since late last week.
>
> this patch is unrelated to any link failures like this
>
> > /home/willschm/install/bin/ld:
> > ../sim/ppc/libsim.a(callback.o):(.toc+0x10): undefined reference to
> > `cb_init_errno_map'
> > /home/willschm/install/bin/ld:
> > ../sim/ppc/libsim.a(callback.o):(.toc+0x18): undefined reference to
> > `cb_init_signal_map'
> > /home/willschm/install/bin/ld:
> > ../sim/ppc/libsim.a(callback.o):(.toc+0x20): undefined reference to
> > `cb_init_open_map'
>
> you've removed important details from the log ... like what program
> is
> failing to link here ?
> -mike
Hi,
So.. Git bisect suggests one of the other patches. I don't want to
confuse the threads, so will continue to reply on this thread, will hop
over to another thread if thats appropriate. :-)
# first bad commit: [a7e40a99318c46ec57a9c0a64c622b6ec0ed89ff] sim: nltvals: pull target errno out into a dedicated source file
The error with that patch applied is :
CXXLD gdb
/usr/lib64/gcc/powerpc64le-suse-linux/11/../../../../powerpc64le-suse-linux/bin/ld: ../sim/ppc/libsim.a(callback.o):(.toc+0x10): undefined reference to `cb_init_errno_map'
collect2: error: ld returned 1 exit status
Presumably the undefined referece to cb_init_signal_map and cb_init_open_map fall in line with these subsequent patches.
670817b94710 sim: nltvals: pull target open flags out into a dedicated source file
88c8370b25c6 sim: nltvals: pull target signal out into a dedicated source file
Thanks,
-Will
prev parent reply other threads:[~2021-11-03 16:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-31 9:27 Mike Frysinger
2021-11-02 23:58 ` will schmidt
2021-11-03 3:07 ` Mike Frysinger
2021-11-03 15:38 ` will schmidt
2021-11-03 23:47 ` [PATCH 1/2] sim: ppc: switch to common builds for callback objects Mike Frysinger
2021-11-03 23:47 ` [PATCH 2/2] sim: ppc: inline common sim-fpu.c logic Mike Frysinger
2021-11-03 23:48 ` [PATCH] sim: ppc: use silent build rules here too Mike Frysinger
2021-11-03 16:55 ` will schmidt [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=7683f58442c9296c23930476d514b713d522693f.camel@vnet.ibm.com \
--to=will_schmidt@vnet.ibm.com \
--cc=gdb-patches@sourceware.org \
--cc=vapier@gentoo.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).