This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: libgcj cross-compilation problems (2)
- To: java-discuss at sourceware dot cygnus dot com, aph at pasanda dot cygnus dot co dot uk
- Subject: Re: libgcj cross-compilation problems (2)
- From: Chris Dornan <cdornan at arm dot com>
- Date: Thu, 20 Apr 2000 14:52:07 +0100 (BST)
Andrew Haley wrote:
> Look for the *first* error, not where the make finally fails:
Doh! Sorry. (I failed to interpret what was going on; much easier to
see in retrospect.) Thanks.
Having fixed that up, it now falls over while including <signal.h>:
/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 &)
/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()
make[2]: *** [prims.lo] Error 1
Now this is the kind of problem that I expected in moving over from
Solaris to ARM. I grabbed the sys-include files from an earlier build
of gcc for arm-elf and they worked fine in building gcc. The
offending code is in main_init:
// FIXME: we only want this on POSIX systems.
struct sigaction act;
act.sa_handler = SIG_IGN;
sigemptyset (&act.sa_mask);
act.sa_flags = 0;
sigaction (SIGPIPE, &act, NULL);
Does anyone know why <sys/signal.h> wouldn't support this?
Chris Dornan
cdornan@arm.com