RE: [arm-gnu] GLIBC_2.7 problems with 2009q3-67
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [arm-gnu] GLIBC_2.7 problems with 2009q3-67



Sample compile line is as follows:

arm-none-linux-gnueabi-gcc -mcpu=cortex-a9 -mfpu=neon -mfloat-abi=softfp -DHAVE_socklen_t -O3  -DRUSAGE -DHAVE_uint=1 -DHAVE_int64_t=1 -DHAVE_pmap_clnt_h -DHAVE_socklen_t -DHAVE_DRAND48 -DHAVE_SCHED_SETAFFINITY=1   -o ../bin/linux/lat_mem_rd lat_mem_rd.c ../bin/linux/lmbench.a -lm -Wl,-rpath=/mnt/sd/libc/lib:/mnt/sd/libc/usr/lib -Wl,--dynamic-linker=/mnt/sd/libc/lib/ld-linux.so.3 

/mnt/sd/libc on the target contains pretty much a complete copy of the arm-none-linux-gnueabi/libc directory within the CodeSourcery installation.  Certainly all the lib directories are correct.

Thanks

Robert.

-----Original Message-----
From: Maxim Kuvyrkov [mailto:maxim@xxxxxxxxxxxxxxxx] 
Sent: Monday, April 19, 2010 12:10 PM
To: Robert PINSKER
Cc: Mark Mitchell; arm-gnu@xxxxxxxxxxxxxxxx
Subject: Re: [arm-gnu] GLIBC_2.7 problems with 2009q3-67

On 4/19/10 1:44 PM, Robert PINSKER wrote:
> Hi Mark,
>
> Thanks for your reply.
>
> I've tried this - and I've also tried following the instructions in 
> your Getting Started manual, section 3.5.2.  What I get now is Illegal 
> Instruction.

Robert,

The application seems to pick up wrong run-time libraries.  Would you please post the exact command lines how you compile and link your application.

Regards,

--
Maxim Kuvyrkov
CodeSourcery
maxim@xxxxxxxxxxxxxxxx
(650) 331-3385 x724