[PATCH] Fix build for mips targets
Baruch Siach
baruch at tkos.co.il
Tue Jan 8 20:15:23 UTC 2019
Hi Dmitry,
Dmitry V. Levin writes:
> On Tue, Jan 08, 2019 at 07:59:36PM +0200, Baruch Siach wrote:
>> Commit 917c2ccf3a67 ("Refactor stack pointers") removed
>> linux/mips/arch_regs.h that defines mips_REG_* macros and struct
>> mips_regs. These symbols are referenced in mips code. Restore
>> arch_regs.h to fix the build failure:
>
> These macros were moved from linux/mips/arch_regs.h to
> linux/mips/arch_regs.c because they are no longer used outside
> syscall.c or files included by syscall.c.
>
>> syscall.c: In function 'decode_syscall_subcall':
>> syscall.c:370:7: error: 'mips_REG_SP' undeclared (first use in this function)
>> mips_REG_SP + MAX_ARGS * sizeof(tcp->u_arg[0]),
>> ^~~~~~~~~~~
>
> Interesting, I see no build failures on mips,
> you must be doing something unusual.
You can see the full build log at
http://autobuild.buildroot.net/results/858/8585e75df6462b6d07476a81982e88ec81655c8b/build-end.log
Similar mips build failures are listed at
http://autobuild.buildroot.net/?reason=strace-4.26
Other failures on that list are fixed in separate patches.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
More information about the Strace-devel
mailing list