mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Jürgen Beisert" <jbe@pengutronix.de>
To: ptxdist@pengutronix.de, Matthias Klein <matthias.klein@optimeas.de>
Subject: Re: [ptxdist] [ANNOUNCE] PTXdist 2014.01.0 released
Date: Mon, 20 Jan 2014 10:14:09 +0100	[thread overview]
Message-ID: <201401201014.09981.jbe@pengutronix.de> (raw)
In-Reply-To: <em662211b9-3ead-4065-b356-2b21ccabec79@nb-mak>

Hi Matthias,

On Saturday 18 January 2014 13:47:11 Matthias Klein wrote:
> with the new ptxdist release udev does not build. (The same as with
> ptxdist 2013.12.0)

This only happens in conjunction with the new toolchain release 2013.12 and the
option "[*] Link only needed libraries (ld --as-needed)". Older toolchains do
not complain.

> You wrote that you have a patch floating around somewhere to link udev
> with librt.
> Do you still have that patch, or do we need to make a new patch ?

The patch could be more or less trivial. This is one way:

diff --git a/configs/platform-friendlyarm-mini2440/rules/udev.make b/configs/platform-friendlyarm-mini2440/rules/udev.make
index bbdf76b..9786b9f 100644
--- a/rules/udev.make
+++ b/rules/udev.make
@@ -44,6 +44,7 @@ UDEV_LICENSE	:= GPLv2
 #
 UDEV_CONF_ENV := \
 	$(CROSS_ENV) \
+	LIBS=-lrt \
 	CPPFLAGS="-I$(KERNEL_HEADERS_INCLUDE_DIR) $(CROSS_CPPFLAGS)"
 
 UDEV_CONF_TOOL	:= autoconf

But a correct patch which fixes *why* the librt is missing would be much
better.

jbe

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2014-01-20  9:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-17 14:28 Michael Olbrich
2014-01-18 12:47 ` Matthias Klein
2014-01-20  9:14   ` Jürgen Beisert [this message]
2014-01-20  9:39   ` [ptxdist] [PATCH] udev: standalone variant fails to build with newer toolchains Jürgen Beisert
2014-01-20  9:55     ` Uwe Kleine-König
2014-01-20 13:50     ` [ptxdist] [PATCHv2] " Juergen Beisert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201401201014.09981.jbe@pengutronix.de \
    --to=jbe@pengutronix.de \
    --cc=matthias.klein@optimeas.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox