This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Build elfutils on AMD Opteron X86_64 problems.


Hello all:

We're running RH AS on an AMD Opteron X86_64 system and I'm trying out the
SystemTap tool. When I tried the example top.stp script I got the following error:


semantic error: libdwfl failure (dwfl_linux_kernel_report_kernel): No such file or directory
while: resolving probe point kernel.function("sys_*")


So, I down loaded the elfutils tarball and the patch, configured and make. I got the following
error:


gcc -Wall -Wshadow -std=gnu99 -Werror -Wunused -Wextra -Wformat=2 -g -O2 -Wl,-rpath-link,../libelf:../libdw -o elflint elflint.o ../libebl/libebl.a ../libelf/libelf.so ../lib/libeu.a -ldl
./ld: unrecognized option `--eh-frame-hdr'
Try `ld --help' or `ld --usage' for more information.
collect2: ld returned 64 exit status
make[2]: *** [elflint] Error 1
make[2]: Leaving directory `/home/dpitts/tmp/elfutils-0.120/src'


Do I need to do something special for this arch? The kernel version is 2.6.9-34 and the gcc
version is 3.4.5. The Kprobes option is on in the kernel build.


Thanks......

--
Dave Pitts                   PULLMAN: Travel and sleep in safety and comfort.
dpitts@cozx.com              My other RV IS a Pullman (Colorado Pine).
http://www.cozx.com/~dpitts


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]