firefox3 build fails on alpha

Dieter freebsd at sopwith.solgatos.com
Mon Aug 18 17:33:06 UTC 2008


> but I cannot see where PR_BYTES_PER_xxx are defined.

find dir -name \*.h | xargs grep PR_BYTES_PER_

If that doesn't find it, leave out the -name \*.h

> I think on alpha unsigned int should be 32 bit, it that correct?

Should be.  Easily verified:

/* check_sizes.c
 *
 * Verify the size of various types.
 */

#include <stdio.h>

int main(int argc, char **argv)
{
  printf("size of char = %ld\n", sizeof(char) );
  printf("size of short = %ld\n", sizeof(short) );
  printf("size of int = %ld\n", sizeof(int) );
  printf("size of long = %ld\n", sizeof(long) );
  printf("size of long long = %ld\n", sizeof(long long) );
  printf("size of float = %ld\n", sizeof(float) );
  printf("size of double = %ld\n", sizeof(double) );

  return(0);
}

NetBSD/alpha and FreeBSD/amd64 both give:

size of char = 1
size of short = 2
size of int = 4
size of long = 8
size of long long = 8
size of float = 4
size of double = 8

I would be very surprised if FreeBSD/alpha gives anything different.


More information about the freebsd-alpha mailing list