When I try to emerge ttmkfdir on my sparc64 Ultra Sparc 5, I get errors about gcc-3.2.3 compile Reproducible: Always Steps to Reproduce: 1.emerge ttmkfdir 2. 3. Actual Results: serversparc root # emerge ttmkfdir Calculating dependencies ...done! >>> emerge (1 of 1) x11-misc/ttmkfdir-3.0.9 to / >>> md5 src_uri ;-) ttmkfdir-3.0.9.tar.bz2 >>> Unpacking source... >>> Unpacking ttmkfdir-3.0.9.tar.bz2 to /var/tmp/portage/ttmkfdir-3.0.9/work * Applying ttmkfdir-3.0.9- gcc33.patch... [ ok ] >>> Source unpacked. libtool --mode=compile g++ -Wall -pedantic -I/usr/include/freetype2 -O2 - mcpu=ultrasparc -o ttmkfdir.o -c ttmkfdir.cpp mkdir .libs g++ -Wall -pedantic -I/usr/include/freetype2 -O2 -mcpu=ultrasparc -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 failed. !!! Function src_compile, Line 31, Exitcode 2 !!! (no error message) Expected Results: emerge ttmkfdir is fine serversparc root # emerge info Portage 2.0.50-r1 (default-sparc64-2004.0, gcc-3.2.3, glibc-2.3.2-r9, 2.4.24- sparc-r2) ================================================================= System uname: 2.4.24-sparc-r2 sparc64 sun4u Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="sparc" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=ultrasparc" CHOST="sparc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share /config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=ultrasparc" DISTDIR="/usr/portage/distfiles" FEATURES="ccache sandbox" GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ http://www.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.mirrors.pair.com/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X arts avi berkdb crypt cups encode esd fbcon foomaticdb gdbm gif gnome gpm gtk imlib jpeg kde libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl o"
*** This bug has been marked as a duplicate of 40338 ***