<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;">>>></span><br>
</p>
<div dir="ltr" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<div>
<div style="color:rgb(33,33,33)">
<div>
<p dir="ltr">>>> So, after this change + r272303 ("Also reject 32 bit dynamic relocs when producing executable."),<br>
>>> error message says "cannot be used when making a shared object", but for example<br>
>>> x86-64-dyn-rel-error.s does not link DSO, it links executable and error message looks confusing.<br>
>>><br>
>>> Shouldn't  we change the part saying we making shared object to something about that relocations<br>
>>> against shared symbol can't be one of these ?</p>
<p dir="ltr">>>​>Yes, something saying that the problem is that that particular relocation cannot point to dynamic symbols would be awesome!</p>
<p dir="ltr">>>Cheers,<br>
>>Rafael<br>
</p>
<p dir="ltr">> </p>
<p dir="ltr">>So can we just change the text "relocation XXX <span style="color:rgb(33,33,33); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; background-color:rgb(255,255,255)">cannot be used when making a shared object; recompile with -fPIC.</span>"<br>
</p>
<p dir="ltr">>to "<span style="color:rgb(33,33,33); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; background-color:rgb(255,255,255)">cannot be used against shared object; recompile with -fPIC.</span>" in errorDynRel() ?<br>
</p>
<p dir="ltr">> </p>
<p dir="ltr">>For x64 that should work I think. Not sure if there another reasons to error out particular relocation except<br>
</p>
<p dir="ltr">>possible overflow in runtime ?<br>
</p>
<p dir="ltr">​<br>
</p>
<p dir="ltr">quick fix:<br>
</p>
<p dir="ltr">* against shared SYMBOL<br>
</p>
<p dir="ltr"><br>
</p>
<p dir="ltr"><br>
</p>
<div>George.<br>
</div>
<p dir="ltr"><br>
</p>
</div>
</div>
</div>
</div>
</body>
</html>