This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils 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]

RE: Build issues on Freescale P4080


On Thu, 2011-03-17 at 08:05 +0000, Kumar Ranjit-B04060 wrote:
> I changes everything. New installation. Still some problem coming.
> 
> 
> gcc -std=gnu99 -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2    -g -O2   -o libdw.so -shared -o libdw.so -Wl,--soname,libdw.so.1,-z,defs \
>         -Wl,--enable-new-dtags,-rpath,/usr/local/lib/elfutils \
>         -Wl,--version-script,libdw.map,--no-undefined \
>         -Wl,--whole-archive libdw_pic.a ../libdwfl/libdwfl_pic.a ../libebl/libebl.a ../libelf/libelf.so -Wl,--no-whole-archive\
>         -ldl -lbz2 -lz                        
> if readelf -d libdw.so | fgrep -q TEXTREL; then exit 1; fi
> make[3]: *** [libdw.so] Error 1 
> make[3]: Leaving directory `/home/user/ranjitk/elfutils-0.152/libdw'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/user/ranjitk/elfutils-0.152/libdw'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/user/ranjitk/elfutils-0.152'
> make: *** [all] Error 2

Interesting. The background for this check is:
http://www.akkadia.org/drepper/textrelocs.html
If you already have eu-findtextrel then try to run that.
You can probably create it from the source with cd src; make findtextrel
if that doesn't work just edit out the "if readelf -d libdw.so | fgrep
-q TEXTREL; then exit 1; fi" from the Makefile for now and build
everything first. Running src/findtextrel libdw/libdw.so should give you
a hint about what is going on.

Cheers,

Mark


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