[uClibc] Buildroot and elf2flt on arm
David Hallas Andersen
david at hallas.nu
Mon Aug 22 10:52:00 UTC 2005
Thanks for the quick reply, but where should I put these flags? Can I pass
them to configure and put them in that way, or do I have to edit the
Makefiles after the configure pass, or is there an environmental variable I
can set?
Perhaps we can make an official way of doing this and commit it to buildroot?
/David
On Monday 22 August 2005 12:15, Vadim Lebedev wrote:
> David Hallas Andersen wrote:
> >Now i successfully compiled elf2flt from the uClinux CVS server with
> >buildroot, but I am getting reloc outside program errors when running the
> >binary on my arm target. Also file tells me that the pic flag is set in
> > the flat binary, how do I disable that? I have tryed linking with
> > -static, but it doesn't help. I was thinking if it could be uClinux
> > kernel that is too old? I am running uClinux 2.4.22-uc0
> >
> >Any help is greatly appreciated :)
> >
> >/David
> >
> >>On
>
> David,
>
> I think you need to hack the toolchain buidling machinery in buildroot
> to compile
> libgcc and uclibc with the correct code generation flags (-fPIC
> -msingle-pic-base)
> otherwise the generated flat binaries will be invalid.
>
>
> Vadim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20050822/bf483654/attachment-0002.pgp
More information about the uClibc
mailing list