[Ltrace-devel] 0.7.0 released

Sedat Dilek sedat.dilek at gmail.com
Sat Nov 10 00:51:20 UTC 2012


On Sat, Nov 10, 2012 at 1:32 AM, Petr Machata <pmachata at redhat.com> wrote:
> Sedat Dilek <sedat.dilek at gmail.com> writes:
>
>> On Sat, Nov 10, 2012 at 1:04 AM, Petr Machata <pmachata at redhat.com> wrote:
>>> I guess we can put in the workaround then, and turn off the assert for
>>> MIPS.  Could you try whether #ifdef __mips works?
>>>
>>
>> No, that ifdef-line does not work (see attached patch + logs).
>
> Strange.  There were many #ifdef __mips__ in ltrace throughout history.
> What does cpp -dM /dev/null show?
>

$ echo $PATH
/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/wearefam/src/freetz/freetz-git/source/toolchain-mipsel_gcc-4.7.2-RC-20120914_uClibc-0.9.33.2/gcc-4.7.2-RC-20120914-final/gcc

$ pwd
/home/wearefam/src/freetz/freetz-git/source/toolchain-mipsel_gcc-4.7.2-RC-20120914_uClibc-0.9.33.2/gcc-4.7.2-RC-20120914-final/gcc

$ ./cpp -dM /dev/null | grep -i mips
#define _MIPS_ISA _MIPS_ISA_MIPS1
#define _MIPS_TUNE "mips1"
#define __mips_abicalls 1
#define __MIPSEL__ 1
#define __mips_fpr 32
#define __mips__ 1
#define MIPSEL 1
#define mips 1
#define _MIPS_ARCH_MIPS1 1
#define _MIPSEL 1
#define _MIPS_ARCH "mips1"
#define _MIPS_TUNE_MIPS1 1
#define _MIPS_SZPTR 32
#define _mips 1
#define _MIPS_SZINT 32
#define __MIPSEL 1
#define _MIPS_SIM _ABIO32
#define _MIPS_FPSET 16
#define __mips_soft_float 1
#define __mips 1
#define _MIPS_SZLONG 32

- Sedat -

> PM



More information about the Ltrace-devel mailing list