View previous topic :: View next topic |
Author |
Message |
erik.crouch n00b
Joined: 24 Aug 2003 Posts: 44 Location: Wichita, KS USA -- United Kingdom
|
Posted: Wed Nov 05, 2003 2:04 am Post subject: unable to emerge x11-misc/ttmkfdir-3.0.9-r1 |
|
|
Quote: | g++ -Wall -pedantic -I/usr/include/freetype2 -mcpu=ultrasparc -O3 -pipe -c ttmkfdir.cpp -fPIC -DPIC -o .libs/ttmkfdir.lo
In file included from /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:683,
from /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/cstdio:52,
from /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/sparc-unknown-linux-gnu/bits/c++io.h:35,
from /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/bits/fpos.h:44,
from /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/iosfwd:46,
from /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/ios:44,
from /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/ostream:45,
from /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/iostream:45,
from ttmkfdir.cpp:2:
/usr/include/bits/stdio.h: In function `int getchar()':
/usr/include/bits/stdio.h:42: declaration of `int getchar()' throws different
exceptions
/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:394: than
previous declaration `int getchar() throw ()'
/usr/include/bits/stdio.h: In function `int getc_unlocked(FILE*)':
/usr/include/bits/stdio.h:51: declaration of `int getc_unlocked(FILE*)' throws
different exceptions
/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:403: than
previous declaration `int getc_unlocked(FILE*) throw ()'
/usr/include/bits/stdio.h: In function `int getchar_unlocked()':
/usr/include/bits/stdio.h:58: declaration of `int getchar_unlocked()' throws
different exceptions
/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:404: than
previous declaration `int getchar_unlocked() throw ()'
/usr/include/bits/stdio.h: In function `int putchar(int)':
/usr/include/bits/stdio.h:67: declaration of `int putchar(int)' throws
different exceptions
/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:419: than
previous declaration `int putchar(int) throw ()'
/usr/include/bits/stdio.h: In function `int fputc_unlocked(int, FILE*)':
/usr/include/bits/stdio.h:76: declaration of `int fputc_unlocked(int, FILE*)'
throws different exceptions
/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:428: than
previous declaration `int fputc_unlocked(int, FILE*) throw ()'
/usr/include/bits/stdio.h: In function `int putc_unlocked(int, FILE*)':
/usr/include/bits/stdio.h:86: declaration of `int putc_unlocked(int, FILE*)'
throws different exceptions
/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:433: than
previous declaration `int putc_unlocked(int, FILE*) throw ()'
/usr/include/bits/stdio.h: In function `int putchar_unlocked(int)':
/usr/include/bits/stdio.h:93: declaration of `int putchar_unlocked(int)' throws
different exceptions
/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:434: than
previous declaration `int putchar_unlocked(int) throw ()'
/usr/include/bits/stdio.h: In function `__ssize_t getline(char**, size_t*,
FILE*)':
/usr/include/bits/stdio.h:103: declaration of `__ssize_t getline(char**,
size_t*, FILE*)' throws different exceptions
/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:480: than
previous declaration `__ssize_t getline(char**, size_t*, FILE*) throw ()'
make: *** [ttmkfdir.o] Error 1
!!! ERROR: x11-misc/ttmkfdir-3.0.9-r1 failed.
!!! Function src_compile, Line 32, Exitcode 2
!!! (no error message)
|
Lots of these lately
Erik
|
|
Back to top |
|
|
Weeve Retired Dev
Joined: 30 Oct 2002 Posts: 641
|
Posted: Wed Nov 05, 2003 2:47 am Post subject: |
|
|
Yeah
Bug 32565 is following this issue. |
|
Back to top |
|
|
iamlarryboy Guru
Joined: 25 Jan 2003 Posts: 480 Location: Prince George, BC, Canada
|
Posted: Wed Nov 05, 2003 9:09 am Post subject: |
|
|
I am happy to report that after encountering this bug I was able to compile.
I used CFLAGS="-march=athlon-xp -pipe"
I removed the -O2 and it worked. |
|
Back to top |
|
|
erik.crouch n00b
Joined: 24 Aug 2003 Posts: 44 Location: Wichita, KS USA -- United Kingdom
|
Posted: Fri Nov 07, 2003 5:54 pm Post subject: |
|
|
iamlarryboy wrote: | I am happy to report that after encountering this bug I was able to compile.
I used CFLAGS="-march=athlon-xp -pipe"
I removed the -O2 and it worked. |
Just in case, and to satisfy my insanity.. We are not running x86 based systems
Unless you are saying that telling my ultra 5 it has an athlon will fix the compile
Erik
|
|
Back to top |
|
|
Weeve Retired Dev
Joined: 30 Oct 2002 Posts: 641
|
Posted: Sat Nov 08, 2003 12:34 am Post subject: |
|
|
Actually it looks like the culprit is the /usr/lib/gcc-lib/3.2.3/include/stdio.h file. According to the bug, that file can be removed and/or you can recompile gcc and it will fix it. Not sure what the final solution will be however. |
|
Back to top |
|
|
kluzz n00b
Joined: 29 Jun 2002 Posts: 18 Location: Bømlo, Norway
|
Posted: Sat Nov 08, 2003 9:33 am Post subject: |
|
|
I re-emerged gcc, as per someone's suggestion in one of the other forums, and the problems went away... _________________ --
Jan Fredrik Leversund
Dark Overlord for Hire |
|
Back to top |
|
|
|
|
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
|
|