[OE-core] [PATCH 4/4] glibc: don't override TUNE_CCARGS for MIPS

Dmitry Eremin-Solenikov dbaryshkov at gmail.com
Tue Aug 18 15:05:13 UTC 2015


2015-08-17 18:30 GMT+03:00 Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>:
> 2015-08-16 3:29 GMT+03:00 Khem Raj <raj.khem at gmail.com>:
>> On Sat, Aug 15, 2015 at 4:15 PM, Dmitry Eremin-Solenikov
>> <dbaryshkov at gmail.com> wrote:
>>> 2015-08-15 22:34 GMT+03:00 Khem Raj <raj.khem at gmail.com>:
>>>>
>>>>> On Jul 1, 2015, at 7:02 AM, Dmitry Eremin-Solenikov <dbaryshkov at gmail.com> wrote:
>>>>>
>>>>> Overriding TUNE_CCARGS this way breaks MULTILIB setup for MIPS. This
>>>>> override disables multilib handling of tunes for TUNE_CCARGS, thus
>>>>> enforcing glibc's TUNE_CCARGS to the TUNE_CCARGS of main DEFAULTTUNE.
>>>>>
>>>>> Glibc perfectly build without this override for both simple and multilib
>>>>> cases.
>>>>>
>>>>
>>>> this patch has been applied however we should reopen it.
>>>> This has to be fixed differently. its not a build time issue but a runtime one. So find
>>>> alternative way of passing these options to glibc build to accommodate your changes.
>>>
>>> What is the issue that you  are facing with the current OE-Core?
>>>
>>
>> systemd remount segfaults in glibc. The problems will be more where it
>> will use wrong syscall headers.
>
> Hmm. N32 and N64 packages seem to work for me. O32 programs segfault
> with illegal
> instruction. I'll take a look.

It looks like something is broken wrt. MIPS64 kernel or QEMU. Because N64 kernel
causes segfaults with plain O32 rootfs. O32 kernel + O32 rootfs work w/o
any issues on emulated mips32. Emulated MIPS64 boots  32-bit kernel just fine,
but then the rootfs segfaults (?).

-- 
With best wishes
Dmitry



More information about the Openembedded-core mailing list