From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: =?iso-8859-15?q?J=FCrgen_Beisert?= Date: Mon, 20 Jan 2014 10:14:09 +0100 References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201401201014.09981.jbe@pengutronix.de> Subject: Re: [ptxdist] [ANNOUNCE] PTXdist 2014.01.0 released Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de, Matthias Klein 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/config= s/platform-friendlyarm-mini2440/rules/udev.make index bbdf76b..9786b9f 100644 --- a/rules/udev.make +++ b/rules/udev.make @@ -44,6 +44,7 @@ UDEV_LICENSE :=3D GPLv2 # UDEV_CONF_ENV :=3D \ $(CROSS_ENV) \ + LIBS=3D-lrt \ CPPFLAGS=3D"-I$(KERNEL_HEADERS_INCLUDE_DIR) $(CROSS_CPPFLAGS)" = UDEV_CONF_TOOL :=3D autoconf But a correct patch which fixes *why* the librt is missing would be much better. jbe -- = Pengutronix e.K. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0| Juergen Beisert =A0 =A0 =A0 =A0 =A0 =A0 | Linux Solutions for Science and Industry =A0 =A0 =A0| http://www.pengutroni= x.de/ | -- = ptxdist mailing list ptxdist@pengutronix.de