develooper Front page | perl.perl5.porters | Postings from February 2015

Re: FYI: surprising issue with debian on powerppc - no 64-bitpointers ??!

Thread Previous | Thread Next
Michael Felt
February 7, 2015 14:38
Re: FYI: surprising issue with debian on powerppc - no 64-bitpointers ??!
Message ID:
root@x066:/data/smoker/perl-blead# gcc -o ptr ptr.c
root@x066:/data/smoker/perl-blead# ./ptr
size of Char Pointer is: 4 bytes
size of Void Pointer is: 4 bytes

root@x066:/data/smoker/perl-blead# cat ptr.c
#include <stdio.h>
        char *cptr;
        void *vptr;

        printf("size of Char Pointer is: %d bytes\n", sizeof(cptr));
        printf("size of Void Pointer is: %d bytes\n", sizeof(vptr));

I shall check with "debian"

On Sat, Feb 7, 2015 at 3:32 PM, Michael Felt <> wrote:

> In case you have been looking or even wondering why debian linux (on
> POWER) is failing with the 'c' option - from a manual Configure I am
> getting this result:
> The default should almost always be sensible, so if you're not sure,
> just accept the default.
> List of earlier versions to include in @INC? [none]
> <malloc/malloc.h> NOT found.
> <malloc.h> found.
> Checking to see how big your pointers are...
> Your pointers are 4 bytes long.
> *** You have chosen a maximally 64-bit build,
> *** but your pointers are only 4 bytes wide.
> *** Please rerun Configure without -Duse64bitall.
> *** Since you have quads, you could possibly try with -Duse64bitint.
> *** Cannot continue, aborting.
> ====
> My assumption is that this is a 64-bit kernel, so I am amazed with the
> issue. Looking into it - and for now shall drop -Duse64bitall from the smoke

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About