* CPV: dev-util/oprofile-0.9.6 * REPO: gentoo * USE: elibc_glibc kernel_linux userland_GNU x86 * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.29-hardened/build * Found sources for kernel version: * 2.6.29-hardened >>> Unpacking source... >>> Unpacking oprofile-0.9.6.tar.gz to /var/tmp/portage/dev-util/oprofile-0.9.6/work >>> Source unpacked in /var/tmp/portage/dev-util/oprofile-0.9.6/work >>> Compiling source in /var/tmp/portage/dev-util/oprofile-0.9.6/work/oprofile-0.9.6 ... * econf: updating oprofile-0.9.6/config.guess with /usr/share/gnuconfig/config.guess * econf: updating oprofile-0.9.6/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-qt-dir=/void --with-x --with-kernel-support checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking whether basename is declared... yes checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking dependency style of i686-pc-linux-gnu-g++... gcc3 checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E checking for i686-pc-linux-gnu-g77... no checking for i686-pc-linux-gnu-f77... no checking for i686-pc-linux-gnu-xlf... no checking for i686-pc-linux-gnu-frt... no checking for i686-pc-linux-gnu-pgf77... no checking for i686-pc-linux-gnu-fort77... no checking for i686-pc-linux-gnu-fl32... no checking for i686-pc-linux-gnu-af77... no checking for i686-pc-linux-gnu-f90... no checking for i686-pc-linux-gnu-xlf90... no checking for i686-pc-linux-gnu-pgf90... no checking for i686-pc-linux-gnu-epcf90... no checking for i686-pc-linux-gnu-f95... no checking for i686-pc-linux-gnu-fort... no checking for i686-pc-linux-gnu-xlf95... no checking for i686-pc-linux-gnu-ifc... no checking for i686-pc-linux-gnu-efc... no checking for i686-pc-linux-gnu-pgf95... no checking for i686-pc-linux-gnu-lf95... no checking for i686-pc-linux-gnu-gfortran... i686-pc-linux-gnu-gfortran checking whether we are using the GNU Fortran 77 compiler... yes checking whether i686-pc-linux-gnu-gfortran accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar checking for i686-pc-linux-gnu-ranlib... (cached) i686-pc-linux-gnu-ranlib checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-gcc static flag -static works... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-g++ static flag -static works... yes checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for i686-pc-linux-gnu-gfortran option to produce PIC... -fPIC checking if i686-pc-linux-gnu-gfortran PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-gfortran static flag -static works... yes checking if i686-pc-linux-gnu-gfortran supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-gfortran linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i686-pc-linux-gnu-gcc accepts -g... (cached) yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... (cached) none needed checking dependency style of i686-pc-linux-gnu-gcc... (cached) gcc3 checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for i686-pc-linux-gnu-g++... (cached) i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether i686-pc-linux-gnu-g++ accepts -g... (cached) yes checking dependency style of i686-pc-linux-gnu-g++... (cached) gcc3 checking for ld... /usr/i686-pc-linux-gnu/bin/ld checking for kernel OProfile support... yes checking whether malloc attribute is understood... no checking whether __builtin_expect is understood... yes checking for sched_setaffinity... yes checking for perfmonctl... no checking for poptGetContext in -lpopt... yes checking libiberty.h usability... yes checking libiberty.h presence... yes checking for libiberty.h... yes checking for cplus_demangle in -liberty... yes checking for xcalloc... yes checking for xmemdup... yes checking for dlopen in -ldl... yes checking for main in -lintl... no checking for bfd_openr in -lbfd... yes checking whether bfd_get_synthetic_symtab() exists in BFD library... no checking for bfd_openr_iovec in -lbfd... yes checking whether bfd_openr_iovec has seven parameters... yes checking popt prototype... takes const char ** checking whether to use included sstream... no checking whether bfd defines bool... no checking type of size_t... unsigned checking type of ptrdiff_t... int checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for moc2... not found checking for moc... /usr/bin/moc checking for uic... /usr/bin/uic checking for Qt library name... failed checking for xsltproc... xsltproc checking whether xsltproc works... yes checking whether i686-pc-linux-gnu-gcc -W is understood... yes checking whether i686-pc-linux-gnu-g++ -W is understood... yes checking whether i686-pc-linux-gnu-gcc -Wall is understood... yes checking whether i686-pc-linux-gnu-g++ -Wall is understood... yes checking whether i686-pc-linux-gnu-gcc -fno-common is understood... yes checking whether i686-pc-linux-gnu-g++ -fno-common is understood... yes checking whether i686-pc-linux-gnu-g++ -ftemplate-depth-50 is understood... yes checking whether i686-pc-linux-gnu-gcc -Wdeclaration-after-statement is understood... yes configure: creating ./config.status config.status: creating Makefile config.status: creating m4/Makefile config.status: creating libutil/Makefile config.status: creating libutil/tests/Makefile config.status: creating libutil++/Makefile config.status: creating libutil++/tests/Makefile config.status: creating libop/Makefile config.status: creating libop/tests/Makefile config.status: creating libopagent/Makefile config.status: creating libopt++/Makefile config.status: creating libdb/Makefile config.status: creating libdb/tests/Makefile config.status: creating libabi/Makefile config.status: creating libabi/tests/Makefile config.status: creating libregex/Makefile config.status: creating libregex/tests/Makefile config.status: creating libregex/stl.pat config.status: creating libregex/tests/mangled-name config.status: creating daemon/Makefile config.status: creating daemon/liblegacy/Makefile config.status: creating events/Makefile config.status: creating utils/Makefile config.status: creating doc/Makefile config.status: creating doc/xsl/catalog-1.xml config.status: creating doc/oprofile.1 config.status: creating doc/opcontrol.1 config.status: creating doc/ophelp.1 config.status: creating doc/opreport.1 config.status: creating doc/opannotate.1 config.status: creating doc/opgprof.1 config.status: creating doc/oparchive.1 config.status: creating doc/opimport.1 config.status: creating doc/srcdoc/Doxyfile config.status: creating libpp/Makefile config.status: creating opjitconv/Makefile config.status: creating pp/Makefile config.status: creating gui/Makefile config.status: creating gui/ui/Makefile config.status: creating module/Makefile config.status: creating module/x86/Makefile config.status: creating module/ia64/Makefile config.status: creating agents/Makefile config.status: creating agents/jvmti/Makefile config.status: creating agents/jvmpi/Makefile config.status: creating config.h config.status: executing depfiles commands Warning: a working Qt not found; no GUI will be built Warning: The user account 'oprofile:oprofile' does not exist on the system. To profile JITed code, this special user account must exist. Please add the following user and group: user name : 'oprofile' group name: 'oprofile' The 'oprofile' group must be the default group for the 'oprofile' user. make -j1 make all-recursive make[1]: Entering directory `/var/tmp/portage/dev-util/oprofile-0.9.6/work/oprofile-0.9.6' Making all in . make[2]: Entering directory `/var/tmp/portage/dev-util/oprofile-0.9.6/work/oprofile-0.9.6' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/var/tmp/portage/dev-util/oprofile-0.9.6/work/oprofile-0.9.6' Making all in m4 make[2]: Entering directory `/var/tmp/portage/dev-util/oprofile-0.9.6/work/oprofile-0.9.6/m4' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/dev-util/oprofile-0.9.6/work/oprofile-0.9.6/m4' Making all in libutil make[2]: Entering directory `/var/tmp/portage/dev-util/oprofile-0.9.6/work/oprofile-0.9.6/libutil' Making all in . make[3]: Entering directory `/var/tmp/portage/dev-util/oprofile-0.9.6/work/oprofile-0.9.6/libutil' if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../libop -W -Wall -fno-common -Wdeclaration-after-statement -O2 -march=athlon -fomit-frame-pointer -MT op_deviceio.o -MD -MP -MF ".deps/op_deviceio.Tpo" -c -o op_deviceio.o op_deviceio.c; \ then mv -f ".deps/op_deviceio.Tpo" ".deps/op_deviceio.Po"; else rm -f ".deps/op_deviceio.Tpo"; exit 1; fi if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../libop -W -Wall -fno-common -Wdeclaration-after-statement -O2 -march=athlon -fomit-frame-pointer -MT op_lockfile.o -MD -MP -MF ".deps/op_lockfile.Tpo" -c -o op_lockfile.o op_lockfile.c; \ then mv -f ".deps/op_lockfile.Tpo" ".deps/op_lockfile.Po"; else rm -f ".deps/op_lockfile.Tpo"; exit 1; fi if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../libop -W -Wall -fno-common -Wdeclaration-after-statement -O2 -march=athlon -fomit-frame-pointer -MT op_file.o -MD -MP -MF ".deps/op_file.Tpo" -c -o op_file.o op_file.c; \ then mv -f ".deps/op_file.Tpo" ".deps/op_file.Po"; else rm -f ".deps/op_file.Tpo"; exit 1; fi if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../libop -W -Wall -fno-common -Wdeclaration-after-statement -O2 -march=athlon -fomit-frame-pointer -MT op_fileio.o -MD -MP -MF ".deps/op_fileio.Tpo" -c -o op_fileio.o op_fileio.c; \ then mv -f ".deps/op_fileio.Tpo" ".deps/op_fileio.Po"; else rm -f ".deps/op_fileio.Tpo"; exit 1; fi if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../libop -W -Wall -fno-common -Wdeclaration-after-statement -O2 -march=athlon -fomit-frame-pointer -MT op_get_time.o -MD -MP -MF ".deps/op_get_time.Tpo" -c -o op_get_time.o op_get_time.c; \ then mv -f ".deps/op_get_time.Tpo" ".deps/op_get_time.Po"; else rm -f ".deps/op_get_time.Tpo"; exit 1; fi if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../libop -W -Wall -fno-common -Wdeclaration-after-statement -O2 -march=athlon -fomit-frame-pointer -MT op_libiberty.o -MD -MP -MF ".deps/op_libiberty.Tpo" -c -o op_libiberty.o op_libiberty.c; \ then mv -f ".deps/op_libiberty.Tpo" ".deps/op_libiberty.Po"; else rm -f ".deps/op_libiberty.Tpo"; exit 1; fi if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../libop -W -Wall -fno-common -Wdeclaration-after-statement -O2 -march=athlon -fomit-frame-pointer -MT op_popt.o -MD -MP -MF ".deps/op_popt.Tpo" -c -o op_popt.o op_popt.c; \ then mv -f ".deps/op_popt.Tpo" ".deps/op_popt.Po"; else rm -f ".deps/op_popt.Tpo"; exit 1; fi if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../libop -W -Wall -fno-common -Wdeclaration-after-statement -O2 -march=athlon -fomit-frame-pointer -MT op_string.o -MD -MP -MF ".deps/op_string.Tpo" -c -o op_string.o op_string.c; \ then mv -f ".deps/op_string.Tpo" ".deps/op_string.Po"; else rm -f ".deps/op_string.Tpo"; exit 1; fi if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../libop -W -Wall -fno-common -Wdeclaration-after-statement -O2 -march=athlon -fomit-frame-pointer -MT op_cpufreq.o -MD -MP -MF ".deps/op_cpufreq.Tpo" -c -o op_cpufreq.o op_cpufreq.c; \ then mv -f ".deps/op_cpufreq.Tpo" ".deps/op_cpufreq.Po"; else rm -f ".deps/op_cpufreq.Tpo"; exit 1; fi if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../libop -W -Wall -fno-common -Wdeclaration-after-statement -O2 -march=athlon -fomit-frame-pointer -MT op_version.o -MD -MP -MF ".deps/op_version.Tpo" -c -o op_version.o op_version.c; \ then mv -f ".deps/op_version.Tpo" ".deps/op_version.Po"; else rm -f ".deps/op_version.Tpo"; exit 1; fi if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../libop -W -Wall -fno-common -Wdeclaration-after-statement -O2 -march=athlon -fomit-frame-pointer -MT op_growable_buffer.o -MD -MP -MF ".deps/op_growable_buffer.Tpo" -c -o op_growable_buffer.o op_growable_buffer.c; \ then mv -f ".deps/op_growable_buffer.Tpo" ".deps/op_growable_buffer.Po"; else rm -f ".deps/op_growable_buffer.Tpo"; exit 1; fi rm -f libutil.a i686-pc-linux-gnu-ar cru libutil.a op_deviceio.o op_lockfile.o op_file.o op_fileio.o op_get_time.o op_libiberty.o op_popt.o op_string.o op_cpufreq.o op_version.o op_growable_buffer.o i686-pc-linux-gnu-ranlib libutil.a make[3]: Leaving directory `/var/tmp/portage/dev-util/oprofile-0.9.6/work/oprofile-0.9.6/libutil' Making all in tests make[3]: Entering directory `/var/tmp/portage/dev-util/oprofile-0.9.6/work/oprofile-0.9.6/libutil/tests' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/var/tmp/portage/dev-util/oprofile-0.9.6/work/oprofile-0.9.6/libutil/tests' make[2]: Leaving directory `/var/tmp/portage/dev-util/oprofile-0.9.6/work/oprofile-0.9.6/libutil' Making all in libop make[2]: Entering directory `/var/tmp/portage/dev-util/oprofile-0.9.6/work/oprofile-0.9.6/libop' Making all in . make[3]: Entering directory `/var/tmp/portage/dev-util/oprofile-0.9.6/work/oprofile-0.9.6/libop' if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../libutil -W -Wall -fno-common -Wdeclaration-after-statement -O2 -march=athlon -fomit-frame-pointer -MT op_events.o -MD -MP -MF ".deps/op_events.Tpo" -c -o op_events.o op_events.c; \ then mv -f ".deps/op_events.Tpo" ".deps/op_events.Po"; else rm -f ".deps/op_events.Tpo"; exit 1; fi op_hw_specific.h: In function 'read_events': op_hw_specific.h:80: error: PIC register 'ebx' clobbered in 'asm' op_hw_specific.h: In function 'arch_filter_events': op_hw_specific.h:49: error: PIC register 'ebx' clobbered in 'asm' make[3]: *** [op_events.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/dev-util/oprofile-0.9.6/work/oprofile-0.9.6/libop' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-util/oprofile-0.9.6/work/oprofile-0.9.6/libop' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-util/oprofile-0.9.6/work/oprofile-0.9.6' make: *** [all] Error 2 * ERROR: dev-util/oprofile-0.9.6 failed: * emake failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 3288: Called die * The specific snippet of code: * emake ${mymake} || die "emake failed" * * If you need support, post the output of 'emerge --info =dev-util/oprofile-0.9.6', * the complete build log and the output of 'emerge -pqv =dev-util/oprofile-0.9.6'. * The complete build log is located at '/var/tmp/portage/dev-util/oprofile-0.9.6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/oprofile-0.9.6/temp/environment'. * S: '/var/tmp/portage/dev-util/oprofile-0.9.6/work/oprofile-0.9.6'