From: Yitzchak Scott-Thoennes Date: Mon, 7 Oct 2002 17:15:09 +0000 (-0700) Subject: Re: README.cygwin draft update X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fb652349441d4b05f41d77692a72134e7014d8f6;p=p5sagit%2Fp5-mst-13.2.git Re: README.cygwin draft update Message-ID: p4raw-id: //depot/perl@17985 --- diff --git a/README.cygwin b/README.cygwin index 32c9a16..9888b18 100644 --- a/README.cygwin +++ b/README.cygwin @@ -260,9 +260,11 @@ The following error occurs because of the Cygwin C<#define> of C<_LONG_DOUBLE>: Guessing which symbols your C compiler and preprocessor define... - try.c:: parse error + try.c:: missing binary operator -This failure does not seem to cause any problems. +This failure does not seem to cause any problems. With older gcc +versions, "parse error" is reported instead of "missing binary +operator". =back @@ -276,11 +278,18 @@ Simply run I and wait: Warnings like these are normal: - warning: overriding commands for target - warning: ignoring old commands for target - - dllwrap: no export definition file provided - dllwrap: creating one, but that may not be what you want + perl.c: In function `S_parse_body': + perl.c:1468: warning: implicit declaration of function `init_os_extras' + ... + pp_sys.c:289: warning: `S_emulate_eaccess' defined but not used + ... + perlio.c: In function `perlsio_binmode': + perlio.c:98: warning: implicit declaration of function `setmode' + perlio.c:98: warning: passing arg 1 of `Perl_PerlIO_fileno' from incompatible pointer type + ... + make: [extra.pods] Error 1 (ignored) + ... + make: [extras.make] Error 1 (ignored) =head2 ld2 on Cygwin @@ -337,11 +346,34 @@ these options, these tests will fail (listing not updated yet): lib/sdbm.t 2 op/stat.t 9, 20 (.tmp not an executable extension) -=head2 NDBM_File does not work on FAT filesystems +=head2 NDBM_File and ODBM_File do not work on FAT filesystems + +Do not use NDBM_File or ODBM_File on FAT filesystem. They can be +built on a FAT filesystem, but many tests will fail: + + ../ext/NDBM_File/ndbm.t 13 3328 71 59 83.10% 1-2 4 16-71 + ../ext/ODBM_File/odbm.t 255 65280 ?? ?? % ?? + ../lib/AnyDBM_File.t 2 512 12 2 16.67% 1 4 + ../lib/Memoize/t/errors.t 0 139 11 5 45.45% 7-11 + ../lib/Memoize/t/tie_ndbm.t 13 3328 4 4 100.00% 1-4 + run/fresh_perl.t 97 1 1.03% 91 + +If you intend to run only on FAT (or if using AnyDBM_File on FAT), +run Configure with the -Ui_ndbm and -Ui_dbm options to prevent +NDBM_File and ODBM_File being built. + +With NTFS (and CYGWIN=ntsec), there should be no problems even if +perl was built on FAT. + +=head2 fork() failures in io_* tests -Do not install NDBM_File on FAT filesystem. It can be built on a FAT -filesystem, but many ndbm tests will fail. With NTFS, there should be -no problems either way. +A fork() failure may result in the following tests failing: + + ext/IO/lib/IO/t/io_multihomed.t + ext/IO/lib/IO/t/io_sock.t + ext/IO/lib/IO/t/io_unix.t + +See comment on fork in L below. =head2 Script Portability on Cygwin @@ -411,6 +443,18 @@ Inplace editing C of files doesn't work without doing a backup of the file being edited C because of windowish restrictions, so Perl adds the C<.bak> automatically if you just use C. +Using fork() after loading multiple dlls may fail with an internal cygwin +error like the following: + + C:\CYGWIN\BIN\PERL.EXE: *** couldn't allocate memory 0x10000(4128768) for 'C:\CYGWIN\LIB\PERL5\5.6.1\CYGWIN-MULTI\AUTO\SOCKET\SOCKET.DLL' alignment, Win32 error 8 + + 200 [main] perl 377147 sync_with_child: child -395691(0xB8) died before initialization with status code 0x1 + 1370 [main] perl 377147 sync_with_child: *** child state child loading dlls + +Use the rebase utility to resolve the conflicting dll addresses. +See: http://www.tishler.net/jason/software/rebase/ +and http://sources.redhat.com/ml/cygwin/2002-07/msg00276.html + =back =head1 INSTALL PERL ON CYGWIN @@ -525,4 +569,4 @@ Gerrit Haase . =head1 HISTORY -Last updated: 2002-02-27 +Last updated: 2002-10-07 diff --git a/pod/perl58delta.pod b/pod/perl58delta.pod index eb4fbc3..46b50f0 100644 --- a/pod/perl58delta.pod +++ b/pod/perl58delta.pod @@ -3401,6 +3401,10 @@ failures are expected: NDBM_File fails and ODBM_File just coredumps. +If you intend to run only on FAT (or if using AnyDBM_File on FAT), +run Configure with the -Ui_ndbm and -Ui_dbm options to prevent +NDBM_File and ODBM_File being built. + =head2 DJGPP Failures t/op/stat............................FAILED at test 29