Skip Menu |

This queue is for tickets about the Tie-Hash-Indexed CPAN distribution.

Report information
The Basics
Id: 36307
Status: rejected
Priority: 0/
Queue: Tie-Hash-Indexed

People
Owner: Nobody in particular
Requestors: gerardo8a [...] yahoo.com
Cc:
AdminCc:

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



Subject: Tie-Hash-Indexed-0.05 - Error compiling library with FreeBSD 6
I'm trying to install this library in FreeBSD 6 and I'm getting this error: gcc -c -I. -fno-strict-aliasing -I/home/y/include -I/usr/local/include -march=pentiumpro -pipe -g -O2 -DVERSION=\"0.05\" -DXS_VERSION=\"0.05\" -DPIC -fpic "-I/home/y/lib/perl5/5.6.1/i386-freebsd/CORE" -DNDEBUG Indexed.c Indexed.c:1: error: CPU you selected does not support x86-64 instruction set Indexed.c:1: error: CPU you selected does not support x86-64 instruction set *** Error code 1 I tried changing the -march flag but the .so built is incompatible, is there a way to create a new package that supports this type of configuration? or what I need to do to make it work? This is a summary of the hardware is being used to install this Summary: Dell DCS S29R, 2 x Xeon L5335 2.00GHz, 8GB / 8GB 667MHz System: Dell DCS S29R (Dell BlackfordESB2) Processors: 2 x Xeon L5335 2.00GHz 333MHz FSB (8 cores) - Clovertown G0, 64-bit, quad-core, 65nm, L2: 8MB Memory: 8GB / 8GB 667MHz == 1 x 8GB, 2 x empty Disk: ad4 (atapci1:ata2-m): 250GB (7%) JBOD == 1 x 250GB 7.2K SATA/300 Seagate Barracuda ES 16MB Disk-Control: atapci0: Quanta/Intel 631xESB ATA/133 Disk-Control: atapci1: Quanta/Intel 631xESB SATA/300 Chipset: Intel 5000V (Blackford VS) OS: FreeBSD 6.3 amd64, 64-bit BIOS: AMI S29R3A07.00 11/01/2007 Thanks for you're help!
From: gerardo8a [...] yahoo.com
Forgot to post the perl version I'm using in this machine: This is perl, v5.6.1 built for i386-freebsd On Fri May 30 14:13:07 2008, gerardo wrote: Show quoted text
> I'm trying to install this library in FreeBSD 6 and I'm getting this
error: Show quoted text
> > gcc -c -I. -fno-strict-aliasing -I/home/y/include -I/usr/local/include > -march=pentiumpro -pipe -g -O2 -DVERSION=\"0.05\" > -DXS_VERSION=\"0.05\" -DPIC -fpic > "-I/home/y/lib/perl5/5.6.1/i386-freebsd/CORE" -DNDEBUG Indexed.c > Indexed.c:1: error: CPU you selected does not support x86-64
instruction set Show quoted text
> Indexed.c:1: error: CPU you selected does not support x86-64
instruction set Show quoted text
> *** Error code 1 > > I tried changing the -march flag but the .so built is incompatible, is > there a way to create a new package that supports this type of > configuration? or what I need to do to make it work? > > This is a summary of the hardware is being used to install this > > Summary: Dell DCS S29R, 2 x Xeon L5335 2.00GHz, 8GB / 8GB 667MHz > System: Dell DCS S29R (Dell BlackfordESB2) > Processors: 2 x Xeon L5335 2.00GHz 333MHz FSB (8 cores) - Clovertown > G0, 64-bit, quad-core, 65nm, L2: 8MB > Memory: 8GB / 8GB 667MHz == 1 x 8GB, 2 x empty > Disk: ad4 (atapci1:ata2-m): 250GB (7%) JBOD == 1 x 250GB 7.2K > SATA/300 Seagate Barracuda ES 16MB > Disk-Control: atapci0: Quanta/Intel 631xESB ATA/133 > Disk-Control: atapci1: Quanta/Intel 631xESB SATA/300 > Chipset: Intel 5000V (Blackford VS) > OS: FreeBSD 6.3 amd64, 64-bit > BIOS: AMI S29R3A07.00 11/01/2007 > > Thanks for you're help!
Subject: Re: [rt.cpan.org #36307] Tie-Hash-Indexed-0.05 - Error compiling library with FreeBSD 6
Date: Sat, 31 May 2008 08:49:10 +0200
To: bug-Tie-Hash-Indexed [...] rt.cpan.org
From: Marcus Holland-Moritz <mhx-perl [...] gmx.net>
Hi Gerardo, I strongly doubt that this is a problem of the Tie::Hash::Indexed module. I guess the problem is that your perl binary is not compatible with you freebsd installation. I'm assuming that you really have the amd64 version of freebsd installed. You can verify using: $ uname -m amd64 I'm also assuming that this is not the "standard" perl binary that comes with freebsd 6. On my (rather dated) freebsd 6.2, I already have perl 5.8.8. $ perl -v This is perl, v5.8.8 built for amd64-freebsd (with 1 registered patch, see perl -V for more detail) And notice the subtle difference: mine is "built for amd64-freebsd", while yours states "built for i386-freebsd". I guess you've installed some arbitrary binary perl distribution that is simply not compatible with your amd64-freebsd installation. The output of $ perl -V would have been much more helpful in this case than the detailed listing of your CPU/memory/disk configuration (this almost never has any impact on software bugs). I don't know where you have this perl binary from. The only thing I can tell you is that if you have a perl binary that is correctly built for your platform (i.e. amd64-freebsd), then Tie::Hash::Indexed will also build without problems: $ ../perl/bin/perl5.6.1 -v This is perl, v5.6.1 built for amd64-freebsd Copyright 1987-2001, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.com/, the Perl Home Page. $ ../perl/bin/perl5.6.1 Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Tie::Hash::Indexed $ make test cp lib/Tie/Hash/Indexed.pm blib/lib/Tie/Hash/Indexed.pm ../perl/bin/perl5.6.1 -I/home/mhx/perl/lib/5.6.1/amd64-freebsd -I/home/mhx/perl/lib/5.6.1 /home/mhx/perl/lib/5.6.1/ExtUtils/xsubpp -typemap /home/mhx/perl/lib/5.6.1/ExtUtils/typemap -typemap typemap Indexed.xs > Indexed.xsc && mv Indexed.xsc Indexed.c cc -c -I. -fno-strict-aliasing -I/usr/local/include -O -DVERSION=\"0.05\" -DXS_VERSION=\"0.05\" -DPIC -fpic -I/home/mhx/perl/lib/5.6.1/amd64-freebsd/CORE -DNDEBUG Indexed.c Running Mkbootstrap for Tie::Hash::Indexed () chmod 644 Indexed.bs rm -f blib/arch/auto/Tie/Hash/Indexed/Indexed.so LD_RUN_PATH="" cc -shared -L/usr/local/lib Indexed.o -o blib/arch/auto/Tie/Hash/Indexed/Indexed.so chmod 755 blib/arch/auto/Tie/Hash/Indexed/Indexed.so cp Indexed.bs blib/arch/auto/Tie/Hash/Indexed/Indexed.bs chmod 644 blib/arch/auto/Tie/Hash/Indexed/Indexed.bs PERL_DL_NONLAZY=1 ../perl/bin/perl5.6.1 -Iblib/arch -Iblib/lib -I/home/mhx/perl/lib/5.6.1/amd64-freebsd -I/home/mhx/perl/lib/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/101_basic.........ok, 5/32 skipped: no scalar context for tied hashes t/102_storable......ok, 24/25 skipped: Storable not installed t/103_bugs..........ok All tests successful, 29 subtests skipped. Files=3, Tests=69, 1 wallclock secs ( 0.08 cusr + 0.02 csys = 0.10 CPU) Notice that my perl-5.6.1 is also "built for amd64-freebsd". So, please either install a compatible perl binary, or build your perl binary from the source code using Configure && make (but notice that such old releases will hardly build on a modern system without manual intervention). And please don't use such an ancient perl version for anything else than testing. Regards, Marcus -- If the human brain were so simple that we could understand it, we would be so simple we couldn't.
Download signature.asc
application/pgp-signature 197b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #36307] Tie-Hash-Indexed-0.05 - Error compiling library with FreeBSD 6
Date: Mon, 2 Jun 2008 14:25:05 -0700 (PDT)
To: bug-Tie-Hash-Indexed [...] rt.cpan.org
From: Gerardo Porras Ochoa <gerardo8a [...] yahoo.com>
Marcus, Thanks a lot for your help on this issue, I tried with a new perl compiled in the local machine and I got the amd64 version, with this version I can build the library with no problems. Thanks, Gerardo Show quoted text
----- Original Message ---- From: "mhx-perl@gmx.net via RT" <bug-Tie-Hash-Indexed@rt.cpan.org> To: gerardo8a@yahoo.com Sent: Friday, May 30, 2008 11:49:41 PM Subject: Re: [rt.cpan.org #36307] Tie-Hash-Indexed-0.05 - Error compiling library with FreeBSD 6 <URL: http://rt.cpan.org/Ticket/Display.html?id=36307 > Hi Gerardo, I strongly doubt that this is a problem of the Tie::Hash::Indexed module. I guess the problem is that your perl binary is not compatible with you freebsd installation. I'm assuming that you really have the amd64 version of freebsd installed. You can verify using: $ uname -m amd64 I'm also assuming that this is not the "standard" perl binary that comes with freebsd 6. On my (rather dated) freebsd 6.2, I already have perl 5.8.8. $ perl -v This is perl, v5.8.8 built for amd64-freebsd (with 1 registered patch, see perl -V for more detail) And notice the subtle difference: mine is "built for amd64-freebsd", while yours states "built for i386-freebsd". I guess you've installed some arbitrary binary perl distribution that is simply not compatible with your amd64-freebsd installation. The output of $ perl -V would have been much more helpful in this case than the detailed listing of your CPU/memory/disk configuration (this almost never has any impact on software bugs). I don't know where you have this perl binary from. The only thing I can tell you is that if you have a perl binary that is correctly built for your platform (i.e. amd64-freebsd), then Tie::Hash::Indexed will also build without problems: $ ../perl/bin/perl5.6.1 -v This is perl, v5.6.1 built for amd64-freebsd Copyright 1987-2001, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.com/, the Perl Home Page. $ ../perl/bin/perl5.6.1 Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Tie::Hash::Indexed $ make test cp lib/Tie/Hash/Indexed.pm blib/lib/Tie/Hash/Indexed.pm ../perl/bin/perl5.6.1 -I/home/mhx/perl/lib/5.6.1/amd64-freebsd -I/home/mhx/perl/lib/5.6.1 /home/mhx/perl/lib/5.6.1/ExtUtils/xsubpp -typemap /home/mhx/perl/lib/5.6.1/ExtUtils/typemap -typemap typemap Indexed.xs > Indexed.xsc && mv Indexed.xsc Indexed.c cc -c -I. -fno-strict-aliasing -I/usr/local/include -O -DVERSION=\"0.05\" -DXS_VERSION=\"0.05\" -DPIC -fpic -I/home/mhx/perl/lib/5.6.1/amd64-freebsd/CORE -DNDEBUG Indexed.c Running Mkbootstrap for Tie::Hash::Indexed () chmod 644 Indexed.bs rm -f blib/arch/auto/Tie/Hash/Indexed/Indexed.so LD_RUN_PATH="" cc -shared -L/usr/local/lib Indexed.o -o blib/arch/auto/Tie/Hash/Indexed/Indexed.so chmod 755 blib/arch/auto/Tie/Hash/Indexed/Indexed.so cp Indexed.bs blib/arch/auto/Tie/Hash/Indexed/Indexed.bs chmod 644 blib/arch/auto/Tie/Hash/Indexed/Indexed.bs PERL_DL_NONLAZY=1 ../perl/bin/perl5.6.1 -Iblib/arch -Iblib/lib -I/home/mhx/perl/lib/5.6.1/amd64-freebsd -I/home/mhx/perl/lib/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/101_basic.........ok, 5/32 skipped: no scalar context for tied hashes t/102_storable......ok, 24/25 skipped: Storable not installed t/103_bugs..........ok All tests successful, 29 subtests skipped. Files=3, Tests=69, 1 wallclock secs ( 0.08 cusr + 0.02 csys = 0.10 CPU) Notice that my perl-5.6.1 is also "built for amd64-freebsd". So, please either install a compatible perl binary, or build your perl binary from the source code using Configure && make (but notice that such old releases will hardly build on a modern system without manual intervention). And please don't use such an ancient perl version for anything else than testing. Regards, Marcus -- If the human brain were so simple that we could understand it, we would be so simple we couldn't.