develooper Front page | perl.perl5.porters | Postings from December 2015

[perl #126632] [PATCH] add parallelness to win32/GNUmakefile

Thread Previous
bulk88 via RT
December 23, 2015 10:41
[perl #126632] [PATCH] add parallelness to win32/GNUmakefile
Message ID:
On Wed Dec 09 12:10:43 2015, bulk88 wrote:
> On Thu Nov 19 19:17:32 2015, bulk88 wrote:
> > On Sat Nov 14 12:18:17 2015, bulk88 wrote:
> > > On Fri Nov 13 11:27:10 2015, bulk88 wrote:
> > > > This is a bug report for perl from,
> > > > generated with the help of perlbug 1.40 running under perl 5.23.5.
> > > >
> > > >
> > > > -----------------------------------------------------------------
> > > > [Please describe your issue here]
> > > >
> > > > See attached patches.
> > >
> > > The parallelness to gnumakefile patch is failing tests, do not apply.
> > > I will have to revise it.
> > 
> > The fixes were related to the changes to libperl***.a/perl****.lib and
> > their relationship to the CORE dir and a parallel build race condition
> > related to libperl***.a's lifecycle.
> Bump.

You mentioned on IRC that these patches break the build and you pasted this failure.
run/locale.t ...................................................... 1/37 # Faile
d test 3 - no locales where LC_NUMERIC breaks at ./ line 1027
#      got "Can\'t load \'../lib/auto/POSIX/POSIX.dll\' for module POSIX: load_f
ile:%1 is not a valid Win32 application at ../lib/ line 71.\n\000 at
../lib/ line 36.\nCompilation failed in require at - line 2.\nBEGIN fail
ed--compilation aborted at - line 2."
# expected ""
# for (qw(Afrikaans Albanian American Arabic Basque Breton Bulgarian C Chinese C
roatian Czech Danish Dutch English Estonian Finnish Galician German Greek Greenl
andic Hebrew Hungarian Indonesian Italian Japanese Korean Latvian Lithuanian Nor
wegian Occitan Polish Russian Slovak Slovenian Swedish Thai Turkish Welsh ja)) {

#     use POSIX qw(locale_h);
#     use locale;
#     setlocale(LC_NUMERIC, "$_") or next;
#     my $s = sprintf "%g %g", 3.1, 3.1;
#     next if $s eq '3.1 3.1' || $s =~ /^(3.+1) \1$/;
#     print "$_ $s\n";
# }
# STATUS: 65280

I can't reproduce it with GCC 4.8.3, 4.8.3 passes harness enough
Test Summary Report
op/taint.t                                                      (Wstat: 0 Tests:
 807 Failed: 2)
  Failed tests:  1, 393
../cpan/ExtUtils-MakeMaker/t/echo.t                             (Wstat: 512 Test
s: 18 Failed: 2)
  Failed tests:  9, 12
  Non-zero exit status: 2
Files=2409, Tests=738461, 2466 wallclock secs (96.67 usr + 24.50 sys = 121.17 CP
Result: FAIL
GNUmakefile:1342: recipe for target 'test' failed
gmake: *** [test] Error 4

C:\p523\src\win32>gcc -v
Using built-in specs.
Target: i686-w64-mingw32
Configured with: ../../../src/gcc-4.8.3/configure --host=i686-w64-mingw32 --buil
d=i686-w64-mingw32 --target=i686-w64-mingw32 --prefix=/mingw32 --with-gxx-includ
e-dir=/mingw32/i686-w64-mingw32/include/c++ --enable-shared --enable-static --di
sable-multilib --enable-languages=c,c++,fortran,lto --enable-libstdcxx-time=yes
--enable-threads=posix --enable-libgomp --enable-lto --enable-graphite --enable-
checking=release --enable-fully-dynamic-string --enable-version-specific-runtime
-libs --enable-sjlj-exceptions --disable-isl-version-check --disable-cloog-versi
on-check --disable-libstdcxx-pch --disable-libstdcxx-debug --disable-bootstrap -
-disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable
-symvers --with-gnu-as --with-gnu-ld --with-arch=i686 --with-tune=generic --with
-libiconv --with-system-zlib --with-gmp=/opt/build/prerequisites/i686-w64-mingw3
2-static --with-mpfr=/opt/build/prerequisites/i686-w64-mingw32-static --with-mpc
=/opt/build/prerequisites/i686-w64-mingw32-static --with-isl=/opt/build/prerequi
sites/i686-w64-mingw32-static --with-cloog=/opt/build/prerequisites/i686-w64-min
gw32-static --enable-cloog-backend=isl --with-pkgversion='i686-posix-sjlj, built
 by project' CFLAGS='-O2 -pipe -I/opt/build/i686-483-posix-sj
lj-rt_v3/mingw32/opt/include -I/opt/build/prerequisites/i686-zlib-static/include
 -I/opt/build/prerequisites/i686-w64-mingw32-static/include' CXXFLAGS='-O2 -pipe
 -I/opt/build/i686-483-posix-sjlj-rt_v3/mingw32/opt/include -I/opt/build/prerequ
isites/i686-zlib-static/include -I/opt/build/prerequisites/i686-w64-mingw32-stat
ic/include' CPPFLAGS= LDFLAGS='-pipe -L/opt/build/i686-483-posix-sjlj-rt_v3/ming
w32/opt/lib -L/opt/build/prerequisites/i686-zlib-static/lib -L/opt/build/prerequ
Thread model: posix
gcc version 4.8.3 (i686-posix-sjlj, built by project)

Mingw 3.4.5 C syntax errors but I dont think that it is the patches in this ticket that caused it (CC bug since newer GCCs dont report this?)
Running Mkbootstrap for PerlIO::encoding ()
C:\p523\src\miniperl.exe "-I..\..\lib" "-I..\..\lib" -MExtUtils::Command -e chmo
d -- 644 ""
"..\..\miniperl.exe" "-I..\..\lib" "-I..\..\lib" "..\..\lib\ExtUtils/xsubpp"  -t
ypemap "..\..\lib\ExtUtils\typemap"  encoding.xs > encoding.xsc && C:\p523\src\m
iniperl.exe "-I..\..\lib" "-I..\..\lib" -MExtUtils::Command -e mv -- encoding.xs
c encoding.c
MPLICIT_SYS -DWIN32_NO_REGISTRY -DUSE_PERLIO -fno-strict-aliasing -mms-bitfields
 -s -O2   -DVERSION=\"0.23\" -DXS_VERSION=\"0.23\"  "-I..\..\lib\CORE"   encodin
encoding.xs:633: error: initializer element is not constant
encoding.xs:633: error: (near initialization for `PerlIO_encode.Open')
encoding.xs:636: error: initializer element is not constant
encoding.xs:636: error: (near initialization for `PerlIO_encode.Fileno')
encoding.xs:638: error: initializer element is not constant
encoding.xs:638: error: (near initialization for `PerlIO_encode.Read')
encoding.xs:639: error: initializer element is not constant
encoding.xs:639: error: (near initialization for `PerlIO_encode.Unread')
encoding.xs:641: error: initializer element is not constant
encoding.xs:641: error: (near initialization for `PerlIO_encode.Seek')
encoding.xs:646: error: initializer element is not constant
encoding.xs:646: error: (near initialization for `PerlIO_encode.Eof')
encoding.xs:647: error: initializer element is not constant
encoding.xs:647: error: (near initialization for `PerlIO_encode.Error')
encoding.xs:648: error: initializer element is not constant
encoding.xs:648: error: (near initialization for `PerlIO_encode.Clearerr')
encoding.xs:649: error: initializer element is not constant
encoding.xs:649: error: (near initialization for `PerlIO_encode.Setlinebuf')
encoding.xs:651: error: initializer element is not constant
encoding.xs:651: error: (near initialization for `PerlIO_encode.Get_bufsiz')
encoding.xs:652: error: initializer element is not constant
encoding.xs:652: error: (near initialization for `PerlIO_encode.Get_ptr')
encoding.xs:653: error: initializer element is not constant
encoding.xs:653: error: (near initialization for `PerlIO_encode.Get_cnt')
encoding.xs:654: error: initializer element is not constant
encoding.xs:654: error: (near initialization for `PerlIO_encode.Set_ptrcnt')
C:\p523\src\win32>gcc -v
Reading specs from C:/Perl3216/site/lib/auto/MinGW/bin/../lib/gcc/mingw32/3.4.5/
Configured with: ../gcc-3.4.5-20060117-3/configure --with-gcc --with-gnu-ld --wi
th-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --dis
able-nls --enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry --d
isable-shared --enable-sjlj-exceptions --enable-libgcj --disable-java-awt --with
out-x --enable-java-gc=boehm --disable-libgcj-debug --enable-interpreter --enabl
e-hash-synchronization --enable-libstdcxx-debug
Thread model: win32
gcc version 3.4.5 (mingw-vista special r3)


bulk88 ~ bulk88 at

via perlbug:  queue: perl5 status: new

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About