On Fri, Dec 10, 2021 at 4:05 AM Richard Purdie < [email protected]> wrote:
> With the changes to binutils, perf's direct calls to ld break for mips n64. > We already have tweaks for n32 so match those with the ones for n64. > > Signed-off-by: Richard Purdie <[email protected]> > --- > meta/recipes-kernel/perf/perf.bb | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/ > perf.bb > index 7bbc1ad70c5..ec0c6efe15f 100644 > --- a/meta/recipes-kernel/perf/perf.bb > +++ b/meta/recipes-kernel/perf/perf.bb > @@ -125,9 +125,11 @@ PERF_SRC ?= "Makefile \ > > PERF_EXTRA_LDFLAGS = "" > > -# MIPS N32 > +# MIPS N32/N64 > PERF_EXTRA_LDFLAGS:mipsarchn32eb = "-m elf32btsmipn32" > PERF_EXTRA_LDFLAGS:mipsarchn32el = "-m elf32ltsmipn32" > +PERF_EXTRA_LDFLAGS:mipsarchn64eb = "-m elf64btsmip" > +PERF_EXTRA_LDFLAGS:mipsarchn64el = "-m elf64ltsmip" > Hmm this tells me that the default is not really changed in binutils to use n64 abi with out the patch to binutils configure N32 patch above is perhaps fine because that’s not our default Perhaps we need to check a bit more here as to what’s going on > do_compile() { > # Linux kernel build system is expected to do the right thing > -- > 2.32.0 > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#159549): https://lists.openembedded.org/g/openembedded-core/message/159549 Mute This Topic: https://lists.openembedded.org/mt/87634357/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
