Re: compiling the 64 bit libdar in AIX 5.3 platform
Sivakumar Selvam <[email protected]> Sun, 25 Jan 2009 23:21:57 +0530 (IST)
| Newsgroups | gmane.comp.sysutils.backup.dar.libdar |
|---|---|
| Message-ID | <[email protected]> |
--===============3782589233724550174== Content-Type: multipart/alternative; boundary="0-1699605379-1232905917=:45616" --0-1699605379-1232905917=:45616 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I ran through gdb and got the following output. =0A=0A(gdb) r=0AStarting pr= ogram: /usr/sony/iTRx/siva/64bit/dec26/dar-2.3.6/src/dar_suite/.libs/dar=0A= Program received signal SIGILL, Illegal instruction.=0A0x0000000000000000 i= n ?? ()=0A(gdb) bt=0A#0=C2=A0 0x0000000000000000 in ?? ()=0A#1=C2=A0 0x0900= 0000011a638c in reg_frame () from /usr/sony/iTRx/siva/64bit/dec26/dar-2.3.6= /src/libdar/.libs/libdar.a(libdar.so.4)=0A#2=C2=A0 0x09000000011a6490 in _G= LOBAL__FI_libdar_so ()=0A=C2=A0=C2=A0 from /usr/sony/iTRx/siva/64bit/dec26/= dar-2.3.6/src/libdar/.libs/libdar.a(libdar.so.4)=0A#3=C2=A0 0x09fffffff0001= bd4 in mod_init1 () from /usr/ccs/bin/usla64=0A#4=C2=A0 0x09fffffff000290c = in usl_init_mods () from /usr/ccs/bin/usla64=0A#5=C2=A0 0x09fffffff000280c = in usl_exec_init_mods () from /usr/ccs/bin/usla64=0A#6=C2=A0 0x000000010000= 029c in __start ()=0ABacktrace stopped: previous frame inner to this frame = (corrupt stack?)=0A(gdb)=0A=0AI downloaded gettext-0.16 version=C2=A0and li= nked it with libdar.=0A./configure --prefix=3D/usr/local/siva/64bit/hpux/da= r/lib/ =0A--with-libintl-prefix=3D/usr/local/siva/64bit/gettext/lib =0A--wi= th-libiconv-prefix=3D/usr/local/siva/64bit/conv/lib --enable-debug=0A=0Abas= h-3.2# ldd libintl.so.8=0Alibintl.so.8 needs:=0A=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 /usr/lib/libc.a(shr_64.o)=0A=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 /usr/lib/libpthread.a(shr_xpg5_64.o)=0A=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /usr/lib/libiconv.a(shr4_64.o)=0A= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /unix=0A=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /usr/lib/libcrypt.a(shr_64.o)=0A=0Abash-3.2#= ldd libiconv.so.2=0Alibiconv.so.2 needs:=0A=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 /usr/lib/libc.a(shr_64.o)=0A=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 /unix=0A=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 /usr/lib/libcrypt.a(shr_64.o)=0A=0A=0A=0AThanks,=0ASivakumar Selvam.=0A= =0A=0A=0A=0A=0A________________________________=0AFrom: Sivakumar Selvam <s= [email protected]>=0ATo: "Area available for the evolution, usage, supp= ort, feature requests, concerning the libdar API (application Interface)" <= [email protected]>=0ASent: Sunday, 25 January, 2009 11:0= 1:25 PM=0ASubject: Re: [Dar-libdar_api] compiling the 64 bit libdar in AIX = 5.3 platform=0A=0A=0AI am trying to compile the dar-2.3.6 source code in AI= X 5.3 using "g++=C2=A0-maix64"=0Aand could not able to run the 64 bit dar c= ommand successfully. I=C2=A0had copied=C2=A0=0Athe dar dependency links bel= ow. Can=C2=A0you please=C2=A0help me to identify the problem?=0A=0Abash-3.2= # ldd dar=0Adar needs:=0A=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /= opt/freeware/64/lib/libc.a(shr_64.o)=0A=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 /usr/lib/libpthread.a(shr_xpg5_64.o)=0A=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 /usr/lib/libnsl.a(shr_64.o)=0A=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.= 0.0/4.2.3/ppc64/libstdc++.a(libstdc++.so.6)=0A=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.3/pp= c64/libgcc_s.a(shr.o)=0A=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /u= sr/sony/iTRx/siva/64bit/dec26/dar-2.3.6/src/libdar/.libs/libdar.a(libdar.so= ..4)=0A=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /unix=0A=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /usr/lib/libcrypt.a(shr_64.o)=0A=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /usr/lib/libpthreads.a(shr_xpg5_= 64.o)=0A=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /usr/lib/libtli.a(= shr_64.o)=0A=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /usr/lib/libC.= a(shr2_64.o)=0A=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /usr/lib/li= bC.a(shr3_64.o)=0A=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /opt/fre= eware/64/lib/libbz2.a(libbz2.so.1)=0A=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 /opt/freeware/64/lib/libz.a(libz.so.1)=0A=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 /opt/freeware/64/lib/libcrypto.a(libcrypto.so.0= ..9.7)=0A=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /opt/freeware/64/l= ib/libc.a(pse_64.o)=0A=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /usr= /lib/libC.a(shrcore_64.o)=0A=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 /usr/lib/libC.a(ansicore_64.o)=0A=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 /opt/freeware/64/lib/libc.a(shr.o)=0A=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 /usr/lib/libc_r.a(shr_64.o)=0A=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /usr/lib/libcrypt.a(shr.o)=0A=0Alibdar libra= ry dependency links=0A=0Abash-3.2# ldd libdar.so.4=0Alibdar.so.4 needs:=0A= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /usr/lib/libc.a(shr_64.o)= =0A=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /opt/freeware/lib/gcc/p= owerpc-ibm-aix5.3.0.0/4.2.3/../../../libbz2.a(libbz2.so.1)=0A=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /opt/freeware/lib/gcc/powerpc-ibm-aix5= ..3.0.0/4.2.3/../../../libz.a(libz.so.1)=0A=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 /usr/lib/libpthread.a(shr_xpg5_64.o)=0A=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0= /4.2.3/../../../libcrypto.a(libcrypto.so.0.9.7)=0A=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 /unix=0A=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 /usr/lib/libcrypt.a(shr_64.o)=0A=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 /usr/lib/libc.a(shr.o)=0A=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 /usr/lib/libcrypt.a(shr.o)=0Abash-3.2#=0A=0Atruss dar command = output:=0A=0Akread(3, " . s v c _ i n s t r\0 s".., 4096)=C2=A0=C2=A0=C2=A0= =3D 4096=0Aklseek(3, 0, 1, 0x0FFFFFFFFFFFE5E0)=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0=0Aklseek(3, 13589018, 0= , 0x0FFFFFFFFFFFE5E0)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0=0Akread(3, "\0\0\= 0\0\0\0 71C\0\0 i =C2=AE".., 4096)=C2=A0=C2=A0=C2=A0 =3D 4096=0Aklseek(3, 0= , 1, 0x0FFFFFFFFFFFE600)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 =3D 0=0Aklseek(3, 0, 1, 0x0FFFFFFFFFFFE5E0)=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0=0Akls= eek(3, 14572696, 0, 0x0FFFFFFFFFFFE5E0)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0= =0Akread(3, " . s y s _ c a l l _ r e".., 4096)=C2=A0=C2=A0=C2=A0 =3D 4096= =0Aklseek(3, 0, 1, 0x0FFFFFFFFFFFE5E0)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0=0Aklseek(3, 13589270, 0, 0x0FFFF= FFFFFFFE5E0)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0=0Akread(3, "\0\0\0\0\0\0 8= 0\0\0 j !".., 4096)=C2=A0=C2=A0=C2=A0 =3D 4096=0Aklseek(3, 0, 1, 0x0FFFFFF= FFFFFE600)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 =3D 0=0Aklseek(3, 0, 1, 0x0FFFFFFFFFFFE5E0)=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0=0Aklseek(3, 14580= 915, 0, 0x0FFFFFFFFFFFE5E0)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0=0Akread(3, = " s c _ t r a c e _ e n d".., 4096)=C2=A0=C2=A0=C2=A0 =3D 4096=0Aklseek(3, = 0, 1, 0x0FFFFFFFFFFFE5E0)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 =3D 0=0Aklseek(3, 13589306, 0, 0x0FFFFFFFFFFFE5E0)= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0=0Akread(3, "\0\0\0\0\0\0 8 P\0\0 j 4".= .., 4096)=C2=A0=C2=A0=C2=A0 =3D 4096=0Aklseek(3, 0, 1, 0x0FFFFFFFFFFFE600)= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = =3D 0=0Aklseek(3, 0, 1, 0x0FFFFFFFFFFFE5E0)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0=0Aklseek(3, 14555222, 0, 0= x0FFFFFFFFFFFE5E0)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0=0Akread(3, " v r s a= v e _ p a t c h".., 4096)=C2=A0=C2=A0=C2=A0 =3D 4096=0Aklseek(3, 0, 1, 0x0= FFFFFFFFFFFE5E0)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 =3D 0=0Aklseek(3, 13589666, 0, 0x0FFFFFFFFFFFE5E0)=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 =3D 0=0Akread(3, "\0\0\0\0\0\0 =3D =C2=A0\0\0 j =C3= =99".., 4096)=C2=A0=C2=A0=C2=A0 =3D 4096=0Aklseek(3, 0, 1, 0x0FFFFFFFFFFFE6= 00)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =3D 0=0Aklseek(3, 0, 1, 0x0FFFFFFFFFFFE5E0)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0=0Aklseek(3, 14581099, 0, 0= x0FFFFFFFFFFFE5E0)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0=0Akread(3, " c s c _= r e t _ h _ p u".., 4096)=C2=A0=C2=A0=C2=A0 =3D 4096=0Aklseek(3, 0, 1, 0x0= FFFFFFFFFFFE5E0)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 =3D 0=0Aklseek(3, 13589702, 0, 0x0FFFFFFFFFFFE5E0)=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 =3D 0=0Akread(3, "\0\0\0\0\0\0 > (\0\0 j =C3=AE".., 4= 096)=C2=A0=C2=A0=C2=A0 =3D 4096=0Aclose(3)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0=0A=C2=A0=C2=A0=C2= =A0 Received signal #4, SIGILL [default]=0A*** process killed ***=0A=0A=C2= =A0Thanks,=0ASivakumar Selvam.=0A=0A=0A________________________________=0AF= rom: Sivakumar Selvam <[email protected]>=0ATo: "Area available for th= e evolution, usage, support, feature requests, concerning the libdar API (a= pplication Interface)" <[email protected]>=0ASent: Wedne= sday, 14 January, 2009 1:59:45 PM=0ASubject: Re: [Dar-libdar_api] linking 3= 2 bit libdar to a 64 bit application on AIX 64 bit platform=0A=0A=0AThanks = for your reply. This help me to understand the dependency issues across 32/= 64 bit libraries.=0AI want to know the other one which has to do with compi= ling libdar in 64 bit OS. I don't know whether =0AI can compile the libdar = source code with -maix64 during compile time and add -X64 during creation = =0Aof libraries. During libdar compilation, I used 64 bit lintl lib which i= s part of=C2=A0 gettext open source code. =0AI modified the makefiles of ge= ttext and libiconv to get into 64 bit mode. Did any one knows about 64 bit = =0Alibdar creation in AIX? Can I use -maix64 compilation flag? Please help = me.=0A=0A=0AThanks,=0A-Siva =0A=0A=0A=0A=0A=0A=0A__________________________= ______=0AFrom: Thomas Jacob <[email protected]>=0ATo: "Area available for= the evolution, usage, support, feature requests, concerning the libdar API= (application Interface)" <[email protected]>=0ASent: Mo= nday, 12 January, 2009 3:10:04 AM=0ASubject: Re: [Dar-libdar_api] linking 3= 2 bit libdar to a 64 bit application on AIX 64 bit platform=0A=0AOn Wed, 20= 09-01-07 at 01:01 +0530, Sivakumar Selvam wrote:=0A> Hi,=0A>=C2=A0 =C2=A0 I= s it possible to link the 32 bit libdar library with a 64 bit=0A> applicati= on on=C2=A0 64 bit AIX platform?=0A=0AI don't know about AIX, but in Linux = for instance, that's not possible,=0Aeasy to understand really, when you co= nsider that the size of some data=0Atypes changes, but the libraries callin= g each other don't know that.=0A=0ARemember that shared libraries usually d= o not contain any information=0Aabout function call parameters, just the st= art addresses of the=0Afunctions. So when one library pushes a 32 bit numbe= r onto the=0Astack and another tries to read a 64 bit number, there will be= trouble.=0A=0A=0A>=C2=A0 =C2=A0 Can I compile libdar source code using -ma= ix64 compiler option?=0A> Since libdar uses libintl,=0A>=C2=A0 =C2=A0 I nee= d to compile the gettext and libiconv source codes using=0A> -maix64. If so= me one has=0A>=C2=A0 =C2=A0 already tried this, I would like to know your s= uggestion.=0A>=C2=A0 =0A>=C2=A0 =0A> Thanks,=0A> -Siva.=0A> =0A> =0A> _____= _________________________________________________________________=0A> Unlim= ited freedom, unlimited storage. Get it now=0A> ---------------------------= ---------------------------------------------------=0A> Check out the new S= ourceForge.net Marketplace.=0A> It is the best place to buy or sell service= s for=0A> just about anything Open Source.=0A> http://p.sf.net/sfu/Xq1LFB= =0A> _______________________________________________ Dar-libdar_api mailing= list [email protected] https://lists.sourceforge.net/li= sts/listinfo/dar-libdar_api=0A=0A=0A---------------------------------------= ---------------------------------------=0ACheck out the new SourceForge.net= Marketplace.=0AIt is the best place to buy or sell services for=0Ajust abo= ut anything Open Source.=0Ahttp://p.sf.net/sfu/Xq1LFB=0A___________________= ____________________________=0ADar-libdar_api mailing list=0ADar-libdar_api= @lists.sourceforge.net=0Ahttps://lists.sourceforge.net/lists/listinfo/dar-l= ibdar_api=0A=0A________________________________=0AAdd more friends to your = messenger and enjoy! Invite them now.=0A________________________________=0A= Add more friends to your messenger and enjoy! Invite them now.=0A=0A=0A = Connect with friends all over the world. Get Yahoo! India Messenger at ht= tp://in.messenger.yahoo.com/?wm=3Dn/ --0-1699605379-1232905917=:45616 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><head><style type=3D"text/css"><!-- DIV {margin:0px;} --></style></he= ad><body><div style=3D"font-family:times new roman, new york, times, serif;= font-size:12pt"><DIV></DIV>=0A<DIV>I ran through gdb and got the following = output. </DIV>=0A<DIV> </DIV>=0A<DIV>(gdb) r<BR>Starting program: /usr= /sony/iTRx/siva/64bit/dec26/dar-2.3.6/src/dar_suite/.libs/dar</DIV>=0A<DIV>= Program received signal SIGILL, Illegal instruction.<BR>0x0000000000000000 = in ?? ()<BR>(gdb) bt<BR>#0 0x0000000000000000 in ?? ()<BR>#1 0x= 09000000011a638c in reg_frame () from /usr/sony/iTRx/siva/64bit/dec26/dar-2= ..3.6/src/libdar/.libs/libdar.a(libdar.so.4)<BR>#2 0x09000000011a6490 = in _GLOBAL__FI_libdar_so ()<BR> from /usr/sony/iTRx/siva/64bit/= dec26/dar-2.3.6/src/libdar/.libs/libdar.a(libdar.so.4)<BR>#3 0x09ffff= fff0001bd4 in mod_init1 () from /usr/ccs/bin/usla64<BR>#4 0x09fffffff= 000290c in usl_init_mods () from /usr/ccs/bin/usla64<BR>#5 0x09ffffff= f000280c in usl_exec_init_mods () from /usr/ccs/bin/usla64<BR>#6 0x00= 0000010000029c in __start ()<BR>Backtrace stopped: previous frame inner to = this frame (corrupt stack?)<BR>(gdb)<BR></DIV>=0A<DIV>I downloaded gettext-= 0.16 version and linked it with libdar.</DIV>=0A<DIV>./configure --pre= fix=3D/usr/local/siva/64bit/hpux/dar/lib/ </DIV>=0A<DIV>--with-libintl-pref= ix=3D/usr/local/siva/64bit/gettext/lib </DIV>=0A<DIV>--with-libiconv-prefix= =3D/usr/local/siva/64bit/conv/lib --enable-debug</DIV>=0A<DIV> </DIV>= =0A<DIV>bash-3.2# ldd libintl.so.8<BR>libintl.so.8 needs:<BR> &n= bsp; /usr/lib/libc.a(shr_64.o)<BR>  = ; /usr/lib/libpthread.a(shr_xpg5_64.o)<= BR> /usr/lib/libiconv.a(shr= 4_64.o)<BR> /unix<BR> = /usr/lib/libcrypt.a(shr_64.o)<BR= ></DIV>=0A<DIV>bash-3.2# ldd libiconv.so.2<BR>libiconv.so.2 needs:<BR> = ; /usr/lib/libc.a(shr_64.o)<BR>&n= bsp; /unix<BR> &= nbsp; /usr/lib/libcrypt.a(shr_64.o)<BR></DIV>=0A<DI= V> </DIV>=0A<DIV> </DIV>=0A<DIV>Thanks,<BR>Sivakumar Selvam.</DIV= >=0A<DIV>=0A<DIV><BR></DIV>=0A<DIV style=3D"FONT-SIZE: 12pt; FONT-FAMILY: t= imes new roman, new york, times, serif"><BR>=0A<DIV style=3D"FONT-SIZE: 12p= t; FONT-FAMILY: times new roman, new york, times, serif"><FONT face=3DTahom= a size=3D2>=0A<HR SIZE=3D1>=0A<B><SPAN style=3D"FONT-WEIGHT: bold">From:</S= PAN></B> Sivakumar Selvam <[email protected]><BR><B><SPAN style= =3D"FONT-WEIGHT: bold">To:</SPAN></B> "Area available for the evolution, us= age, support, feature requests, concerning the libdar API (application Inte= rface)" <[email protected]><BR><B><SPAN style=3D"F= ONT-WEIGHT: bold">Sent:</SPAN></B> Sunday, 25 January, 2009 11:01:25 PM<BR>= <B><SPAN style=3D"FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Dar-libdar_ap= i] compiling the 64 bit libdar in AIX 5.3 platform<BR></FONT><BR>=0A<DIV st= yle=3D"FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, seri= f">=0A<DIV></DIV>=0A<DIV>I am trying to compile the dar-2.3.6 source code i= n AIX 5.3 using "g++ -maix64"<BR>and could not able to run the 64 bit = dar command successfully. I had copied </DIV>=0A<DIV>the dar depe= ndency links below. Can you please help me to identify the proble= m?</DIV>=0A<DIV> </DIV>=0A<DIV>bash-3.2# ldd dar<BR>dar needs:<BR>&nbs= p; /opt/freeware/64/lib/libc.a(sh= r_64.o)<BR> /usr/lib/libpth= read.a(shr_xpg5_64.o)<BR> /= usr/lib/libnsl.a(shr_64.o)<BR> &nb= sp; /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.3/ppc64/libstdc++.a(li= bstdc++.so.6)<BR> /opt/free= ware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.3/ppc64/libgcc_s.a(shr.o)<BR> = /usr/sony/iTRx/siva/64bit/dec26/= dar-2.3.6/src/libdar/.libs/libdar.a(libdar.so.4)<BR>  = ; /unix<BR> &nbs= p; /usr/lib/libcrypt.a(shr_64.o)<BR> &nb= sp; /usr/lib/libpthreads.a(shr_xpg5_64.o)<BR> &nb= sp; /usr/lib/libtli.a(shr_64.o)<BR> &nbs= p; /usr/lib/libC.a(shr2_64.o)<BR> = /usr/lib/libC.a(shr3_64.o)<BR> &n= bsp; /opt/freeware/64/lib/libbz2.a(libbz2.so.1)<BR>= /opt/freeware/64/lib/libz.= a(libz.so.1)<BR> /opt/freew= are/64/lib/libcrypto.a(libcrypto.so.0.9.7)<BR>  = ; /opt/freeware/64/lib/libc.a(pse_64.o)<BR> &n= bsp; /usr/lib/libC.a(shrcore_64.o)<BR> &= nbsp; /usr/lib/libC.a(ansicore_64.o)<BR= > /opt/freeware/64/lib/libc= ..a(shr.o)<BR> /usr/lib/libc_r.a(shr_64.o)<BR> &= nbsp; /usr/lib/libcrypt.a(shr.o)</DIV>=0A<DIV> </DIV>=0A<DIV>libdar li= brary dependency links</DIV>=0A<DIV> </DIV>=0A<DIV>bash-3.2# ldd libda= r.so.4<BR>libdar.so.4 needs:<BR> &= nbsp; /usr/lib/libc.a(shr_64.o)<BR> &nbs= p; /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.3/../../../libbz2= ..a(libbz2.so.1)<BR> /opt/fr= eeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.3/../../../libz.a(libz.so.1)<BR>&= nbsp; /usr/lib/libpthread.a(shr_x= pg5_64.o)<BR> /opt/freeware= /lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.3/../../../libcrypto.a(libcrypto.so.0.9= ..7)<BR> /unix<BR> &nbs= p; /usr/lib/libcrypt.a(shr_64.o)<BR>&nb= sp; /usr/lib/libc.a(shr.o)<BR>&nb= sp; /usr/lib/libcrypt.a(shr.o)<BR= >bash-3.2#</DIV>=0A<DIV> </DIV>=0A<DIV>truss dar command output:</DIV>= =0A<DIV> </DIV>=0A<DIV>kread(3, " . s v c _ i n s t r\0 s".., 4096)&nb= sp; =3D 4096<BR>klseek(3, 0, 1, 0x0FFFFFFFFFFFE5E0) = =3D 0<BR>klsee= k(3, 13589018, 0, 0x0FFFFFFFFFFFE5E0) =3D 0<B= R>kread(3, "\0\0\0\0\0\0 71C\0\0 i =C2=AE".., 4096) =3D 4= 096<BR>klseek(3, 0, 1, 0x0FFFFFFFFFFFE600) &nb= sp; =3D 0<BR>klseek(3, 0, 1, 0x0FFFFFFF= FFFFE5E0) = =3D 0<BR>klseek(3, 14572696, 0, 0x0FFFFFFFFFFFE5E0)  = ; =3D 0<BR>kread(3, " . s y s _ c a l l _ r e".., 4096) &n= bsp; =3D 4096<BR>klseek(3, 0, 1, 0x0FFFFFFFFFFFE5E0)  = ; =3D 0<BR>klseek(3, = 13589270, 0, 0x0FFFFFFFFFFFE5E0) =3D 0<BR>kre= ad(3, "\0\0\0\0\0\0 8 0\0\0 j !".., 4096) =3D 4096<BR>klseek(3, 0, 1, 0x0FFFFFFFFFFFE600)&nb= sp; =3D 0= <BR>klseek(3, 0, 1, 0x0FFFFFFFFFFFE5E0) = =3D 0<BR>klseek(3, 14580915, 0, 0x0FFF= FFFFFFFFE5E0) =3D 0<BR>kread(3, " s c _ t r a= c e _ e n d".., 4096) =3D 4096<BR>klseek(3, 0, 1, 0x0FFF= FFFFFFFFE5E0) &n= bsp; =3D 0<BR>klseek(3, 13589306, 0, 0x0FFFFFFFFFFFE5E0) &= nbsp; =3D 0<BR>kread(3, "\0\0\0\0\0\0 8 P\0\0 j 4".., 4096)&nbs= p; =3D 4096<BR>klseek(3, 0, 1, 0x0FFFFFFFFFFFE600) &= nbsp; =3D 0<BR>klseek= (3, 0, 1, 0x0FFFFFFFFFFFE5E0) &nbs= p; =3D 0<BR>klseek(3, 14555222, 0, 0x0FFFFFFFFFFFE5E0) =3D 0<BR>kread(3, " v r = s a v e _ p a t c h".., 4096) =3D 4096<BR>klseek(3, 0, 1,= 0x0FFFFFFFFFFFE5E0) &= nbsp; =3D 0<BR>klseek(3, 13589666, 0, 0x0FFFFFFFFFFFE5E0) = =3D 0<BR>kread(3, "\0\0\0\0\0\0 =3D \0\0 j = =C3=99".., 4096) =3D 4096<BR>klseek(3, 0, 1, 0x0FFFFFFFFF= FFE600) &n= bsp; =3D 0<BR>klseek(3, 0, 1, 0x0FFFFFFFFFFFE5E0) &n= bsp; =3D 0<BR>klseek(3, 14581099,= 0, 0x0FFFFFFFFFFFE5E0) =3D 0<BR>kread(3, " c= s c _ r e t _ h _ p u".., 4096) =3D 4096<BR>klseek(3, 0,= 1, 0x0FFFFFFFFFFFE5E0) &nbs= p; =3D 0<BR>klseek(3, 13589702, 0, 0x0FFFFFFFFFFFE5E0) =3D 0<BR>kread(3, "\0\0\= 0\0\0\0 > (\0\0 j =C3=AE".., 4096) =3D 4096<BR>close(3= ) &n= bsp;  = ; &n= bsp; =3D 0<BR> Received signal #4, SIGILL [default]= <BR>*** process killed ***</DIV>=0A<DIV><BR> Thanks,<BR>Sivakumar Selv= am.<BR></DIV>=0A<DIV>=0A<DIV style=3D"FONT-SIZE: 12pt; FONT-FAMILY: times n= ew roman, new york, times, serif">=0A<DIV style=3D"FONT-SIZE: 12pt; FONT-FA= MILY: times new roman, new york, times, serif"><FONT face=3DTahoma size=3D2= >=0A<HR SIZE=3D1>=0A<B><SPAN style=3D"FONT-WEIGHT: bold">From:</SPAN></B> S= ivakumar Selvam <[email protected]><BR><B><SPAN style=3D"FONT-WE= IGHT: bold">To:</SPAN></B> "Area available for the evolution, usage, suppor= t, feature requests, concerning the libdar API (application Interface)" <= ;[email protected]><BR><B><SPAN style=3D"FONT-WEIGHT:= bold">Sent:</SPAN></B> Wednesday, 14 January, 2009 1:59:45 PM<BR><B><SPAN = style=3D"FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Dar-libdar_api] linkin= g 32 bit libdar to a 64 bit application on AIX 64 bit platform<BR></FONT><B= R>=0A<DIV style=3D"FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york,= times, serif">Thanks for your reply. This help me to understand the depend= ency issues across 32/64 bit libraries.<BR>I want to know the other one whi= ch has to do with compiling libdar in 64 bit OS. I don't know whether <BR>I= can compile the libdar source code with -maix64 during compile time and ad= d -X64 during creation <BR>of libraries. During libdar compilation, I used = 64 bit lintl lib which is part of gettext open source code. <BR>I mod= ified the makefiles of gettext and libiconv to get into 64 bit mode. Did an= y one knows about 64 bit <BR>libdar creation in AIX? Can I use -maix64 comp= ilation flag? Please help me.<BR><BR>=0A<DIV>Thanks,<BR>-Siva <BR></DIV>=0A= <DIV>=0A<DIV><BR></DIV>=0A<DIV style=3D"FONT-SIZE: 12pt; FONT-FAMILY: times= new roman, new york, times, serif"><BR>=0A<DIV style=3D"FONT-SIZE: 10pt; F= ONT-FAMILY: arial, helvetica, sans-serif"><FONT face=3DTahoma size=3D2>=0A<= HR SIZE=3D1>=0A<B><SPAN style=3D"FONT-WEIGHT: bold">From:</SPAN></B> Thomas= Jacob <[email protected]><BR><B><SPAN style=3D"FONT-WEIGHT: bold">= To:</SPAN></B> "Area available for the evolution, usage, support, feature r= equests, concerning the libdar API (application Interface)" <dar-libdar_= [email protected]><BR><B><SPAN style=3D"FONT-WEIGHT: bold">Sent:= </SPAN></B> Monday, 12 January, 2009 3:10:04 AM<BR><B><SPAN style=3D"FONT-W= EIGHT: bold">Subject:</SPAN></B> Re: [Dar-libdar_api] linking 32 bit libdar= to a 64 bit application on AIX 64 bit platform<BR></FONT><BR>On Wed, 2009-= 01-07 at 01:01 +0530, Sivakumar Selvam wrote:<BR>> Hi,<BR>> &nb= sp; Is it possible to link the 32 bit libdar library with a 64 bit<BR>> = application on 64 bit AIX platform?<BR><BR>I don't know about AIX, bu= t in Linux for instance, that's not possible,<BR>easy to understand really,= when you consider that the size of some data<BR>types changes, but the lib= raries calling each other don't know that.<BR><BR>Remember that shared libraries usually = do not contain any information<BR>about function call parameters, just the = start addresses of the<BR>functions. So when one library pushes a 32 bit nu= mber onto the<BR>stack and another tries to read a 64 bit number, there wil= l be trouble.<BR><BR><BR>> Can I compile libdar source code= using -maix64 compiler option?<BR>> Since libdar uses libintl,<BR>>&= nbsp; I need to compile the gettext and libiconv source codes using<= BR>> -maix64. If some one has<BR>> already tried this, I= would like to know your suggestion.<BR>> <BR>> <BR>> = Thanks,<BR>> -Siva.<BR>> <BR>> <BR>> __________________________= ____________________________________________<BR>> Unlimited freedom, unl= imited storage. Get it now<BR>> ----------------------------------------= --------------------------------------<BR>> Check out the new SourceForge.net Marketplace.<BR>> It is the best place to buy or sell s= ervices for<BR>> just about anything Open Source.<BR>> <A href=3D"htt= p://p.sf.net/sfu/Xq1LFB" target=3D_blank rel=3Dnofollow>http://p.sf.net/sfu= /Xq1LFB</A><BR>> _______________________________________________ Dar-lib= dar_api mailing list <A href=3D"mailto:[email protected]= " target=3D_blank rel=3Dnofollow ymailto=3D"mailto:[email protected]= rceforge.net">[email protected]</A> <A href=3D"https://l= ists.sourceforge.net/lists/listinfo/dar-libdar_api" target=3D_blank rel=3Dn= ofollow>https://lists.sourceforge.net/lists/listinfo/dar-libdar_api</A><BR>= <BR><BR>-------------------------------------------------------------------= -----------<BR>Check out the new SourceForge.net Marketplace.<BR>It is the = best place to buy or sell services for<BR>just about anything Open Source.<= BR><A href=3D"http://p.sf.net/sfu/Xq1LFB" target=3D_blank rel=3Dnofollow>http://p.sf.net/sfu/Xq1LFB</A><BR>_________________________= ______________________<BR>Dar-libdar_api mailing list<BR><A href=3D"mailto:= [email protected]" target=3D_blank rel=3Dnofollow ymailt= o=3D"mailto:[email protected]">[email protected]= ceforge.net</A><BR><A href=3D"https://lists.sourceforge.net/lists/listinfo/= dar-libdar_api" target=3D_blank rel=3Dnofollow>https://lists.sourceforge.ne= t/lists/listinfo/dar-libdar_api</A><BR></DIV></DIV></DIV></DIV><BR>=0A<HR S= IZE=3D1>=0AAdd more friends to your messenger and enjoy! <A href=3D"http://= in.rd.yahoo.com/tagline_messenger_6/*http://messenger.yahoo.com/invite/" ta= rget=3D_blank rel=3Dnofollow>Invite them now.</A></DIV></DIV></DIV></DIV><B= R>=0A<HR SIZE=3D1>=0AAdd more friends to your messenger and enjoy! <A href= =3D"http://in.rd.yahoo.com/tagline_messenger_6/*http://messenger.yahoo.com/= invite/" target=3D_blank rel=3Dnofollow>Invite them now.</A></DIV></DIV></D= IV></div><br>=0A <!--6--><hr size=3D1></hr> Add more friends to your m= essenger and enjoy! <a href=3D"http://in.rd.yahoo.com/tagline_messenger_6/*= http://messenger.yahoo.com/invite/"> Invite them now.</a></body></html> --0-1699605379-1232905917=:45616-- --===============3782589233724550174== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword --===============3782589233724550174== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Dar-libdar_api mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dar-libdar_api --===============3782589233724550174==--