* [Buildroot] [git commit] binutils: install libiberty
@ 2014-02-22 22:56 Peter Korsgaard
2014-02-23 9:44 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2014-02-22 22:56 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=70ee9fcdfcf6fc7cb214e454afe55cbffec84621
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Some packages (actually, just oprofile) need to link against libiberty.
This option just installs libiberty.a so it has no effect on the target,
therefore it's not needed to add a config option for it.
Before binutils-2.24, there was a bug in libiberty/Makefile.in that
caused libiberty to be installed regardless of the
--enable-install-libiberty option. This problem wasn't noticed before
because binutils-2.24 is not selected on any of the autobuilders: the
version can only be selected if an internal toolchain is used, and it
defaults to 2.21.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/binutils/binutils.mk | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/package/binutils/binutils.mk b/package/binutils/binutils.mk
index d6828f5..b5a2dc7 100644
--- a/package/binutils/binutils.mk
+++ b/package/binutils/binutils.mk
@@ -51,6 +51,7 @@ endif
BINUTILS_CONF_OPT = --disable-multilib --disable-werror \
--host=$(GNU_TARGET_NAME) \
--target=$(GNU_TARGET_NAME) \
+ --enable-install-libiberty \
$(BINUTILS_EXTRA_CONFIG_OPTIONS)
# Install binutils after busybox to prefer full-blown utilities
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [git commit] binutils: install libiberty
2014-02-22 22:56 [Buildroot] [git commit] binutils: install libiberty Peter Korsgaard
@ 2014-02-23 9:44 ` Thomas Petazzoni
2014-02-23 21:48 ` Arnout Vandecappelle
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2014-02-23 9:44 UTC (permalink / raw)
To: buildroot
Dear Peter Korsgaard,
On Sat, 22 Feb 2014 23:56:39 +0100, Peter Korsgaard wrote:
> commit: http://git.buildroot.net/buildroot/commit/?id=70ee9fcdfcf6fc7cb214e454afe55cbffec84621
> branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
>
> Some packages (actually, just oprofile) need to link against libiberty.
> This option just installs libiberty.a so it has no effect on the target,
> therefore it's not needed to add a config option for it.
>
> Before binutils-2.24, there was a bug in libiberty/Makefile.in that
> caused libiberty to be installed regardless of the
> --enable-install-libiberty option. This problem wasn't noticed before
> because binutils-2.24 is not selected on any of the autobuilders: the
> version can only be selected if an internal toolchain is used, and it
> defaults to 2.21.
>
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
> ---
> package/binutils/binutils.mk | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
Weird, seems like it didn't fix the dropwatch build problem on
Microblaze:
http://autobuild.buildroot.org/results/1ea/1ea98985ce06dc1b7569ef5abe2fc13090fb5f3a/build-end.log
(And yes, this build took place after this commit was merged)
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [git commit] binutils: install libiberty
2014-02-23 9:44 ` Thomas Petazzoni
@ 2014-02-23 21:48 ` Arnout Vandecappelle
0 siblings, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2014-02-23 21:48 UTC (permalink / raw)
To: buildroot
On 02/23/14 10:44, Thomas Petazzoni wrote:
> Dear Peter Korsgaard,
>
> On Sat, 22 Feb 2014 23:56:39 +0100, Peter Korsgaard wrote:
>> commit: http://git.buildroot.net/buildroot/commit/?id=70ee9fcdfcf6fc7cb214e454afe55cbffec84621
>> branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
>>
>> Some packages (actually, just oprofile) need to link against libiberty.
>> This option just installs libiberty.a so it has no effect on the target,
>> therefore it's not needed to add a config option for it.
>>
>> Before binutils-2.24, there was a bug in libiberty/Makefile.in that
>> caused libiberty to be installed regardless of the
>> --enable-install-libiberty option. This problem wasn't noticed before
>> because binutils-2.24 is not selected on any of the autobuilders: the
>> version can only be selected if an internal toolchain is used, and it
>> defaults to 2.21.
>>
>> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
>> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
>> ---
>> package/binutils/binutils.mk | 1 +
>> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> Weird, seems like it didn't fix the dropwatch build problem on
> Microblaze:
>
> http://autobuild.buildroot.org/results/1ea/1ea98985ce06dc1b7569ef5abe2fc13090fb5f3a/build-end.log
>
> (And yes, this build took place after this commit was merged)
Okay, sorry, I've been careless...
During my test I had switched to 2.22 at some point to find out what was
happening, and I stupidly forgot to remove libiberty.a again... so after
this patch the build succeeded, but only because libiberty.a is still there.
Anyway, it is missing commit 369be6981b2 by Mike Frysinger. Patch follows.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-02-23 21:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-22 22:56 [Buildroot] [git commit] binutils: install libiberty Peter Korsgaard
2014-02-23 9:44 ` Thomas Petazzoni
2014-02-23 21:48 ` Arnout Vandecappelle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox