To answer your question:
"Is there any benefit using the x64 version instead of the 32-bit version of
- I found the the 32bit and 64bit versions of smartmontools to be
functionally equivalent. The only benefit I can see is that using the x64
build on an x64 version of Windows means you do not incur the overhead that
arises through using the Microsoft WOW64 software compatibility layer. I
have not determined how significant this overhead is, but it probably is
minimal in smartmontools.
"Yes, relocation info is needed, otherwise the exe could be moved to a
random load address. The problem is that GNU ld does not address this use
case yet. It is apparently not possible to enable relocation info when no
symbols are exported."
- Thanks for the information.
On 27 February 2010 14:37, Christian Franke <Christian.Franke@...:
> Hi Richard,
> Richard Flint wrote:
>> Hi Christian,
>> Thanks for your reply. To clarify, I tested smartmontools on a Windows 7
>> Pro x64 machine with 4 drives in total:
>> 2 SATA drives attached to the built-in Intel I/O Controller Hub 10
>> 2 USB connected drives connected using a SATA <=> USB bridge (A 500GB
>> WD5000E035 and a 1TB WD1000H1U). I think the bridges are both oxford ones.
>> Both 32bit and 64bit builds of smartmontools work against these 4 drives.
> Is there any benefit using the x64 version instead of the 32-bit version of
> Re. the relocation info. Sorry, you're right the article doesn't say it. I
>> cant find a microsoft KB article saying it but I am pretty sure that it is
>> true. This forum post says that the default behaviour of windows 7/vista is
>> to "randomize only images that have relocation information and are
>> explicitly marked as compatible with ASLR by setting the
>> IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE (0x40) flag in DllCharacteristics
>> field in the PE header" see here.
> Yes, relocation info is needed, otherwise the exe could be moved to a
> random load address. The problem is that GNU ld does not address this use
> case yet. It is apparently not possible to enable relocation info when no
> symbols are exported.