1 |
Clemente Aguiar posted |
2 |
<6A0C419392D7BA45BD141D0BA4F253C78B26@×××××××××××××××××××××××××.pt>, |
3 |
excerpted below, on Thu, 08 Dec 2005 12:02:31 +0000: |
4 |
|
5 |
> How can I solve this problem?<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 |
6 |
> Transitional//EN"> <HTML><HEAD><TITLE>Mensagem</TITLE> |
7 |
|
8 |
First, please turn off HTML. Many on FLOSS (Free, Libre, and Open Source |
9 |
Software) type lists consider HTML posts the mark of spammers and malware |
10 |
authors, and may kill filter it or simply refuse to reply. I reply, but I |
11 |
make it a point of asking folks to please turn it off, and may not reply |
12 |
(and indeed, killfile) future posts if the HTML remains. |
13 |
|
14 |
> I did a new instalattion of Gentoo 2005.r1 (AMD64). |
15 |
|
16 |
??? You mean 2005.0-r1, correct? |
17 |
|
18 |
> After the basic stage3 instalation, kernel compilation and reboot, |
19 |
> everything was fine. |
20 |
> I then decided to recompile all: |
21 |
> |
22 |
> Code: |
23 |
> |
24 |
> emerge -e world |
25 |
> |
26 |
> |
27 |
> and I get an error when it gets to compile gcc |
28 |
> |
29 |
> Code: |
30 |
|
31 |
[snip] |
32 |
|
33 |
> -Wold-style-definition -isystem ./include -fPIC -DHAVE_SYSLOG -g |
34 |
|
35 |
[snip] |
36 |
|
37 |
> -Wl,--version-script=libgcc/32/libgcc.map -o 32/libgcc_s.so.1.tmp -m32 |
38 |
> libgcc/32/_muldi3.o libgcc/32/_negdi2.o libgcc/32/_lshrdi3.o |
39 |
|
40 |
[snip] |
41 |
|
42 |
-fPIC with -m32? To my knowledge, that's not a good combination. 64-bit |
43 |
requires -fPIC on some stuff (but it should be added by the ebuild where |
44 |
necessary, don't do it yourself), but -m32 indicates it's compiling the |
45 |
32-bit stuff here, and that shouldn't get -fPIC, AFAIK. |
46 |
|
47 |
> Here is my emerge --info |
48 |
> |
49 |
> Code: |
50 |
> |
51 |
> Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, |
52 |
> glibc-2.3.5-r2, 2.6.12-gentoo-r10 x86_64) |
53 |
> ================================================================= |
54 |
> System uname: 2.6.12-gentoo-r10 x86_64 Intel(R) Xeon(TM) CPU 3.60GHz |
55 |
[snip] |
56 |
> ACCEPT_KEYWORDS="amd64" |
57 |
> AUTOCLEAN="yes" |
58 |
> CBUILD="x86_64-pc-linux-gnu" |
59 |
> CFLAGS="-O2 -march=nocona -pipe" |
60 |
|
61 |
OK, -fPIC isn't in your CFLAGS, so that isn't the problem. I wonder why |
62 |
it's adding it for 32-bit compilation? Someone else feel free to step in |
63 |
here, but that doesn't look at all right, to me. Perhaps a bug in the |
64 |
ebuild? If no one says -fPIC is supposed to be there for 32-bit, I'd |
65 |
consider filing a bug, as I'm /almost/ positive it shouldn't be there, and |
66 |
it's not in your cflags, so it's gotta be an issue with the ebuild. |
67 |
|
68 |
-- |
69 |
Duncan - List replies preferred. No HTML msgs. |
70 |
"Every nonfree program has a lord, a master -- |
71 |
and if you use the program, he is your master." Richard Stallman in |
72 |
http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html |
73 |
|
74 |
|
75 |
-- |
76 |
gentoo-amd64@g.o mailing list |