blob: 3c3e29f964106b7a1c0907f0f08daca283756ccb [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.
6- To run valgrind a z900 machine or any later model is needed.
sewardjb5b87402011-03-07 16:05:35 +00007
8
9Limitations
10-----------
11- 31-bit client programs are not supported.
12- Hexadecimal floating point is not supported.
13- Decimal floating point is not supported yet.
14- Currently, only memcheck, massif, lackey, and none are supported
15- helgrind and drd seem to work on SLES10,11 and RHEL5,6 on z9,z10 and z196
16 but might fail on other hardware/software combinations.
florian24b0b732012-06-29 14:23:22 +000017- exp-sgcheck, cachegrind, and callgrind are currently not supported.
sewardjb5b87402011-03-07 16:05:35 +000018- Some gcc versions use mvc to copy 4/8 byte values. This will affect some
19 debug messages. Valgrind will complain about 4 or 8 one-byte reads/writes
20 instead of just 1 read/write.
sewardjb5b87402011-03-07 16:05:35 +000021
22
florian8f36de02012-08-23 00:44:22 +000023Hardware facilities
24-------------------
25Valgrind does not require that the host machine has the same hardware
26facilities as the machine for which the client program was compiled.
27This is convenient. The JIT compiler will translate the client instructions
28according to the facilities available on the host.
29This means, though, that probing for hardware facilities by issuing
30instructions from that facility and observing whether SIGILL is thrown
31may not work. As a consequence, programs that attempt to do so may
32behave differently. It is believed that this is a rare use case.
33
34
sewardjb5b87402011-03-07 16:05:35 +000035Recommendations
36---------------
37Applications should be compiled with -fno-builtin to avoid
38false positives due to builtin string operations when running memcheck.
39
40
41Reading Material
42----------------
43(1) Linux for zSeries ELF ABI Supplement
44 http://refspecs.linuxfoundation.org/ELF/zSeries/index.html
45(2) z/Architecture Principles of Operation
46 http://publibfi.boulder.ibm.com/epubs/pdf/dz9zr008.pdf
47(3) z/Architecture Reference Summary
48 http://publibfi.boulder.ibm.com/epubs/pdf/dz9zs006.pdf