develooper Front page | perl.perl5.porters | Postings from July 2018

[perl #133166] [PATCH] remove Winsock lib dep and reentr.c fromWin32 gcc miniperl

From:
Steve Hay via RT
Date:
July 31, 2018 12:21
Subject:
[perl #133166] [PATCH] remove Winsock lib dep and reentr.c fromWin32 gcc miniperl
Message ID:
rt-4.0.24-21029-1533039667-1784.133166-15-0@perl.org
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.

---
via perlbug:  queue: perl5 status: new
https://rt.perl.org/Ticket/Display.html?id=133166



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About