Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25942 - ncurses failed to compile
Summary: ncurses failed to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-05 03:37 UTC by Adrian Cherciu
Modified: 2003-09-03 11:23 UTC (History)
0 users

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 Adrian Cherciu 2003-08-05 03:37:15 UTC
>>> emerge (3 of 13) sys-libs/ncurses-5.3-r4 to /
>>> md5 src_uri ;-) ncurses-5.3.tar.gz
>>> Unpacking source...
>>> Unpacking ncurses-5.3.tar.gz to /var/tmp/portage/ncurses-5.3-r4/work
 * Applying ncurses-5.3-xterm.patch...                                    [ 
ok ]
>>> Source unpacked.

.................................
cd ../obj_s;  gcc -DNDEBUG -D_GNU_SOURCE -I. -I../include -DHAVE_CONFIG_H  -
marc
h=pentium3 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -
ff
orce-addr -falign-functions=4 -mfpmath=sse  -fPIC -c ../form/frm_driver.c
../form/frm_driver.c:3093: internal compiler error: in remove_edge, at 
callgraph
.c:189
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make[1]: *** [../obj_s/frm_driver.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/ncurses-5.3-r4/work/ncurses-
5.3/for
m'
make: *** [all] Error 2

!!! ERROR: sys-libs/ncurses-5.3-r4 failed.
!!! Function src_compile, Line 44, Exitcode 2
!!! parallel make failed
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-08-05 10:14:20 UTC
provide us
#emerge info
Comment 2 David M. Andersen 2003-08-05 18:24:06 UTC
The exact GCC version and the CFLAGS under which GCC was compiled might also be useful.  I've also found that gcc-config sometimes screws up (not with any recent versions though).

gcc -v
qpkg -I -v gcc-config
cat /var/db/pkg/sys-devel/gcc-3*/CFLAGS
Comment 3 Adrian Cherciu 2003-08-06 01:51:14 UTC
b0x root # gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3/specs
Configured with: /var/tmp/portage/gcc-3.3/work/gcc-3.3/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info --enable-shared --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c,c++,ada,f77,objc,java --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3/include/g++-v3 --with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext
Thread model: posix
gcc version 3.3 (Gentoo Linux 1.4, PVR 3.3)
b0x root #

b0x root # qpkg -I -v gcc-config
sys-devel/gcc-config-1.3.3-r1 *
b0x root #


b0x root # cat /var/db/pkg/sys-devel/gcc-3*/CFLAGS
-march=pentium3 -O2 -pipe -fprefetch-loop-arrays
b0x root #

b0x root # emerge info
Portage 2.0.48-r7 (default-x86-1.4, gcc-3.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.21 i686 Celeron (Coppermine)
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="cups foomaticdb imlib libg++ mad motif ncurses nls pdflib spell svga xml2 xmms xv zlib gdbm berkdb slang readline java gpm tcpd pam ssl python gtk qt -X -gnome gd -quicktime jpeg png gif -alsa -kde -arts -postgres -oss -3dnow -apm -avi -mikmod acl apache2 crypt directfb -encode ethreal fbcon imap innodb jikes kerberos ldap libwww -mpeg mbox mmx mysql -oggvorbis -opengl perl samba sasl slp -sdl snmp sse ssk tcltk tiff truetype usb xml x86"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4 -mfpmath=sse"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4 -mfpmath=sse"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache fixpackages"

b0x root #


Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-09-03 11:23:28 UTC
turn down your CFLAGS 
-i686 -O2 works