gcc -c -pipe -O2 -march=1.0 -fno-strict-aliasing -ansi -pedantic -Wno-return-type -w -I../../../../../../exports/include/X11 -I../../../../../../include/extensions -I../../../../../../extras/Mesa/src/mesa -I../../../../../../extras/Mesa/src/mesa/main -I../../../../../../extras/Mesa/src/mesa/glapi -I../../../../../../extras/Mesa/src/mesa/shader -I../../../../../../extras/Mesa/include -I../../../../../../extras/Mesa/src/mesa/drivers/dri/common -I../../../../../../extras/Mesa/src/mesa/drivers/dri/radeon -I../../../../../../lib/GL/dri -I../../../../../../exports/include/X11 -I../../../../../../lib/GL/glx -I../../../../../../lib/GL/include -I../../../../../../programs/Xserver/GL/dri -I../../../../../../programs/Xserver/hw/xfree86/os-support -I../../../../../../programs/Xserver/hw/xfree86/common -I../../../../../../extras/drm/shared -I../../../../../../programs/Xserver/hw/xfree86/drivers/ati -I../../../../../../lib/GL/dri/drm -I../../../../../.. -I../../../../../../exports/include -Dlinux -D__hppa__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DMALLOC_0_RETURNS_NULL -DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA -DX_BYTE_ORDER=X_BIG_ENDIAN -DUSE_NEW_INTERFACE -fPIC radeon_state_init.c radeon_state_init.c: In function `radeonInitState': radeon_state_init.c:544: error: `IEEE_ONE' undeclared (first use in this function) radeon_state_init.c:544: error: (Each undeclared identifier is reported only once radeon_state_init.c:544: error: for each function it appears in.) make[6]: *** [radeon_state_init.o] Error 1 make[6]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.99.2/work/xc/lib/GL/mesa/drivers/dri/radeon' make[5]: *** [all] Error 2 make[5]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.99.2/work/xc/lib/GL/mesa/drivers/dri' make[4]: *** [all] Error 2 make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.99.2/work/xc/lib/GL' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.99.2/work/xc/lib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.99.2/work/xc' make[1]: *** [World] Error 2 make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.99.2/work/xc' make: *** [World] Error 2 !!! ERROR: x11-base/xorg-x11-6.7.99.2 failed. !!! Function src_compile, Line 608, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Portage 2.0.51_pre17 (default-hppa-2004.0, gcc-3.3.2, glibc-2.3.4.20040808-r0, 2.6.7-pa14 parisc PA8500 (PCX-W)) ================================================================= System uname: 2.6.7-pa14 parisc PA8500 (PCX-W) Gentoo Base System version 1.5.2 distcc 2.16 hppa2.0-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.91.0.2 Headers: sys-kernel/linux26-headers-2.6.7-r4 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="hppa ~hppa" AUTOCLEAN="yes" CFLAGS="-pipe -O2 -march=2.0 -mschedule=8000 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" CHOST="hppa2.0-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-pipe -O2 -march=2.0 -mschedule=8000 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" DISTDIR="/usr/portage/distfiles" FEATURES="ccache noauto nodoc noinfo sandbox" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="hppa X aalib apache2 crypt cups dedicated encode esd flash foomaticdb gd gd-external gdbm ggi gif gpm gtk gtk2 imap imlib ipv6 joystick jpeg libwww mad maildir mikmod mpeg mysql ncurses offensive oggvorbis opengl oss pam pdflib perl pic plotutils png pnp python qt qtmt quicktime readline samba sasl sdl slp snmp socks5 spell ssl tcltk tcpd tiff truetype xml xml2 xmms xv zlib"
Radeon driver isn't needed on hppa. Trying with echo "#define XF86CardDrivers fbdev" >> config/cf/host.def on my b180l.
See the URL, it's an arch-specific section lacking a mention of hppa. I've asked ajax to get a fix in upstream.
reported upstream as http://freedesktop.org/bugzilla/show_bug.cgi?id=1155
Upstream bug closed.
It looks like this is finally fully fixed in mesa 6.4, which is in the Portage tree.
Fixed in modular.