#1045: parrot needs a shared library even if configured with 
--parrot_is_shared=0.
-----------------------+----------------------------------------------------
 Reporter:  doughera   |       Owner:       
     Type:  bug        |      Status:  new  
 Priority:  normal     |   Milestone:       
Component:  configure  |     Version:  1.6.0
 Severity:  medium     |    Keywords:       
     Lang:             |       Patch:       
 Platform:             |  
-----------------------+----------------------------------------------------

Comment(by jkeenan):

 Re-examining this old ticket tonight, I grepped for `parrot_is_shared`
 once I had built parrot without `--parrot_is_shared=0`.  My search
 excludes files in the configuration system.
 {{{
 $ find . -type f | xargs grep -n parrot_is_shared | \
   grep -vE
 '(\./config/|steps|ports|Configure/Options|Configure\.pl|ports|Parrot/Test)'
 ./lib/Parrot/Config/Generated.pm:338:  'parrot_is_shared' => 1,
 Binary file ./runtime/parrot/include/config.fpmc matches
 ./runtime/parrot/library/distutils.pir:1156:    $I0 =
 config['parrot_is_shared']
 ./runtime/parrot/library/distutils.pir:1421:    $I0 =
 config['parrot_is_shared']
 ./runtime/parrot/library/distutils.pir:1465:    $I0 =
 config['parrot_is_shared']
 Binary file ./runtime/parrot/library/distutils.pbc matches
 Binary file ./src/parrot_config.o matches
 Binary file ./src/install_config.o matches
 ./config_lib.pir:239:    set $P0["parrot_is_shared"], "1"
 Binary file ./parrot matches
 Binary file ./pbc_to_exe matches
 Binary file ./parrot_nci_thunk_gen matches
 Binary file ./parrot_config matches
 Binary file ./pbc_merge matches
 Binary file ./parrot_debugger matches
 Binary file ./parrot-nqp matches
 Binary file ./ops2c matches
 Binary file ./install_config.fpmc matches
 }}}
 Note that while we '''record''' a setting for `parrot_is_shared` we never
 make reference to that value in any source code files.  I would infer from
 that that the `--parrot_is_shared` option is (currently) completely
 irrelevant.  And that would explain why we can't build with a `0` setting
 of it.

 Is that inference correct?

 kid51

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1045#comment:5>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to