From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <styx@SuxOS.org>
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.1 required=5.0 tests=DMARC_NONE,MAILING_LIST_MULTI,
	NICE_REPLY_A autolearn=unavailable autolearn_force=no version=4.0.0
Received: from mx0.dataguard.no (mx0.dataguard.no [212.62.224.13])
	by chiba.3jane.net (Postfix) with SMTP id 5FC54D91B
	for <gentoo-dev@gentoo.org>; Mon, 21 Jan 2002 05:51:49 -0600 (CST)
Received: (qmail 96257 invoked from network); 21 Jan 2002 11:52:58 -0000
Received: from unknown (HELO monster.dataguard.no) (212.62.224.2)
  by mx0.dataguard.no with SMTP; 21 Jan 2002 11:52:58 -0000
Received: (qmail 14539 invoked from network); 21 Jan 2002 11:52:55 -0000
Received: from unknown (HELO elysium.outsiders.net) (193.216.39.27)
  by hotel.dataguard.no with SMTP; 21 Jan 2002 11:52:55 -0000
Date: Mon, 21 Jan 2002 12:51:21 +0100
From: Joachim Blaabjerg <styx@SuxOS.org>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] System built with gcc 3.0.3
Message-Id: <20020121125121.0024db93.styx@SuxOS.org>
In-Reply-To: <1011581748.21442.16.camel@loki.rdrtech.net>
References: <1011581748.21442.16.camel@loki.rdrtech.net>
Organization: www.SuxOS.org
X-Mailer: Sylpheed version 0.7.0claws (GTK+ 1.2.10; i686-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: gentoo-dev-admin@gentoo.org
Errors-To: gentoo-dev-admin@gentoo.org
X-BeenThere: gentoo-dev@gentoo.org
X-Mailman-Version: 2.0.6
Precedence: bulk
Reply-To: gentoo-dev@gentoo.org
List-Help: <mailto:gentoo-dev-request@gentoo.org?subject=help>
List-Post: <mailto:gentoo-dev@gentoo.org>
List-Subscribe: <http://lists.gentoo.org/mailman/listinfo/gentoo-dev>,
	<mailto:gentoo-dev-request@gentoo.org?subject=subscribe>
List-Id: Developer discussion list <gentoo-dev.gentoo.org>
List-Unsubscribe: <http://lists.gentoo.org/mailman/listinfo/gentoo-dev>,
	<mailto:gentoo-dev-request@gentoo.org?subject=unsubscribe>
List-Archive: <http://lists.gentoo.org/pipermail/gentoo-dev/>
X-Archives-Salt: 6b2089ce-a06d-42a6-a117-a14b5a7308a8
X-Archives-Hash: a2ee83b3d0b16a1d0026cfe10124b668

On 20 Jan 2002 21:55:48 -0500
Richard Reich <rreich@rdrtech.com> wrote:
<snip>
> 
> Next is glibc, aparently there is some check and it won't compile under
> gcc 3.0.3 only 2.95  here is the exact message I get...
> 
> *** This version of GNU libc cannot be compiled by GCC 3.x.
> *** GCC 3.x will generate a library that is binary incompatible to
> *** older and future releases of GNU libc.
> *** You should compile this GNU libc release by an older GCC version
> *** or wait for the next GNU libc release.
> *** If you really mean to use GCC 3.x, run configure again
> *** using the extra parameter `--disable-sanity-checks'.
> 
> !!! ERROR: The ebuild did not complete successfully.
> !!! Function src_compile, Line 15, Exitcode 1
> !!! (no error message)
> 
> !!! emerge aborting on 
> /usr/portage/sys-libs/glibc/glibc-2.2.4-r9.ebuild .
> 
> Now, I've tried the --disable-sanity-checks but emerge gives me an
> error...
> loki portage # emerge sys-libs/glibc/ --disable-sanity-checks
> !!! Error: --disable-sanity-checks is an invalid option.

I think you should change the .ebuild file and put the --disable-sanity-checks
flag in the ./configure stage.

> 
> Any ideas on how to fix this?
> 
> Now I haven't rebooted my machine yet, for some reason su doesn't work
> either, for normal users that is, root just ignores the errors. Here is
> the specific error...
> sh-2.05a$ su
> su: Module is unknown
> Sorry.
> sh-2.05a$ 

I guess you use PAM, how does your /etc/pam.d/su file look? Does it even exist?

<snip>

Regards

-- 
Joachim Blaabjerg
styx@SuxOS.org
www.SuxOS.org