[kaffe] total NetBSD/ppc breakage

Guilhem Lavaux guilhem.lavaux at free.fr
Tue Apr 27 10:09:01 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dalibor Topic wrote:
| Riccardo wrote:
|
|> Hello,
|>
|> In file included from ../../../../../kaffe/config/powerpc/netbsd1/md.h:
|> 15,
|>                  from ../../../../config/md.h:1,
|>                  from ../../../../../kaffe/kaffe/kaffevm/systems/unix-
|> jthreads/jthread.h:41,
|>                  from ../../../../../kaffe/kaffe/kaffevm/systems/unix-
|> jthreads/signal.c:18:
|> ./../../../../kaffe/config/powerpc/common.h:21:5: warning: "NEED_
|> sysdepCallMethod" is not defined
|> ./../../../../kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c:38:
|> error: syntax error before '(' token
|> ./../../../../kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c: In
|> function `jthread_initexceptions':
|> ./../../../../kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c:60:
|> error: `nullException' undeclared (first use in this function)
|> ./../../../../kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c:60:
|> error: (Each undeclared identifier is reported only once
|>
|>
|> so, this is strange, maybe a GCC bug? or something wicked in the code
|> that confuses gcc.
|
|
| No, I think Guilhem just forgot for add SIGNAL_ARGS to powerpc ports
| other than darwin :) I've CC:ed him on this mail, hopefully he has some
| time to look into it.
|

Yes, I have forgotten to add it because I first thought that it  was
defined for all architectures. :( But then I discovered that
EXCEPTIONPROTO has a default definition in signal. So now we have to add
~ a definition for all architectures.

I will quickly write a simple SIGNAL_ARGS and a "#undef
HAVE_SIGALTSTACK" (to disable stack detection) for POWER_PC for the moment.

Cheers,

Guilhem.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAjpLvWRk4qbNiTwgRAi1WAJ45VR4zamTJskO40P+SM2FkFMG0/ACgkA+K
L6vPawUw3FdHAAQk0LlmF6k=
=4fzt
-----END PGP SIGNATURE-----





More information about the kaffe mailing list