Re: compiling the 64 bit libdar in AIX 5.3 platform

Sivakumar Selvam <[email protected]> Sun, 25 Jan 2009 23:01:25 +0530 (IST)
Newsgroups gmane.comp.sysutils.backup.dar.libdar
Message-ID <[email protected]>
--===============5594991121126970461==
Content-Type: multipart/alternative; boundary="0-1736728131-1232904685=:69966"

--0-1736728131-1232904685=:69966
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

I am trying to compile the dar-2.3.6 source code in AIX 5.3 using "g++=C2=
=A0-maix64"=0Aand could not able to run the 64 bit dar command successfully=
.. I=C2=A0had copied=C2=A0=0Athe dar dependency links below. Can=C2=A0you pl=
ease=C2=A0help me to identify the problem?=0A=0Abash-3.2# ldd dar=0Adar nee=
ds:=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/l=
ib/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/libst=
dc++.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/ppc64/libgcc_s.a(shr.o)=
=0A=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /usr/sony/iTRx/siva/64b=
it/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/libC.a(shr3_64.o)=0A=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /opt/freeware/64/lib/libbz=
2.a(libbz2.so.1)=0A=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /opt/fr=
eeware/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/lib/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(shrco=
re_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/fre=
eware/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 library 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/powerpc-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 /u=
sr/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/../../../li=
bcrypto.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/li=
bcrypt.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/l=
ib/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=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A0\0\0 j =C3=99".., 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, 14581099, 0, 0x0FFFFFFFFFFFE5E0)=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, 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, 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".., 4096)=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 signa=
l #4, SIGILL [default]=0A*** process killed ***=0A=0A=C2=A0Thanks,=0ASivaku=
mar Selvam.=0A=0A=0A________________________________=0AFrom: Sivakumar Selv=
am <[email protected]>=0ATo: "Area available for the evolution, usage,=
 support, feature requests, concerning the libdar API (application Interfac=
e)" <[email protected]>=0ASent: Wednesday, 14 January, 2=
009 1:59:45 PM=0ASubject: Re: [Dar-libdar_api] linking 32 bit libdar to a 6=
4 bit application on AIX 64 bit platform=0A=0A=0AThanks for your reply. Thi=
s help me to understand the dependency issues across 32/64 bit libraries.=
=0AI want to know the other one which has to do with compiling 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. D=
uring libdar compilation, I used 64 bit lintl lib which is part of=C2=A0 ge=
ttext open source code. =0AI modified the makefiles of gettext 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: Tho=
mas Jacob <[email protected]>=0ATo: "Area available for the evolution, us=
age, support, feature requests, concerning the libdar API (application Inte=
rface)" <[email protected]>=0ASent: Monday, 12 January, =
2009 3:10:04 AM=0ASubject: Re: [Dar-libdar_api] linking 32 bit libdar to a =
64 bit application on AIX 64 bit platform=0A=0AOn Wed, 2009-01-07 at 01:01 =
+0530, Sivakumar Selvam wrote:=0A> Hi,=0A>=C2=A0 =C2=A0 Is it possible to l=
ink the 32 bit libdar library with a 64 bit=0A> application 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 consider that the si=
ze of some data=0Atypes changes, but the libraries calling each other don't=
 know that.=0A=0ARemember that shared libraries usually do not contain any =
information=0Aabout function call parameters, just the start addresses of t=
he=0Afunctions. So when one library pushes a 32 bit number 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 -maix64 compiler opti=
on?=0A> Since libdar uses libintl,=0A>=C2=A0 =C2=A0 I need to compile the g=
ettext and libiconv source codes using=0A> -maix64. If some one has=0A>=C2=
=A0 =C2=A0 already tried this, I would like to know your suggestion.=0A>=C2=
=A0 =0A>=C2=A0 =0A> Thanks,=0A> -Siva.=0A> =0A> =0A> ______________________=
________________________________________________=0A> Unlimited freedom, unl=
imited storage. Get it now=0A> --------------------------------------------=
----------------------------------=0A> Check out the new SourceForge.net Ma=
rketplace.=0A> It is the best place to buy or sell services for=0A> just ab=
out anything Open Source.=0A> http://p.sf.net/sfu/Xq1LFB=0A> ______________=
_________________________________ Dar-libdar_api mailing list Dar-libdar_ap=
[email protected] https://lists.sourceforge.net/lists/listinfo/dar-li=
bdar_api=0A=0A=0A----------------------------------------------------------=
--------------------=0ACheck out the new SourceForge.net Marketplace.=0AIt =
is the best place to buy or sell services for=0Ajust about anything Open So=
urce.=0Ahttp://p.sf.net/sfu/Xq1LFB=0A______________________________________=
_________=0ADar-libdar_api mailing list=0ADar-libdar_api-5NWGOfrQmneRv+LV9MX5uuRhgaa4a2kL@public.gmane.org=
net=0Ahttps://lists.sourceforge.net/lists/listinfo/dar-libdar_api=0A=0A____=
____________________________=0AAdd more friends to your messenger and enjoy=
! Invite them now.=0A=0A=0A      Check out the all-new Messenger 9.0! Go to=
 http://in.messenger.yahoo.com/
--0-1736728131-1232904685=:69966
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 am trying to compile the dar-2.3.6 sou=
rce code in AIX 5.3 using "g++&nbsp;-maix64"<BR>and could not able to run t=
he 64 bit dar command successfully. I&nbsp;had copied&nbsp;</DIV>=0A<DIV>th=
e dar dependency links below. Can&nbsp;you please&nbsp;help me to identify =
the problem?</DIV>=0A<DIV>&nbsp;</DIV>=0A<DIV>bash-3.2# ldd dar<BR>dar need=
s:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /opt/freeware/64/lib=
/libc.a(shr_64.o)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/=
lib/libpthread.a(shr_xpg5_64.o)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp; /usr/lib/libnsl.a(shr_64.o)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp; /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.3/ppc64/libs=
tdc++.a(libstdc++.so.6)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.3/ppc64/libgcc_s.a(shr.o)=
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/sony/iTRx/siva/64=
bit/dec26/dar-2.3.6/src/libdar/.libs/libdar.a(libdar.so.4)<BR>&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /unix<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp; /usr/lib/libcrypt.a(shr_64.o)<BR>&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;
 /usr/lib/libpthreads.a(shr_xpg5_64.o)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; /usr/lib/libtli.a(shr_64.o)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp; /usr/lib/libC.a(shr2_64.o)<BR>&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp; /usr/lib/libC.a(shr3_64.o)<BR>&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp; /opt/freeware/64/lib/libbz2.a(libbz2.so.1)<BR>=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /opt/freeware/64/lib/libz.=
a(libz.so.1)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /opt/freew=
are/64/lib/libcrypto.a(libcrypto.so.0.9.7)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp; /opt/freeware/64/lib/libc.a(pse_64.o)<BR>&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/lib/libC.a(shrcore_64.o)<BR>&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/lib/libC.a(ansicore_64.o)<BR=
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /opt/freeware/64/lib/libc=
..a(shr.o)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 /usr/lib/libc_r.a(shr_64.o)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; /usr/lib/libcrypt.a(shr.o)</DIV>=0A<DIV>&nbsp;</DIV>=0A<DIV>libdar li=
brary dependency links</DIV>=0A<DIV>&nbsp;</DIV>=0A<DIV>bash-3.2# ldd libda=
r.so.4<BR>libdar.so.4 needs:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; /usr/lib/libc.a(shr_64.o)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp; /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.3/../../../libbz2=
..a(libbz2.so.1)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /opt/fr=
eeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.3/../../../libz.a(libz.so.1)<BR>&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/lib/libpthread.a(shr_x=
pg5_64.o)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /opt/freeware=
/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.3/../../../libcrypto.a(libcrypto.so.0.9=
..7)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /unix<BR>&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/lib/libcrypt.a(shr_64.o)<BR>&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/lib/libc.a(shr.o)<BR>&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/lib/libcrypt.a(shr.o)<BR=
>bash-3.2#</DIV>=0A<DIV>&nbsp;</DIV>=0A<DIV>truss dar command output:</DIV>=
=0A<DIV>&nbsp;</DIV>=0A<DIV>kread(3, " . s v c _ i n s t r\0 s".., 4096)&nb=
sp;&nbsp;&nbsp; =3D 4096<BR>klseek(3, 0, 1, 0x0FFFFFFFFFFFE5E0)&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D 0<BR>klsee=
k(3, 13589018, 0, 0x0FFFFFFFFFFFE5E0)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D 0<B=
R>kread(3, "\0\0\0\0\0\0 71C\0\0 i =C2=AE".., 4096)&nbsp;&nbsp;&nbsp; =3D 4=
096<BR>klseek(3, 0, 1, 0x0FFFFFFFFFFFE600)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;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klseek(3, 13589306, 0, 0x0FFFFFFFFFFFE5E0)&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp; =3D 0<BR>kread(3, "\0\0\0\0\0\0 8 P\0\0 j 4".., 4096)&nbs=
p;&nbsp;&nbsp; =3D 4096<BR>klseek(3, 0, 1, 0x0FFFFFFFFFFFE600)&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D 0<BR>klseek=
(3, 0, 1, 0x0FFFFFFFFFFFE5E0)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; =3D 0<BR>klseek(3, 14555222, 0,
 0x0FFFFFFFFFFFE5E0)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D 0<BR>kread(3, " v r =
s a v e _ p a t c h".., 4096)&nbsp;&nbsp;&nbsp; =3D 4096<BR>klseek(3, 0, 1,=
 0x0FFFFFFFFFFFE5E0)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp; =3D 0<BR>klseek(3, 13589666, 0, 0x0FFFFFFFFFFFE5E0)&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp; =3D 0<BR>kread(3, "\0\0\0\0\0\0 =3D &nbsp;\0\0 j =
=C3=99".., 4096)&nbsp;&nbsp;&nbsp; =3D 4096<BR>klseek(3, 0, 1, 0x0FFFFFFFFF=
FFE600)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp; =3D 0<BR>klseek(3, 0, 1, 0x0FFFFFFFFFFFE5E0)&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D 0<BR>klseek(3, 14581099,=
 0, 0x0FFFFFFFFFFFE5E0)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D 0<BR>kread(3, " c=
 s c _ r e t _ h _ p u".., 4096)&nbsp;&nbsp;&nbsp; =3D 4096<BR>klseek(3, 0,=
 1, 0x0FFFFFFFFFFFE5E0)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp; =3D 0<BR>klseek(3, 13589702, 0,
 0x0FFFFFFFFFFFE5E0)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D 0<BR>kread(3, "\0\0\=
0\0\0\0 &gt; (\0\0 j =C3=AE".., 4096)&nbsp;&nbsp;&nbsp; =3D 4096<BR>close(3=
)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp; =3D 0<BR>&nbsp;&nbsp;&nbsp; Received signal #4, SIGILL [default]=
<BR>*** process killed ***</DIV>=0A<DIV><BR>&nbsp;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 &lt;[email protected]&gt;<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)" &lt=
;[email protected]&gt;<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&nbsp; 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 &lt;[email protected]&gt;<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)" &lt;dar-libdar_=
[email protected]&gt;<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>&gt; Hi,<BR>&gt;&nbsp; &nb=
sp; Is it possible to link the 32 bit libdar library with a 64 bit<BR>&gt; =
application on&nbsp; 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>&gt;&nbsp; &nbsp; Can I compile libdar source code=
 using -maix64 compiler option?<BR>&gt; Since libdar uses libintl,<BR>&gt;&=
nbsp; &nbsp; I need to compile the gettext and libiconv source codes using<=
BR>&gt; -maix64. If some one has<BR>&gt;&nbsp; &nbsp; already tried this, I=
 would like to know your suggestion.<BR>&gt;&nbsp; <BR>&gt;&nbsp; <BR>&gt; =
Thanks,<BR>&gt; -Siva.<BR>&gt; <BR>&gt; <BR>&gt; __________________________=
____________________________________________<BR>&gt; Unlimited freedom, unl=
imited storage. Get it now<BR>&gt; ----------------------------------------=
--------------------------------------<BR>&gt; Check out the new
 SourceForge.net Marketplace.<BR>&gt; It is the best place to buy or sell s=
ervices for<BR>&gt; just about anything Open Source.<BR>&gt; <A href=3D"htt=
p://p.sf.net/sfu/Xq1LFB" target=3D_blank rel=3Dnofollow>http://p.sf.net/sfu=
/Xq1LFB</A><BR>&gt; _______________________________________________ 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      <!--6--><hr size=3D1></hr> Add more friends to your messenger an=
d enjoy! <a href=3D"http://in.rd.yahoo.com/tagline_messenger_6/*http://mess=
enger.yahoo.com/invite/"> Invite them now.</a></body></html>
--0-1736728131-1232904685=:69966--



--===============5594991121126970461==
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
--===============5594991121126970461==
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

--===============5594991121126970461==--