Don't force building target GMP and MPFR when a native gdb is built. Rather,
add a config knob to configure the native gdb to use or not to use GMP and
MPFR; _this_config_knob_ will force building the target GMP and MPFR only if
turned on.
/trunk/scripts/build/debug/300-gdb.sh | 2 1 1 0 +-
/trunk/config/debug/gdb.in | 21 19 2 0 +++++++++++++++++++--
2 files changed, 20 insertions(+), 3 deletions(-)
1 Glibc does not build: asm/page.h not found
3 As of linux-2.6.25, asm/page.h is no longer exported.
4 This means the glibc up to and including 2.6 will not build against headers
5 exported from linux-2.6.25 and up. Starting with glibc-2.6.1, patches are
6 available that solves the issue. Switch to at least 2.6.1 if you can, or try
7 to backport the fix (should be quite easy).
10 dmalloc does not build
12 This broken build has been observed for big endian ARM with glibc and NPTL,
13 and with i686 with glibc and NPTL.
15 This has not been fully investigated yet. There is a name clash with strdup,
16 where it is a macro somewhere, and dmalloc tries to re-declare a strdup
17 function in dmalloc.h, but the declaration is overwritten with the macro
18 expansion, and thus the build is broken.
20 The common denominator seems to be NPTL.