Comment 2 for bug 163308

Revision history for this message
alepac (alessandro-pacifici) wrote : Re: [Bug 163308] Re: ciso fail memory allocation on amd64

Hi Graeme,
you are right, even if I think that int as a size of 4 bytes both for 32 and
64 bits architecture. To be more arch independent we can include
linux/types.h header file and use __u32 instead of other types. This works
for me on amd64.

2007/12/26, Graeme Humphries <email address hidden>:
>
> I've experienced this bug. It causes ciso archives created on AMD64 to
> fail on the PSP, or with other Ciso tools, because it changes the
> archive header size. Note that this patch will probably break the source
> for x32 builds (I would think), since it refers to different int sizes.
> It's probably best to change the "long"s to whatever the independent
> format to refer to a 32bit uint is.
>
> In the mean time, installing the 32 bit build of this package on x64
> works fine.
>
> --
> ciso fail memory allocation on amd64
> https://bugs.launchpad.net/bugs/163308
> You received this bug notification because you are a direct subscriber
> of the bug.
>