blob: 388d95f849aac0742937deb6a35655776848ba6e [file] [log] [blame]
floriandec4a562011-11-26 04:12:01 +00001
sewardjb5b87402011-03-07 16:05:35 +00002Requirements
3------------
4- You need GCC 3.4 or later to compile the s390 port.
5- A working combination of autotools is required.
florian6fc11f22013-09-30 16:41:56 +00006- To run valgrind a z10 machine or any later model is needed.
7 Older machine models down to and including z900 may work but have
8 not been tested extensively.
sewardjb5b87402011-03-07 16:05:35 +00009
10
11Limitations
12-----------
13- 31-bit client programs are not supported.
14- Hexadecimal floating point is not supported.
florianbe853a82013-10-01 07:01:08 +000015- memcheck, cachegrind, drd, helgrind, massif, lackey, and none are
florian6fc11f22013-09-30 16:41:56 +000016 supported.
17- On machine models predating z10, cachegrind will assume a z10 cache
18 architecture. Otherwise, cachegrind will query the hosts cache system
19 and use those parameters.
florianfb11d972012-11-02 22:00:59 +000020- callgrind and all experimental tools are currently not supported.
sewardjb5b87402011-03-07 16:05:35 +000021- Some gcc versions use mvc to copy 4/8 byte values. This will affect some
22 debug messages. Valgrind will complain about 4 or 8 one-byte reads/writes
23 instead of just 1 read/write.
sewardjb5b87402011-03-07 16:05:35 +000024
25
florian8f36de02012-08-23 00:44:22 +000026Hardware facilities
27-------------------
28Valgrind does not require that the host machine has the same hardware
29facilities as the machine for which the client program was compiled.
30This is convenient. The JIT compiler will translate the client instructions
31according to the facilities available on the host.
32This means, though, that probing for hardware facilities by issuing
33instructions from that facility and observing whether SIGILL is thrown
34may not work. As a consequence, programs that attempt to do so may
35behave differently. It is believed that this is a rare use case.
36
37
sewardjb5b87402011-03-07 16:05:35 +000038Recommendations
39---------------
40Applications should be compiled with -fno-builtin to avoid
41false positives due to builtin string operations when running memcheck.
42
43
44Reading Material
45----------------
46(1) Linux for zSeries ELF ABI Supplement
47 http://refspecs.linuxfoundation.org/ELF/zSeries/index.html
48(2) z/Architecture Principles of Operation
florian46ac11b2012-09-19 16:43:30 +000049 http://publibfi.boulder.ibm.com/epubs/pdf/dz9zr009.pdf
sewardjb5b87402011-03-07 16:05:35 +000050(3) z/Architecture Reference Summary
florian46ac11b2012-09-19 16:43:30 +000051 http://publibfi.boulder.ibm.com/epubs/pdf/dz9zs007.pdf