public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* "Bad address" error while building cygwin with make -j2
@ 2011-12-14 15:22 Heiko Elger
  2011-12-14 18:06 ` marco atzeri
  0 siblings, 1 reply; 14+ messages in thread
From: Heiko Elger @ 2011-12-14 15:22 UTC (permalink / raw)
  To: cygwin

Hello,

I spend much of time in reproducing a testcase - I hope that this problem can 
be reproduced by others too.
While looking for a testcase for reproducing our other problem with "Bad 
address" errors - I tried to build cygwin snapshot 20111213.

I did a fresh cygwin intallation for this test.
I installed snapshot cygwin-inst-20111213.tar.bz2.
I run rebaseall and peflagsall and did a reboot.

$ uname -a
CYGWIN_NT-6.1-WOW64 PCFX061 1.7.10s(0.255/5/3) 20111213 04:12:34 i686 Cygwin

Here is my configuration
$ cygcheck -c >cygcheck.log
ftp://temp3-ro:tempro@ftp.arburg.com/temp3/make_strace.log

Her you will find an strace of the problem:
$ strace -o make_strace.log make -j2
ftp://temp3-ro:tempro@ftp.arburg.com/temp3/cygcheck.log


I've downloaded cygwin-src-20111213.tar.bz2.

running make -j2 in /cygwin-snapshot-20111213-1/i686-pc-cygwin/newlib/libc/argz
will produce the following error:

******* snip snip snip *******
ente59@PCFX061 /src/cygwin-snapshot-20111213-1/i686-pc-cygwin/newlib/libc/argz
$ rm *.o

ente59@PCFX061 /src/cygwin-snapshot-20111213-1/i686-pc-cygwin/newlib/libc/argz
$ make -j2
gcc -L/src/cygwin-snapshot-20111213-1/i686-pc-cygwin/winsup -L/src/cygwin-
snapshot-20111213-1/i686-pc-cygwin/winsup/cygwin -L/src/cygwin-snapshot-
20111213-1/i686-pc-cygwin/winsup/w32api/lib -isystem /src/cygwin-snapshot-
20111213-1/winsup/include -isystem /src/cygwin-snapshot-20111213-
1/winsup/cygwin/include -isystem /src/cygwin-snapshot-20111213-
1/winsup/w32api/include -B/src/cygwin-snapshot-20111213-1/i686-pc-
cygwin/newlib/ -isystem /src/cygwin-snapshot-20111213-1/i686-pc-
cygwin/newlib/targ-include -isystem /src/cygwin-snapshot-20111213-
1/newlib/libc/include    -I/src/cygwin-snapshot-20111213-
1/winsup/cygwin/include -DPACKAGE_NAME=\"newlib\" -
DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.19.0\" -
DPACKAGE_STRING=\"newlib\ 1.19.0\" -DPACKAGE_BUGREPORT=\"\" -
DPACKAGE_URL=\"\" -I. -I../../../.././newlib/libc/argz -DHAVE_OPENDIR -
DHAVE_RENAME -DSIGNAL_PROVIDED -D_COMPILING_NEWLIB -DHAVE_BLKSIZE -
DHAVE_FCNTL -DMALLOC_PROVIDED -fno-builtin      -g -O2 -c -o lib_a-dummy.o 
`test -f 'dummy.c' || echo '../../../.././newlib/libc/argz/'`dummy.c
gcc -L/src/cygwin-snapshot-20111213-1/i686-pc-cygwin/winsup -L/src/cygwin-
snapshot-20111213-1/i686-pc-cygwin/winsup/cygwin -L/src/cygwin-snapshot-
20111213-1/i686-pc-cygwin/winsup/w32api/lib -isystem /src/cygwin-snapshot-
20111213-1/winsup/include -isystem /src/cygwin-snapshot-20111213-
1/winsup/cygwin/include -isystem /src/cygwin-snapshot-20111213-
1/winsup/w32api/include -B/src/cygwin-snapshot-20111213-1/i686-pc-
cygwin/newlib/ -isystem /src/cygwin-snapshot-20111213-1/i686-pc-
cygwin/newlib/targ-include -isystem /src/cygwin-snapshot-20111213-
1/newlib/libc/include    -I/src/cygwin-snapshot-20111213-
1/winsup/cygwin/include -DPACKAGE_NAME=\"newlib\" -
DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.19.0\" -
DPACKAGE_STRING=\"newlib\ 1.19.0\" -DPACKAGE_BUGREPORT=\"\" -
DPACKAGE_URL=\"\" -I. -I../../../.././newlib/libc/argz -DHAVE_OPENDIR -
DHAVE_RENAME -DSIGNAL_PROVIDED -D_COMPILING_NEWLIB -DHAVE_BLKSIZE -
DHAVE_FCNTL -DMALLOC_PROVIDED -fno-builtin      -g -O2 -c -o lib_a-argz_add.o 
`test -f 'argz_add.c' || echo '../../../.././newlib/libc/argz/'`argz_add.c
make: *** read jobs pipe: Bad address.  Stop.
make: *** Waiting for unfinished jobs....
make: INTERNAL: Exiting with 1 jobserver tokens available; should be 2!
******* snip snip snip *******

Running without -j flag all works fine.

I did the following steps: running configure and run make without -j flag for 
the first build:

$ tar xjf /cygdrive/c/Programme/cygwin/mirror/snapshots/cygwin-src-
20111213.tar.bz2
$ cd cygwin-snapshot-20111213-1
$ md myinstall
$ ./configure --prefix=/src/cygwin-snapshot-20111213-1/myinstall
$ make

Then I tried make using -j flag in a sub directory.
$ cd i686-pc-cygwin/newlib/libc/argz
$ rm *.o
$ make -j2

I hope other users can reproduce same problem.

regards

Heiko



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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-12-23  9:42 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-14 15:22 "Bad address" error while building cygwin with make -j2 Heiko Elger
2011-12-14 18:06 ` marco atzeri
2011-12-14 18:15   ` Ken Brown
2011-12-14 18:28   ` Christopher Faylor
2011-12-15  5:43     ` Heiko Elger
2011-12-15  7:16       ` Heiko Elger
2011-12-16  1:12         ` Chris Sutcliffe
2011-12-16 21:05           ` Chris Sutcliffe
2011-12-17  2:56             ` Chris Sutcliffe
2011-12-18 23:30               ` Chris Sutcliffe
2011-12-19  6:02                 ` Heiko Elger
2011-12-22 16:48                 ` Chris Sutcliffe
2011-12-22 17:36                   ` Christopher Faylor
2011-12-23  9:42                   ` Heiko Elger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).