[cl-debian] Bug#358070: FTBFS/please support mips64: includes mips(32) file
Martin Michlmayr
tbm at cyrius.com
Tue Mar 28 12:39:16 UTC 2006
* Peter Van Eynde <pvaneynd at debian.org> [2006-03-28 09:45]:
> From the log it seems it detected the MIPS64, but fails to define
> MIPS64.
That's fine. MIPS has 3 different ABIs and you can run a 64-bit
kernel with 32-bit userland - which is what I did, so I had:
#define _MIPS_SZLONG 32
So that's probably wht MIPS4 didn't get defined.
> 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
Again, that look okay. However, that doesn't explain why I get a:
| arilev1.d:263:29: error: arimips.c: No such file or directory
It *should* include that file.
Where's the code generating the .c file from the .d file? It seems
this one doesn't work properly on a 64-bit kernel with 32-bit userland
and uses the 64-bit version.
--
Martin Michlmayr
http://www.cyrius.com/
More information about the Cl-debian
mailing list