<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><span style="color: rgb(33, 33, 33); font-size: 12pt;">>I believe GNU linker prints out "relocations against text section; recomiple with -fPIC" warning if the linker is creating a DSO. Does >it warn on text relocations if no -shared is given?</span><br>
</p>
<div dir="ltr" style="background-color: rgb(255, 255, 255);">
<div>
<div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote" style="color: rgb(33, 33, 33); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
Wait. I did not see <span style="color: rgb(33, 33, 33); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">
</span><span style="color: rgb(33, 33, 33); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">"relocations against text section;</span><span style="color: rgb(33, 33, 33); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);"> recom</span>pile
 with -fPIC" on 2.27<span style="font-size: 12pt;">,</span></div>
<div class="gmail_quote" style="color: rgb(33, 33, 33); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
I was talking about "relocation R_X86_64_32 against symbol `_start' can not be used when making a shared object; recompile with -fPIC"<br>
</div>
<div class="gmail_quote">
<div style="color: rgb(33, 33, 33); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
<div><br>
George.<br>
</div>
<br>
</div>
<span style="background-color: rgb(255, 255, 255);"><font face="Times New Roman" size="3"><br>
</font></span></div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>