Re: [PATCH v2 15/16] objtool/powerpc: Enable objtool to be built on ppc

2023-02-04 Thread Josh Poimboeuf
On Sat, Feb 04, 2023 at 02:10:34PM +0100, Christophe Leroy wrote: > Ok, got the same problem as you with next-20230203 > > DESCEND objtool > :1:10: fatal error: libelf.h: No such file or directory > compilation terminated. > HOSTCC /home/chleroy/linux-powerpc/tools/objtool/fixdep.o > HOSTLD

Re: [PATCH v2 15/16] objtool/powerpc: Enable objtool to be built on ppc

2023-02-04 Thread Christophe Leroy
Le 04/02/2023 à 12:55, Christophe Leroy a écrit : Hi, Le 04/02/2023 à 09:30, Randy Dunlap a écrit : On 2/4/23 00:21, Randy Dunlap wrote: On 2/4/23 00:19, Randy Dunlap wrote: Hi-- On 8/29/22 23:41, Christophe Leroy wrote: Le 29/08/2022 à 07:52, Sathvika Vasireddy a écrit : This patc

Re: [PATCH v2 15/16] objtool/powerpc: Enable objtool to be built on ppc

2023-02-04 Thread Christophe Leroy
Hi, Le 04/02/2023 à 09:30, Randy Dunlap a écrit : > > > On 2/4/23 00:21, Randy Dunlap wrote: >> >> >> On 2/4/23 00:19, Randy Dunlap wrote: >>> Hi-- >>> >>> On 8/29/22 23:41, Christophe Leroy wrote: Le 29/08/2022 à 07:52, Sathvika Vasireddy a écrit : > This patch adds [stub] im

Re: [PATCH v2 15/16] objtool/powerpc: Enable objtool to be built on ppc

2023-02-04 Thread Randy Dunlap
On 2/4/23 00:21, Randy Dunlap wrote: > > > On 2/4/23 00:19, Randy Dunlap wrote: >> Hi-- >> >> On 8/29/22 23:41, Christophe Leroy wrote: >>> >>> >>> Le 29/08/2022 à 07:52, Sathvika Vasireddy a écrit : This patch adds [stub] implementations for required functions, inorder to enable obj

Re: [PATCH v2 15/16] objtool/powerpc: Enable objtool to be built on ppc

2023-02-04 Thread Randy Dunlap
On 2/4/23 00:19, Randy Dunlap wrote: > Hi-- > > On 8/29/22 23:41, Christophe Leroy wrote: >> >> >> Le 29/08/2022 à 07:52, Sathvika Vasireddy a écrit : >>> This patch adds [stub] implementations for required >>> functions, inorder to enable objtool build on powerpc. >> >> Not all powerpc it seem

Re: [PATCH v2 15/16] objtool/powerpc: Enable objtool to be built on ppc

2023-02-04 Thread Randy Dunlap
Hi-- On 8/29/22 23:41, Christophe Leroy wrote: > > > Le 29/08/2022 à 07:52, Sathvika Vasireddy a écrit : >> This patch adds [stub] implementations for required >> functions, inorder to enable objtool build on powerpc. > > Not all powerpc it seems, see below > When cross-compiling PPC32 (on x8

Re: [PATCH v2 15/16] objtool/powerpc: Enable objtool to be built on ppc

2022-09-05 Thread Naveen N. Rao
Christophe Leroy wrote: Le 29/08/2022 à 07:52, Sathvika Vasireddy a écrit : diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 4c466acdc70d..dc05cd23c233 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -237,6 +237,7 @@ config PPC select HAVE_MOD_ARCH_SPECIF

Re: [PATCH v2 15/16] objtool/powerpc: Enable objtool to be built on ppc

2022-09-01 Thread Peter Zijlstra
On Thu, Sep 01, 2022 at 04:38:52PM +, Christophe Leroy wrote: > objtool is a userland app, there is no access to kernel headers here. Please have a look at tools/include/ :-)

Re: [PATCH v2 15/16] objtool/powerpc: Enable objtool to be built on ppc

2022-09-01 Thread Christophe Leroy
Le 01/09/2022 à 17:11, Segher Boessenkool a écrit : > On Thu, Sep 01, 2022 at 09:32:46AM +, Christophe Leroy wrote: >> Le 29/08/2022 à 07:52, Sathvika Vasireddy a écrit : >>> +int arch_decode_instruction(struct objtool_file *file, const struct >>> section *sec, >>> + un

Re: [PATCH v2 15/16] objtool/powerpc: Enable objtool to be built on ppc

2022-09-01 Thread Segher Boessenkool
On Thu, Sep 01, 2022 at 09:32:46AM +, Christophe Leroy wrote: > Le 29/08/2022 à 07:52, Sathvika Vasireddy a écrit : > > +int arch_decode_instruction(struct objtool_file *file, const struct > > section *sec, > > + unsigned long offset, unsigned int maxlen, > > +

Re: [PATCH v2 15/16] objtool/powerpc: Enable objtool to be built on ppc

2022-09-01 Thread Christophe Leroy
Le 29/08/2022 à 07:52, Sathvika Vasireddy a écrit : > This patch adds [stub] implementations for required > functions, inorder to enable objtool build on powerpc. > > Signed-off-by: Sathvika Vasireddy > [Christophe Leroy: powerpc: Add missing asm/asm.h for objtool] > Signed-off-by: Christophe L

Re: [PATCH v2 15/16] objtool/powerpc: Enable objtool to be built on ppc

2022-08-29 Thread Christophe Leroy
Le 29/08/2022 à 07:52, Sathvika Vasireddy a écrit : > This patch adds [stub] implementations for required > functions, inorder to enable objtool build on powerpc. Not all powerpc it seems, see below > > Signed-off-by: Sathvika Vasireddy > [Christophe Leroy: powerpc: Add missing asm/asm.h for

[PATCH v2 15/16] objtool/powerpc: Enable objtool to be built on ppc

2022-08-28 Thread Sathvika Vasireddy
This patch adds [stub] implementations for required functions, inorder to enable objtool build on powerpc. Signed-off-by: Sathvika Vasireddy [Christophe Leroy: powerpc: Add missing asm/asm.h for objtool] Signed-off-by: Christophe Leroy --- arch/powerpc/Kconfig | 1 + a