samples/powerpc-e500v2-linux-gnuspe/reported.by
author "Horst Kronstorfer" <horst.kronstorfer@aon.at>
Sat Jan 08 18:07:02 2011 +0100 (2011-01-08)
branch1.9
changeset 2258 587e1dd6d423
parent 2139 983823b3b569
child 2290 ba82eb173bd4
permissions -rw-r--r--
debug/ltrace: fix building for mips

ltrace 0.5.3 currently fails to build for target mips because MY_TARGET
(introduced by patches/ltrace/0.5.3/150-allow-configurable-arch.patch)
is set to 'mips' via CT_ARCH, while the mips specific stuff in ltrace
(0.5.3) is stored under sysdeps/linux-gnu/mipsel:

result: *** No rule to make target `mips/arch.h', needed by `sysdep.h'.
Stop.

The following patch fixes this issue

Signed-off-by: "Horst Kronstorfer" <horst.kronstorfer@aon.at>
[yann.morin.1998@anciens.enib.fr: reformat commit log]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 2115901c7f07181d92ddbd7dd7ebeaa72e4fb176)
yann@2139
     1
reporter_name="Anthony Foiani <anthony.foiani@gmail.com>"
yann@2139
     2
reporter_url="http://sourceware.org/ml/crossgcc/2010-09/msg00100.html"
yann@2173
     3
reporter_comment="
yann@2173
     4
This is a sample config file for Freescale e500v2 processors (e.g., MPC8548,
yann@2173
     5
MPC8572). It uses eglibc (for e500/SPE patches) and a recent gcc (4.5.1,
yann@2173
     6
for e500v2 DPFP support) and will generate appropriate dual-precision
yann@2173
     7
floating point instructions by default.
yann@935
     8
yann@2173
     9
Note: If building a Linux kernel with this toolchain, you will want to make
yann@2173
    10
sure -mno-spe AND -mspe=no are passed to gcc to prevent SPE ABI/instructions
yann@2173
    11
from getting into the kernel (which is currently unsupported). At this time,
yann@2173
    12
the kernel build system properly passes those two options, but older kernels
yann@2173
    13
were only passing -mno-spe by default."