From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Sat, 22 May 2010 00:30:18 +0200 Subject: [Buildroot] buildroot-2010.05-rc2, problem with binutils-2.20.1 In-Reply-To: <1274479497.25288.3.camel@bernd-desktop> References: <1274422785.5719.8.camel@bernd-desktop> <20100521122542.5c4b0907@surf> <1274479497.25288.3.camel@bernd-desktop> Message-ID: <20100522003018.1ef13985@surf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello, (Please keep the Buildroot list in CC) On Sat, 22 May 2010 00:04:57 +0200 Thomas wrote: > > Could you post the full build log somewhere, with the build > > restarted from scratch (rm -rf output/ before running make) ? > > I uploaded the full build log here: > > http://www.file-upload.net/download-2536252/br1005rc2.gz.html Ok. Could you try the below patch and report the result ? Thanks! diff --git a/package/Makefile.in b/package/Makefile.in index 7ac429c..33eeeeb 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -81,7 +81,7 @@ endif # in $(HOST_DIR)/usr/lib. As we cannot add $(HOST_DIR)/usr/lib to # LD_LIBRARY_PATH when building target packages because it causes # libtool breakage, we force a rpath to be added to host binaries. -HOST_CFLAGS+=-Wl,-rpath -Wl,$(HOST_DIR)/usr/lib +HOST_LDFLAGS+=-Wl,-rpath -Wl,$(HOST_DIR)/usr/lib ######################################################################### ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y) -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com