Skip to contentSkip to conversation

toolchain team question about libiberty.a

RFC Leon Woestenberg 3 participants 4 messages Dec 6, 2009 – Dec 7, 2009

lore
Share & tools
lore
#0 lore raw

Hello,

can we safely remove this from gcc/gcc-configure-cross.inc?

do_stage_append () {
        ...
        # We use libiberty from binutils
        rm -f ${CROSS_DIR}/lib/libiberty.a
        ...

I think it even races against binutils; on some of my (multithreaded) builds I get it, sometimes not.

I need it for a new architecture.

Regards,

Signature · 1 line
Leon
#1 lore raw
Quoted 7 lines · Leon Woestenberg

can we safely remove this from gcc/gcc-configure-cross.inc?

do_stage_append () {
        ...
        # We use libiberty from binutils
        rm -f ${CROSS_DIR}/lib/libiberty.a
        ...

Yes, I think those two lines are bogus and can/should be deleted.

p.

#2 lore raw

Hello,

Quoted 11 lines · Phil Blundell
Quoted 7 lines · Leon Woestenberg

can we safely remove this from gcc/gcc-configure-cross.inc?

do_stage_append () {
        ...
        # We use libiberty from binutils
        rm -f ${CROSS_DIR}/lib/libiberty.a
        ...

Yes, I think those two lines are bogus and can/should be deleted.

After further discussion on #irc, the commit is here:
b3312705e639262b3b83017897cd3056b22e8912

(Just in case our analysis was way off and if this needs quick revertion.)

Regards,

Signature · 1 line
Leon
#3 lore raw
Quoted 12 lines · Leon Woestenberg

Hello,

Quoted 9 lines · Phil Blundell
Quoted 7 lines · Leon Woestenberg

can we safely remove this from gcc/gcc-configure-cross.inc?

do_stage_append () {
        ...
        # We use libiberty from binutils
        rm -f ${CROSS_DIR}/lib/libiberty.a
        ...

Quoted 6 lines
Quoted 2 lines

Yes, I think those two lines are bogus and can/should be deleted.

After further discussion on #irc, the commit is here:
b3312705e639262b3b83017897cd3056b22e8912

(Just in case our analysis was way off and if this needs quick revertion.)

binutils maintains its own version and gcc its own for libiberty even though the sources are same.
During build time they do not use the one you install but they use the one they build for themselves. So unless some other package is requiring this library we can stop installing it altogether in binutils as well as in gcc. But if we need to have one copy in the installation then
we should choose whichever is newer of two.

Thx
-Khem

Quoted 10 lines

Regards,
--
Leon

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel