[systemd-devel] systemd build process, stripped ELF flags (MIPS)

Manuel Lauss manuel.lauss at gmail.com
Mon Jan 19 10:37:39 PST 2015


On Mon, Jan 19, 2015 at 3:14 PM, Lennart Poettering
<lennart at poettering.net> wrote:
> On Mon, 19.01.15 09:47, Manuel Lauss (manuel.lauss at gmail.com) wrote:
>
>> Can anyone please point out why the .MIPS.abiflags sections are
>> omitted entirely?
>> I've tried to build with STRIP=/bin/true but that didn't help, and I don't know
>> enough about the build process to fix it myself.
>
> Maybe the MIPS toolchain strips these if --gc-sections is passed to
> LD, which we do?

Turned out to be something completely different:  systemd tries to us gold
as the default linked. gold on mips isn't really quite usable yet; after
removing the ld.gold binary systemd now has the necessary abiflags.

Thanks!
     Manuiel


More information about the systemd-devel mailing list