Leopold Toetsch wrote:

Nick Glencross wrote:


    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678

                                                                ^^^^^^^^
Strange - everything else looks like a 32-bit machine. Is it one?

Doh! Copied the wrong 'perl -V' output!

    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
    alignbytes=8, prototype=define


 * *Lots* of this warning in the ops:

ops/experimental.ops:285: warning: cast increases required alignment of target type


It would be helpful if you provided the core_ops*.c file that caused the warning. Different run cores have different casts.

I've attached the full make log to give the full picture (not my biased selective highlights), as well as include/parrot/config.h (I tried changing the alignment to 8, but to no avail).

I don't believe that the core_ops*.c files are built differently depending on the Configure probe are they? If so, I can send them if that helps.

As usual, I don't mean to distract people from other tasks...

Nick

Attachment: make.log.gz
Description: GNU Zip compressed data

/* DO NOT EDIT THIS FILE
 * Generated by lib/Parrot/Configure/Step.pm from 
config/gen/config_h/config_h.in */
/* Copyright: 2001-2005 The Perl Foundation.  All Rights Reserved. */
/* $Id: config_h.in 7814 2005-04-12 16:23:20Z jrieks $ */

/* config.h
 *
 * Platform-specific config file
 *
 */

#if !defined(PARROT_CONFIG_H_GUARD)
#define PARROT_CONFIG_H_GUARD

/*
** ONLY PUT EMBEDDER-ACCESSIBLE SYMBOLS UP HERE!!!
** Other symbols may go below.
*/

#define PARROT_VERSION         "0.2.0-devel"
#define PARROT_REVISION        8223
#define PARROT_CONFIG_DATE     "Wed Jun  1 13:19:45 2005"
#define PARROT_MAJOR_VERSION    0
#define PARROT_MINOR_VERSION    2
#define PARROT_PATCH_VERSION    0
#define PARROT_ARCHNAME        "nojit"
#define PARROT_JIT_CAPABLE      0
#define PARROT_EXEC_CAPABLE     0
#define PARROT_SHARE_EXT        ".sl"
#define PARROT_LOAD_EXT         ".sl"

typedef long                   Parrot_Int;
typedef unsigned long          Parrot_UInt;
typedef double                   Parrot_Float;
typedef long             Parrot_Opcode;
typedef void *                  Parrot_Pointer;

typedef char                    Parrot_Int1;
typedef unsigned char           Parrot_UInt1;
typedef short               Parrot_Int2;
typedef unsigned short      Parrot_UInt2;
typedef int               Parrot_Int4;
typedef unsigned int      Parrot_UInt4;

typedef float             Parrot_Float4;
typedef double             Parrot_Float8;

/* Temporary until we find a way to make it work in the right place. */
struct PackFile;      typedef struct PackFile * Parrot_PackFile;

#if defined(PARROT_IN_CORE)

/* Put any other symbols here. */

#include <stddef.h>

#define PARROT_CPU_ARCH        "9000/800"
#define PARROT_OS_NAME         "hpux"
#define PARROT_BYTEORDER        0x4321
#define PARROT_BIGENDIAN        1
#define PARROT_PTR_ALIGNMENT    8

#define PARROT_LITTLEENDIAN     !(PARROT_BIGENDIAN)

typedef Parrot_Int INTVAL;
typedef Parrot_UInt UINTVAL;
typedef Parrot_Float FLOATVAL;

typedef long long HUGEINTVAL;
typedef unsigned long long UHUGEINTVAL;
typedef long double HUGEFLOATVAL;

#define INTVAL_SIZE 4
#define NUMVAL_SIZE 8
#define OPCODE_T_SIZE 4
#define PTR_SIZE 4
#define SHORT_SIZE 2
#define INT_SIZE 4
#define LONG_SIZE 4
#define HUGEINTVAL_SIZE 8
#define DOUBLE_SIZE 8

/* We don't have a portable config for 64-bit
 * registers yet. */
#if 0
# if INTVAL_SIZE >= 8
typedef Parrot_Int   INTVAL64;
typedef Parrot_Int   Parrot_Int64;
# else
#  if HUGEINTVAL_SIZE >= 8
typedef HUGEINTVAL   INTVAL64;
typedef HUGEINTVAL   Parrot_Int64;
#  else
/* No 64-bit type available? */
typedef union { unsigned char b[8]; } INTVAL64;
typedef INTVAL64   Parrot_Int64;
#  endif
# endif
#endif


typedef Parrot_Opcode opcode_t;
typedef size_t ptrcast_t;

typedef struct _vtable VTABLE;
typedef void DPOINTER;

#define FRAMES_PER_CHUNK 16

/* Default amount of memory to allocate in one whack */
#define DEFAULT_SIZE 32768

#define FRAMES_PER_PMC_REG_CHUNK FRAMES_PER_CHUNK
#define FRAMES_PER_NUM_REG_CHUNK FRAMES_PER_CHUNK
#define FRAMES_PER_INT_REG_CHUNK FRAMES_PER_CHUNK
#define FRAMES_PER_STR_REG_CHUNK FRAMES_PER_CHUNK

#define JIT_CPUARCH  "9000/800"
#define JIT_OSNAME   "hpux"
#define JIT_ARCHNAME "nojit"
#define JIT_CAPABLE  0
#define EXEC_CAPABLE 0
#define PARROT_EXEC_OS_hpux 1
#define PARROT_9000/800 1

/*
 * Switches to turn on/off new code so people can compile
 * the core with minimal breakage.
 */
#define EXP_NETWORKING 0


#define PARROT_CORE_OPLIB_NAME "core"
#define PARROT_CORE_OPLIB_INIT Parrot_DynOp_core_0_2_0
#define PARROT_CORE_PREDEREF_OPLIB_INIT Parrot_DynOp_core_prederef_0_2_0
#define PARROT_CORE_SWITCH_OPLIB_INIT Parrot_DynOp_core_switch_0_2_0
#define PARROT_CORE_CG_OPLIB_INIT Parrot_DynOp_core_cg_0_2_0
#define PARROT_CORE_CGP_OPLIB_INIT Parrot_DynOp_core_cgp_0_2_0

#define PARROT_HAS_ICU 0

#define INTVAL_FMT "%ld"
#define FLOATVAL_FMT "%f"

#include "parrot/has_header.h"
#include "parrot/feature.h"

#endif

#endif

/*
 * Local variables:
 * c-indentation-style: bsd
 * c-basic-offset: 4
 * indent-tabs-mode: nil
 * End:
 *
 * vim: expandtab shiftwidth=4:
 */

Reply via email to