[gccsdk] build-it riscos failure on Cygwin

John Tytgat John.Tytgat at aaug.net
Wed Feb 20 12:58:02 PST 2008


In message <a19605744f.admin at snowstone.org.uk>
          Adam <lists at snowstone.org.uk> wrote:

> In message <BAY101-W20DE95FC7DC0CD4CF77176F0210 at phx.gbl>, alan buckley wrote:
> 
> > 
> > I've been trying to build the RISC OS distribution on
> > Cygwin and failing.
> 
> I just tried this also, and it seems to have failed for a different
> reason(s) to Alan.
> 
> First I ran "build-it riscos" and the process stopped with what appears
> to be a problem within cygwin:
> 
>     625 [main] sh 2996 sig_send: error sending signal -39 to pid 2996, pipe handle 0x704, Win32 error 232
>     908 [proc_waiter] sh 2996 proc_waiter: error on read of child wait pipe 0x6F0, Win32 error 1450
>     446 [main] sh 3540 C:\cygwin\bin\sh.exe: *** fatal error - couldn't create signal pipe for forked process, Win32 error 1450
>     998 [main] sh 2996 sig_send: error sending signal -34 to pid 2996, pipe handle 0x704, Win32 error 232
>    1227 [main] sh 2996 sig_send: error sending signal -34 to pid 2996, pipe handle 0x704, Win32 error 232
>    4577 [main] sh 2996 sig_send: error sending signal -34 to pid 2996, pipe handle 0x704, Win32 error 232
>    4724 [main] sh 2996 sig_send: error sending signal -34 to pid 2996, pipe handle 0x704, Win32 error 232

I can't explain this.  Cygwin/Window (interaction) problem ?

> I closed everything down and came back later, entered the
> builddir-riscos directory and did "make". This ended with:
> 
>    checking for arm-unknown-riscos-gcc... arm-unknown-riscos-gcc
>    checking for C compiler default output file name... configure: error: C compiler cannot create executables
>    See `config.log' for more details.
>    make[1]: *** [configure-libcpp] Error 1
>    make[1]: Leaving directory `/home/adamr/gccsdk/gcc4/builddir-riscos'
>    make: *** [all] Error 2
> 
> The build-output.txt and config.log files, in case it's helpful are at:
> http://www.snowstone.org.uk/temp/gcc3.zip

Good, config.log reveals:

--8<--
It was created by configure, which was
generated by GNU Autoconf 2.61.  Invocation command line was
--8<--

Ahem, gcc 4.1 really really needs Autoconf 2.59. This version, not
an earlier one, not a more recent one.

--8<--
configure:4310: arm-unknown-riscos-gcc -c -g -O2   conftest.c >&5
conftest.c:8:17: error: gmp.h: No such file or directory
conftest.c: In function 'main':
conftest.c:14: error: 'choke' undeclared (first use in this function)
conftest.c:14: error: (Each undeclared identifier is reported only once
conftest.c:14: error: for each function it appears in.)
conftest.c:14: error: expected ';' before 'me'
configure:4316: $? = 1
--8<--

This fails and configure concludes that there is no working cross-compiler
available.  However, the check on gmp.h is probably because of the newer
version of Autotools but I'm not 100% certain.

John.
-- 
John Tytgat, in his comfy chair at home                                 BASS
John.Tytgat at aaug.net                             ARM powered, RISC OS driven




More information about the gcc mailing list