This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: armhf glibc dynamic linker


On 5 August 2013 10:16, Douglas Jerome <douglas@ttylinux.org> wrote:
>
> I used CT-NG to make an arm cortex-a8 hard-float
> cross tool chain with gcc-4.6.3 and glibc-2.16.0
>
> The resulting cross gcc-4.6.3 uses /lib/ld-linux.so.3
> for the glibc dynamic linker, but the sysroot glibc-2.16.0
> actually has /lib/ld-linux-armhf.so.3, so my programs
> don't run.
>
> :(
>
> There are several ways I can fix this problem,
> but does anyone know of simple or convenient
> CT-NG config entry(s) that I can use to avoid
> this situation? i.e., am I doing something wrong
> or not smart with CT-NG (other than using an
> older gcc)?

I guess gcc-4.6.3 is too older, which does not include the patch
(http://gcc.gnu.org/ml/gcc-patches/2012-04/msg01913.html). A simple
way is to put the patch at patches/gcc/4.6.3 in CT-NG.

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]