summaryrefslogtreecommitdiff
path: root/configure.in
AgeCommit message (Collapse)AuthorFilesLines
2011-09-07mmt: importMarcin Slusarz1-0/+2
2011-08-08I am an idiot: remove the beginnings of an experimental tool that Injn1-2/+0
accidentally committed. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11957 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-08-08Fix a Massif bug: when realloc'ing a block, any values in the part of thenjn1-0/+2
block beyond the original request weren't copied. They are now. This is important because a program could use malloc_usable_size to gain legitimate access to those extra bytes. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11956 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-07-12Build system fixes so as to temporarily disable the GDBserver onsewardj1-1/+7
Android. Making that work will require a bit of extra effort due to minor glibc-vs-bionic differences. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11885 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-07-11The pthread.h on Android has no definition for pthread_rwlock_t, whichsewardj1-0/+20
makes the associated intercepts in Helgrind and DRD un-compilable. Add a configure test for it, and use them to guard the aforementioned intercepts. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11875 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-07-11Introduce the concept of platform variants. These allow furthersewardj1-0/+76
qualification of the normal (arch, os) pairings used to factorise the code base via the VGP_ defines. With this change, a new define VGPV_<arch>_<os>_<variant> is also passed to each compile. The initial motivation is to allow clean factorisation of Android-specific code, which is a minor variant of arm-linux, without having to introduce a complete new platform. In all other cases the supplied tag is simply "vanilla". Also add configure.in stuff to recognise Android at configure time. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11872 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-06-28Delete the AIX5 port. The last release this worked for is 3.4.1,sewardj1-134/+8
and then only on AIX 5.2 and 5.3. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11842 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-06-07Add glibc 2.14 support. Patch from Dmitry Djachenko <dimhen@gmail.com>.tom1-1/+8
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11800 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-06-05Mention the "3.x" Linux kernel version explicitly in the kernel version ↵bart1-2/+2
configure message git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11797 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-06-05Make Valgrind build on Linux kernel 3.0 and beyond. Closes #274926. An officialbart1-1/+1
statement that the Linux kernel 3.0 API and ABI is compatible with Linux kernel 2.6 can be found here: http://lkml.org/lkml/2011/5/29/204. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11796 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-05-15Added configure tests for the compiler flags -Wno-nonnull and -Wno-overflow.bart1-0/+46
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11757 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-05-11Rename 'exp-ptrcheck' to 'exp-sgcheck' and hope this does not causesewardj1-4/+4
too much build carnage. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11745 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-05-06Implement a GDB server in Valgrind. See #214909.sewardj1-0/+1
(Philippe Waroquiers, philippe.waroquiers@skynet.be) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11727 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-04-15Un-break configure check for VSX (a POWER7 extension). Fixes #271042.sewardj1-1/+1
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11699 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-04-15Add support for IBM Power ISA 2.06 -- stage 1. Valgrind-side changessewardj1-0/+32
and test cases. Bug #267630 and followup fix #270794. (Maynard Johnson, maynardj@us.ibm.com) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11697 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-04-13s390x: rewrite some testcases. To make my testing and debugging lifesewardj1-44/+0
simpler, I've rewritten those testcases from none/tests/s390x that require binutils to recognize opcodes defined in the extended-immediate and general-instruction-extension facilities. As a side effect this change removes the special casing in none/tests/s390x/Makefile.am and the configury bits to support it. Fixes #270115. (Florian Krohm, britzel@acm.org) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11693 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-04-05Testcases for s390x conditional load and store. See #269209.sewardj1-0/+16
(Christian Borntraeger, borntraeger@de.ibm.com) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11685 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-04-03Also consider libpthread when testing for functions. Removed test for floor().bart1-1/+1
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11681 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-24Test separately whether g++ and/or gcc support built-in functions for atomicbart1-1/+28
memory access. Apparently for some distributions gcc 4.2 has that support but g++ 4.2 doesn't. This patch has been supplied by Florian Krohm. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11665 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-17Removed an obsolete configure test.bart1-1/+0
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11653 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-12Added AC_LANG_SOURCE() invocations where appropriate.bart1-6/+4
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11628 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-07Add a port to IBM z/Architecture (s390x) running Linux -- Valgrindsewardj1-2/+57
side components. (Florian Krohm <britzel@acm.org> and Christian Borntraeger <borntraeger@de.ibm.com>). Fixes #243404. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11604 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-02-10Add glibc 2.13 support. Patch from Dmitry Djachenko in bug #265964.tom1-1/+8
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11534 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-01-17Add build system goop for testing SSE4.2 instructions.sewardj1-4/+29
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11499 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-11-12Rework the strcasecmp stuff a little, based on Jakub Jelinek's patchtom1-1/+0
on bug #256600 because the original version turned out to somewhat fragile across different glibc versions. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11479 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-11-12Add replacements for strcasecmp and related functions which havetom1-0/+1
hyper-optimised versions which defeat valgrind in recent versions of glibc. Fixes #256600 based on patch from Dmitry Djachenko. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11478 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-10-18Removed the Qt4 configure tests because these are no longer necessary.bart1-114/+1
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11454 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-10-15Bump version number on the trunk.sewardj1-1/+1
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11447 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-10-13Documentation update for 3.6.0 (not including NEWS).sewardj1-1/+3
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11440 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-10-12Add DHAT as an experimental tool. DHAT (a Dynamic Heap Analysis Tool)sewardj1-0/+2
is a heap profiler that is complementary to Massif. DHAT tracks heap allocations, and connects which memory accesses are to which blocks. It can find the following information: * total allocation and max liveness * average block lifetime (# instructions between allocation and freeing) * average number of reads and writes to each byte in the block ("access ratios") * average of longest interval of non-access to a block, also measured in instructions * which fields of blocks are used a lot, and which aren't (hot-field profiling) Using these stats it is possible to identify allocation points with the following characteristics: * potential process-lifetime leaks (blocks allocated by the point just accumulate, and are freed only at the end of the run) * excessive turnover: points which chew through a lot of heap, even if it is not held onto for very long * excessively transient: points which allocate very short lived blocks * useless or underused allocations: blocks which are allocated but not completely filled in, or are filled in but not subsequently read. * blocks which see extended periods of inactivity. Could these perhaps be allocated later or freed sooner? * blocks with inefficient layout (hot fields spread out over multiple cache lines), or with alignment holes git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11431 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-10-08Removed the configure test for __builtin_frame_address() again because it is ↵bart1-23/+0
no longer necessary. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11417 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-10-06amd64-linux: add suitable CFI annotations so that unwinding throughsewardj1-0/+23
the CALL_FN_*_* macros works more reliably. This is all very fiddly and is described in a large comment in valgrind.h. Fixes #243270. (Evgeniy Stepanov, eugeni.stepanov@gmail.com) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11402 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-09-28Test cases for amd64 PCLMULDQ (Emmanuel Thome, Emmanuel.Thome@gmail.com).sewardj1-0/+22
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11389 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-09-14Added configure test that checks whether the assembler supports the SSE4a ↵bart1-0/+18
instruction lzcnt. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11357 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-09-03Add tests for new PowerISA_2.05 instructions available on Power6 CPUs.sewardj1-0/+3
(Maynard Johnson, maynardj@us.ibm.com and Pete Eberlein, eberlein@us.ibm.com) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11338 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-09-03Followup to r11333: rename HAVE_ALTIVEC back to HAS_ALTIVEC, since thesewardj1-1/+1
symbol is used in more places than those addressed by r11333. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11335 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-09-03Un-break feature detection for Altivec, so that the Altivec testssewardj1-2/+2
get built properly. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11333 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-08-15Made sure that the CFLAGS variable specified on the configure command linebart1-1/+1
is not ignored. Fixes #247980. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11260 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-07-29Comment-only change.sewardj1-1/+1
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11233 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-07-05Convert x86-darwin to amd64-darwin at configure time, because Macs report asnjn1-13/+8
32-bit even though almost all of them support 64-bit as well. A hack, but one that will make just about everyone's lives easier. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11208 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-07-01Merged the MACOSX106 branch to the trunk. Merge command:njn1-23/+81
svn merge -r11143:HEAD svn://svn.valgrind.org/valgrind/branches/MACOSX106 There were some easy-to-resolve conflicts. Then I had to fix up coregrind/link_tool_exe*.in -- those files had been added independently on both the trunk and the branch, AFAICT. I just overwrote the trunk versions with the branch versions. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11194 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-06-30Added cg_diff.njn1-0/+1
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11193 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-06-13Remove link_tool_exe.c and replace it with perl scripts that do thesewardj1-7/+11
same thing. A .c file doesn't work for cross compilation. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11174 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-06-10Follow-up for r11164: made sure that the --build-id=none configure test ↵bart1-3/+2
works (was reported by Dave Goodell). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11169 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-06-08Added a configure test for the linker flag --build-id=none.bart1-0/+20
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11164 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-05-29Can be processed again with autoconf 2.59 and before, which does not have ↵bart1-2/+8
AC_PROG_SED. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11137 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-05-15Changes:bart1-109/+11
- Made glibc version detection test shorter and faster. - Made unsupported glibc version error message more detailed. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11132 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-05-13Added support for glibc 2.12.bart1-1/+18
Note: many Helgrind and DRD regression tests still fail on Fedora 13 because of differences in the call stacks of error reports compared to earlier glibc/gcc combinations. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11129 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-04-29Refactoring: replaced two AC_TRY_COMPILE() occurrences by AC_CHECK_MEMBER().bart1-30/+14
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11119 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-04-29Removed sem_init() test again.bart1-1/+0
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11116 a5019735-40e9-0310-863c-91ae7b9d1cf9