Skip Menu |

This queue is for tickets about the PerlInterp CPAN distribution.

Report information
The Basics
Id: 22686
Status: resolved
Priority: 0/
Queue: PerlInterp

People
Owner: Nobody in particular
Requestors: jdhedden [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.03
Fixed in: (no value)



Fails to build under Cygwin with Perl 5.8.8 and gcc 3.4.4: Show quoted text
> make
cp Perl.pm blib/lib/Perl.pm /usr/bin/perl.exe /usr/lib/perl5/5.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8/ExtUtils/typemap -typemap typemap Perl.xs > Perl.xsc && mv Perl.xsc Perl.c gcc -c -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -Wdeclaration-after-statement -DUSEIMPORTLIB -O3 -pipe -funit-at-a-time -mtune=pentium4m -march=pentium4 -mfpmath=sse -mieee-fp -mmmx -msse -msse2 -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" "-I/usr/lib/perl5/5.8/cygwin/CORE" Perl.c gcc -c -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -Wdeclaration-after-statement -DUSEIMPORTLIB -O3 -pipe -funit-at-a-time -mtune=pentium4m -march=pentium4 -mfpmath=sse -mieee-fp -mmmx -msse -msse2 -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" "-I/usr/lib/perl5/5.8/cygwin/CORE" xsinit.c Running Mkbootstrap for Perl () chmod 644 Perl.bs rm -f blib/arch/auto/Perl/Perl.dll /usr/bin/ld2 -s -L/usr/local/lib Perl.o xsinit.o -o blib/arch/auto/Perl/Perl.dll \ /usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a \ gcc -shared -o Perl.dll -Wl,--out-implib=libPerl.dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 -Wl,--enable-auto-image-base \ -s -L/usr/local/lib Perl.o xsinit.o /usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a xsinit.o:xsinit.c:(.text+0x16): undefined reference to `_boot_DynaLoader' xsinit.o:xsinit.c:(.text+0x39): undefined reference to `_boot_Win32CORE' Creating library file: libPerl.dll.a collect2: ld returned 1 exit status perlld: *** system() failed to execute gcc -shared -o Perl.dll -Wl,--out-implib=libPerl.dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 -Wl,--enable-auto-image-base \ -s -L/usr/local/lib Perl.o xsinit.o /usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a make: *** [blib/arch/auto/Perl/Perl.dll] Error 1
Thanks for the report. I've just uploaded PerlInterp-0.04, which passes all tests under cygwin. Under AS Perl 5.8.8 and mingw perl 5.8.8 it fails the new tests I added testing Perl-with-threads; however, as these pass with blead built both with mingw and with vc6 I guess they were the result of the threading bugs you've been squashing lately. :) Ben