Subject: Re: [ANNOUNCEMENT] Updated: cygwin-1.5.6-1
From: Yitzchak Scott-Thoennes <[email-masked]>
To: [email-masked]
Date: Mon, 19 Jan 2004 16:09:41 -0800

On Mon, Jan 19, 2004 at 10:56:41AM -0500, Christopher Faylor wrote:
> I've made a new version of the Cygwin DLL and associated utilities
> available for download.  As usual, a list of what has changed is below.

Nice job.  Thanks.

> - Implement System V shm, sem, msg handling in cygserver.  (Corinna Vinschen)

I'm not seeing information about how to use these.  Is cygipc now
deprecated?  Or should I set up it's ipc daemon?  (Don't actually care
about SysV IPC, but perl's Configure notices the new functionality and
decides to build the IPC::SysV module, which croaks.)

(Diffs of output from perl build and test, pre and post install of
1.5.6 follow, if anyone interested.)

--- config.22172.log.1.5.5-1-8	2004-01-18 18:54:20.143473600 -0800
+++ config.22172.log	2004-01-19 12:23:52.361624000 -0800
@@ -154 +154 @@
-Operating system version? [1.5.5(0.9432)]  
+Operating system version? [1.5.6(0.10832)]  
@@ -913 +913,2 @@
-dlsym doesn't need a leading underscore.
+I can't compile and run the test program.
+I'm guessing that dlsym doesn't need a leading underscore.
@@ -1003 +1004 @@
-flock() NOT found.
+flock() found.
@@ -1005 +1006 @@
-flock() prototype NOT found.
+flock() prototype found.
@@ -1263 +1264 @@
-msgctl() NOT found.
+msgctl() found.
@@ -1265 +1266 @@
-msgget() NOT found.
+msgget() found.
@@ -1267 +1268 @@
-msgsnd() NOT found.
+msgsnd() found.
@@ -1269 +1270 @@
-msgrcv() NOT found.
+msgrcv() found.
@@ -1271 +1272 @@
-You don't have the full msg*(2) library.
+You have the full msg*(2) library.
@@ -1357 +1358 @@
-semctl() NOT found.
+semctl() found.
@@ -1359 +1360 @@
-semget() NOT found.
+semget() found.
@@ -1361 +1362 @@
-semop() NOT found.
+semop() found.
@@ -1363 +1364 @@
-You don't have the full sem*(2) library.
+You have the full sem*(2) library.
@@ -1366,0 +1368,5 @@
+Signal 12
+You cannot use union semun for semctl IPC_STAT.
+Signal 12
+You cannot use struct semid_ds* for semctl IPC_STAT.
+ 
@@ -1433 +1439 @@
-shmctl() NOT found.
+shmctl() found.
@@ -1435 +1441 @@
-shmget() NOT found.
+shmget() found.
@@ -1437 +1443,2 @@
-shmat() NOT found.
+shmat() found.
+and it returns (void *).
@@ -1439 +1446 @@
-shmdt() NOT found.
+shmdt() found.
@@ -1441 +1448 @@
-You don't have the full shm*(2) library.
+You have the full shm*(2) library.
@@ -1830 +1837 @@
-[B ByteLoader Cwd DB_File Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call GDBM_File I18N/Langinfo IO List/Util MIME/Base64 NDBM_File ODBM_File Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Time/HiRes Unicode/Normalize XS/APItest XS/Typemap attrs re threads threads/shared]  
+[B ByteLoader Cwd DB_File Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call GDBM_File I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 NDBM_File ODBM_File Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Time/HiRes Unicode/Normalize XS/APItest XS/Typemap attrs re threads threads/shared]  
--- config.sh.22172.log.1.5.5-1-8	2004-01-18 18:54:20.323732800 -0800
+++ config.sh.22172.log	2004-01-19 12:23:52.381652800 -0800
@@ -11 +11 @@
-# Configuration time: Sun Jan 18 18:47:57 PST 2004
+# Configuration time: Mon Jan 19 12:19:01 PST 2004
@@ -13 +13 @@
-# Target system     : cygwin_nt-5.1 dhx98431 1.5.5(0.9432) 2003-09-20 16:31 i686 unknown unknown cygwin 
+# Target system     : cygwin_nt-5.1 dhx98431 1.5.6(0.10832) 2004-01-19 00:43 i686 unknown unknown cygwin 
@@ -66 +66 @@
-cf_time='Sun Jan 18 18:47:57 PST 2004'
+cf_time='Mon Jan 19 12:19:01 PST 2004'
@@ -178,2 +178,2 @@
-d_flock='undef'
-d_flockproto='undef'
+d_flock='define'
+d_flockproto='define'
@@ -297 +297 @@
-d_msg='undef'
+d_msg='define'
@@ -303,2 +303,2 @@
-d_msgctl='undef'
-d_msgget='undef'
+d_msgctl='define'
+d_msgget='define'
@@ -306,2 +306,2 @@
-d_msgrcv='undef'
-d_msgsnd='undef'
+d_msgrcv='define'
+d_msgsnd='define'
@@ -359,2 +359,2 @@
-d_sem='undef'
-d_semctl='undef'
+d_sem='define'
+d_semctl='define'
@@ -363,2 +363,2 @@
-d_semget='undef'
-d_semop='undef'
+d_semget='define'
+d_semop='define'
@@ -399,6 +399,6 @@
-d_shm='undef'
-d_shmat='undef'
-d_shmatprototype='undef'
-d_shmctl='undef'
-d_shmdt='undef'
-d_shmget='undef'
+d_shm='define'
+d_shmat='define'
+d_shmatprototype='define'
+d_shmctl='define'
+d_shmdt='define'
+d_shmget='define'
@@ -504 +504 @@
-dynamic_ext='B ByteLoader Cwd DB_File Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call GDBM_File I18N/Langinfo IO List/Util MIME/Base64 NDBM_File ODBM_File Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Time/HiRes Unicode/Normalize XS/APItest XS/Typemap attrs re threads threads/shared'
+dynamic_ext='B ByteLoader Cwd DB_File Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call GDBM_File I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 NDBM_File ODBM_File Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Time/HiRes Unicode/Normalize XS/APItest XS/Typemap attrs re threads threads/shared'
@@ -519 +519 @@
-extensions='B ByteLoader Cwd DB_File Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call GDBM_File I18N/Langinfo IO List/Util MIME/Base64 NDBM_File ODBM_File Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Time/HiRes Unicode/Normalize XS/APItest XS/Typemap attrs re threads threads/shared Errno'
+extensions='B ByteLoader Cwd DB_File Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call GDBM_File I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 NDBM_File ODBM_File Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Time/HiRes Unicode/Normalize XS/APItest XS/Typemap attrs re threads threads/shared Errno'
@@ -763 +763 @@
-myuname='cygwin_nt-5.1 dhx98431 1.5.5(0.9432) 2003-09-20 16:31 i686 unknown unknown cygwin '
+myuname='cygwin_nt-5.1 dhx98431 1.5.6(0.10832) 2004-01-19 00:43 i686 unknown unknown cygwin '
@@ -790 +790 @@
-osvers='1.5.5(0.9432)'
+osvers='1.5.6(0.10832)'
@@ -863 +863 @@
-shmattype=''
+shmattype='void *'
--- make.22172.log.1.5.5-1-8	2004-01-18 19:11:56.502443200 -0800
+++ make.22172.log	2004-01-19 12:38:16.243825600 -0800
@@ -1007,0 +1008,26 @@
+	Making IPC::SysV (dynamic)
+Processing hints file hints/cygwin.pl
+Checking if your kit is complete...
+Looks good
+Writing Makefile for IPC::SysV
+make[1]: Entering directory `/home/sthoenna/bleadperl/p/ext/IPC/SysV'
+make[1]: Leaving directory `/home/sthoenna/bleadperl/p/ext/IPC/SysV'
+make[1]: Entering directory `/home/sthoenna/bleadperl/p/ext/IPC/SysV'
+cp Msg.pm ../../../lib/IPC/Msg.pm
+cp Semaphore.pm ../../../lib/IPC/Semaphore.pm
+cp SysV.pm ../../../lib/IPC/SysV.pm
+../../../miniperl.exe "-I../../../lib" "-I../../../lib" ../../../lib/ExtUtils/xsubpp  -typemap ../../../lib/ExtUtils/typemap  SysV.xs > SysV.xsc && mv SysV.xsc SysV.c
+gcc -c   -DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing -DUSEIMPORTLIB -g   -DVERSION=\"1.04\" -DXS_VERSION=\"1.04\"  "-I../../.."   SysV.c
+Running Mkbootstrap for IPC::SysV ()
+chmod 644 SysV.bs
+rm -f ../../../lib/auto/IPC/SysV/SysV.dll
+LD_RUN_PATH="" ld2  -L/usr/local/lib SysV.o  -o ../../../lib/auto/IPC/SysV/SysV.dll  ../../../libperl.dll.a -lcygipc   
+gcc -shared -o  SysV.dll -Wl,--out-implib=libSysV.dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 \
+-L/usr/local/lib SysV.o  ../../../libperl.dll.a -lcygipc
+Creating library file: libSysV.dll.a
+mv SysV.dll libSysV.dll.a ../../../lib/auto/IPC/SysV/
+chmod 755 ../../../lib/auto/IPC/SysV/SysV.dll
+cp SysV.bs ../../../lib/auto/IPC/SysV/SysV.bs
+chmod 644 ../../../lib/auto/IPC/SysV/SysV.bs
+make[1]: Leaving directory `/home/sthoenna/bleadperl/p/ext/IPC/SysV'
+
--- test.22172.log.1.5.5-1-8	2004-01-18 19:53:26.092297600 -0800
+++ test.22172.log	2004-01-19 13:16:47.016553600 -0800
@@ -126 +126 @@
-t/op/lfs.............................FAILED at test 6
+t/op/lfs.............................ok
@@ -180,2 +180,2 @@
-t/op/taint...........................Duplicate free() ignored (RMAGIC, PERL_CORE) during global destruction.
-ok
+t/op/taint...........................Signal 12
+FAILED at test 150
@@ -263 +263 @@
-ext/Fcntl/t/syslfs...................skipping test on this platform
+ext/Fcntl/t/syslfs...................ok
@@ -287,3 +287,6 @@
-ext/IPC/SysV/t/ipcsysv...............skipping test on this platform
-ext/IPC/SysV/t/msg...................skipping test on this platform
-ext/IPC/SysV/t/sem...................skipping test on this platform
+ext/IPC/SysV/t/ipcsysv...............SIGSYS caught.
+It may be that your kernel does not have SysV IPC configured.
+
+FAILED at test 1
+ext/IPC/SysV/t/msg...................FAILED at test 0
+ext/IPC/SysV/t/sem...................FAILED at test 0
@@ -562 +565,4 @@
-lib/IPC/SysV.........................skipping test on this platform
+lib/IPC/SysV.........................SIGSYS caught.
+It may be that your kernel does not have SysV IPC configured.
+
+FAILED at test 1
@@ -667 +673,3 @@
-lib/Net/Ping/t/510_ping_udp..........FAILED at test 2
+lib/Net/Ping/t/510_ping_udp..........# Failed test 2 in ../lib/Net/Ping/t/510_ping_udp.t at line 22
+#  ../lib/Net/Ping/t/510_ping_udp.t line 22 is: ok $p->ping("127.0.0.1");
+FAILED at test 2
@@ -882 +890 @@
-Failed 4 test scripts out of 834, 99.52% okay.
+Failed 8 test scripts out of 837, 99.04% okay.
@@ -896 +904 @@
-u=7.681  s=7.4  cu=863.563  cs=356.858  scripts=834  tests=81078
+u=6.068  s=6.339  cu=883.722  cs=339.535  scripts=837  tests=81127

--
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/