This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: make segfault building cross-glibc with latest cygwin


Dan Kegel wrote:
I've been adding cygwin support to http://kegel.com/crosstool
so I can build hetrogenous distcc clusters targeting e.g. Red Hat 6.2.
I have a nice automated shell script to do this;
works great under Linux, and I'm slowly chipping away at the problems
under Cygwin.  The latest one is a Heisenbug: a submake crashes,
but only if I don't run it under gdb :-(

Aha. Using 'make -d' shows more detail:


Report bugs to <bug-make@gnu.org>.

Reading makefiles...
Reading makefile `Makefile'...
Reading makefile `../Makeconfig' (search path) (no ~ expansion)...
...
Reading makefile `/cygdrive/c/dank/test/crosstool-0.28-pre8c/build/i686-unknown-
linux-gnu/gcc-2.95.3-glibc-2.1.3/build-glibc/iconvdata/iconv-rules' (search path) (don't care) (no ~ expansion)...
Reading makefile `extra-module.mk' (search path) (no ~ expansion)...
Reading makefile `extra-module.mk' (search path) (no ~ expansion)...
[ 129 repeats of above line ]
Reading makefile `extra-module.mk' (search path) (no ~ expansion)...
Got a SIGCHLD; 1 unreaped children.
Reaping losing child 0x0a07a738 PID 492
make[1]: *** [iconvdata/lib] Segmentation fault (core dumped)
Removing child 0x0a07a738 PID 492 from chain.


so the recursion in extra-module.mk (which is expected, though
I don't know how many repeats are normal) is going awry somehow.

I'll look into it more when I don't have a sqiggly baby on my lap
who wants to help.
- Dan

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]