Re: [PATCH] sim: ppc: use silent build rules here too

Mike Frysinger via Gdb-patches
2021-11-03T23:48:44Z

[-- Attachment #1: Type: text/plain, Size: 1011 bytes --]

On 03 Nov 2021 10:38, will schmidt wrote:
> On Tue, 2021-11-02 at 23:07 -0400, Mike Frysinger wrote:
> > On 02 Nov 2021 18:58, will schmidt wrote:
> > > /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 ?
>
> GDB itself, in this case. I respun without my local patches this
> morning, and still see an issue. More context around the error is
> below.

i posted 2 patches to fix this. the code in question is used by gdb and
the common sim, but not the psim which is why it slipped through. thanks
for the heads up.
-mike

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]