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

will schmidt via Gdb-patches
2021-11-02T23:59:13Z

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.

Hi,
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.

/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'

The 'missing' symbols appear to be located in sim/common/libcommon.a

Thanks,
-Will

> ---
> sim/ppc/Makefile.in | 96 ++++++++++++++++++++++---------------------
> --
> sim/ppc/dgen.c | 2 +
> sim/ppc/igen.c | 2 +
> 3 files changed, 50 insertions(+), 50 deletions(-)

<snip>