nayakgi / perl-compiler

Automatically exported from code.google.com/p/perl-compiler
Other
0 stars 0 forks source link

--staticxs: Can't load module attributes, dynamic loading not available in this perl #259

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Can't load module attributes, dynamic loading not available in this perl.
  (You may need to build a new perl executable which either supports
  dynamic loading or has the attributes module statically linked into it.)
 at ./cpsrvd line 0

Original issue reported on code.google.com by reini.urban on 13 Dec 2013 at 6:31

GoogleCodeExporter commented 9 years ago
wrong boot order in dl_init:
boot_JSON__XS requires boot_attributes being happened before.

Fixed by dl_init reverse @dl_modules

Original comment by reini.urban on 17 Dec 2013 at 12:35

GoogleCodeExporter commented 9 years ago
Fixed with commit 886cbe64b36e4b2749db8a3a2128db7666bc0368
Author: Reini Urban <rurban@cpanel.net>
Date:   Mon Dec 16 18:37:14 2013 -0600

    C: special-case attributes for #259, reverse @dl_modules

    1. force attributes.pm when @dl_modules includes attributes
    2. reverse the loading order of @dl_modules. cpsrvd broke by loading boot_JSON__XS before boot_

Original comment by reini.urban on 17 Dec 2013 at 4:20