* [gentoo-dev] Something is wrong with my compiler
@ 2002-04-16 8:43 David Shepard
2002-04-16 16:42 ` David Shepard
0 siblings, 1 reply; 3+ messages in thread
From: David Shepard @ 2002-04-16 8:43 UTC (permalink / raw
To: gentoo-dev
Hello All,
As the subject says, something is definitely wrong. Here is what I have
done so far... After the thread on recompiling everything, I set out to
rebuild my system from the ground up, using gcc 3.0.4. After booting, I
compiled the compiler (with the 1.0-gcc3 profile). I then bootstrapped
the system, and then compiled the base system. So far so good,
everything went smoothly. Then I tried to compile something larger,
kde3. Everything was going fine, it compiled all the dependencies,
etc... But when it got to packages such as kdeutils and kdemultimedia,
it would send the compiler into what I could only describe as a loop
that just caused the disk to thrash, consuming more and more memory as
it went (over 100MB just for gcc). So life goes on, I don't really need
kde anyhow. I compiled evolution next and a few other small packages.
Besides the little libpng thing, everything was going fine. And then I
tried to get some actual work done and compile some of my own code... It
was really quite a simple piece of c++ code with no compiler
optimizations at all, just straight g++ foo.cpp -o foo. The compiler
produced some really weird error messages about 'using namespace std;',
yet not using that directive would tell me that I hadn't declared
'cout'. Strange huh? End result, I had to ssh to a box that had gcc
2.95.x on it to get some work done.(My code compiled without a hitch
there.)
To make this long story short, are there any known problems with gcc
3.0.4 before I go off filing a bug report? One last thing, I compiled
gcc with the basic optimizations that were provided: i686-pc-linux-gnu,
-march=i686 -03 -pipe.
Anyone else had a similar problem/ ideas on how I can fix this? This
machine is pretty damn solid, so I believe I can rule out
memory/hardware failure.
--David
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] Something is wrong with my compiler
2002-04-16 8:43 [gentoo-dev] Something is wrong with my compiler David Shepard
@ 2002-04-16 16:42 ` David Shepard
2002-04-16 20:41 ` Thilo Bangert
0 siblings, 1 reply; 3+ messages in thread
From: David Shepard @ 2002-04-16 16:42 UTC (permalink / raw
To: gentoo-dev
Does anyone have any ideas on this one? If not, I'm going to file a bug
report.
--David
On Tue, 2002-04-16 at 08:43, David Shepard wrote:
> Hello All,
>
> As the subject says, something is definitely wrong. Here is what I have
> done so far... After the thread on recompiling everything, I set out to
> rebuild my system from the ground up, using gcc 3.0.4. After booting, I
> compiled the compiler (with the 1.0-gcc3 profile). I then bootstrapped
> the system, and then compiled the base system. So far so good,
> everything went smoothly. Then I tried to compile something larger,
> kde3. Everything was going fine, it compiled all the dependencies,
> etc... But when it got to packages such as kdeutils and kdemultimedia,
> it would send the compiler into what I could only describe as a loop
> that just caused the disk to thrash, consuming more and more memory as
> it went (over 100MB just for gcc). So life goes on, I don't really need
> kde anyhow. I compiled evolution next and a few other small packages.
> Besides the little libpng thing, everything was going fine. And then I
> tried to get some actual work done and compile some of my own code... It
> was really quite a simple piece of c++ code with no compiler
> optimizations at all, just straight g++ foo.cpp -o foo. The compiler
> produced some really weird error messages about 'using namespace std;',
> yet not using that directive would tell me that I hadn't declared
> 'cout'. Strange huh? End result, I had to ssh to a box that had gcc
> 2.95.x on it to get some work done.(My code compiled without a hitch
> there.)
>
> To make this long story short, are there any known problems with gcc
> 3.0.4 before I go off filing a bug report? One last thing, I compiled
> gcc with the basic optimizations that were provided: i686-pc-linux-gnu,
> -march=i686 -03 -pipe.
>
> Anyone else had a similar problem/ ideas on how I can fix this? This
> machine is pretty damn solid, so I believe I can rule out
> memory/hardware failure.
>
> --David
>
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] Something is wrong with my compiler
2002-04-16 16:42 ` David Shepard
@ 2002-04-16 20:41 ` Thilo Bangert
0 siblings, 0 replies; 3+ messages in thread
From: Thilo Bangert @ 2002-04-16 20:41 UTC (permalink / raw
To: gentoo-dev
On Tuesday, 16. April 2002 18:42, you wrote:
> Does anyone have any ideas on this one? If not, I'm going to file a
> bug report.
>
now, i am no gcc3 expert, but it is known that some stuff (especially
c++ projects) don't compile on gcc3...
where do you want to file a bugreport? gcc3 is a lot more picky about
what it accepts, ie. code must be "more standard compliant"...
so either your code is bad or gcc3.1 will (hopefully) fix your
problem...
hope this helps
> --David
>
--
regards
Thilo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-04-16 20:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-16 8:43 [gentoo-dev] Something is wrong with my compiler David Shepard
2002-04-16 16:42 ` David Shepard
2002-04-16 20:41 ` Thilo Bangert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox