Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24760 - Please add warning to not change CHOST with stage >1 installs
Summary: Please add warning to not change CHOST with stage >1 installs
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Gentoo Linux x86 Installation Guide (show other bugs)
Hardware: x86 Linux
: Highest critical (vote)
Assignee: Sven Vermeulen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-18 12:28 UTC by Robert Coie (RETIRED)
Modified: 2003-08-13 02:54 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Coie (RETIRED) gentoo-dev 2003-07-18 12:28:56 UTC
People that install from stage 2 or 3 have several libtool archives on their
system with hardcoded paths that are dependent on the setting of CHOST used to 
build their stageball.

If they later change CHOST (often from i586 to i686), and update gcc, their
systems will encounter strange and very broad compilation failures.

http://forums.gentoo.org/viewtopic.php?t=65846 describes one way to get around
this issue afterwards, but it is very crude and could hurt things like
cross-compilers.

I have spoken to Azarah about this issue, and he will consider ways of
extending fixlafiles.awk to address it, but in the meantime, we both agree
that it would be a good idea to warn people that do stage 2 or 3 installs to
stay with the CHOST that their stageball was compiled with.
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2003-07-19 05:32:26 UTC
I'll take it
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2003-07-19 05:41:54 UTC
I've committed the changes to the document. I won't resolve this bug though so it keeps reminding me to regularly check if the problem is still valid.
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2003-07-20 11:40:36 UTC
committed. please keep me informed about changes!
Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2003-08-09 08:54:20 UTC
Seems like this stays until the end of times. Fixing.
Comment 5 Andrea Cerrito 2003-08-12 15:02:19 UTC
The problem still exist:
- italian topic: http://forums.gentoo.org/viewtopic.php?t=74473),
- a lot of same issues seen on irc

Is it sufficient to force re-emerge (from source, not binaries) libtool & gcc?
Comment 6 Sven Vermeulen (RETIRED) gentoo-dev 2003-08-13 01:06:31 UTC
I can't read Italian, but you may *not* change CHOST if you're not using stage1. This bug is set to "FIXED" because the warning not to change CHOST is implemented.
Comment 7 Andrea Cerrito 2003-08-13 02:28:48 UTC
mmmhhh... the CHOST used to compile stages is i586?
And: anyway, is sufficient re-emerging libtool & gcc to avoid problems after changing CHOST?
The post I linked solved the problem such this way.
Comment 8 Sven Vermeulen (RETIRED) gentoo-dev 2003-08-13 02:54:29 UTC
I guess Robert is the best person to reply on this. rac?