Strange DynaLoader compiling issues. - SGI

This is a discussion on Strange DynaLoader compiling issues. - SGI ; Trying to compile "pork", without much success. I gave up on trying to get it to go with MIPSPro, the code disagrees heavily, under GCC I can compile all of pork, but as it tries to do the PERL DynaLoader: ...

+ Reply to Thread
Results 1 to 6 of 6

Thread: Strange DynaLoader compiling issues.

  1. Strange DynaLoader compiling issues.

    Trying to compile "pork", without much success. I gave up on trying to
    get it to go with MIPSPro, the code disagrees heavily, under GCC I can
    compile all of pork, but as it tries to do the PERL DynaLoader:

    gcc -funsigned-char -Imissing -Wall -Ilibfaim
    -DHELP_PATH=\"/usr/local/share/pork/help\"
    -DSYSTEM_PORKRC=\"/usr/local/share/pork/porkrc\" -D_BSD_TYPES -D_BSD_TIME
    -I/usr/freeware/include -I/usr/include
    -I/usr/freeware/lib/perl5/5.6.1/irix-n32/CORE
    -I/usr/freeware/include/ncurses -L/usr/freeware/lib32 -o pork -Lmissing
    -Llibfaim pork.o pork_acct.o pork_aim.o pork_alias.o pork_bind.o
    pork_buddy.o pork_buddy_list.o pork_chat.o pork_color.o pork_command.o
    pork_conf.o pork_cstr.o pork_events.o pork_format.o pork_help.o
    pork_html.o pork_imwindow.o pork_inet.o pork_input.o pork_io.o pork_list.o
    pork_misc.o pork_msg.o pork_opt.o pork_perl.o pork_perl_xs.o pork_proto.o
    pork_queue.o pork_screen.o pork_screen_cmd.o pork_slist.o pork_set.o
    pork_status.o pork_swindow.o pork_timer.o pork_transfer.o pork_util.o
    -lmissing -lfaim -lncurses -mabi=n32
    -Wl,-rpath,/usr/freeware/lib/perl5/5.6.1/irix-n32/CORE:/usr/freeware/lib32
    -L/usr/freeware/lib32 -L/usr/lib32
    /usr/freeware/lib/perl5/5.6.1/irix-n32/auto/DynaLoader/DynaLoader.a
    -L/usr/freeware/lib/perl5/5.6.1/irix-n32/CORE -lperl -lm
    "./ldtmpa01TYV/DynaLoader.a(DynaLoader.o).B": Error: Invalid format
    revision (WHIRL::0.31 for intermediate compiler file
    (./ldtmpa01TYV/DynaLoader.a(DynaLoader.o).B)
    ld32: FATAL 116: Cannot compile intermediate file
    /usr/freeware/lib/perl5/5.6.1/irix-n32/auto/DynaLoader/DynaLoader.a(DynaLoader.o)
    collect2: ld returned 32 exit status
    gmake[3]: *** [pork] Error 1
    gmake[3]: Leaving directory `/u03/tardists/pork-0.99.2/src'
    gmake[2]: *** [all-recursive] Error 1
    gmake[2]: Leaving directory `/u03/tardists/pork-0.99.2/src'
    gmake[1]: *** [all-recursive] Error 1
    gmake[1]: Leaving directory `/u03/tardists/pork-0.99.2'
    gmake: *** [all] Error 2

    Any thoughts? I've only seen one other instance of problems with "WHIRL"
    and it seemed to be an IDL/IDF incompatibility at that point.

  2. Re: Strange DynaLoader compiling issues.

    From further reading I take it to mean that due to the Freeware version of
    Perl 5.6.1 being built with a different IDL/IDF revision than my current
    running version that I need to recompile Perl manually?

    On Mon, 5 Jan 2004, John Farnsworth wrote:

    > Trying to compile "pork", without much success. I gave up on trying to
    > get it to go with MIPSPro, the code disagrees heavily, under GCC I can
    > compile all of pork, but as it tries to do the PERL DynaLoader:
    >
    > gcc -funsigned-char -Imissing -Wall -Ilibfaim
    > -DHELP_PATH=\"/usr/local/share/pork/help\"
    > -DSYSTEM_PORKRC=\"/usr/local/share/pork/porkrc\" -D_BSD_TYPES -D_BSD_TIME
    > -I/usr/freeware/include -I/usr/include
    > -I/usr/freeware/lib/perl5/5.6.1/irix-n32/CORE
    > -I/usr/freeware/include/ncurses -L/usr/freeware/lib32 -o pork -Lmissing
    > -Llibfaim pork.o pork_acct.o pork_aim.o pork_alias.o pork_bind.o
    > pork_buddy.o pork_buddy_list.o pork_chat.o pork_color.o pork_command.o
    > pork_conf.o pork_cstr.o pork_events.o pork_format.o pork_help.o
    > pork_html.o pork_imwindow.o pork_inet.o pork_input.o pork_io.o pork_list.o
    > pork_misc.o pork_msg.o pork_opt.o pork_perl.o pork_perl_xs.o pork_proto.o
    > pork_queue.o pork_screen.o pork_screen_cmd.o pork_slist.o pork_set.o
    > pork_status.o pork_swindow.o pork_timer.o pork_transfer.o pork_util.o
    > -lmissing -lfaim -lncurses -mabi=n32
    > -Wl,-rpath,/usr/freeware/lib/perl5/5.6.1/irix-n32/CORE:/usr/freeware/lib32
    > -L/usr/freeware/lib32 -L/usr/lib32
    > /usr/freeware/lib/perl5/5.6.1/irix-n32/auto/DynaLoader/DynaLoader.a
    > -L/usr/freeware/lib/perl5/5.6.1/irix-n32/CORE -lperl -lm
    > "./ldtmpa01TYV/DynaLoader.a(DynaLoader.o).B": Error: Invalid format
    > revision (WHIRL::0.31 for intermediate compiler file
    > (./ldtmpa01TYV/DynaLoader.a(DynaLoader.o).B)
    > ld32: FATAL 116: Cannot compile intermediate file
    > /usr/freeware/lib/perl5/5.6.1/irix-n32/auto/DynaLoader/DynaLoader.a(DynaLoader.o)
    > collect2: ld returned 32 exit status
    > gmake[3]: *** [pork] Error 1
    > gmake[3]: Leaving directory `/u03/tardists/pork-0.99.2/src'
    > gmake[2]: *** [all-recursive] Error 1
    > gmake[2]: Leaving directory `/u03/tardists/pork-0.99.2/src'
    > gmake[1]: *** [all-recursive] Error 1
    > gmake[1]: Leaving directory `/u03/tardists/pork-0.99.2'
    > gmake: *** [all] Error 2
    >
    > Any thoughts? I've only seen one other instance of problems with "WHIRL"
    > and it seemed to be an IDL/IDF incompatibility at that point.
    >


  3. Re: Strange DynaLoader compiling issues.

    John Farnsworth wrote:
    > Trying to compile "pork", without much success. I gave up on trying to
    > get it to go with MIPSPro, the code disagrees heavily, under GCC I can
    > compile all of pork, but as it tries to do the PERL DynaLoader:
    >


    PORK is surely an appropriate name for this piece of software.

    I guess TUX is not a muslim.

  4. Re: Strange DynaLoader compiling issues.

    It is horribly written, but it's mighty useful for those of us sitting at
    work behind ugly firewalls. SSH out and be able to keep in touch through
    console. I've compiled it with success in the past, but I have a feeling
    something I updated recently updated whatever contains the 'WHIRL'
    compatibility, and it's not compatible with the fw_perl that is currently
    available.

    Unfortunately, i'm having no luck trying to figure out how to build it
    properly from the provided fw_perl.src. Has the config.tar, with a bunch
    of files for each type, not quite sure how to use them to build each set
    of bins though.

    On Tue, 6 Jan 2004, IRIX Central wrote:

    > John Farnsworth wrote:
    > > Trying to compile "pork", without much success. I gave up on trying to
    > > get it to go with MIPSPro, the code disagrees heavily, under GCC I can
    > > compile all of pork, but as it tries to do the PERL DynaLoader:
    > >

    >
    > PORK is surely an appropriate name for this piece of software.
    >
    > I guess TUX is not a muslim.
    >


  5. Re: Strange DynaLoader compiling issues.

    In article ,
    John Farnsworth wrote:
    >Trying to compile "pork", without much success. I gave up on trying to
    >get it to go with MIPSPro, the code disagrees heavily, under GCC I can
    >compile all of pork, but as it tries to do the PERL DynaLoader:
    >
    >gcc -funsigned-char -Imissing -Wall -Ilibfaim
    >-DHELP_PATH=\"/usr/local/share/pork/help\"
    >-DSYSTEM_PORKRC=\"/usr/local/share/pork/porkrc\" -D_BSD_TYPES -D_BSD_TIME
    >-I/usr/freeware/include -I/usr/include
    >-I/usr/freeware/lib/perl5/5.6.1/irix-n32/CORE
    >-I/usr/freeware/include/ncurses -L/usr/freeware/lib32 -o pork -Lmissing
    >-Llibfaim pork.o pork_acct.o pork_aim.o pork_alias.o pork_bind.o
    >pork_buddy.o pork_buddy_list.o pork_chat.o pork_color.o pork_command.o
    >pork_conf.o pork_cstr.o pork_events.o pork_format.o pork_help.o
    >pork_html.o pork_imwindow.o pork_inet.o pork_input.o pork_io.o pork_list.o
    >pork_misc.o pork_msg.o pork_opt.o pork_perl.o pork_perl_xs.o pork_proto.o
    >pork_queue.o pork_screen.o pork_screen_cmd.o pork_slist.o pork_set.o
    >pork_status.o pork_swindow.o pork_timer.o pork_transfer.o pork_util.o
    >-lmissing -lfaim -lncurses -mabi=n32
    >-Wl,-rpath,/usr/freeware/lib/perl5/5.6.1/irix-n32/CORE:/usr/freeware/lib32
    >-L/usr/freeware/lib32 -L/usr/lib32
    >/usr/freeware/lib/perl5/5.6.1/irix-n32/auto/DynaLoader/DynaLoader.a
    >-L/usr/freeware/lib/perl5/5.6.1/irix-n32/CORE -lperl -lm
    >"./ldtmpa01TYV/DynaLoader.a(DynaLoader.o).B": Error: Invalid format
    >revision (WHIRL::0.31 for intermediate compiler file


    Someone built ./ldtmpa01TYV/DynaLoader.a with -IPA objects
    which is a bad idea. We don't recommend building archives that
    way precisely because of WHIRL version problems that can cause.

    Then too, gcc won't help much trying to turn IPA objects to
    real objects (no reason it should, really).
    ld does the work,but the driver has to help some.

    Fix the build of ./ldtmpa01TYV/DynaLoader.a (if you can)
    getting rid of -IPA (WHIRL) objects.

    Regards,
    David B. Anderson davea at sgi dot com http://reality.sgiweb.org/davea

  6. Re: Strange DynaLoader compiling issues.

    Yeah, i've got a working build of perl now based upon the fw_perl source
    and it's working ok. Is the fw_perl package still maintained by anyone,
    and possibly anyone who's still reading this group?

    On Tue, 6 Jan 2004, David Anderson wrote:

    > Someone built ./ldtmpa01TYV/DynaLoader.a with -IPA objects
    > which is a bad idea. We don't recommend building archives that
    > way precisely because of WHIRL version problems that can cause.
    >
    > Then too, gcc won't help much trying to turn IPA objects to
    > real objects (no reason it should, really).
    > ld does the work,but the driver has to help some.
    >
    > Fix the build of ./ldtmpa01TYV/DynaLoader.a (if you can)
    > getting rid of -IPA (WHIRL) objects.
    >
    > Regards,
    > David B. Anderson davea at sgi dot com http://reality.sgiweb.org/davea
    >


+ Reply to Thread