docs/known-issues.txt
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Jun 20 15:16:43 2008 +0000 (2008-06-20)
changeset 602 1968d150a34f
parent 472 86c2bdaad27c
child 671 7abb354d4570
permissions -rw-r--r--
GMP and MPFR are no longer a sub-component of gcc (config-wise).
Build and install GMP and MPFR for the target.
Use the target GMP and MPFR to build the native gdb.
Have separate extra_config for cross gdb, native gdb and gdbserver.
Check native GMP and MPFR in //.

/trunk/scripts/build/debug/300-gdb.sh | 27 19 8 0 ++++++++++++++++-------
/trunk/scripts/build/gmp.sh | 47 39 8 0 ++++++++++++++++++++++++++++++++-------
/trunk/scripts/build/mpfr.sh | 49 40 9 0 +++++++++++++++++++++++++++++++++--------
/trunk/steps.mk | 2 2 0 0 ++
/trunk/config/cc/gcc.in | 18 1 17 0 +--------------
/trunk/config/debug/gdb.in | 6 1 5 0 +----
/trunk/config/config.in | 1 1 0 0 +
/trunk/config/gmp_mpfr.in | 34 34 0 0 ++++++++++++++++++++++++++++
8 files changed, 137 insertions(+), 47 deletions(-)
yann@469
     1
Glibc does not build: asm/page.h not found
yann@469
     2
yann@469
     3
As of linux-2.6.25, asm/page.h is no longer exported.
yann@538
     4
This means the glibc up to and including 2.6 will not build against headers
yann@538
     5
exported from linux-2.6.25 and up. Starting with glibc-2.6.1, patches are
yann@538
     6
available that solves the issue. Switch to at least 2.6.1 if you can, or try
yann@538
     7
to backport the fix (should be quite easy).
yann@472
     8
yann@472
     9
----
yann@472
    10
dmalloc does not build
yann@472
    11
yann@538
    12
This broken build has been observed for big endian ARM with glibc and NPTL,
yann@472
    13
and with i686 with glibc and NPTL.
yann@472
    14
yann@472
    15
This has not been fully investigated yet. There is a name clash with strdup,
yann@472
    16
where it is a macro somewhere, and dmalloc tries to re-declare a strdup
yann@472
    17
function in dmalloc.h, but the declaration is overwritten with the macro
yann@472
    18
expansion, and thus the build is broken.
yann@472
    19
yann@472
    20
The common denominator seems to be NPTL.