Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge ddd fails..
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
masseya
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 2602
Location: Raleigh, NC

PostPosted: Fri Jul 12, 2002 5:40 am    Post subject: emerge ddd fails.. Reply with quote

I think this is either a problem with my compile flags being too aggressive or with the ebuild. Here's the error output:
Code:
In file included from strclass.C:41:
strclass.h: In member function `string& string::operator=(std::ostrstream&)':
strclass.h:1059: warning: unused variable `const int frozen'
strclass.C: In function `std::istream& operator>>(std::istream&, string&)':
strclass.C:1443: invalid conversion from `int' to `std::_Ios_Iostate'
strclass.C:1443:   initializing argument 1 of `void std::basic_ios<_CharT, _Traits>::clear(std::_Ios_Iostate) [with _CharT = char, _Traits = std::char_traits<char>]'
make[1]: *** [strclass.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/ddd-3.3.1-r1/work/ddd-3.3.1/ddd'
make: *** [all-recursive] Error 1

!!! ERROR: the emake command did not complete successfully.
!!! ("emake")
!!! Since this is a critical task, ebuild will be stopped.

!!! emerge aborting on  /usr/portage/dev-util/ddd/ddd-3.3.1-r1.ebuild .

..and here are my GCC 3.1 compile flags..
Code:
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -fexpensive-optimizations -falign-functions=4"
CXXFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -fexpensive-optimizations -falign-functions=4"

Has anyone else had a problem like this?
_________________
if i never try anything, i never learn anything..
if i never take a risk, i stay where i am..
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Fri Jul 12, 2002 7:14 am    Post subject: Re: emerge ddd fails.. Reply with quote

Tristam29 wrote:
Has anyone else had a problem like this?

Yes. It's not your CFLAGS. Same error here with
Code:
-march=athlon -mmmx -m3dnow -O3

At first glance, it looks like strclass.C is an attempt to work around the limitations of the C++ libraries in earlier incarnations of GCC - it might be possible to dump it altogether in favor of the library classes in GCC3.

...time passes...

...and a search of google for "ddd gcc3" turns up some patches to make 3.3.1 compile with gcc3, so it looks like this is a known upstream problem.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum