On Wed, Apr 25, 2012 at 1:13 PM, sarju tambe <sarjutambe@...> wrote:
> Hi,All
>
> Below error found on Linux 2.6.5 IA64 with icu 4.8.1
>
> : : : :./out/tmp/vxicudt48l_dat.o: file not
> recognized: File format not recognized
> : : : :collect2: ld returned 1 exit status
> : : : :Error generating package data.
> : : : :genccode: --match-arch cpu=3 bits=32
> big-endian=1
> : : : :pkgdata: gcc -O2 -Wall -ansi
> -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes
> -Wwrite-strings -Wno-long-long -DVXPSP_CFLAGS -Xlinker -z -Xlinker
> origin -Xlinker --disable-new-dtags -Xlinker -rpath -Xlinker
> ':/../lib'
>
It looks like genccode -o (--object) is called and is getting the wrong
platform somehow. --match-arch should have been given a .o file for the
target platform, but cpu=3 is, I believe, from elf.h where EM_386==3==Intel
80386.
Are you cross-compiling? Maybe the build is picking up a .o file from the
host platform rather than the target platform?
Can you use a .dat file rather than building a .so?
http://userguide.icu-project.org/icudata#TOC-Flexibility-vs.-Installation-vs.-Performance
markus
|