[nut-Bugs][301880] amd64 support enhancement
nut-bugs at alioth.debian.org
nut-bugs at alioth.debian.org
Thu Jan 4 17:07:38 CET 2007
Bugs item #301880, was opened at 2005-07-04 13:43
Status: Open
Priority: 5
Submitted By: Arnaud Quette (aquette)
Assigned to: Nobody (None)
Summary: amd64 support enhancement
Resolution: None
Group: None
Category: None
Initial Comment:
it seems the amd64 support is partly broken, as I (Arnaud) have received a report about MGE PSP compilation problem due to the prototypes in upsclient.h (upscli_get()). It seems linked to the "unsigned int" type.
From:
http://www.amd.com/us-en/assets/content_type/DownloadableAssets/Porting_x86_Linux_device_drivers_to_AMD64_Technology.htm
> ...
> The common x86 practice of using an unsigned int to represent a pointer
> causes the most bugs when recompiling drivers to AMD64 architecture.
> The correct Linux idiom is to use an unsigned long, which is defined to be
> the size of an general purpose register in the current architecture.
Thanks to Filiep Declerck for reporting it.
----------------------------------------------------------------------
>Comment By: Arjen de Korte (adkorte-guest)
Date: 2007-01-04 17:07
Message:
The description is non specific. We need more info, for
instance the compiler warnings/errors.
----------------------------------------------------------------------
Comment By: Charles Lepple (clepple-guest)
Date: 2006-12-15 20:29
Message:
No patch attached, therefore this is a bug.
----------------------------------------------------------------------
You can respond by visiting:
http://alioth.debian.org/tracker/?func=detail&atid=411542&aid=301880&group_id=30602
More information about the NUT-tracker
mailing list