[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

mingw libperl broken



I wonder why nobody tested a mingw perl (such as vanilla or strawberry) 
with core-using modules before. I just got the first report from vincent:
   http://www.cpantesters.org/show/B-Generate.html

Strawberry perl libperl510.a does not include some PERL_CORE functions 
at all. Perl_pad_alloc, Perl_fold_constants, Perl_cv_clone are missing 
for sure, they are not only not exported.


It looks like we have to fix the old dlltool buildsystem also, as I did 
with cygwin recently. Either fix the headers or something like 
-Wl,--export-all-symbols might be needed.

cygwin:

$ nm libperl.a|grep pad_alloc
          U _Perl_pad_alloc
00000500 T _Perl_pad_alloc
$

mingw:
$ cd /cygdrive/c/strawberry/perl/lib/CORE
$ nm libperl510.a|grep pad_alloc
$
-- 
Reini Urban
http://phpwiki.org/  http://murbreak.at/


Follow-Ups from:
Nicholas Clark <nick@ccl4.org>
Dmitry Karasik <dmitry@karasik.eu.org>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]