[cl-debian] Bug#358070: FTBFS/please support mips64: includes mips(32) file

Peter Van Eynde pvaneynd at debian.org
Tue Mar 28 07:45:36 UTC 2006


On Tuesday 21 March 2006 03:17, Martin Michlmayr wrote:
> Your packages fails to build on mips64.  It detects the system
> correctly but then tries t include the mips (rather than mip64) file
> and fails.

From the log it seems it detected the MIPS64, but fails to define
MIPS64. The relevant file is src/lispbibl.d:

...
  #if defined(mips) || defined(__mips) || defined(__mips__)
    #define MIPS
    #if defined(_MIPS_SZLONG)
      #if (_MIPS_SZLONG == 64)
        # We should also check for (_MIPS_SZPTR == 64), but gcc keeps this at 32.
        #define MIPS64
      #endif
    #endif
  #endif
...

This is then used in src/arilev1.d to load the 'correct file':
...
    #if defined(MIPS)
      #if defined(MIPS64)
        #include "arimips64.c"
      #else
        #include "arimips.c"
      #endif
    #endif
...

What is the value of _MIPS_SZLONG?

Groetjes, Peter

-- 
signature -at- pvaneynd.mailworks.org 
http://www.livejournal.com/users/pvaneynd/
"God, root, what is difference?" Pitr | "God is more forgiving." Dave Aronson| 





More information about the Cl-debian mailing list