Gentoo Archives: gentoo-dev

From: Spider <spider@g.o>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Gcc 3.0.4 installed system
Date: Sun, 07 Apr 2002 17:11:05
Message-Id: 20020408000439.596ea52f.spider@gentoo.org
In Reply to: [gentoo-dev] Gcc 3.0.4 installed system by Geert Bevin
1 ok, I've just been bashing some against gcc3 and an upgrade from -rc6.
2
3 in short: it works
4
5 the long answer is... Youll want to rebuild a lot of things.
6
7 First, you want to identify all packages that use libstdc++
8
9 find / -type f -perm +o+x | while read FILE
10 do ldd "${FILE}" |grep "libstdc++" - >/dev/null && echo ${FILE}
11 >>/root/REBUILD.files
12 # (this above is a single line)
13 echo ${FILE}
14 done
15
16
17 # Now, you want gentoolkit installed (qpkg is your friend ;)
18
19
20 # then, get the package they belong to.
21 cat /root/REBUILD.files |while read FILE
22 do qpkg -nc -f "${FILE}" >>/root/REBUILD.packs;echo ${FILE}
23 done
24
25
26 # Now, we reduce that list further
27 cat /root/REBUILD.packs |sort |uniq >/root/REBUILD.packs.new
28
29 look at those packages, and then calmly remove them. mozilla, galeon,
30 gtkmm, gabber, ickle, blackbox, openssl, bbpager, fluxbox .... all that.
31
32
33
34 in openssl ebuild add this in src_unpack:
35 patch -p0 < ${FILESDIR}/openssl-0.9.6c-gcc3.patch
36
37 bbpager breaks (incompatible with gcc3)
38
39 I dont think netscape 4.73 will work either. :/
40
41
42 Well.. thats all folks ;)
43
44 //Spider
45
46
47 begin quote
48 On 06 Apr 2002 14:01:07 +0200
49 Geert Bevin <gbevin@××××.com> wrote:
50
51 > Hi all,
52 >
53 > I finally installed 1.0 from scratch and decided to try it out with
54 > gcc 3.0.4 instead of 2.95.3. Along the way I encountered some
55 > problems, but surprisingly little. I've fixed everything that needed
56 > fixing and sadly some packages are backwards incompatible. For that
57 > reason and for the ease of maintenance I've created a dedicated gcc 3
58 > profile.
59 >
60 > So, for those that want to try this out, just link the
61 > default-1.0-gcc3 profile instead of default-1.0 to /etc/make.profile.
62 > Note that this will only work for installations from scratch and not
63 > for updates since applications that link against libstdc++ v2 require
64 > the libraries of gcc v2 and not gcc v3.
65 >
66 > There are still some packages that don't compile such as galeon and
67 > openjade, but these will be fixed in a matter of time since I need
68 > them;-) Feel free to submit fixes too.
69 >
70 > Best regards,
71 >
72 > Geert Bevin
73 > --
74 > Geert Bevin Uwyn
75 > "Use what you need" Lambermontlaan 148
76 > http://www.uwyn.com 1030 Brussels
77 > gbevin@××××.com Tel & Fax +32 2 245 41 06
78 >
79 > _______________________________________________
80 > gentoo-dev mailing list
81 > gentoo-dev@g.o
82 > http://lists.gentoo.org/mailman/listinfo/gentoo-dev
83
84
85 --
86 begin happy99.exe
87 This is a .signature virus! Please copy me into your .signature!
88 See Microsoft KB Article Q265230 for more information.
89 end