[Buildroot] [PATCH v2] Makefile: Symlink lib32 to lib for MIPS64/n32

Markos Chandras markos.chandras at gmail.com
Thu Jul 11 14:31:17 UTC 2013


On 11 July 2013 15:19, Thomas De Schampheleire
<patrickdepinguin+buildroot at gmail.com> wrote:
> On Thu, Jul 11, 2013 at 4:00 PM, Markos Chandras
> <markos.chandras at gmail.com> wrote:
>> On 11 July 2013 14:40, Thomas Petazzoni
>> <thomas.petazzoni at free-electrons.com> wrote:
>>> Dear Markos Chandras,
>>>
>>> On Thu, 11 Jul 2013 12:22:32 +0100, Markos Chandras wrote:
>>>
>>>> > Are you experiencing this problem with a toolchain built via buildroot?
>>>> > In my case, it is with an external toolchain, so package/gcc/gcc.mk
>>>> > isn't used then.
>>>>
>>>> Yeah you are correct. This problem is not specific to buildroot
>>>> toolchains that's why I added
>>>> the fix in the root Makefile.
>>>
>>> So, it would be needed for both the internal toolchain backend and the
>>> external toolchain backend?
>>>
>>
>> I presume it's needed for every uClibc based toolchain. It's
>> definitely needed by the buildroot toolchain which is the one I use.
>
> It's not even uClibc-specific, same holds for glibc-based toolchains.
> From gcc/config/mips/linux64.h:
>
> #define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1"
> #define GLIBC_DYNAMIC_LINKER64 "/lib64/ld.so.1"
> #define GLIBC_DYNAMIC_LINKERN32 "/lib32/ld.so.1"
> #define UCLIBC_DYNAMIC_LINKERN32 "/lib32/ld-uClibc.so.0"

Oh right. Apologies for not checking the glibc case.

--
Regards,
Markos Chandras



More information about the buildroot mailing list