Gentoo Archives: gentoo-dev

From: "Jared H. Hudson" <jhhudso@××××××××××.com>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] gcc3 & gentoo install: passwd doesn't work
Date: Sat, 19 Jan 2002 18:11:04
Message-Id: Pine.LNX.4.44.0201191810570.30679-100000@volumehost.com
In Reply to: [gentoo-dev] gcc3 & gentoo install: passwd doesn't work by scott worley
1 I had a patch to fix both netkit-telnetd and pwdb, but emerge rsync
2 overwrote my and ebuilds and emerge --clean rsync removed my patches.
3
4 Let me redo them, since I already know how to fix those two apps, and I'll
5 mail this list with them attached.
6
7 -Jared H.
8
9 On Sat, 19 Jan 2002, scott worley wrote:
10
11 > Hi,
12 >
13 > I setup a separate Gentoo install to play with. Why try installing gcc3? Instead of building a new ISO image based on gcc3 what I did was:
14 >
15 > boot rc6-r14 CD
16 > do everything up to & including emerge rsync
17 > modify profile to use gcc-3.0.3 and made a new ebuild for glibc which applies a patch I found on the glibc mailing list. This patch is "supposed" to fix the c++ exception problem. I doesn't patch glibc's configure so I had to do that to stop the annoying gcc3 warning/exit message.
18 >
19 > Doing it this way, emerge system only fails on netkit-telnetd which I was able to patch.
20 >
21 > But... something had to go wrong and passwd doesn't work. Entering passwd results in the message "passwd: Module is unknown"
22 >
23 > I played with recomping pwdb-0.61, gcc3 is definitely stricter with ansi-c. PAM's configure script fails when it builds a test program using the pwdb_db_name() function.
24 > The test program fails to link. gcc is looking for symbol yp_get_default_domain and other symbols which seem to be related to nis.
25 >
26 > I checked libpwdb.so.0.61 with nm...
27 > T pwd_db_name it is present in the text section of the lib
28 > U yp_get_default_domain@@GLIBC_2.0 it's undefined.
29 > U strcat@@GLIBC_2.0
30 >
31 > I assume U means symbols undefined in this library but should exist in another, such as glibc?
32 >
33 > Anyone have any ideas or should I just be patient for a fully gcc3 based setup.
34 >
35 > TIA
36 > scott
37 > folokai@×××××××××.net
38 > _______________________________________________
39 > gentoo-dev mailing list
40 > gentoo-dev@g.o
41 > http://lists.gentoo.org/mailman/listinfo/gentoo-dev
42 >
43
44 --
45 Using the internet as it was originally intended...
46 for the further research of pornography and pipebombs.

Replies

Subject Author
Re: [gentoo-dev] gcc3 & gentoo install: passwd doesn't work Grant Goodyear <goodyea@×××××××.edu>