Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-amd64
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-amd64@g.o
From: Duncan <1i5t5.duncan@...>
Subject: Re: gcc compile failed after 2005.1-r1 instalation
Date: Thu, 08 Dec 2005 07:30:08 -0700
Clemente Aguiar posted
<6A0C419392D7BA45BD141D0BA4F253C78B26@...>,
excerpted below,  on Thu, 08 Dec 2005 12:02:31 +0000:

> How can I solve this problem?<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
> Transitional//EN"> <HTML><HEAD><TITLE>Mensagem</TITLE>

First, please turn off HTML.  Many on FLOSS (Free, Libre, and Open Source
Software) type lists consider HTML posts the mark of spammers and malware
authors, and may kill filter it or simply refuse to reply.  I reply, but I
make it a point of asking folks to please turn it off, and may not reply
(and indeed, killfile) future posts if the HTML remains.

>  I did a new instalattion of Gentoo 2005.r1 (AMD64).

???  You mean 2005.0-r1, correct?

> After the basic stage3 instalation, kernel compilation and reboot,
> everything was fine.
> I then decided to recompile all:
> 
> Code:
> 
> emerge -e world
> 	
> 	
> and I get an error when it gets to compile gcc
> 
> Code:

[snip]

> -Wold-style-definition  -isystem ./include  -fPIC -DHAVE_SYSLOG -g

[snip]

> -Wl,--version-script=libgcc/32/libgcc.map -o 32/libgcc_s.so.1.tmp -m32
> libgcc/32/_muldi3.o libgcc/32/_negdi2.o libgcc/32/_lshrdi3.o

[snip]

-fPIC with -m32?  To my knowledge, that's not a good combination.  64-bit
requires -fPIC on some stuff (but it should be added by the ebuild where
necessary, don't do it yourself), but -m32 indicates it's compiling the
32-bit stuff here, and that shouldn't get -fPIC, AFAIK.

> Here is my emerge --info
> 
> Code:
> 
> Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4,
> glibc-2.3.5-r2, 2.6.12-gentoo-r10 x86_64)
> ================================================================= 
> System uname: 2.6.12-gentoo-r10 x86_64 Intel(R) Xeon(TM) CPU 3.60GHz
[snip]
> ACCEPT_KEYWORDS="amd64"
> AUTOCLEAN="yes"
> CBUILD="x86_64-pc-linux-gnu"
> CFLAGS="-O2 -march=nocona -pipe"

OK, -fPIC isn't in your CFLAGS, so that isn't the problem.  I wonder why
it's adding it for 32-bit compilation?  Someone else feel free to step in
here, but that doesn't look at all right, to me.  Perhaps a bug in the
ebuild?  If no one says -fPIC is supposed to be there for 32-bit, I'd
consider filing a bug, as I'm /almost/ positive it shouldn't be there, and
it's not in your cflags, so it's gotta be an issue with the ebuild.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman in
http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html


-- 
gentoo-amd64@g.o mailing list


Replies:
RE: Re: gcc compile failed after 2005.1-r1 instalation [OT- html posts]
-- Bob Young
References:
gcc compile failed after 2005.1-r1 instalation
-- Clemente Aguiar
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: gcc compile failed after 2005.1-r1 instalation
Next by thread:
RE: Re: gcc compile failed after 2005.1-r1 instalation [OT- html posts]
Previous by date:
Re: disk error [OT]
Next by date:
Re: initio seen, mt -f doesn't work


Updated Jun 17, 2009

Summary: Archive of the gentoo-amd64 mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.