#165 ✓ resolved
Peter Johnson

Parallel make fails on Cygwin

Reported by Peter Johnson | June 25th, 2011 @ 07:51 PM

Originally posted on Trac by anonymous
Original Trac Ticket

  Description

    (last modified by peter@tortall.net)
    (diff)

./Configure make -j 8 fails on Vista32 Cygwin

min/yasm-0.8.0

$ ./configure && make -j 8
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu
99
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for xmlto... no
configure: WARNING: xmlto not found, manpages will not be rebuilt.
checking if malloc debugging is wanted... no
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for strings.h... (cached) yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking for unistd.h... (cached) yes
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for function prototypes... yes
checking for size_t... yes
checking for stdint types... stdint.h (shortcircuit)
make use of stdint.h in libyasm-stdint.h (assuming C99 compatible system)
checking for abort... yes
checking for toascii... yes
checking for vsnprintf... yes
checking for strsep... yes
checking for mergesort... no
checking for getcwd... yes
checking for popen... yes
checking for ftruncate... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for stricmp... no
checking for _stricmp... no
checking for strcmpi... no
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking for ld used by GCC... /usr/i686-pc-cygwin/bin/ld.exe
checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... no
checking for iconv... no, consider installing GNU libiconv
checking for GNU gettext in libintl... no
checking whether to use NLS... no
checking for GNU C Library... no
configure: Checking for Python
checking for a Python interpreter with version >= 2.4... none
configure: WARNING: Python not found
configure: WARNING: Could not find a suitable version of Python
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libyasm-stdint.h commands
config.status: creating libyasm-stdint.h : _YASM_LIBYASM_STDINT_H
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
make: Circular x86insn_nasm.gperf 
Parallel make works fine on mingw/linux/solaris

  
h3. Trac Attachments

h3. Trac Comments
comment:1
    
                          follow-up:
      ↓ 2
                  
                  Changed 2 years ago by peter@tortall.net

Does a non-parallel build fail? It looks like re2c is crashing for some reason, but it's hard to tell due to the parallel build.


comment:2
    
                        in reply to:
      ↑ 1
                  
                  Changed 2 years ago by anonymous

Replying to peter@…:

Does a non-parallel build fail? It looks like re2c is crashing for some reason, but it's hard to tell due to the parallel build.

non-parallel build is fine. In the parallel build if you attempt make again is completes and you get a build which passes make check. The is copy of trac ticket 214 on the MPIR project trac


comment:3
    
                  
                  Changed 2 years ago by peter@tortall.net

One other thing to try would be using the "real" re2c instead of the one bundled with yasm: sourceforge.net/projects/re2c/files/ has download links.

It looks likely there's a bug in the bundled re2c but it's going to be difficult to track down.


comment:4
    
                  
                  Changed 2 years ago by peter@tortall.net
  comment:4

              Changed 2 years ago by peter@tortall.net

  Description
    modified (diff)

  Description
    modified (diff)

comment:5
    
                  
                  Changed 2 years ago by anonymous

There were no problems in a parallel build of a stand alone re2c-0.13.5. I tried using re2c-0.13.5 in yasm , but could not see how to incorporate it


comment:6
    
                  
                  Changed 4 months ago by anonymous

With the latest cygwin 1.7 (before I was using version 1.5), this problem has dissappeared as after about 30 separate builds I have not been able to reproduce it.


comment:7
    
                  
                  Changed 3 weeks ago by anonymous

With the latest cygwin , this problem has come back


Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

The Yasm Modular Assembler Project

Shared Ticket Bins

People watching this ticket

Tags

Referenced by

Pages