gforth
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gforth] Latest git and cygwin 64-bit


From: Dennis Ruffer
Subject: Re: [gforth] Latest git and cygwin 64-bit
Date: Tue, 13 Aug 2013 06:47:16 -0700

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'

DaR

-----Original Message-----
From: Dennis Ruffer [mailto:address@hidden 
Sent: Monday, August 12, 2013 8:50 PM
To: 'Bernd Paysan'; 'gforth'
Subject: RE: [gforth] Latest git and cygwin 64-bit

I'll try the Linux tarball tomorrow, but I don't understand this error on the 
32-bit side:

$ make install
cp -p kernl32l.fi kernl32l.fi~
cp -p kernl32l.fi- kernl32l.fi
if test -z ""; then \
        for i in -ll-reg -ll; 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'
make gforth-ll-reg.exe OPT=-ll-reg OPTDEFINES="-DFORCE_LL -DFORCE_REG" 
OPTOBJECTS=
make[2]: Entering directory `/usr/src/gforth'
cp -p kernl32l.fi kernl32l.fi~
cp -p kernl32l.fi- kernl32l.fi
if test -z "-ll-reg"; then \
        for i in -ll-reg -ll; 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/engine'
make[3]: `gforth-ll-reg.exe' is up to date.
make[3]: Leaving directory `/usr/src/gforth/engine'
chcon: failed to get security context of `gforth-ll-reg.exe': Not supported
make[3]: Entering directory `/usr/src/gforth'
cp -p kernl32l.fi kernl32l.fi~
cp -p kernl32l.fi- kernl32l.fi
cd engine && make gforth-ditc-noll.exe OPT=-noll OPTDEFINES= OPTOBJECTS=dblsub.o
make[4]: Entering directory `/usr/src/gforth/engine'
make[4]: `gforth-ditc-noll.exe' is up to date.
make[4]: Leaving directory `/usr/src/gforth/engine'
cp -p engine/gforth-ditc-noll.exe gforth-ditc.exe true 
./engine/gforth-ll-reg.exe --die-on-signal -p 
".:/usr/local/lib/gforth/site-forth:/usr/local/share/gforth/site-forth:/usr/local/lib/gforth/0.7.9_20130214:/usr/local/share/gforth/0.7.9_20130214:/usr/share/gforth/site-forth:/usr/local/share/gforth/site-forth:."
 test/tester.fs test/coretest.fs test/postpone.fs test/dbltest.fs 
test/string.fs test/float.fs test/deferred.fs test/coreext.fs test/search.fs -e 
bye 2>/dev/null | tr -d '\015' | diff -c - ./test/coretest.out 
./engine/gforth-ll-reg.exe --die-on-signal -p 
".:/usr/local/lib/gforth/site-forth:/usr/local/share/gforth/site-forth:/usr/local/lib/gforth/0.7.9_20130214:/usr/local/share/gforth/0.7.9_20130214:/usr/share/gforth/site-forth:/usr/local/share/gforth/site-forth:."
 test/other.fs -e bye expect ``warning: ')' missing''
warning: ')' missing
./engine/gforth-ll-reg.exe -p 
".:/usr/local/lib/gforth/site-forth:/usr/local/share/gforth/site-forth:/usr/local/lib/gforth/0.7.9_20130214:/usr/local/share/gforth/0.7.9_20130214:/usr/share/gforth/site-forth:/usr/local/share/gforth/site-forth:."
 test/signals.fs -e bye ./engine/gforth-ll-reg.exe -p 
".:/usr/local/lib/gforth/site-forth:/usr/local/share/gforth/site-forth:/usr/local/lib/gforth/0.7.9_20130214:/usr/local/share/gforth/0.7.9_20130214:/usr/share/gforth/site-forth:/usr/local/share/gforth/site-forth:."
 test/coremore.fs test/gforth.fs test/macros.fs -e bye 2>&1 | tr -d '\015' | 
diff -c - ./test/gforth.out ./engine/gforth-ll-reg.exe --die-on-signal -p 
".:/usr/local/lib/gforth/site-forth:/usr/local/share/gforth/site-forth:/usr/local/lib/gforth/0.7.9_20130214:/usr/local/share/gforth/0.7.9_20130214:/usr/share/gforth/site-forth:/usr/local/share/gforth/site-forth:."
 code.fs test/checkans.fs -e bye | tr -d '\015' | diff -c - ./test/checkans.out 
redefined place with PLACE  ./engine/gforth-ll-reg.exe --die-on-signal -p 
".:/usr/local/lib/gforth/site-forth:/usr/local/share/gforth/site-forth:/usr/local/lib/gforth/0.7.9_20130214:/usr/local/share/gforth/0.7.9_20130214:/usr/share/gforth/site-forth:/usr/local/share/gforth/site-forth:."
 prims2x.fs -e \
          "c-flag on s\" prim.i\" out-filename 2! s\" ./prim.b\" ' output-c ' 
output-c-combined process-file bye"| \
          tr -d '\015' | grep -v '^#line '|diff -c - engine/prim-s.i 
./engine/gforth-ll-reg.exe -p 
".:/usr/local/lib/gforth/site-forth:/usr/local/share/gforth/site-forth:/usr/local/lib/gforth/0.7.9_20130214:/usr/local/share/gforth/0.7.9_20130214:/usr/share/gforth/site-forth:/usr/local/share/gforth/site-forth:."
 test/gforth-nofast.fs -e bye redefined {  make[3]: Leaving directory 
`/usr/src/gforth'
make[2]: Leaving directory `/usr/src/gforth'
make[1]: Leaving directory `/usr/src/gforth'
./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:address@hidden
Sent: Monday, August 12, 2013 5:35 PM
To: Dennis Ruffer; gforth
Subject: Re: [gforth] Latest git and cygwin 64-bit



Dennis Ruffer <address@hidden> schrieb:
>It looks like cygwin has finally come out with a 64-bit version:
>
> 
>
>http://cygwin.com/setup-x86_64.exe
>
> 
>
>So I pulled down a new git clone and found that there seems to be a 
>problem with unix/pthread.fs:192: libtool compile failed on the 32-bit 
>version.
>
> 
>
>And I'm trying to figure out how to solve the chicken and egg problem 
>on the 64-bit version.
>
> 
>
>Anyone have any clue where I can get a 64-bit gforth that's already 
>been compiled for cygwin 64-bit?
>
> 
>
>Log files attached.
>
> 
>
>Oh goodie. ;)
>
> 
>
>DaR
>
> 

To solve the chicken and egg problem do a make dist e.g. on Linux and untar the 
created tarball on cygwin64.
--
Bernd Paysan
"If you want it done right, you have to do it yourself!"
http://bernd-paysan.de





reply via email to

[Prev in Thread] Current Thread [Next in Thread]