You wrote: " To solve the chicken and egg problem do a make dist e.g. on
Linux and untar the created tarball on cygwin64."

I'm not sure exactly what that gained, but the build did get further.  It
still fails, with log attached. ;(

I see that you commented out the thread affinity and the 32 bit compile
appears to get as far as it used to, but the make install still fails:

$ make install
cp -p kernl32l.fi kernl32l.fi~
cp -p kernl32l.fi- kernl32l.fi
./gforthker -p ".:~+:." etags.fs except.fs startup.fs fflib.fs cstr.fs
unix/socket.fs unix/pthread.fs unix/mmap.fs unix/serial.fs -e bye
redefined field,
*** Warning: This system can not link to static lib archive
/usr/lib/libavcall.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** But as you try to build a module library, libtool will still create
*** a static module, that should work as long as the dlopening application
*** is linked with the -dlopen flag to resolve symbols at runtime.

file not found
uncaught exception: error #-2
Makefile:975: recipe for target `gforth.TAGS' failed
make: *** [gforth.TAGS] Error 2

DaR

-----Original Message-----
From: Bernd Paysan [mailto:bernd.pay...@gmx.de] 
Sent: Tuesday, August 13, 2013 7:03 AM
To: Dennis Ruffer
Cc: 'gforth'
Subject: Re: [gforth] Latest git and cygwin 64-bit

Am Dienstag, 13. August 2013, 06:47:16 schrieb Dennis Ruffer:
> I see the following as a new set of error messages since 04/09 when I 
> last pulled down the git sources:
> 
> $FFBB398C throw
> $FFBDE218 c(abort")
> $FFBDECCC compile-wrapper-function1
> /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/pthread.c: In 
> function
> 'stick_to_core':
> /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/pthread.c:139:3:
> error: unknown type name 'cpu_set_t'
> /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/pthread.c:144:3:
> warning: implicit declaration of function 'CPU_ZERO'
> [-Wimplicit-function-declaration]
> /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/pthread.c:145:3:
> warning: implicit declaration of function 'CPU_SET'
> [-Wimplicit-function-declaration]
> /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/pthread.c:147:3:
> warning: implicit declaration of function 'pthread_setaffinity_np'
> [-Wimplicit-function-declaration]
> /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/pthread.c:147:56:
> error: 'cpu_set_t' undeclared (first use in this function)
> /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/pthread.c:147:56:
> note: each undeclared identifier is reported only once for each 
> function it appears in
/usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/pthread.c:
> In function 'libgfpthread_LTX_gforth_c_pthread_kill_nn_n':
> /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/pthread.c:193:3:
> warning: passing argument 1 of 'pthread_kill' makes pointer from 
> integer without a cast [enabled by default] In file included from 
> /usr/include/signal.h:5:0,
>                  from /usr/include/pthread.h:15,
>                  from
> /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/pthread.c:2:
> /usr/include/sys/signal.h:170:5: note: expected 'pthread_t' but 
> argument is of type 'Cell'

Yes, for portabilitiy, I should leave thread affinity out.

--
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://bernd-paysan.de/
configure.in:301: warning: AC_LIBOBJ(../$arm_cacheflush): you should use 
literals
/usr/src/packages/autoconf/26/64/autoconf2.5-2.69-2/src/autoconf-2.69/lib/autoconf/general.m4:2938:
 AC_LIBOBJ is expanded from...
configure.in:301: the top level
configure.in:301: warning: AC_LIBOBJ(../$arm_cacheflush): you should use 
literals
/usr/src/packages/autoconf/26/64/autoconf2.5-2.69-2/src/autoconf-2.69/lib/autoconf/general.m4:2938:
 AC_LIBOBJ is expanded from...
configure.in:301: the top level
configure.in:301: warning: AC_LIBOBJ(../$arm_cacheflush): you should use 
literals
/usr/src/packages/autoconf/26/64/autoconf2.5-2.69-2/src/autoconf-2.69/lib/autoconf/general.m4:2938:
 AC_LIBOBJ is expanded from...
configure.in:301: the top level
checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
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 how to run the C preprocessor... gcc -E
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether to use two dispatches per conditional branch... 1
checking make type... GNU Make
checking whether the linker accepts -export-dynamic... yes
Check for arch/amd64//gforth.ld (false)
checking size of char *... 8
checking size of void *... 8
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of intptr_t... 8
checking size of int128_t... 0
checking size of uint128_t... 0
checking for a C type for cells... long
checking for a C type for wydes... short
checking for a C type for tetrabytes... int
checking for a C type for octabytes... long
checking for a C type for double-cells... none
checking for a C type for unsigned double-cells... none
checking for off_t... yes
checking size of off_t... 8
checking if gcc understands -fno-gcse... yes
checking if gcc understands -fno-strict-aliasing... yes
checking if gcc understands -fno-crossjumping... yes
checking if gcc understands -fno-reorder-blocks... yes
checking if gcc understands -falign-labels=1... yes
checking if gcc understands -falign-loops=1... yes
checking if gcc understands -falign-jumps=1... yes
checking if gcc understands -pthread... yes
checking if gcc understands -Wimplicit-function-declaration... yes
checking how to suppress 'unused variable' warnings... __attribute__((unused))
checking whether gcc understands '__thread'... yes
checking how to invoke m4... m4 -s
checking for install-info... /usr/bin/install-info
checking for chcon... chcon -t unconfined_execmem_exec_t
checking whether byte ordering is bigendian... no
checking if and how we can waste code space... .skip 16
checking if and how we can do comments in asm statements... "# "
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for texi2dvi4a2ps... no
checking for texi2dvi... texi2dvi
checking for emacs... emacs
checking for glibtool... no
checking for libtool... libtool
checking for asin in -lm... yes
checking for lt_dlinit in -lltdl... yes
checking for clock_gettime in -lrt... yes
checking ffi.h usability... no
checking ffi.h presence... no
checking for ffi.h... no
checking ffi/ffi.h usability... no
checking ffi/ffi.h presence... no
checking for ffi/ffi.h... no
checking for ffi_call in -lffi... no
checking for __builtin_avcall in -lavcall... no
configure: WARNING: The (old) lib.fs foreign function interface needs either 
libffi or the ffcall libraries
checking for working memcmp... yes
checking for memmove... yes
checking for strtoul... yes
checking for pow10... yes
checking for sincos... yes
checking for strerror... yes
checking for strsignal... yes
checking for atanh... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for ftello... yes
checking for dlopen... yes
checking for sys_siglist... yes
checking for getrusage... yes
checking for nanosleep... yes
checking for clock_gettime... yes
checking for stack_t... no
checking whether sys_siglist is declared... yes
checking for getopt_long... yes
checking for expm1... yes
checking for log1p... yes
checking for mcheck... no
checking for mprobe... no
checking for rint... yes
checking for ecvt... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking fnmatch.h usability... yes
checking fnmatch.h presence... yes
checking for fnmatch.h... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking for working POSIX fnmatch... yes
checking for mmap... yes
checking for sysconf... yes
checking for getpagesize... yes
checking for wcwidth... yes
checking for emacs... (cached) emacs
checking where .elc files should go... ${datarootdir}/emacs/site-lisp
checking for gforth... echo "You need to configure with a gforth in \$PATH to 
build this part" && false
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Makedist
config.status: creating gforthmi
config.status: creating gforthmi.sh
config.status: creating vmgen
config.status: creating machpc.fs
config.status: creating envos.fs
config.status: creating preforth
config.status: creating libforth
config.status: creating gforthker
config.status: creating engine/Makefile
config.status: WARNING:  'engine/Makefile.in' seems to ignore the --datarootdir 
setting
config.status: creating engine/libcc.h
config.status: creating doc/version.texi
config.status: creating build-ec
config.status: creating engine/config.h
config.status: engine/config.h is unchanged
config.status: executing stamp-h commands
Running: make
if test -z ""; then \
        for i in -ll-reg -noll-reg -ll -noll; do make optgforth OPT=$i && cp -p 
gforth${i}.exe gforth.exe && break; done; \
else \
        ( cd engine && make gforth.exe ) && \
        cp -p engine/gforth.exe gforth.exe && \
        chcon -t unconfined_execmem_exec_t gforth.exe; \
        true; \
         make checkone check-nofast ENGINE=./engine/gforth.exe; \
fi
make[1]: Entering directory `/usr/src/gforth-0.7.9_20130214'
make gforth-ll-reg.exe OPT=-ll-reg OPTDEFINES="-DFORCE_LL -DFORCE_REG" 
OPTOBJECTS=
make[2]: Entering directory `/usr/src/gforth-0.7.9_20130214'
if test -z "-ll-reg"; then \
        for i in -ll-reg -noll-reg -ll -noll; do make optgforth OPT=$i && cp -p 
gforth${i}.exe gforth-ll-reg.exe && break; done; \
else \
        ( cd engine && make gforth-ll-reg.exe ) && \
        cp -p engine/gforth-ll-reg.exe gforth-ll-reg.exe && \
        chcon -t unconfined_execmem_exec_t gforth-ll-reg.exe; \
        true; \
         make checkone check-nofast ENGINE=./engine/gforth-ll-reg.exe; \
fi
make[3]: Entering directory `/usr/src/gforth-0.7.9_20130214/engine'
cd .. && CONFIG_FILES=stamp-h CONFIG_HEADERS=engine/config.h ./config.status
config.status: creating stamp-h
config.status: creating engine/config.h
config.status: engine/config.h is unchanged
config.status: executing stamp-h commands
echo timestamp > stamp-h
make[3]: Leaving directory `/usr/src/gforth-0.7.9_20130214/engine'
chcon: failed to get security context of `gforth-ll-reg.exe': Not supported
make[3]: Entering directory `/usr/src/gforth-0.7.9_20130214'
./preforth -p ".:~+:." -e 's" mach32b.fs"' ./kernel/main.fs -e "save-cross 
kernl32b.fi- /usr/local/bin/gforth-0.7.9_20130214 bye"
You need to configure with a gforth in $PATH to build this part
Makefile:782: recipe for target `kernl32b.fi-' failed
make[3]: *** [kernl32b.fi-] Error 1
make[3]: Leaving directory `/usr/src/gforth-0.7.9_20130214'
Makefile:864: recipe for target `gforth-ll-reg.exe' failed
make[2]: *** [gforth-ll-reg.exe] Error 2
make[2]: *** Deleting file `gforth-ll-reg.exe'
make[2]: Leaving directory `/usr/src/gforth-0.7.9_20130214'
Makefile:875: recipe for target `optgforth' failed
make[1]: *** [optgforth] Error 2
make[1]: Leaving directory `/usr/src/gforth-0.7.9_20130214'
make[1]: Entering directory `/usr/src/gforth-0.7.9_20130214'
make gforth-noll-reg.exe OPT=-noll-reg OPTDEFINES=-DFORCE_REG 
OPTOBJECTS=dblsub.o
make[2]: Entering directory `/usr/src/gforth-0.7.9_20130214'
if test -z "-noll-reg"; then \
        for i in -ll-reg -noll-reg -ll -noll; do make optgforth OPT=$i && cp -p 
gforth${i}.exe gforth-noll-reg.exe && break; done; \
else \
        ( cd engine && make gforth-noll-reg.exe ) && \
        cp -p engine/gforth-noll-reg.exe gforth-noll-reg.exe && \
        chcon -t unconfined_execmem_exec_t gforth-noll-reg.exe; \
        true; \
         make checkone check-nofast ENGINE=./engine/gforth-noll-reg.exe; \
fi
make[3]: Entering directory `/usr/src/gforth-0.7.9_20130214/engine'
make[3]: `gforth-noll-reg.exe' is up to date.
make[3]: Leaving directory `/usr/src/gforth-0.7.9_20130214/engine'
chcon: failed to get security context of `gforth-noll-reg.exe': Not supported
make[3]: Entering directory `/usr/src/gforth-0.7.9_20130214'
./preforth -p ".:~+:." -e 's" mach32b.fs"' ./kernel/main.fs -e "save-cross 
kernl32b.fi- /usr/local/bin/gforth-0.7.9_20130214 bye"
You need to configure with a gforth in $PATH to build this part
Makefile:782: recipe for target `kernl32b.fi-' failed
make[3]: *** [kernl32b.fi-] Error 1
make[3]: Leaving directory `/usr/src/gforth-0.7.9_20130214'
Makefile:864: recipe for target `gforth-noll-reg.exe' failed
make[2]: *** [gforth-noll-reg.exe] Error 2
make[2]: *** Deleting file `gforth-noll-reg.exe'
make[2]: Leaving directory `/usr/src/gforth-0.7.9_20130214'
Makefile:875: recipe for target `optgforth' failed
make[1]: *** [optgforth] Error 2
make[1]: Leaving directory `/usr/src/gforth-0.7.9_20130214'
make[1]: Entering directory `/usr/src/gforth-0.7.9_20130214'
make gforth-ll.exe OPT=-ll OPTDEFINES=-DFORCE_LL OPTOBJECTS=
make[2]: Entering directory `/usr/src/gforth-0.7.9_20130214'
if test -z "-ll"; then \
        for i in -ll-reg -noll-reg -ll -noll; do make optgforth OPT=$i && cp -p 
gforth${i}.exe gforth-ll.exe && break; done; \
else \
        ( cd engine && make gforth-ll.exe ) && \
        cp -p engine/gforth-ll.exe gforth-ll.exe && \
        chcon -t unconfined_execmem_exec_t gforth-ll.exe; \
        true; \
         make checkone check-nofast ENGINE=./engine/gforth-ll.exe; \
fi
make[3]: Entering directory `/usr/src/gforth-0.7.9_20130214/engine'
make[3]: `gforth-ll.exe' is up to date.
make[3]: Leaving directory `/usr/src/gforth-0.7.9_20130214/engine'
chcon: failed to get security context of `gforth-ll.exe': Not supported
make[3]: Entering directory `/usr/src/gforth-0.7.9_20130214'
./preforth -p ".:~+:." -e 's" mach32b.fs"' ./kernel/main.fs -e "save-cross 
kernl32b.fi- /usr/local/bin/gforth-0.7.9_20130214 bye"
You need to configure with a gforth in $PATH to build this part
Makefile:782: recipe for target `kernl32b.fi-' failed
make[3]: *** [kernl32b.fi-] Error 1
make[3]: Leaving directory `/usr/src/gforth-0.7.9_20130214'
Makefile:864: recipe for target `gforth-ll.exe' failed
make[2]: *** [gforth-ll.exe] Error 2
make[2]: *** Deleting file `gforth-ll.exe'
make[2]: Leaving directory `/usr/src/gforth-0.7.9_20130214'
Makefile:875: recipe for target `optgforth' failed
make[1]: *** [optgforth] Error 2
make[1]: Leaving directory `/usr/src/gforth-0.7.9_20130214'
make[1]: Entering directory `/usr/src/gforth-0.7.9_20130214'
make gforth-noll.exe OPT=-noll OPTDEFINES= OPTOBJECTS=dblsub.o
make[2]: Entering directory `/usr/src/gforth-0.7.9_20130214'
if test -z "-noll"; then \
        for i in -ll-reg -noll-reg -ll -noll; do make optgforth OPT=$i && cp -p 
gforth${i}.exe gforth-noll.exe && break; done; \
else \
        ( cd engine && make gforth-noll.exe ) && \
        cp -p engine/gforth-noll.exe gforth-noll.exe && \
        chcon -t unconfined_execmem_exec_t gforth-noll.exe; \
        true; \
         make checkone check-nofast ENGINE=./engine/gforth-noll.exe; \
fi
make[3]: Entering directory `/usr/src/gforth-0.7.9_20130214/engine'
make[3]: `gforth-noll.exe' is up to date.
make[3]: Leaving directory `/usr/src/gforth-0.7.9_20130214/engine'
chcon: failed to get security context of `gforth-noll.exe': Not supported
make[3]: Entering directory `/usr/src/gforth-0.7.9_20130214'
./preforth -p ".:~+:." -e 's" mach32b.fs"' ./kernel/main.fs -e "save-cross 
kernl32b.fi- /usr/local/bin/gforth-0.7.9_20130214 bye"
You need to configure with a gforth in $PATH to build this part
Makefile:782: recipe for target `kernl32b.fi-' failed
make[3]: *** [kernl32b.fi-] Error 1
make[3]: Leaving directory `/usr/src/gforth-0.7.9_20130214'
Makefile:864: recipe for target `gforth-noll.exe' failed
make[2]: *** [gforth-noll.exe] Error 2
make[2]: *** Deleting file `gforth-noll.exe'
make[2]: Leaving directory `/usr/src/gforth-0.7.9_20130214'
Makefile:875: recipe for target `optgforth' failed
make[1]: *** [optgforth] Error 2
make[1]: Leaving directory `/usr/src/gforth-0.7.9_20130214'
Makefile:864: recipe for target `gforth.exe' failed
make: *** [gforth.exe] Error 2

Reply via email to