Skip to contentSkip to conversation

systemd: Link with librt explicitly on uclibc

PATCH Superseded Khem Raj 2 participants 3 messages Aug 4, 2011

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 systemd: Link with librt explicitly on uclibc

Latest systemd has started to use mq_* functions
which are found on librt in uclibc.

---
 meta-oe/recipes-core/systemd/systemd_git.bb |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
meta-oe/recipes-core/systemd/systemd_git.bb +2 -0
index af4a9ae..fd9bfbd 100644
@@ -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"
Signature · 1 line
1.7.4.1
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 04-08-11 08:53, Khem Raj schreef:

Quoted 1 line

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?

Quoted 9 lines
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 = renamed from meta-oe/recipes-core/systemd/systemd_git.bb +0 -0

"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-----

author
#2 lore raw
Quoted 8 lines · Koen Kooi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 04-08-11 08:53, Khem Raj schreef:

Quoted 1 line

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

Quoted 23 lines
Quoted 9 lines
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 = renamed from meta-oe/recipes-core/systemd/systemd_git.bb +0 -0

"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
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel