Skip Menu |

This queue is for tickets about the PAR CPAN distribution.

Report information
The Basics
Id: 11544
Status: resolved
Priority: 0/
Queue: PAR

People
Owner: smueller [...] cpan.org
Requestors: dlove [...] appliedmfg.com
Cc:
AdminCc:

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



Subject: SegFault Compiling 0.85 On IRIX 6.5
PAR Help, Attempting to Install PAR 0.85 on an SGI Octane running IRIX 6.5 (IRIX64) Perl version: 5.8.5 built from source with gcc. Relatively new to devel on SGI, so any help would be appreciated. Thanks Derek # /usr/local/bin/perl Makefile.PL *** ExtUtils::AutoInstall version 0.59 *** Checking for dependencies... [Core Features] - File::Temp ...loaded. (0.14 >= 0.05) - Compress::Zlib ...loaded. (1.34 >= 1.3) - Archive::Zip ...loaded. (1.14 >= 1) - Module::ScanDeps ...loaded. (0.51 >= 0.45) - PAR::Dist ...loaded. (0.07 >= 0.06) *** ExtUtils::AutoInstall configuration finished. Checking if your kit is complete... Looks good Writing Makefile for the par program Writing Makefile for PAR # make cp lib/App/Packer/PAR.pm blib/lib/App/Packer/PAR.pm cp lib/PAR/Packer.pm blib/lib/PAR/Packer.pm cp lib/PAR/Filter/Obfuscate.pm blib/lib/PAR/Filter/Obfuscate.pm cp lib/PAR/Filter/PodStrip.pm blib/lib/PAR/Filter/PodStrip.pm cp lib/PAR/Filter.pm blib/lib/PAR/Filter.pm cp lib/PAR.pm blib/lib/PAR.pm cp lib/PAR/Filter/PatchContent.pm blib/lib/PAR/Filter/PatchContent.pm cp lib/PAR/Filter/Bytecode.pm blib/lib/PAR/Filter/Bytecode.pm cp lib/PAR/Tutorial.pod blib/lib/PAR/Tutorial.pod cp lib/PAR/FAQ.pod blib/lib/PAR/FAQ.pod cp lib/PAR/Heavy.pm blib/lib/PAR/Heavy.pm cp lib/PAR/Filter/Bleach.pm blib/lib/PAR/Filter/Bleach.pm make[1]: Entering directory `/install/perl/PAR-0.85/myldr' gcc -c -D_BSD_TYPES -D_BSD_TIME -mabi=n32 -fno-strict-aliasing -I/usr/local/include -DLANGUAGE_C -I/usr/local/lib/perl5/5.8.5/sgi5-irix/CORE main.c /usr/local/bin/perl ./file2c.pl ../script/par.pl my_par_pl.c load_me_2 1 gcc -c -D_BSD_TYPES -D_BSD_TIME -mabi=n32 -fno-strict-aliasing -I/usr/local/include -DLANGUAGE_C -I/usr/local/lib/perl5/5.8.5/sgi5-irix/CORE my_par_pl.c gcc main.o my_par_pl.o -s -Wl,-woff,84 -mabi=n32 -L/usr/lib32 -L/usr/local/lib /usr/local/lib/perl5/5.8.5/sgi5-irix/auto/DynaLoader/DynaLoader.a -L/usr/local/lib/perl5/5.8.5/sgi5-irix/CORE -lperl -lm -lc --output ./par ld32: Segmentation fault. Removing output file... collect2: ld returned 1 exit status make[1]: *** [par] Error 1 make[1]: Leaving directory `/install/perl/PAR-0.85/myldr' make: *** [subdirs] Error 2
From: dlove [...] appliedmfg.com
An update, changed the '-s ' in the Makefile to '-shared', seems to fix this problem...until hitting the ./par -I.....etc line. (see below) ##OUTPUT ABOVE THIS POINT IS THE SAME AS BEFORE - WITHOUT THE ERROR## ./par -I"/install/perl/PAR-0.87/inc" -I"/usr/local/lib/perl5/5.8.5/sgi5- irix" -I"/usr/local/lib/perl5/5.8.5" - I"/usr/local/lib/perl5/site_perl/5.8.5/sgi5-irix" - I"/usr/local/lib/perl5/site_perl/5.8.5" - I"/usr/local/lib/perl5/site_perl" -I"/install/perl/PAR-0.87" -I"." - I../myldr/.. -I../blib/lib -q -B -O../script/parl make[1]: *** [../script/parl] Bus error (core dumped) make[1]: Leaving directory `/install/perl/PAR-0.87/myldr' make: *** [subdirs] Error 2 Thanks, Derek [guest - Thu Feb 17 12:34:26 2005]: Show quoted text
> PAR Help, > > Attempting to Install PAR 0.85 on an SGI Octane running IRIX 6.5 > (IRIX64) > Perl version: 5.8.5 built from source with gcc. > Relatively new to devel on SGI, so any help would be appreciated. > > Thanks > > Derek > > # /usr/local/bin/perl Makefile.PL > *** ExtUtils::AutoInstall version 0.59 > *** Checking for dependencies... > [Core Features] > - File::Temp ...loaded. (0.14 >= 0.05) > - Compress::Zlib ...loaded. (1.34 >= 1.3) > - Archive::Zip ...loaded. (1.14 >= 1) > - Module::ScanDeps ...loaded. (0.51 >= 0.45) > - PAR::Dist ...loaded. (0.07 >= 0.06) > *** ExtUtils::AutoInstall configuration finished. > Checking if your kit is complete... > Looks good > Writing Makefile for the par program > Writing Makefile for PAR > # make > cp lib/App/Packer/PAR.pm blib/lib/App/Packer/PAR.pm > cp lib/PAR/Packer.pm blib/lib/PAR/Packer.pm > cp lib/PAR/Filter/Obfuscate.pm blib/lib/PAR/Filter/Obfuscate.pm > cp lib/PAR/Filter/PodStrip.pm blib/lib/PAR/Filter/PodStrip.pm > cp lib/PAR/Filter.pm blib/lib/PAR/Filter.pm > cp lib/PAR.pm blib/lib/PAR.pm > cp lib/PAR/Filter/PatchContent.pm blib/lib/PAR/Filter/PatchContent.pm > cp lib/PAR/Filter/Bytecode.pm blib/lib/PAR/Filter/Bytecode.pm > cp lib/PAR/Tutorial.pod blib/lib/PAR/Tutorial.pod > cp lib/PAR/FAQ.pod blib/lib/PAR/FAQ.pod > cp lib/PAR/Heavy.pm blib/lib/PAR/Heavy.pm > cp lib/PAR/Filter/Bleach.pm blib/lib/PAR/Filter/Bleach.pm > make[1]: Entering directory `/install/perl/PAR-0.85/myldr' > gcc -c -D_BSD_TYPES -D_BSD_TIME -mabi=n32 -fno-strict-aliasing > -I/usr/local/include -DLANGUAGE_C > -I/usr/local/lib/perl5/5.8.5/sgi5-irix/CORE main.c > /usr/local/bin/perl ./file2c.pl ../script/par.pl my_par_pl.c load_me_2 > 1 > gcc -c -D_BSD_TYPES -D_BSD_TIME -mabi=n32 -fno-strict-aliasing > -I/usr/local/include -DLANGUAGE_C > -I/usr/local/lib/perl5/5.8.5/sgi5-irix/CORE my_par_pl.c > gcc main.o my_par_pl.o -s -Wl,-woff,84 -mabi=n32 -L/usr/lib32 > -L/usr/local/lib /usr/local/lib/perl5/5.8.5/sgi5- > irix/auto/DynaLoader/DynaLoader.a > -L/usr/local/lib/perl5/5.8.5/sgi5-irix/CORE -lperl -lm -lc --output > ./par > ld32: Segmentation fault. Removing output file... > collect2: ld returned 1 exit status > make[1]: *** [par] Error 1 > make[1]: Leaving directory `/install/perl/PAR-0.85/myldr' > make: *** [subdirs] Error 2
From: dlove [...] appliedmfg.com
Final Update - problem resolved: I guess there is something to be said for figuring it out by yourself... - getting rid of the -s was a step in the right direction (apparently known to be faulty) - usng -shared was a step in the wrong direction... - browsing your FAQ I found a seemingly unrelated issue that sparked some thoughts - the libperl.so was pointing at the wrong perl distribution... that did it. Thanks, Derek [guest - Fri Feb 18 09:00:50 2005]: Show quoted text
> An update, > > changed the '-s ' in the Makefile to '-shared', seems to fix this > problem...until hitting the ./par -I.....etc line. (see below) > > ##OUTPUT ABOVE THIS POINT IS THE SAME AS BEFORE - WITHOUT THE ERROR## > ./par -I"/install/perl/PAR-0.87/inc" -
I"/usr/local/lib/perl5/5.8.5/sgi5- Show quoted text
> irix" -I"/usr/local/lib/perl5/5.8.5" - > I"/usr/local/lib/perl5/site_perl/5.8.5/sgi5-irix" - > I"/usr/local/lib/perl5/site_perl/5.8.5" - > I"/usr/local/lib/perl5/site_perl" -I"/install/perl/PAR-0.87" -I"." - > I../myldr/.. -I../blib/lib -q -B -O../script/parl > make[1]: *** [../script/parl] Bus error (core dumped) > make[1]: Leaving directory `/install/perl/PAR-0.87/myldr' > make: *** [subdirs] Error 2 > > Thanks, > > Derek > > [guest - Thu Feb 17 12:34:26 2005]: >
> > PAR Help, > > > > Attempting to Install PAR 0.85 on an SGI Octane running IRIX 6.5 > > (IRIX64) > > Perl version: 5.8.5 built from source with gcc. > > Relatively new to devel on SGI, so any help would be appreciated. > > > > Thanks > > > > Derek > > > > # /usr/local/bin/perl Makefile.PL > > *** ExtUtils::AutoInstall version 0.59 > > *** Checking for dependencies... > > [Core Features] > > - File::Temp ...loaded. (0.14 >= 0.05) > > - Compress::Zlib ...loaded. (1.34 >= 1.3) > > - Archive::Zip ...loaded. (1.14 >= 1) > > - Module::ScanDeps ...loaded. (0.51 >= 0.45) > > - PAR::Dist ...loaded. (0.07 >= 0.06) > > *** ExtUtils::AutoInstall configuration finished. > > Checking if your kit is complete... > > Looks good > > Writing Makefile for the par program > > Writing Makefile for PAR > > # make > > cp lib/App/Packer/PAR.pm blib/lib/App/Packer/PAR.pm > > cp lib/PAR/Packer.pm blib/lib/PAR/Packer.pm > > cp lib/PAR/Filter/Obfuscate.pm blib/lib/PAR/Filter/Obfuscate.pm > > cp lib/PAR/Filter/PodStrip.pm blib/lib/PAR/Filter/PodStrip.pm > > cp lib/PAR/Filter.pm blib/lib/PAR/Filter.pm > > cp lib/PAR.pm blib/lib/PAR.pm > > cp lib/PAR/Filter/PatchContent.pm
blib/lib/PAR/Filter/PatchContent.pm Show quoted text
> > cp lib/PAR/Filter/Bytecode.pm blib/lib/PAR/Filter/Bytecode.pm > > cp lib/PAR/Tutorial.pod blib/lib/PAR/Tutorial.pod > > cp lib/PAR/FAQ.pod blib/lib/PAR/FAQ.pod > > cp lib/PAR/Heavy.pm blib/lib/PAR/Heavy.pm > > cp lib/PAR/Filter/Bleach.pm blib/lib/PAR/Filter/Bleach.pm > > make[1]: Entering directory `/install/perl/PAR-0.85/myldr' > > gcc -c -D_BSD_TYPES -D_BSD_TIME -mabi=n32 -fno-strict-aliasing > > -I/usr/local/include -DLANGUAGE_C > > -I/usr/local/lib/perl5/5.8.5/sgi5-irix/CORE main.c > > /usr/local/bin/perl ./file2c.pl ../script/par.pl my_par_pl.c
load_me_2 Show quoted text
> > 1 > > gcc -c -D_BSD_TYPES -D_BSD_TIME -mabi=n32 -fno-strict-aliasing > > -I/usr/local/include -DLANGUAGE_C > > -I/usr/local/lib/perl5/5.8.5/sgi5-irix/CORE my_par_pl.c > > gcc main.o my_par_pl.o -s -Wl,-woff,84 -mabi=n32 -L/usr/lib32 > > -L/usr/local/lib /usr/local/lib/perl5/5.8.5/sgi5- > > irix/auto/DynaLoader/DynaLoader.a > > -L/usr/local/lib/perl5/5.8.5/sgi5-irix/CORE -lperl -lm -lc --
output Show quoted text
> > ./par > > ld32: Segmentation fault. Removing output file... > > collect2: ld returned 1 exit status > > make[1]: *** [par] Error 1 > > make[1]: Leaving directory `/install/perl/PAR-0.85/myldr' > > make: *** [subdirs] Error 2
> >