Patchwork [meta-oe] systemd: Link with librt explicitly on uclibc

login
register
mail settings
Submitter Khem Raj
Date Aug. 4, 2011, 6:53 a.m.
Message ID <1312440823-27671-1-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/9295/
State New, archived
Headers show

Comments

Khem Raj - Aug. 4, 2011, 6:53 a.m.
Latest systemd has started to use mq_* functions
which are found on librt in uclibc.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-oe/recipes-core/systemd/systemd_git.bb |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Koen Kooi - Aug. 4, 2011, 7:45 a.m.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 04-08-11 08:53, Khem Raj schreef:
> Latest systemd has started to use mq_* functions which are found on librt in uclibc.

I'm testing v33 + buildfix (http://cgit.freedesktop.org/systemd/commit/?id=612e58b45b84eda7e1f2a82fdfc006f1ae421cb5) right now, can you resubmit after that went in?

> 
> Signed-off-by: Khem Raj <raj.khem@gmail.com> --- meta-oe/recipes-core/systemd/systemd_git.bb |    2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/meta-oe/recipes-core/systemd/systemd_git.bb b/meta-oe/recipes-core/systemd/systemd_git.bb index af4a9ae..fd9bfbd 100644 --- a/meta-oe/recipes-core/systemd/systemd_git.bb +++ b/meta-oe/recipes-core/systemd/systemd_git.bb @@ -29,6 +29,8 @@ UCLIBCPATCHES_libc-uclibc =
> "file://paper-over-mkostemp.patch \ file://format-replace-m-uclibc.patch \ "
> 
> +LDFLAGS_libc-uclibc_append = " -lrt" + S = "${WORKDIR}/git"
> 
> SYSTEMDDISTRO ?= "debian"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFOOk4jMkyGM64RGpERAvTWAJ9nKbzS/bkAoUfbu+jzHSZQ7lCAZgCfR3rY
Knrm/e7PSQQZoTdXqKXJBQk=
=dJ5W
-----END PGP SIGNATURE-----
Khem Raj - Aug. 4, 2011, 3:20 p.m.
On 08/04/2011 12:45 AM, Koen Kooi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Op 04-08-11 08:53, Khem Raj schreef:
>> Latest systemd has started to use mq_* functions which are found on librt in uclibc.
>
> I'm testing v33 + buildfix (http://cgit.freedesktop.org/systemd/commit/?id=612e58b45b84eda7e1f2a82fdfc006f1ae421cb5) right now, can you resubmit after that went in?
>

ok. I will rebase and resend

>>
>> Signed-off-by: Khem Raj<raj.khem@gmail.com>  --- meta-oe/recipes-core/systemd/systemd_git.bb |    2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
>>
>> diff --git a/meta-oe/recipes-core/systemd/systemd_git.bb b/meta-oe/recipes-core/systemd/systemd_git.bb index af4a9ae..fd9bfbd 100644 --- a/meta-oe/recipes-core/systemd/systemd_git.bb +++ b/meta-oe/recipes-core/systemd/systemd_git.bb @@ -29,6 +29,8 @@ UCLIBCPATCHES_libc-uclibc =
>> "file://paper-over-mkostemp.patch \ file://format-replace-m-uclibc.patch \"
>>
>> +LDFLAGS_libc-uclibc_append = " -lrt" + S = "${WORKDIR}/git"
>>
>> SYSTEMDDISTRO ?= "debian"
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
>
> iD8DBQFOOk4jMkyGM64RGpERAvTWAJ9nKbzS/bkAoUfbu+jzHSZQ7lCAZgCfR3rY
> Knrm/e7PSQQZoTdXqKXJBQk=
> =dJ5W
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Patch

diff --git a/meta-oe/recipes-core/systemd/systemd_git.bb b/meta-oe/recipes-core/systemd/systemd_git.bb
index af4a9ae..fd9bfbd 100644
--- a/meta-oe/recipes-core/systemd/systemd_git.bb
+++ b/meta-oe/recipes-core/systemd/systemd_git.bb
@@ -29,6 +29,8 @@  UCLIBCPATCHES_libc-uclibc = "file://paper-over-mkostemp.patch \
                              file://format-replace-m-uclibc.patch \
                             "
 
+LDFLAGS_libc-uclibc_append = " -lrt"
+
 S = "${WORKDIR}/git"
 
 SYSTEMDDISTRO ?= "debian"