Gentoo Archives: gentoo-amd64

From: Clemente Aguiar <clemente.aguiar@××××××××××××××××.pt>
To: gentoo-amd64@l.g.o
Subject: RE: [gentoo-amd64] Re: gcc compile failed after 2005.1-r1 instalation
Date: Fri, 09 Dec 2005 09:48:47
Message-Id: 6A0C419392D7BA45BD141D0BA4F253C7D0BD79@loureiro.madeiratecnopolo.pt
1 > -----Mensagem original-----
2 > De: news [mailto:news@×××××××××.org] Em nome de Duncan
3 > Enviada: quinta-feira, 8 de Dezembro de 2005 14:30
4 > Para: gentoo-amd64@l.g.o
5 >
6 >
7 > Clemente Aguiar posted
8 > <6A0C419392D7BA45BD141D0BA4F253C78B26@×××××××××××××××××××××××××.pt>,
9 > excerpted below, on Thu, 08 Dec 2005 12:02:31 +0000:
10 >
11 > > How can I solve this problem?<!DOCTYPE HTML PUBLIC
12 > "-//W3C//DTD HTML
13 > > 4.0 Transitional//EN"> <HTML><HEAD><TITLE>Mensagem</TITLE>
14 >
15 > First, please turn off HTML. Many on FLOSS (Free, Libre, and
16 > Open Source
17 > Software) type lists consider HTML posts the mark of spammers
18 > and malware authors, and may kill filter it or simply refuse
19 > to reply. I reply, but I make it a point of asking folks to
20 > please turn it off, and may not reply (and indeed, killfile)
21 > future posts if the HTML remains.
22
23
24 I am sorry, I use TEXT by default, I dont know how that one got away.
25
26
27 >
28 > > I did a new instalattion of Gentoo 2005.r1 (AMD64).
29 >
30 > ??? You mean 2005.0-r1, correct?
31
32 Correct.
33
34
35 >
36 > > After the basic stage3 instalation, kernel compilation and reboot,
37 > > everything was fine. I then decided to recompile all:
38 > >
39 > > Code:
40 > >
41 > > emerge -e world
42 > >
43 > >
44 > > and I get an error when it gets to compile gcc
45 > >
46 > > Code:
47 >
48 > [snip]
49 >
50 > > -Wold-style-definition -isystem ./include -fPIC -DHAVE_SYSLOG -g
51 >
52 > [snip]
53 >
54 > > -Wl,--version-script=libgcc/32/libgcc.map -o
55 > 32/libgcc_s.so.1.tmp -m32
56 > > libgcc/32/_muldi3.o libgcc/32/_negdi2.o libgcc/32/_lshrdi3.o
57 >
58 > [snip]
59 >
60 > -fPIC with -m32? To my knowledge, that's not a good
61 > combination. 64-bit requires -fPIC on some stuff (but it
62 > should be added by the ebuild where necessary, don't do it
63 > yourself), but -m32 indicates it's compiling the 32-bit stuff
64 > here, and that shouldn't get -fPIC, AFAIK.
65 >
66
67 I did NOT add any of the compilation flags myself (-fPIC or -m32).
68
69
70
71 > > Here is my emerge --info
72 > >
73 > > Code:
74 > >
75 > > Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4,
76 > > glibc-2.3.5-r2, 2.6.12-gentoo-r10 x86_64)
77 > > =================================================================
78 > > System uname: 2.6.12-gentoo-r10 x86_64 Intel(R) Xeon(TM) CPU 3.60GHz
79 > [snip]
80 > > ACCEPT_KEYWORDS="amd64"
81 > > AUTOCLEAN="yes"
82 > > CBUILD="x86_64-pc-linux-gnu"
83 > > CFLAGS="-O2 -march=nocona -pipe"
84 >
85 > OK, -fPIC isn't in your CFLAGS, so that isn't the problem. I
86 > wonder why it's adding it for 32-bit compilation? Someone
87 > else feel free to step in here, but that doesn't look at all
88 > right, to me. Perhaps a bug in the ebuild? If no one says
89 > -fPIC is supposed to be there for 32-bit, I'd consider filing
90 > a bug, as I'm /almost/ positive it shouldn't be there, and
91 > it's not in your cflags, so it's gotta be an issue with the ebuild.
92 >
93 > --
94 > Duncan - List replies preferred. No HTML msgs.
95 > "Every nonfree program has a lord, a master --
96 > and if you use the program, he is your master." Richard
97 > Stallman in
98 > http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_inter
99 view.html
100
101 Thanks Duncan.
102 So far nobody else said anything about this issue.
103 I am considering filling a bug. I am a newbie on these matters (never
104 filed a bug before).
105 How should I go about it?
106 What should I mention about the bug? (what is the bug)
107
108 Clemente
109
110 --
111 gentoo-amd64@g.o mailing list

Replies

Subject Author
[gentoo-amd64] RE: Re: gcc compile failed after 2005.1-r1 instalation Duncan <1i5t5.duncan@×××.net>