Open p5pRT opened 6 years ago
See attached patch.
Timing details. Command executed was "timeit gmake test-prep". Most of the numbers went down with this patch. Compiler used was "gcc version 4.9.2 (i686-posix-sjlj\, built by strawberryperl.com project)" with WinXP on a Core 2 Duo 2.6 GHZ. I intentionally tested without -j2 (IE serial build) to get the numbers more stable.
before
Version Number: Windows NT 5.1 (Build 2600) Exit Time: 3:10 pm\, Monday\, April 30 2018 Elapsed Time: 0:07:05.390 Process Time: 0:00:00.453 System Calls: 8875279 Context Switches: 1970401 Page Faults: 6917075 Bytes Read: 2206418004 Bytes Written: 166497901 Bytes Other: 382647133
Version Number: Windows NT 5.1 (Build 2600) Exit Time: 3:28 pm\, Monday\, April 30 2018 Elapsed Time: 0:07:04.875 Process Time: 0:00:00.390 System Calls: 8870031 Context Switches: 1970373 Page Faults: 6926813 Bytes Read: 2206423972 Bytes Written: 166629960 Bytes Other: 386246605
Version Number: Windows NT 5.1 (Build 2600) Exit Time: 4:04 pm\, Monday\, April 30 2018 Elapsed Time: 0:07:06.140 Process Time: 0:00:00.343 System Calls: 8874378 Context Switches: 2024489 Page Faults: 6987235 Bytes Read: 2206152316 Bytes Written: 166831336 Bytes Other: 391573104
after
Version Number: Windows NT 5.1 (Build 2600) Exit Time: 2:32 pm\, Monday\, April 30 2018 Elapsed Time: 0:07:01.812 Process Time: 0:00:00.250 System Calls: 8691965 Context Switches: 1939719 Page Faults: 6823885 Bytes Read: 2164443224 Bytes Written: 163538059 Bytes Other: 375781945
Version Number: Windows NT 5.1 (Build 2600) Exit Time: 2:45 pm\, Monday\, April 30 2018 Elapsed Time: 0:07:00.750 Process Time: 0:00:00.343 System Calls: 8720894 Context Switches: 1937938 Page Faults: 6776938 Bytes Read: 2164873543 Bytes Written: 166441030 Bytes Other: 389824653
Thanks for the patch. I applied it to blead (updated version attached since it no longer applies cleanly) but it fails to build for me:
g++ APItest.def -o ..\..\lib\auto\XS\APItest\APItest.dll -mdll -s -L"c:\perl\lib\CORE" -L"C:\Dev\Software\MinGW-w64\x64\7.1.0\lib" APItest.o XSUB-undef-XS_VERSION.o XSUB-redefined-macros.o core.o exception.o notcore.o "..\..\lib\CORE\libperl529.a" -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 -Wl\,--enable-auto-image-base APItest.o:APItest.c:(.text+0x5ce5): undefined reference to `__imp_Perl_to_utf8_title' APItest.o:APItest.c:(.text+0xadd5): undefined reference to `__imp_Perl_to_utf8_upper' APItest.o:APItest.c:(.text+0xb495): undefined reference to `__imp_Perl_to_utf8_fold' APItest.o:APItest.c:(.text+0xbd05): undefined reference to `__imp_Perl_to_utf8_lower' collect2.exe: error: ld returned 1 exit status dmake: Error code 129\, while making '..\..\lib\auto\XS\APItest\APItest.dll' Unsuccessful make(ext/XS-APItest): code=65280 at ..\make_ext.pl line 570. dmake: Error code 130\, while making 'Extensions'
This is using gcc-7.1.0 x64 from mingw-w64.org. I can provide more details if required\, but this compiler builds blead OK without this patch applied.
The RT System itself - Status changed from 'new' to 'open'
@steve-m-hay, @bulk88 : Is this ticket closable?
Migrated from rt.perl.org#133166 (status was 'open')
Searchable as RT133166$