2008-10-21 06:10:31

by Adrian Bunk

[permalink] [raw]
Subject: Arch x86 is not supported with CONFIG_FTRACE_MCOUNT_RECORD

Commit 8da3821ba5634497da63d58a69e24a97697c4a2b
(ftrace: create __mcount_loc section) causes the
following build error:

<-- snip -->

$ make ARCH=x86
...
CC scripts/mod/empty.o
Arch x86 is not supported with CONFIG_FTRACE_MCOUNT_RECORD at /home/bunk/linux/kernel-2.6/git/linux-2.6/scripts/recordmcount.pl line 157.
make[3]: *** [scripts/mod/empty.o] Error 255

<-- snip -->

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed


2008-10-21 13:17:08

by Steven Rostedt

[permalink] [raw]
Subject: Re: Arch x86 is not supported with CONFIG_FTRACE_MCOUNT_RECORD

Adrian Bunk wrote:
> Commit 8da3821ba5634497da63d58a69e24a97697c4a2b
> (ftrace: create __mcount_loc section) causes the
> following build error:
>
> <-- snip -->
>
> $ make ARCH=x86
>

Could you specify either i386 or x86_64 and see if that works. I may
need to add a way to pass in subarchs to the script.

-- Steve

> ...
> CC scripts/mod/empty.o
> Arch x86 is not supported with CONFIG_FTRACE_MCOUNT_RECORD at /home/bunk/linux/kernel-2.6/git/linux-2.6/scripts/recordmcount.pl line 157.
> make[3]: *** [scripts/mod/empty.o] Error 255
>
> <-- snip -->
>
> cu
> Adrian
>
>