libgcj cross-compilation problems (2)
Tom Tromey
tromey@cygnus.com
Thu Apr 20 08:57:00 GMT 2000
>>>>> "Chris" == Chris Dornan <cdornan@arm.com> writes:
Chris> Having fixed that up, it now falls over while including <signal.h>:
Chris> /export/home/cdornan/gnu/gcc-2.95.2-arm/lib/gcc-lib/arm-elf/2.95.2/../../../../arm-elf/sys-include/sys/signal.h:19: candidates are: sigaction::sigaction(const sigaction &)
Chris> /export/home/cdornan/gnu/gcc-2.95.2-arm/lib/gcc-lib/arm-elf/2.95.2/../../../../arm-elf/sys-include/sys/signal.h:19: sigaction::sigaction()
Chris> make[2]: *** [prims.lo] Error 1
Presumably this isn't the entire text of the error message.
Chris> Now this is the kind of problem that I expected in moving over
Chris> from Solaris to ARM. I grabbed the sys-include files from an
Chris> earlier build of gcc for arm-elf and they worked fine in
Chris> building gcc. The offending code is in main_init:
Chris> // FIXME: we only want this on POSIX systems.
Chris> struct sigaction act;
Chris> act.sa_handler = SIG_IGN;
Chris> sigemptyset (&act.sa_mask);
Chris> act.sa_flags = 0;
Chris> sigaction (SIGPIPE, &act, NULL);
Chris> Does anyone know why <sys/signal.h> wouldn't support this?
Offhand, no. I think it should work fine. What operating system are
you using, if any?
Tom
More information about the Java
mailing list