FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Hardened

 
 
LinkBack Thread Tools
 
Old 02-11-2011, 01:04 PM
Claes Gyllenswärd
 
Default Compiling toolchain fails due to multilib issue?

Hello!

Today I tried doing a few upgrades, and among them were
sys-libs/glibc-2.11.2-r3.
This upgrade dies with:
checking how to run the C preprocessor... /lib/cpp
configure: error: in
`/var/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl':
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

The log file contains a number of errors that look like:
/usr/include/gnu/stubs.h:7: error: gnu/stubs-32.h: No such file or directory

Some googling leads to me to believe that the stubs-32 file is missing
due to some 32/64 bit issue, and I see there's a new enabled multilib
flag on glibc, which I guess is related.

I tried just re-compiling @system, and most package worked fine, but
that didn't help.

Any suggestions on how I can resolve this?

Regards, Claes
 
Old 02-12-2011, 09:32 AM
Sergei Trofimovich
 
Default Compiling toolchain fails due to multilib issue?

On Fri, 11 Feb 2011 15:04:28 +0100
Claes Gyllenswärd <letharion@gmail.com> wrote:

> Today I tried doing a few upgrades, and among them were
> sys-libs/glibc-2.11.2-r3.
> This upgrade dies with:
> checking how to run the C preprocessor... /lib/cpp
> configure: error: in
> `/var/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl':
> configure: error: C preprocessor "/lib/cpp" fails sanity check
> See `config.log' for more details.
>
> The log file contains a number of errors that look like:
> /usr/include/gnu/stubs.h:7: error: gnu/stubs-32.h: No such file or directory

Did you switch from non-multilib to multilib profile at some point?

--

Sergei
 
Old 02-12-2011, 11:06 AM
Sergei Trofimovich
 
Default Compiling toolchain fails due to multilib issue?

On Sat, 12 Feb 2011 12:01:26 +0100
Claes Gyllenswärd <letharion@gmail.com> wrote:

> > Did you switch from non-multilib to multilib profile at some point?

> Not that I was aware of, but perhaps I did. There was a change in
> profiles a little while back, with the removal of 10 from their names,
> right? Maybe I picked the "wrong" one then?

Might be.
Change might happen when old profiles gone away and multilib flag dropped for
a while for you. But I would expect emerge to fail in case of invalid profile symlink.

> Is there a reason to run multilib on a webserver? The only reason I'm
> aware of is for stuff like wine and perhaps flash, and those hardly
> run on my server.

I think there is no reason until you really need to run legacy binary-only
32bit binaries.

--

Sergei
 

Thread Tools




All times are GMT. The time now is 06:48 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org