Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56496 - libtool & bootstrap
Summary: libtool & bootstrap
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-08 16:07 UTC by Jeremy Huddleston (RETIRED)
Modified: 2005-07-05 16:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
This is the output of emerge system (emerge-bug,6.77 KB, text/plain)
2004-07-15 09:10 UTC, Rich Hart
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Huddleston (RETIRED) gentoo-dev 2004-07-08 16:07:54 UTC
libtool is pulled in by bootstrap as a dependency of ncurses, but at this time, the installed gcc is C only (no C++, fortran, java, etc).  This results in libtool not having support for c++, so the installed /usr/bin/libtool is gimped.  Additionally, this means that libraries linked with these libtools will fail silently in not linking against libstdc++.

example:
/bin/sh ../libtool --mode=link g++  <snip> 
gcc -shared  <snip>

when I reemerged libtool, I got
/bin/sh ../libtool --mode=link g++  <snip> 
g++ -shared  <snip>

This is because it added the available_tags=" CXX" to /usr/bin/libtool

I think it might be a good idea to emerge the full gcc after glibc
Comment 1 Rich Hart 2004-07-15 09:10:20 UTC
Created attachment 35484 [details]
This is the output of emerge system
Comment 2 Jon Portnoy (RETIRED) gentoo-dev 2004-07-22 19:22:37 UTC
As a temporary hack, we could rebuild libtool at the same time as we rebuild ncurses here:

# ncurses-5.3 and up also build c++ bindings, so we need to rebuild it
export USE="${ORIGUSE}"
emerge ${STRAP_EMERGE_OPTS} ${myNCURSES} || cleanup 1

But I'd rather not stick more crap in bootstrap.

Has anyone done any testing with changing the bootstrap order to build the full gcc first?
Comment 3 SpanKY gentoo-dev 2004-11-03 20:35:00 UTC
or we could force CXX to always show up in available_tags ...

if a package needs C++ and the system doesnt support g++, then the package will fail anyways ...

eradicator: is the only difference between /usr/bin/libtool before and a re-emerge that line ?  both libtool's have the '# ### BEGIN LIBTOOL TAG CONFIG: CXX' stuff at the end ?
Comment 4 SpanKY gentoo-dev 2005-07-05 16:33:32 UTC
ncurses at bootstrap time is built w/out C++ support ...