|
From: <sv...@va...> - 2011-11-26 04:20:16
|
Author: florian Date: 2011-11-26 04:15:02 +0000 (Sat, 26 Nov 2011) New Revision: 448 Log: Regenerated from r12277 in valgrind trunk. Added: trunk/docs/manual/dist.readme-android.html trunk/docs/manual/dist.readme-s390.html Modified: trunk/docs/manual/dist.html trunk/docs/manual/dist.readme.html Modified: trunk/docs/manual/dist.html =================================================================== --- trunk/docs/manual/dist.html 2011-11-26 03:10:33 UTC (rev 447) +++ trunk/docs/manual/dist.html 2011-11-26 04:15:02 UTC (rev 448) @@ -39,6 +39,8 @@ <dt><span class="chapter"><a href="dist.readme-missing.html">4. README_MISSING_SYSCALL_OR_IOCTL</a></span></dt> <dt><span class="chapter"><a href="dist.readme-developers.html">5. README_DEVELOPERS</a></span></dt> <dt><span class="chapter"><a href="dist.readme-packagers.html">6. README_PACKAGERS</a></span></dt> +<dt><span class="chapter"><a href="dist.readme-s390.html">7. README.S390</a></span></dt> +<dt><span class="chapter"><a href="dist.readme-android.html">8. README.android</a></span></dt> </dl> </div> </div> Added: trunk/docs/manual/dist.readme-android.html =================================================================== --- trunk/docs/manual/dist.readme-android.html (rev 0) +++ trunk/docs/manual/dist.readme-android.html 2011-11-26 04:15:02 UTC (rev 448) @@ -0,0 +1,150 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>8.README.android</title> +<link rel="stylesheet" href="vg_basic.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> +<link rel="home" href="index.html" title="Valgrind Documentation"> +<link rel="up" href="dist.html" title="Valgrind Distribution Documents"> +<link rel="prev" href="dist.readme-s390.html" title="7.README.S390"> +<link rel="next" href="licenses.html" title="GNU Licenses"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<div><table class="nav" width="100%" cellspacing="3" cellpadding="3" border="0" summary="Navigation header"><tr> +<td width="22px" align="center" valign="middle"><a accesskey="p" href="dist.readme-s390.html"><img src="images/prev.png" width="18" height="21" border="0" alt="Prev"></a></td> +<td width="25px" align="center" valign="middle"><a accesskey="u" href="dist.html"><img src="images/up.png" width="21" height="18" border="0" alt="Up"></a></td> +<td width="31px" align="center" valign="middle"><a accesskey="h" href="index.html"><img src="images/home.png" width="27" height="20" border="0" alt="Up"></a></td> +<th align="center" valign="middle">Valgrind Distribution Documents</th> +<td width="22px" align="center" valign="middle"><a accesskey="n" href="licenses.html"><img src="images/next.png" width="18" height="21" border="0" alt="Next"></a></td> +</tr></table></div> +<div class="chapter" title="8.README.android"> +<div class="titlepage"><div><div><h2 class="title"> +<a name="dist.readme-android"></a>8.README.android</h2></div></div></div> +<div class="literallayout"><p><br> +<br> +Howtocross-compileforAndroid.Thesenoteswerelastupdatedon<br> +27Sept2011,forValgrindSVNrevision12060/2209.<br> +<br> +ThisisknowntoworkatleastforAndroid2.3.4runningona(rooted,<br> +AOSPbuild)NexusS.Ithasalsoworkedinthepastona<br> +un-messed-withMotorolaXoom,althoughIhaven'ttesteditrecently.<br> +Otherconfigurationsandtoolchainsmightwork,buthaven'tbeen<br> +tested.Feedbackiswelcome.<br> +<br> +Youneedtheandroid-ndk-r6nativedevelopmentkit.Installit<br> +somewhere.Doesn'tmatterwhere.Thendothis:<br> +<br> +<br> +#Modifythis(obviously).Note,this"export"commandisonlydone<br> +#soastoreducetheamountoftypingrequired.Noneofthecommands<br> +#belowreaditaspartoftheiroperation.<br> +#<br> +exportNDKROOT=/path/to/android-ndk-r6<br> +<br> +<br> +#Modifythistoo.TellthebuildsystemwhichAndroidhardwareyou<br> +#arebuildingfor.Itneedstoknowthissoitcancompilein<br> +#supportfortherightAndroid-hw-specificioctls.(sigh.)Aswith<br> +#NDKROOTabove,thisismerelytoavoidrepeatedtyping;noneofthe<br> +#commandsreadit.<br> +#<br> +#Currentlythesupportedvaluesare:nexus_spandaboard<br> +#Sochooseoneofthebelow:<br> +#<br> +exportHWKIND=nexus_s#SamsungNexusS<br> +exportHWKIND=pandaboard#PandaboardrunningLinaroAndroid<br> +<br> +#ThencdtotherootofyourValgrindsourcetree.<br> +#<br> +cd/path/to/valgrind/source/tree<br> +<br> +<br> +#Afterthispoint,youdon'tneedtomodifyanything;justcopyand<br> +#pastethecommandsbelow.<br> +<br> +<br> +#Setuptoolchainpaths.<br> +#<br> +exportAR=$NDKROOT/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-ar<br> +exportLD=$NDKROOT/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-ld<br> +exportCC=$NDKROOT/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc<br> +<br> +<br> +#Doconfigurationstuff.Don'tmesswiththe--prefixinthe<br> +#configurecommandbelow,evenifyouthinkit'swrong.<br> +#Youmayneedtosetthe--with-tmpdirpathtosomething<br> +#differentif/sdcarddoesn'tworkonthedevice--thisis<br> +#aknowncauseofdifficulties.<br> +<br> +./autogen.sh<br> +<br> +CPPFLAGS="--sysroot=$NDKROOT/platforms/android-3/arch-arm-DANDROID_HARDWARE_$HWKIND"\<br> +CFLAGS="--sysroot=$NDKROOT/platforms/android-3/arch-arm"\<br> +./configure--prefix=/data/local/Inst\<br> +--host=armv7-unknown-linux--target=armv7-unknown-linux\<br> +--with-tmpdir=/sdcard<br> +<br> +<br> +#Attheendoftheconfigurerun,afewlinesofdetails<br> +#areprinted.Makesurethatyouseethesetwolines:<br> +#<br> +#Platformvariant:android<br> +#Primary-DVGPVstring:-DVGPV_arm_linux_android=1<br> +#<br> +#Ifyouseeanythingelseatthispoint,somethingiswrong,and<br> +#eitherthebuildwillfail,orwillsucceedbutyou'llgetsomething<br> +#whichwon'twork.<br> +<br> +<br> +#Build,andparktheinstalltreein`pwd`/Inst<br> +#<br> +make-j2<br> +make-j2installDESTDIR=`pwd`/Inst<br> +<br> +<br> +#Togettheinstalltreeontothedevice:<br> +#(Idon'tknowwhyit'snot"adbpushInst/data/local",butthis<br> +#formulationdoesappeartoputtheresultin/data/local/Inst.)<br> +#<br> +adbpushInst/<br> +<br> +#Torun(onthedevice)<br> +/data/local/Inst/bin/valgrind[theusualargsetc]<br> +<br> +<br> +#Onceyou'reupandrunning,ahandymodify-V-rebuild-reinstall<br> +#commandline(onthehost,ofcourse)is<br> +#<br> +mq-j2&&mq-j2installDESTDIR=`pwd`/Inst&&adbpushInst/<br> +#<br> +#where'mq'isanaliasfor'make--quiet'.<br> +<br> +<br> +#Onecommoncauseofrunsfailingatstartupistheinabilityof<br> +#Valgrindtofindasuitabletemporarydirectory.Onthedevice,<br> +#theredoesn'tseemtobeanyonelocationwhichwealwayshave<br> +#permissiontowriteto.Theinstructionsaboveuse/sdcard.If<br> +#thatdoesn'tworkforyou,andyou'reValgrindingonespecific<br> +#applicationwhichisalreadyinstalled,youcouldtryusingits<br> +#temporarydirectory,in/data/data,forexample<br> +#/data/data/org.mozilla.firefox_beta.<br> +#<br> +#Using/system/bin/logcatonthedeviceishelpfulfordiagnosing<br> +#thesekindsofproblems.<br> +<br> +</p></div> +</div> +<div> +<br><table class="nav" width="100%" cellspacing="3" cellpadding="2" border="0" summary="Navigation footer"> +<tr> +<td rowspan="2" width="40%" align="left"> +<a accesskey="p" href="dist.readme-s390.html"><<7.README.S390</a></td> +<td width="20%" align="center"><a accesskey="u" href="dist.html">Up</a></td> +<td rowspan="2" width="40%" align="right"><a accesskey="n" href="licenses.html">GNU Licenses>></a> +</td> +</tr> +<tr><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td></tr> +</table> +</div> +</body> +</html> Added: trunk/docs/manual/dist.readme-s390.html =================================================================== --- trunk/docs/manual/dist.readme-s390.html (rev 0) +++ trunk/docs/manual/dist.readme-s390.html 2011-11-26 04:15:02 UTC (rev 448) @@ -0,0 +1,76 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>7.README.S390</title> +<link rel="stylesheet" href="vg_basic.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> +<link rel="home" href="index.html" title="Valgrind Documentation"> +<link rel="up" href="dist.html" title="Valgrind Distribution Documents"> +<link rel="prev" href="dist.readme-packagers.html" title="6.README_PACKAGERS"> +<link rel="next" href="dist.readme-android.html" title="8.README.android"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<div><table class="nav" width="100%" cellspacing="3" cellpadding="3" border="0" summary="Navigation header"><tr> +<td width="22px" align="center" valign="middle"><a accesskey="p" href="dist.readme-packagers.html"><img src="images/prev.png" width="18" height="21" border="0" alt="Prev"></a></td> +<td width="25px" align="center" valign="middle"><a accesskey="u" href="dist.html"><img src="images/up.png" width="21" height="18" border="0" alt="Up"></a></td> +<td width="31px" align="center" valign="middle"><a accesskey="h" href="index.html"><img src="images/home.png" width="27" height="20" border="0" alt="Up"></a></td> +<th align="center" valign="middle">Valgrind Distribution Documents</th> +<td width="22px" align="center" valign="middle"><a accesskey="n" href="dist.readme-android.html"><img src="images/next.png" width="18" height="21" border="0" alt="Next"></a></td> +</tr></table></div> +<div class="chapter" title="7.README.S390"> +<div class="titlepage"><div><div><h2 class="title"> +<a name="dist.readme-s390"></a>7.README.S390</h2></div></div></div> +<div class="literallayout"><p><br> +<br> +Requirements<br> +------------<br> +-YouneedGCC3.4orlatertocompilethes390port.<br> +-Aworkingcombinationofautotoolsisrequired.<br> +-Torunvalgrindaz900machineoranylatermodelisneeded.<br> +<br> +<br> +Limitations<br> +-----------<br> +-31-bitclientprogramsarenotsupported.<br> +-Hexadecimalfloatingpointisnotsupported.<br> +-Decimalfloatingpointisnotsupportedyet.<br> +-Currently,onlymemcheck,massif,lackey,andnonearesupported<br> +-helgrindanddrdseemtoworkonSLES10,11andRHEL5,6onz9,z10andz196<br> +butmightfailonotherhardware/softwarecombinations.<br> +-Somegccversionsusemvctocopy4/8bytevalues.Thiswillaffectsome<br> +debugmessages.Valgrindwillcomplainabout4or8one-bytereads/writes<br> +insteadofjust1read/write.<br> +-exp-ptrcheckandcallgrindarenotsupported.<br> +<br> +<br> +Recommendations<br> +---------------<br> +Applicationsshouldbecompiledwith-fno-builtintoavoid<br> +falsepositivesduetobuiltinstringoperationswhenrunningmemcheck.<br> +<br> +<br> +ReadingMaterial<br> +----------------<br> +(1)LinuxforzSeriesELFABISupplement<br> +http://refspecs.linuxfoundation.org/ELF/zSeries/index.html<br> +(2)z/ArchitecturePrinciplesofOperation<br> +http://publibfi.boulder.ibm.com/epubs/pdf/dz9zr008.pdf<br> +(3)z/ArchitectureReferenceSummary<br> +http://publibfi.boulder.ibm.com/epubs/pdf/dz9zs006.pdf<br> +<br> +</p></div> +</div> +<div> +<br><table class="nav" width="100%" cellspacing="3" cellpadding="2" border="0" summary="Navigation footer"> +<tr> +<td rowspan="2" width="40%" align="left"> +<a accesskey="p" href="dist.readme-packagers.html"><<6.README_PACKAGERS</a></td> +<td width="20%" align="center"><a accesskey="u" href="dist.html">Up</a></td> +<td rowspan="2" width="40%" align="right"><a accesskey="n" href="dist.readme-android.html">8.README.android>></a> +</td> +</tr> +<tr><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td></tr> +</table> +</div> +</body> +</html> Modified: trunk/docs/manual/dist.readme.html =================================================================== --- trunk/docs/manual/dist.readme.html 2011-11-26 03:10:33 UTC (rev 447) +++ trunk/docs/manual/dist.readme.html 2011-11-26 04:15:02 UTC (rev 448) @@ -62,6 +62,7 @@ -ARM/Linux<br> -x86/MacOSX<br> -AMD64/MacOSX<br> +-S390X/Linux<br> <br> NotethatAMD64isjustanothernameforx86-64,andValgrindrunsfine<br> onIntelprocessors.AlsonotethatthecoreofMacOSXiscalled<br> |