Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132852 - bison 2.1 fails to compile on Gentoo Sparc64
Summary: bison 2.1 fails to compile on Gentoo Sparc64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: Sparc64 Linux
: High normal (vote)
Assignee: Sparc Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-09 20:55 UTC by Jeremy Utley
Modified: 2006-09-01 14:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Utley 2006-05-09 20:55:52 UTC
System is a fresh install from a 2006.0 stage3 tarball, no changes to USE flags except to enable ipv6 support.  When running emerge -avuDN world, compilation bails when compiling bison - error output is very long, so I will cut out what I believe to be unimportant information - if more info from the output is needed, let me know.

make[4]: Entering directory `/var/tmp/portage/bison-2.1/work/bison-2.1/examples/calc++'
if sparc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -O2 -mcpu=ultrasparc -pipe -MT calc++-scanner.o -MD -MP -MF ".deps/calc++-scanner.Tpo" -c -o calc++-scanner.o calc++-scanner.cc; \
then mv -f ".deps/calc++-scanner.Tpo" ".deps/calc++-scanner.Po"; else rm -f ".deps/calc++-scanner.Tpo"; exit 1; fi
In file included from /usr/lib/gcc/sparc-unknown-linux-gnu/3.4.5/include/g++-v3/cstdlib:49,
                 from ./calc++-scanner.ll:2:
/usr/lib/gcc/sparc-unknown-linux-gnu/3.4.5/include/g++-v3/sparc-unknown-linux-gnu/bits/c++config.h:35:29: bits/os_defines.h: No such file or directory
In file included from /usr/lib/gcc/sparc-unknown-linux-gnu/3.4.5/include/g++-v3/bits/basic_ios.h:44,
                 from /usr/lib/gcc/sparc-unknown-linux-gnu/3.4.5/include/g++-v3/ios:51,
                 from /usr/lib/gcc/sparc-unknown-linux-gnu/3.4.5/include/g++-v3/ostream:45,
                 from /usr/lib/gcc/sparc-unknown-linux-gnu/3.4.5/include/g++-v3/iostream:45,
                 from calc++-parser.hh:26,
                 from ./calc++-scanner.ll:7:
/usr/lib/gcc/sparc-unknown-linux-gnu/3.4.5/include/g++-v3/bits/locale_facets.h:132:31: bits/ctype_base.h: No such file or directory
{Lots of error messages snipped for brevity}
make[4]: *** [calc++-scanner.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/bison-2.1/work/bison-2.1/examples/calc++'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/bison-2.1/work/bison-2.1/examples/calc++'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/bison-2.1/work/bison-2.1/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/bison-2.1/work/bison-2.1'
make: *** [all] Error 2

!!! ERROR: sys-devel/bison-2.1 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


emerge --info output:

Portage 2.0.54 (default-linux/sparc/sparc64/2006.0/2.4, gcc-3.4.5, glibc-2.3.5-r3, 2.4.32-sparc-r4 sparc64)
=================================================================
System uname: 2.4.32-sparc-r4 sparc64 sun4u
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.4.26-r1
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=ultrasparc -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=ultrasparc -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="sparc X apache2 arts avi berkdb bitmap-fonts bzip2 cli crypt cups dba dlloader dri eds encode esd expat fbcon foomaticdb fortran gcc64 gd gdbm gif gnome gstreamer gtk gtk2 imlib ipv6 jpeg kde libwww mad mikmod motif mpeg ncurses nls ogg opengl oss pam pcre pdflib perl png python qt readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts vorbis xml xmms xorg xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
Comment 1 Jeremy Utley 2006-05-10 09:36:10 UTC
Just an additional comment - once I'd upgraded GCC to the 3.4.6 ebuild, bison compiled fine, so this problem seems to be related to the gcc 3.4.5 version included with the stage3 tarball.
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2006-09-01 14:11:43 UTC
Well, 2006.1 is out and there's new stages, so this should be FIXED.