Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DBD-Oracle CPAN distribution.

Report information
The Basics
Id: 19180
Status: resolved
Priority: 0/
Queue: DBD-Oracle

People
Owner: Nobody in particular
Requestors: sebastian.fontaine [...] euroscript.lu
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.17
Fixed in: (no value)



Subject: generates wrong elf objects CCFLAGS=...-xarch=v8 should be v9
Download (untitled) / with headers
text/plain 3.7k
using "perl Makefile.PL" generates a wrong Makefile: corrected: #CCFLAGS = -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO CCFLAGS = -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v9 -D_TS_ERRNO and then the folling error won't occur root@odin:DBD-Oracle-1.17 >make cp Oracle.pm blib/lib/DBD/Oracle.pm cp oraperl.ph blib/lib/oraperl.ph cp dbdimp.h blib/arch/auto/DBD/Oracle/dbdimp.h cp ocitrace.h blib/arch/auto/DBD/Oracle/ocitrace.h cp Oraperl.pm blib/lib/Oraperl.pm cp Oracle.h blib/arch/auto/DBD/Oracle/Oracle.h cp lib/DBD/Oracle/GetInfo.pm blib/lib/DBD/Oracle/GetInfo.pm cp mk.pm blib/arch/auto/DBD/Oracle/mk.pm /usr/bin/perl -p -e "s/~DRIVER~/Oracle/g" /usr/perl5/site_perl/5.8.4/sun4-solaris-64int/auto/DBI//Driver.xst > Oracle.xsi /usr/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -typemap /usr/perl5/5.8.4/lib/ExtUtils/typemap -typemap typemap Oracle.xs > Oracle.xsc && mv Oracle.xsc Oracle.c cc -c -I/zones/escjos-ora/root/oracleSW/product/10.2.0/rdbms/public -I/zones/escjos-ora/root/oracleSW/product/10.2.0//rdbms/demo -I/zones/escjos-ora/root/oracleSW/product/10.2.0//rdbms/public -I/zones/escjos-ora/root/oracleSW/product/10.2.0//plsql/public -I/zones/escjos-ora/root/oracleSW/product/10.2.0//network/public -I/usr/perl5/site_perl/5.8.4/sun4-solaris-64int/auto/DBI/ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"1.17\" -DXS_VERSION=\"1.17\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"10.2.0.1\" Oracle.c cc -c -I/zones/escjos-ora/root/oracleSW/product/10.2.0/rdbms/public -I/zones/escjos-ora/root/oracleSW/product/10.2.0//rdbms/demo -I/zones/escjos-ora/root/oracleSW/product/10.2.0//rdbms/public -I/zones/escjos-ora/root/oracleSW/product/10.2.0//plsql/public -I/zones/escjos-ora/root/oracleSW/product/10.2.0//network/public -I/usr/perl5/site_perl/5.8.4/sun4-solaris-64int/auto/DBI/ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"1.17\" -DXS_VERSION=\"1.17\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"10.2.0.1\" dbdimp.c cc -c -I/zones/escjos-ora/root/oracleSW/product/10.2.0/rdbms/public -I/zones/escjos-ora/root/oracleSW/product/10.2.0//rdbms/demo -I/zones/escjos-ora/root/oracleSW/product/10.2.0//rdbms/public -I/zones/escjos-ora/root/oracleSW/product/10.2.0//plsql/public -I/zones/escjos-ora/root/oracleSW/product/10.2.0//network/public -I/usr/perl5/site_perl/5.8.4/sun4-solaris-64int/auto/DBI/ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"1.17\" -DXS_VERSION=\"1.17\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"10.2.0.1\" oci8.c Running Mkbootstrap for DBD::Oracle () chmod 644 Oracle.bs rm -f blib/arch/auto/DBD/Oracle/Oracle.so LD_RUN_PATH="/zones/escjos-ora/root/oracleSW/product/10.2.0/lib32:/zones/escjos-ora/root/oracleSW/product/10.2.0/rdbms/lib32" cc -G Oracle.o dbdimp.o oci8.o -xarch=v9 -L/zones/escjos-ora/root/oracleSW/product/10.2.0//lib/ -L/zones/escjos-ora/root/oracleSW/product/10.2.0//rdbms/lib/ -lclntsh `cat /zones/escjos-ora/root/oracleSW/product/10.2.0//lib/sysliblist` -R/zones/escjos-ora/root/oracleSW/product/10.2.0//lib -laio -lposix4 -lkstat -lm -lthread -lpthread -o blib/arch/auto/DBD/Oracle/Oracle.so ld: fatal: file Oracle.o: wrong ELF class: ELFCLASS32 ld: fatal: File processing errors. No output written to blib/arch/auto/DBD/Oracle/Oracle.so *** Error code 1 make: Fatal error: Command failed for target `blib/arch/auto/DBD/Oracle/Oracle.so' should be: file dbdimp.o dbdimp.o: ELF 64-bit MSB relocatable SPARCV9 Version 1 before it was 32 bit kind regards Sebastian
Download (untitled) / with headers
text/plain 177b
Could you give me the details on which operating system/box version of DBD::Oracle, DBI and Oracle client you were using. As it is rather hard to recreate the error without it
Download (untitled) / with headers
text/plain 132b
Unfortunerlty he never og bacvk to me. I know it was a 64 bit problem of some sort but without his input can't do anything with it.
Download (untitled) / with headers
text/plain 4.2k
On Wed May 10 06:14:04 2006, guest wrote: Show quoted text
> using "perl Makefile.PL" generates a wrong Makefile: > corrected: > #CCFLAGS = -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 > -D_TS_ERRNO > CCFLAGS = -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v9 > -D_TS_ERRNO > > and then the folling error won't occur > > root@odin:DBD-Oracle-1.17 >make > cp Oracle.pm blib/lib/DBD/Oracle.pm > cp oraperl.ph blib/lib/oraperl.ph > cp dbdimp.h blib/arch/auto/DBD/Oracle/dbdimp.h > cp ocitrace.h blib/arch/auto/DBD/Oracle/ocitrace.h > cp Oraperl.pm blib/lib/Oraperl.pm > cp Oracle.h blib/arch/auto/DBD/Oracle/Oracle.h > cp lib/DBD/Oracle/GetInfo.pm blib/lib/DBD/Oracle/GetInfo.pm > cp mk.pm blib/arch/auto/DBD/Oracle/mk.pm > /usr/bin/perl -p -e "s/~DRIVER~/Oracle/g" > /usr/perl5/site_perl/5.8.4/sun4-solaris-64int/auto/DBI//Driver.xst > > Oracle.xsi > /usr/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -typemap > /usr/perl5/5.8.4/lib/ExtUtils/typemap -typemap typemap Oracle.xs > > Oracle.xsc && mv Oracle.xsc Oracle.c > cc -c -I/zones/escjos-ora/root/oracleSW/product/10.2.0/rdbms/public > -I/zones/escjos-ora/root/oracleSW/product/10.2.0//rdbms/demo > -I/zones/escjos-ora/root/oracleSW/product/10.2.0//rdbms/public > -I/zones/escjos-ora/root/oracleSW/product/10.2.0//plsql/public > -I/zones/escjos-ora/root/oracleSW/product/10.2.0//network/public > -I/usr/perl5/site_perl/5.8.4/sun4-solaris-64int/auto/DBI/ > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 > -xspace -xildoff -DVERSION=\"1.17\" -DXS_VERSION=\"1.17\" -KPIC > "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DUTF8_SUPPORT > -DNEW_OCI_INIT -DORA_OCI_VERSION=\"10.2.0.1\" Oracle.c > cc -c -I/zones/escjos-ora/root/oracleSW/product/10.2.0/rdbms/public > -I/zones/escjos-ora/root/oracleSW/product/10.2.0//rdbms/demo > -I/zones/escjos-ora/root/oracleSW/product/10.2.0//rdbms/public > -I/zones/escjos-ora/root/oracleSW/product/10.2.0//plsql/public > -I/zones/escjos-ora/root/oracleSW/product/10.2.0//network/public > -I/usr/perl5/site_perl/5.8.4/sun4-solaris-64int/auto/DBI/ > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 > -xspace -xildoff -DVERSION=\"1.17\" -DXS_VERSION=\"1.17\" -KPIC > "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DUTF8_SUPPORT > -DNEW_OCI_INIT -DORA_OCI_VERSION=\"10.2.0.1\" dbdimp.c > cc -c -I/zones/escjos-ora/root/oracleSW/product/10.2.0/rdbms/public > -I/zones/escjos-ora/root/oracleSW/product/10.2.0//rdbms/demo > -I/zones/escjos-ora/root/oracleSW/product/10.2.0//rdbms/public > -I/zones/escjos-ora/root/oracleSW/product/10.2.0//plsql/public > -I/zones/escjos-ora/root/oracleSW/product/10.2.0//network/public > -I/usr/perl5/site_perl/5.8.4/sun4-solaris-64int/auto/DBI/ > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 > -xspace -xildoff -DVERSION=\"1.17\" -DXS_VERSION=\"1.17\" -KPIC > "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DUTF8_SUPPORT > -DNEW_OCI_INIT -DORA_OCI_VERSION=\"10.2.0.1\" oci8.c > Running Mkbootstrap for DBD::Oracle () > chmod 644 Oracle.bs > rm -f blib/arch/auto/DBD/Oracle/Oracle.so > LD_RUN_PATH="/zones/escjos- > ora/root/oracleSW/product/10.2.0/lib32:/zones/escjos- > ora/root/oracleSW/product/10.2.0/rdbms/lib32" > cc -G Oracle.o dbdimp.o oci8.o -xarch=v9 > -L/zones/escjos-ora/root/oracleSW/product/10.2.0//lib/ > -L/zones/escjos-ora/root/oracleSW/product/10.2.0//rdbms/lib/ > -lclntsh > `cat /zones/escjos-ora/root/oracleSW/product/10.2.0//lib/sysliblist` > -R/zones/escjos-ora/root/oracleSW/product/10.2.0//lib -laio -lposix4 > -lkstat -lm -lthread -lpthread -o blib/arch/auto/DBD/Oracle/Oracle.so > ld: fatal: file Oracle.o: wrong ELF class: ELFCLASS32 > ld: fatal: File processing errors. No output written to > blib/arch/auto/DBD/Oracle/Oracle.so > *** Error code 1 > make: Fatal error: Command failed for target > `blib/arch/auto/DBD/Oracle/Oracle.so' > > should be: > file dbdimp.o > dbdimp.o: ELF 64-bit MSB relocatable SPARCV9 Version 1 > before it was 32 bit > > kind regards > > Sebastian
In view of the age of this rt and it appears to have been stalled for years we are going to close this rt soon. I have built DBD::Oracle on the sparcv9 platform with DBD::Oracle 1.26 and know it now works. However, if you still have problems please get back to us. Martin -- Martin J. Evans Wetherby, UK
Subject: Out of Office AutoReply: [rt.cpan.org #19180] generates wrong elf objects CCFLAGS=...-xarch=v8 should be v9
Date: Thu, 30 Dec 2010 19:31:50 +0100
To: "Martin J Evans via RT" <bug-DBD-Oracle [...] rt.cpan.org>
From: "Fontaine, Sebastian" <sebastian.fontaine [...] euroscript.lu>
Download (untitled) / with headers
text/plain 359b
Thank you for your mail. Unfortunately I am currently not in the office. I will answer your mails as soon as possible, when I am back (3. Jan). Your mail will not be forwarded! In urgent cases you can contact my colleges mario.stohmann@euroscript.lu bernd.mayer@euroscript.lu sebastien.schmets@euroscript.lu with kind regards Sebastian Fontaine


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.