[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnu-libiconv] Problem when executing iconv on ARM
From: |
Hamid A. Toussi |
Subject: |
Re: [bug-gnu-libiconv] Problem when executing iconv on ARM |
Date: |
Thu, 6 Oct 2011 12:57:28 +0330 |
Hello,
On Thu, Oct 6, 2011 at 12:10 PM, Bruno Haible <address@hidden> wrote:
> It is not normal that libiconv gives different results on different
> platforms (except for the wchar_t encoding, which is determined by
> the libc).
>
> As a first step: can you show an example of a conversion that
> succeeds on x86 and fails on ARM? I mean the file fa.txt (as an attachment,
> or as a hexdump) and the options passed to 'iconv'.
>
The input file is attached and as an example:
iconv -f UTF-8 -t char fa.txt
> Second, how did you build libiconv (which configure arguments, $CC,
> $CPPFLAGS, $CFLAGS)?
>
It was very straightforward:
export CC=arm-linux-gcc
./configure --host=arm-linux --prefix=some_dir
> Third, does the problem go away if you compile with less optimization
> options (-O0 instead of -O2, for example)?
>
No change. Results are the same when I build as follows:
export CFLAGS=-O0
./configure --host=arm-linux
make
Thanks,
Hamid
--
Hamid A. Toussi
http://hamid2c.github.com/
fa.txt
Description: Text document