[RESEND PATCH 0/4] ppc64 LE ABI v2 ftrace-with-regs implementation

Torsten Duwe duwe at lst.de
Fri Jun 19 22:00:44 AEST 2015


On Thu, Jun 18, 2015 at 12:55:39PM -0400, Steven Rostedt wrote:
> 
> I applied these patches against v4.1-rc8 and I get this compiling it
> for my electra:
> 
> /work/autotest/nobackup/powerpc-test.git/arch/powerpc/kernel/entry_64.S: Assembler messages:
> /work/autotest/nobackup/powerpc-test.git/arch/powerpc/kernel/entry_64.S:1165: Error: unknown pseudo-op: `.localentry'
> /work/autotest/nobackup/powerpc-test.git/arch/powerpc/kernel/entry_64.S:1189: Error: unknown pseudo-op: `.localentry'
> /work/autotest/nobackup/powerpc-test.git/arch/powerpc/kernel/entry_64.S:1271: Error: unknown pseudo-op: `.localentry'
> /work/autotest/nobackup/powerpc-test.git/scripts/Makefile.build:294: recipe for target 'arch/powerpc/kernel/entry_64.o' failed
> make[2]: *** [arch/powerpc/kernel/entry_64.o] Error 1

After removing your cross compile prefix, with your config I get:

| kernel/bounds.c:1:0: error: -mcall-aixdesc incompatible with -mabi=elfv2

Are you building ppc64, little endian, ELF ABIv2 ?
Is your cross compiler working properly?

I'm compiling natively on that platform (faster for me than an x86 ;-)
| GNU assembler (GNU Binutils; SUSE Linux Enterprise 12) 2.24.0.20140403-7
| gcc (SUSE Linux) 4.8.3 20140627 [gcc-4_8-branch revision 212064]

4.1.0-rc8 config attached.

HTH,
	Torsten

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 41rc8-config.gz
Type: application/x-gzip
Size: 34204 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20150619/6a4e78f6/attachment-0001.bin>


More information about the Linuxppc-dev mailing list