Hi all,<br><br>I&#39;m getting the same error as Alexy below in some 64bit linux system. What can I do? Adding -fPIC and also -dynamic does not seem to solve the problem. Also, this only happens with a perf build; devel1 works fine.<br>
<br><br>Thanks,<br>Pedro<br><br><div class="gmail_quote">
On Sat, Jun 26, 2010 at 05:56, braver <span dir="ltr">&lt;<a href="mailto:deliverable@gmail.com" target="_blank">deliverable@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

An attempt to build the trunk gets me this:<br>
<br>
/opt/portage/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-<br>
pc-linux-gnu/bin/ld: rts/dist/build/RtsStartup.dyn_o: relocation<br>
R_X86_64_PC32 against symbol `StgRun&#39; can not be used when making a<br>
shared object; recompile with -fPIC<br>
<br>
-- I use prefix portage on a CentOS box, admittedly a non-standard<br>
setup.  Its gcc is found first and it wants -fPIC...  Should I just<br>
add it to CFLAGS or what?<br>
<div><div></div><div><br>
-- Alexy<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</div></div></blockquote></div><br>