|
From: Tom H. <to...@co...> - 2005-03-28 20:21:48
|
In message <111...@he...>
Robert Walsh <rj...@du...> wrote:
> Anyone else seeing this error when attempting to link stage2 on an FC3
> AMD64 box?
>
> gcc -Wmissing-prototypes -Winline -Wall -Wshadow -O -g -fomit-frame-
> pointer -DELFSZ=64 -fno-omit-frame-pointer -Wno-long-long -o stage2 -
> Wl,--export-dynamic -g -Wl,-version-script ./valgrind.vs -pie stage2-
> execontext.o stage2-stacktrace.o stage2-ume.o stage2-vg_scheduler.o
> stage2-vg_default.o stage2-vg_demangle.o stage2-vg_errcontext.o stage2-
> vg_hashtable.o stage2-vg_instrument.o stage2-vg_main.o stage2-
> vg_malloc2.o stage2-vg_memory.o stage2-vg_messages.o stage2-vg_mylibc.o
> stage2-vg_needs.o stage2-vg_procselfmaps.o stage2-vg_dummy_profile.o
> stage2-vg_signals.o stage2-vg_symtab2.o stage2-vg_threadmodel.o stage2-
> vg_pthreadmodel.o stage2-vg_redir.o stage2-vg_dwarf.o stage2-vg_stabs.o
> stage2-vg_skiplist.o stage2-vg_symtypes.o stage2-vg_syscalls.o stage2-
> vg_toolint.o stage2-vg_translate.o stage2-vg_transtab.o
> demangle/libdemangle.a amd64-linux/libplatform.a amd64/libarch.a
> linux/libos.a /home/rjwalsh/svn/vex/libvex.a -ldl
> /usr/bin/ld: amd64-linux/libplatform.a(syscalls.o): relocation
> R_X86_64_32 against `a local symbol' can not be used when making a
> shared object; recompile with -fPIC
>
> I tried compiling with -fPIC but it bugged out with a similar error in
> libarch.a. Any thoughts?
You need to configure with --disable-pie as PIE builds don't
work at the moment.
tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|