* compile failure with get_user_asm()
@ 2006-01-09 18:13 Badari Pulavarty
2006-01-09 19:11 ` Frank Ch. Eigler
2006-01-09 20:48 ` Hien Nguyen
0 siblings, 2 replies; 4+ messages in thread
From: Badari Pulavarty @ 2006-01-09 18:13 UTC (permalink / raw)
To: systemtap; +Cc: hien
Hi,
I just updated my systemtap sources & tests and I am not able to
compile systemtap modules anymore.
I reported this to Hien earlier. Hien, do you have a fix for it ?
Thanks,
Badari
...
Pass 3: translated to C into "/tmp/stapIEkDNS/stap_28380.c"
Running make -C "/lib/modules/2.6.15-20060103193109-ppc64/build"
M="/tmp/stapIEkDNS" modules
make: Entering directory `/usr/src/linux-2.6.15-20060103193109'
CC [M] /tmp/stapIEkDNS/stap_28380.o
/tmp/stapIEkDNS/stap_28380.c:921:54: error: macro "__get_user_asm"
passed 5 arguments, but takes just 4
/tmp/stapIEkDNS/stap_28380.c: In function 'function_kernel_string':
/tmp/stapIEkDNS/stap_28380.c:921: error: '__get_user_asm' undeclared
(first use in this function)
/tmp/stapIEkDNS/stap_28380.c:921: error: (Each undeclared identifier is
reported only once
/tmp/stapIEkDNS/stap_28380.c:921: error: for each function it appears
in.)
/tmp/stapIEkDNS/stap_28380.c:921:54: error: macro "__get_user_asm"
passed 5 arguments, but takes just 4
/tmp/stapIEkDNS/stap_28380.c:921:54: error: macro "__get_user_asm"
passed 5 arguments, but takes just 4
/tmp/stapIEkDNS/stap_28380.c:921:54: error: macro "__get_user_asm"
passed 5 arguments, but takes just 4
make[1]: *** [/tmp/stapIEkDNS/stap_28380.o] Error 1
make: *** [_module_/tmp/stapIEkDNS] Error 2
make: Leaving directory `/usr/src/linux-2.6.15-20060103193109'
Pass 4: compiled into "stap_28380.ko"
Pass 4: compilation failed. Try again with '-v' (verbose) option.
Running rm -rf /tmp/stapIEkDNS
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: compile failure with get_user_asm()
2006-01-09 18:13 compile failure with get_user_asm() Badari Pulavarty
@ 2006-01-09 19:11 ` Frank Ch. Eigler
2006-01-09 20:48 ` Hien Nguyen
1 sibling, 0 replies; 4+ messages in thread
From: Frank Ch. Eigler @ 2006-01-09 19:11 UTC (permalink / raw)
To: Badari Pulavarty; +Cc: systemtap
Badari Pulavarty <pbadari@us.ibm.com> writes:
> I just updated my systemtap sources & tests and I am not able to
> compile systemtap modules anymore. [...]
> make: Entering directory `/usr/src/linux-2.6.15-20060103193109'
> CC [M] /tmp/stapIEkDNS/stap_28380.o
> /tmp/stapIEkDNS/stap_28380.c:921:54: error: macro "__get_user_asm"
> passed 5 arguments, but takes just 4
> [...]
The only place in systemtap sources that refers to __get_user_asm is
in <runtime/loc2c-runtime.h>, which suffered no changes since October.
Perhaps the change is more in your kernel than in systemtap. What is
the declaration of __get_user_asm in your kernel/arch?
- FChE
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: compile failure with get_user_asm()
2006-01-09 18:13 compile failure with get_user_asm() Badari Pulavarty
2006-01-09 19:11 ` Frank Ch. Eigler
@ 2006-01-09 20:48 ` Hien Nguyen
2006-01-09 21:20 ` Badari Pulavarty
1 sibling, 1 reply; 4+ messages in thread
From: Hien Nguyen @ 2006-01-09 20:48 UTC (permalink / raw)
To: Badari Pulavarty; +Cc: systemtap
Badari,
I posted a patch in this BZ
http://sourceware.org/bugzilla/show_bug.cgi?id=2076
You can try to apply the patch to the file
/usr/local/share/systemtap/runtime/loc2c-runtime.h
I am going to check the fix sometime later.
Hien.
Badari Pulavarty wrote:
>Hi,
>
>I just updated my systemtap sources & tests and I am not able to
>compile systemtap modules anymore.
>
>I reported this to Hien earlier. Hien, do you have a fix for it ?
>
>Thanks,
>Badari
>
>...
>Pass 3: translated to C into "/tmp/stapIEkDNS/stap_28380.c"
>Running make -C "/lib/modules/2.6.15-20060103193109-ppc64/build"
>M="/tmp/stapIEkDNS" modules
>make: Entering directory `/usr/src/linux-2.6.15-20060103193109'
> CC [M] /tmp/stapIEkDNS/stap_28380.o
>/tmp/stapIEkDNS/stap_28380.c:921:54: error: macro "__get_user_asm"
>passed 5 arguments, but takes just 4
>/tmp/stapIEkDNS/stap_28380.c: In function 'function_kernel_string':
>/tmp/stapIEkDNS/stap_28380.c:921: error: '__get_user_asm' undeclared
>(first use in this function)
>/tmp/stapIEkDNS/stap_28380.c:921: error: (Each undeclared identifier is
>reported only once
>/tmp/stapIEkDNS/stap_28380.c:921: error: for each function it appears
>in.)
>/tmp/stapIEkDNS/stap_28380.c:921:54: error: macro "__get_user_asm"
>passed 5 arguments, but takes just 4
>/tmp/stapIEkDNS/stap_28380.c:921:54: error: macro "__get_user_asm"
>passed 5 arguments, but takes just 4
>/tmp/stapIEkDNS/stap_28380.c:921:54: error: macro "__get_user_asm"
>passed 5 arguments, but takes just 4
>make[1]: *** [/tmp/stapIEkDNS/stap_28380.o] Error 1
>make: *** [_module_/tmp/stapIEkDNS] Error 2
>make: Leaving directory `/usr/src/linux-2.6.15-20060103193109'
>Pass 4: compiled into "stap_28380.ko"
>Pass 4: compilation failed. Try again with '-v' (verbose) option.
>Running rm -rf /tmp/stapIEkDNS
>
>
>
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: compile failure with get_user_asm()
2006-01-09 20:48 ` Hien Nguyen
@ 2006-01-09 21:20 ` Badari Pulavarty
0 siblings, 0 replies; 4+ messages in thread
From: Badari Pulavarty @ 2006-01-09 21:20 UTC (permalink / raw)
To: Hien Nguyen; +Cc: systemtap
On Mon, 2006-01-09 at 12:48 -0800, Hien Nguyen wrote:
> Badari,
>
> I posted a patch in this BZ
> http://sourceware.org/bugzilla/show_bug.cgi?id=2076
>
> You can try to apply the patch to the file
> /usr/local/share/systemtap/runtime/loc2c-runtime.h
>
> I am going to check the fix sometime later.
>
> Hien.
Thanks. It works.
Thanks,
Badari
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-01-09 21:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-09 18:13 compile failure with get_user_asm() Badari Pulavarty
2006-01-09 19:11 ` Frank Ch. Eigler
2006-01-09 20:48 ` Hien Nguyen
2006-01-09 21:20 ` Badari Pulavarty
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).