On Thu, Jul 17, 2003 at 12:19:25AM +0900, Jason Stubbs wrote:

> > > Can anybody tell me the reason for this? Is this a bug or are some
> > > packages missing (and even then this is a bug, because then the
> > > dependencies are not right ;) )
> >
> > You have made an error in your CXXFLAGS.
> >
> > Write a tiny test program:
> > int main(int argc,char** argv) { return 0; }
> >
> > and try:
> > ( source /etc/make.globals ; source /etc/make.conf ; \
> > g++ $CXXFLAGS test.o -o test )
> >
> > And it will tell you what is wrong.
> 
> I agree that it is a problem with the CFLAGS or CXXFLAGS, but I think the 
> above might not show up the problem. Some ebuilds filter out -mfpmath=sse and 
> if you have -mfpmath=sse,387 in CFLAGS it leaves ,387 by itself causing the 
> above error.
> 
> I just checked the ebuild and found that it actually unsets CFLAGS, CXXFLAGS, 
> LDFLAGS, CC and CXX. I'm emerging it now to find out what's going on.
OK, I've done a bit more debugging on this point. 

The above program works fine, and my CFLAGS are quite conservative 
(-march=athlon-tbird -O3 -pipe), CXXFLAGS are just $CFLAGS. 

I just fetched and unpacked avifile with the ebuild program and 
had manually ran a configure - no error. Then I just tried to
do a ebuild avifile-${PV} compile, and it exits with the same error
as ever. When I copy then the configure options and run configure with
the options the ebuild provides, even THEN it runs perfectly.

I saw then the ebuild provides a couple of more configure options, I tried
them, but it is still running.

I'm definetely running out of ideas right now ;)

CU all,
Jens
-- 
GPG: 1024D/CF884D50  F2E8 F7FC F823 6464 4E9D  EFAB 6EE9 8B9C CF88 4D50
------------------------------------------------------------------------
  Jens Hoffrichter / [EMAIL PROTECTED] / [EMAIL PROTECTED] / Fon: 0172/5376989
  Deck of Cards: $1.29. Card Table: $14.99. "101 Solitaire Variations"
  book: $6.59. Finding a cheaper replacement for the one thing Windows
                       is ideal for: priceless.

--
[EMAIL PROTECTED] mailing list

Reply via email to