Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97192 - gcc switching/updates still do not work properly
Summary: gcc switching/updates still do not work properly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-27 06:10 UTC by Carsten Lohrke (RETIRED)
Modified: 2005-07-02 09:35 UTC (History)
0 users

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 Carsten Lohrke (RETIRED) gentoo-dev 2005-06-27 06:10:44 UTC
# gcc-config i686-pc-linux-gnu-3.4.4
 * Switching to i686-pc-linux-gnu-3.4.4 compiler ...                                                                            [ ok ]
iglu ~ # gcc-config -L
/usr/bin/gcc-config: line 571: /etc/env.d/gcc/i686-pc-linux-gnu-3.4.3-20050110: No such file or directory
 * /usr/bin/gcc-config: Profile does not exist or invalid setting for /etc/env.d/gcc/i686-pc-linux-gnu-3.4.3-20050110
no-config
/etc/env.d/gcc/i686-pc-linux-gnu-3.4.3-20050110 doesnt exist
iglu ~ # ls -l /etc/env.d/gcc/
total 28
-rw-r--r--  1 root root  32 27. Jun 14:59 config
-rw-r--r--  1 root root  41 16. Apr 21:47 config-
-rw-r--r--  1 root root 292  1. Jun 22:10 i686-pc-linux-gnu-3.4.4
-rw-r--r--  1 root root 356  1. Jun 22:10 i686-pc-linux-gnu-3.4.4-hardened
-rw-r--r--  1 root root 361  1. Jun 22:10 i686-pc-linux-gnu-3.4.4-hardenednopie
-rw-r--r--  1 root root 364  1. Jun 22:10 i686-pc-linux-gnu-3.4.4-hardenednopiessp
-rw-r--r--  1 root root 361  1. Jun 22:10 i686-pc-linux-gnu-3.4.4-hardenednossp


installed is sys-devel/gcc-config-1.3.11-r3


And when will the regular (manual) need of fix_libtool_files.sh be history? See e.g. http://forums.gentoo.org/viewtopic-t-353480-highlight-.html . There are hundreds of threads/questions like this. The current status (which lasts for months now) is fairly annoying.
Comment 1 SpanKY gentoo-dev 2005-06-27 21:52:17 UTC
rm the 'config-' file and then switch to a profile other than
i686-pc-linux-gnu-3.4.4 before switching back
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2005-07-01 07:58:25 UTC
Thanks SpanKY, that does it. What about fix_libtool_files.sh? Can I help testing
anything?

And another one: Please add a big fat post install warning (including a 5 sec
timeout maybe) to the gcc 3.4 ebuilds that users have to do `revdep-rebuild
--soname libstdc++.so.6` when upgrading from <=gcc-3.3. It'd hopefully safe us
from quite a few unreproducible invalid bug reports.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2005-07-01 07:59:17 UTC
eh, so.5 of course
Comment 4 SpanKY gentoo-dev 2005-07-01 11:00:45 UTC
we tried that, users were stupid about it anyways

gcc-3.4 depends on (gcc-3.3 || libstdc.so.5) so the upgrade path is taken care of
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2005-07-01 11:24:49 UTC
> gcc-3.4 depends on (gcc-3.3 || libstdc.so.5)

Oh sorry, didn't notice. Just wonder why I still see related bugs every now and
then.
Comment 6 SpanKY gentoo-dev 2005-07-02 08:59:19 UTC
because gcc-3.4.4 didnt originally have that DEPEND ;)

shall we close this bug or can you post a description of your system and how to
reproduce the error you were seeing ?
Comment 7 Carsten Lohrke (RETIRED) gentoo-dev 2005-07-02 09:35:58 UTC
No idea, I maybe just early bird flu. Also the fix_libtool_files.sh help
requests just get boring and the number of {webapp,binutils,gcc,hell}-config
revisions caused a raised eyebrowe on my sie lately, so I thougt it may be worth
opening a bug, instead fixing it on my own. Don't want to bitch, the kde updates
are not nearly perfect either. ;)