[Bug 798457] New: systemtap failed with "error:=?UTF-8?Q?=20=E2=80=98cpu=5Fpossible=5Fmap=E2=80=99=20undeclared?="
https://bugzilla.novell.com/show_bug.cgi?id=798457 https://bugzilla.novell.com/show_bug.cgi?id=798457#c0 Summary: systemtap failed with "error: ‘cpu_possible_map’ undeclared" Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: bili@suse.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- $ cat hell.stp #! /usr/bin/env stap probe begin { println("hello world") exit () } $ stap hell.stp In file included from /tmp/stapzrYMSb/stap_b877c7d43837c215a588d7ef6c398623_685_src.c:21:0: /usr/share/systemtap/runtime/stat.c: In function ‘_stp_stat_get’: /usr/share/systemtap/runtime/stat.c:214:2: error: ‘cpu_possible_map’ undeclared (first use in this function) /usr/share/systemtap/runtime/stat.c:214:2: note: each undeclared identifier is reported only once for each function it appears in /usr/share/systemtap/runtime/stat.c: In function ‘_stp_stat_clear’: /usr/share/systemtap/runtime/stat.c:249:2: error: ‘cpu_possible_map’ undeclared (first use in this function) make[3]: *** [/tmp/stapzrYMSb/stap_b877c7d43837c215a588d7ef6c398623_685_src.o] Error 1 make[2]: *** [_module_/tmp/stapzrYMSb] Error 2 make[1]: *** [sub-make] Error 2 make: *** [all] Error 2 WARNING: make exited with status: 2 Pass 4: compilation failed. Try again with another '--vp 0001' option -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798457 https://bugzilla.novell.com/show_bug.cgi?id=798457#c1 --- Comment #1 from Li Bin <bili@suse.com> 2013-01-15 08:06:46 UTC --- http://sourceware.org/bugzilla/show_bug.cgi?id=14220 upstream already fixed it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798457 https://bugzilla.novell.com/show_bug.cgi?id=798457#c2 --- Comment #2 from Li Bin <bili@suse.com> 2013-01-15 08:13:32 UTC --- commit e14ac0e274c6de3fee1f74cd190ec6248f28e559 Author: David Smith <dsmith@redhat.com> Date: Wed Apr 11 15:01:02 2012 -0500 Fix compile problem by changing 'stp_for_each_cpu' to 'for_each_possible_cpu'. * runtime/runtime.h: Removed stp_for_each_cpu() macro definition, since no longer needed (and 'cpu_possible_map' has been removed from the upstream kernel). * runtime/map-stat.c: Replaced 'stp_for_each_cpu()' with 'for_each_possible_cpu()'. * runtime/map.c: Ditto. * runtime/perf.c: Ditto. * runtime/pmap-gen.c: Ditto. * runtime/stat.c: Ditto. * runtime/transport/procfs.c: Ditto. * translate.cxx: Ditto. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798457 https://bugzilla.novell.com/show_bug.cgi?id=798457#c3 Li Bin <bili@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gzhao@suse.com --- Comment #3 from Li Bin <bili@suse.com> 2013-01-15 09:08:21 UTC --- I build with the patch, it works fine now. If anyone wanna test it, just use the osc get the binaries. osc getbinaries home:BinLi:branches:openSUSE:12.2:Update/systemtap standard i586 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798457 https://bugzilla.novell.com/show_bug.cgi?id=798457#c4 Li Bin <bili@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |tonyj@suse.com |ovo.novell.com | --- Comment #4 from Li Bin <bili@suse.com> 2013-01-15 09:17:24 UTC --- Assign to maintainer. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798457 https://bugzilla.novell.com/show_bug.cgi?id=798457#c5 --- Comment #5 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-01-15 11:00:19 CET --- This is an autogenerated message for OBS integration: This bug (798457) was mentioned in https://build.opensuse.org/request/show/148540 Maintenance / -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798457 https://bugzilla.novell.com/show_bug.cgi?id=798457#c6 Benjamin Brunner <bbrunner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #6 from Benjamin Brunner <bbrunner@suse.com> 2013-01-21 12:33:22 CET --- Update released for openSUSE 12.2. Resolved fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com