Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 100775

Summary: dev-util/oprofile-0.9 compiles and works on Alpha
Product: Gentoo Linux Reporter: Mike Hlavac <mike>
Component: Current packagesAssignee: Alpha Porters <alpha>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: tcort
Priority: Lowest    
Version: 2005.0   
Hardware: Alpha   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mike Hlavac 2005-07-29 19:42:47 UTC
I have verified that this package works for alpha.
Please add the ~alpha KEYWORDS to dev-util/oprofile-0.9
Comment 1 Thomas Cort (RETIRED) gentoo-dev 2006-01-16 16:20:54 UTC
I tried dev-util/oprofile-0.9.1 on my alpha using the examples ( http://oprofile.sourceforge.net/examples/ ) on the oprofile website. The following example caused a segfault: 

# opannotate --source --assembly `which oprofiled`



I have profiling and oprofile support compiled into my 2.6.15 vanilla-sources kernel. I started oprofiled with the following commands:

# opcontrol --vmlinux=/usr/src/linux/vmlinux
# opcontrol --start



Below is the output of running opannotate in gdb:

(gdb) set args --source --assembly `which oprofiled`
(gdb) run
Starting program: /usr/bin/opannotate --source --assembly `which oprofiled`

Program received signal SIGSEGV, Segmentation fault.
Cannot access memory at address 0x20049e4000000000
(gdb) bt
Cannot access memory at address 0x20049e4000000000
(gdb)



# emerge -vp oprofile

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] dev-util/oprofile-0.9.1  +qt 0 kB



# emerge info
Portage 2.0.53 (default-linux/alpha/2005.0, gcc-3.4.4, glibc-2.3.5-r3, 2.6.15 alpha)
=================================================================
System uname: 2.6.15 alpha EV56
Gentoo Base System version 1.6.13
distcc 2.18.3 alpha-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="alpha"
AUTOCLEAN="yes"
CBUILD="alpha-unknown-linux-gnu"
CFLAGS="-mieee -O2 -mcpu=ev56 -pipe"
CHOST="alpha-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mieee -O2 -mcpu=ev56 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.arcticnetwork.ca/pub/gentoo/ http://adelie.polymtl.ca/ ftp://cs.ubishops.ca/pub/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="alpha X aac aalib aim alsa arts audiofile berkdb bitmap-fonts bzip2 crypt cups curl eds encode esd exif expat fam ffmpeg flac font-server foomaticdb gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml icq imlib ipv6 jabber jpeg kde lcms libg++ libwww lua mad mhash mikmod mng motif mozilla mp3 mpeg msn nas ncurses nls nocd nptl nptlonly offensive ogg oggvorbis openal opengl oscar oss pam pcre pdflib perl png python qt quicktime readline sdl shorten sndfile spell ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev vorbis wxgtk1 xml2 xmms xv xvid yahoo zlib linguas_en userland_GNU kernel_linux elibc_glibc"Unset:  ASFLAGS, CTARGET, LANG, LC_ALL
Comment 2 Mike Hlavac 2006-06-09 20:41:14 UTC
Oprofile seems to have deeper issues on alpha even than tcort points out and is poorly supported upstream.  Closing the bug as wontfix.