On Saturday 03 January 2004 11:03 am, Spider wrote:

> Now, whats the exact error when compiling gcc?  Not just the ERROR:
> foo/bar-baz at line...  put some 30-50 lines more than that so we get
> a context.
>
>
> //Spider

I'll give it a shot here. I'm still trying to learn just what is 
relevant/how to read these error spitouts. I just tried it again. Also, 
glibc is failing to compile to the latest ~x86 version. Here is the 
readout of gcc:

****Immediately at end of readout****

cc-3.3.2/gcc/. -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/config 
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.
3.2/gcc/../include /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/c-objc-common.c 
-o c-objc-common.o
rm -rf libcpp.a
ar rc libcpp.a cpplib.o cpplex.o cppmacro.o cppexp.o cppfiles.o 
cpptrad.o cpphash.o cpperror.o cppinit.o cppdefault.
o cppmain.o hashtable.o line-map.o mkdeps.o prefix.o mbchar.o
ranlib libcpp.a
gcc -c   -O -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -pedantic -Wno-long-long   
-DHAVE_CONFIG_H    -I. -I. 
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc 
-I/var/tmp/portage/gcc-3.3.2-r5/work/g
cc-3.3.2/gcc/. -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/config 
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.
3.2/gcc/../include /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/builtins.c 
-o builtins.o
gcc -c   -O -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -pedantic -Wno-long-long   
-DHAVE_CONFIG_H    -I. -I. 
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc 
-I/var/tmp/portage/gcc-3.3.2-r5/work/g
cc-3.3.2/gcc/. -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/config 
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.
3.2/gcc/../include /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/combine.c 
-o combine.o
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/combine.c: In function 
`can_combine_p':
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/combine.c:1236: 
unrecognizable insn:
(insn 1210 669 670 (set (reg:SI 1 edx)
        (UnKnown Unknown)) -1 (nil)
    (nil))
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/combine.c:1236: 
Internal compiler error in extract_insn, at recog.c
:2149
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make[2]: *** [combine.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory 
`/var/tmp/portage/gcc-3.3.2-r5/work/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory 
`/var/tmp/portage/gcc-3.3.2-r5/work/build/gcc'
make: *** [bootstrap-lean] Error 2

!!! ERROR: sys-devel/gcc-3.3.2-r5 failed.
!!! Function src_compile, Line 411, Exitcode 2
!!! (no error message)


****Some time before that****

gcc -c   -O -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -pedantic -Wno-long-long   
-DHAVE_CONFIG_H    -DSTANDARD_STARTFILE_PREFIX=\"../../../\" 
-DSTANDARD_EXEC_PREFIX=\"/usr/lib/gcc-lib/\" -DDEFAULT_
TARGET_VERSION=\"3.3.2\" -DDEFAULT_TARGET_MACHINE=\"i686-pc-linux-gnu\" 
-DSTANDARD_BINDIR_PREFIX=\"/usr/i686-pc-linu
x-gnu/gcc-bin/3.3/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\"  `test 
"X${SHLIB_LINK}" = "X" || test "yes" != "yes" || 
echo "-DENABLE_SHARED_LIBGCC"` `test "X${SHLIB_MULTILIB}" = "X" || echo 
"-DNO_SHARED_LIBGCC_MULTILIB"` \
        -I. -I. -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc 
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gc
c/. -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/config 
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/../
include /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/java/jvspec.c 
-o jvspec.o)
(cd intl && make all)
make[3]: Entering directory 
`/var/tmp/portage/gcc-3.3.2-r5/work/build/gcc/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory 
`/var/tmp/portage/gcc-3.3.2-r5/work/build/gcc/intl'
gcc   -O -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -pedantic -Wno-long-long   -DH
AVE_CONFIG_H    -I. -I. 
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc 
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-
3.3.2/gcc/. -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/config 
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2
/gcc/../include \
       -c /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/c-parse.c -o 
c-parse.o
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/java/jvspec.c:58: 
warning: string length `969' is greater than the 
length `509' ISO C89 compilers are required to support


****some time before that****

In file included 
from /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/gcc.c:148:
configargs.h:2: warning: string length `932' is greater than the length 
`509' ISO C89 compilers are required to supp
ort
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/gcc.c:718: warning: 
string length `524' is greater than the length 
`509' ISO C89 compilers are required to support
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/gcc.c:865: warning: 
string length `523' is greater than the length 
`509' ISO C89 compilers are required to support
In file included from specs.h:4,
                 from /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/gcc.c:895:
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/objc/lang-specs.h:28: 
warning: string length `546' is greater than 
the length `509' ISO C89 compilers are required to support
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/gcc.c:1450: warning: 
string length `595' is greater than the length
 `509' ISO C89 compilers are required to support
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/gcc.c: In function 
`retry_ice':
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/gcc.c:5866: warning: 
`fd' might be used uninitialized in this funct
ion

***some time before that****

        /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/config/i386/i386.c 
-o i386.o
gcc   -O -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -pedantic -Wno-long-long   -DH
AVE_CONFIG_H    -I. -I. 
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc 
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-
3.3.2/gcc/. -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/config 
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2
/gcc/../include  \
-DTARGET_MACHINE=\"i686-pc-linux-gnu\" \
-c /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/collect2.c -o 
collect2.o
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/collect2.c: In function 
`dump_file':
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/collect2.c:515: 
warning: comparison of unsigned expression < 0 is a
lways false
gcc -c   -O -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -pedantic -Wno-long-long   
-DHAVE_CONFIG_H    -I. -I. 
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc 
-I/var/tmp/portage/gcc-3.3.2-r5/work/g
cc-3.3.2/gcc/. -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/config 
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.
3.2/gcc/../include /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/tlink.c 
-o tlink.o
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/tlink.c: In function 
`scan_linker_output':
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/tlink.c:598: warning: 
comparison of unsigned expression < 0 is alwa
ys false
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/tlink.c:614: warning: 
comparison of unsigned expression < 0 is alwa
ys false
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/tlink.c:659: warning: 
comparison of unsigned expression < 0 is alwa
ys false

****Some time before that****


.2-r5/work/gcc-3.3.2/gcc/../include 
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/genattr.c 
-o genattr.o
warning: structure `JCF' used but not defined
warning: structure `CPool' used but not defined
warning: structure `reg_info_def' used but not defined
warning: structure `die_struct' used but not defined
warning: structure `basic_block_def' used but not defined
echo timestamp > s-gtype

***some time before that****

; \
else true; fi
if test "xinfo" = xinfo; then \
  rm -f /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/java/gcc.info*; 
\
  cd /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/java && makeinfo 
--no-split -I../doc/include -o gcj.info gcj.t
exi; \
else true; fi
echo timestamp 
> /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/doc/gcc.1
perl /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/../contrib/texi2pod.pl 
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-
3.3.2/gcc/doc/invoke.texi > gcc.pod
./intdoc.texi:9503: warning: unlikely character ( in @var.
./intdoc.texi:9503: warning: unlikely character ) in @var.
./intdoc.texi:9582: warning: unlikely character ( in @var.
./intdoc.texi:9582: warning: unlikely character ) in @var.
./ffe.texi:41: warning: undefined flag: srcdir.
./ffe.texi:44: warning: undefined flag: srcdir.
./ffe.texi:47: warning: undefined flag: srcdir.
./ffe.texi:50: warning: undefined flag: srcdir.
./ffe.texi:53: warning: undefined flag: srcdir.
./ffe.texi:56: warning: undefined flag: srcdir.
gcc -c   -O -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -pedantic -Wno-long-long   
-DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. 
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc 
-I/var/tmp/portage/gc
c-3.3.2-r5/work/gcc-3.3.2/gcc/. 
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/config 
-I/var/tmp/portage/gcc-3.3
.2-r5/work/gcc-3.3.2/gcc/../include 
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/errors.c 
-o errors.o
(pod2man --center="GNU" --release="gcc-3.3.2" --section=1 gcc.pod 
> /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc
/doc/gcc.1.T$$ && \
        mv 
-f /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/doc/gcc.1.T$$ 
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-
3.3.2/gcc/doc/gcc.1) || \
        (rm 
-f /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/doc/gcc.1.T$$ && 
exit 1)
gcc -c   -O -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -pedantic -Wno-long-long   
-DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. 
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc 
-I/var/tmp/portage/gc
c-3.3.2-r5/work/gcc-3.3.2/gcc/. 
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/config 
-I/var/tmp/portage/gcc-3.3
.2-r5/work/gcc-3.3.2/gcc/../include 
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/genpreds.c 
-o genpreds.o
cd /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc && \
if bison  -o c-p$$.c c-parse.y; then \
  test -f c-p$$.output && mv -f c-p$$.output c-parse.output ; \
  mv -f c-p$$.c c-parse.c ; \
else \
  rm -f c-p$$.* ; \
  false ; \


***I'll stop there for now. I think I might try grabbing that 'ehush' 
script/utility I saw on the Forums so only the important messages will 
get spit out. Also, here is the tail end of what prints out for the 
failure on glibc:


****glibc error below******

gcc cfsetspeed.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes 
-Wwrite-strings -fprefetch-loop-arrays -freord
er-blocks -march=pentium3 -pipe -mpreferred-stack-boundary=2  -fPIC    
-I../include -I. -I/var/tmp/portage/glibc-2.3
.3_pre20031222/work/glibc-2.3.2/buildhere/termios -I.. -I../libio  
-I/var/tmp/portage/glibc-2.3.3_pre20031222/work/g
libc-2.3.2/buildhere -I../sysdeps/i386/elf 
-I../linuxthreads/sysdeps/unix/sysv/linux/i386 
-I../linuxthreads/sysdeps/
unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread 
-I../linuxthreads/sysdeps/unix/sysv -I../linu
xthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i686 
-I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linu
x/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu 
-I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/un
ix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv 
-I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/pos
ix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 
-I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../s
ysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc 
-isystem /usr/lib/gcc-lib/i686-pc-linux-gnu/3
.2.3/include -isystem /usr/include -D_LIBC_REENTRANT 
-include ../include/libc-symbols.h  -DPIC -DSHARED     -o /var/
tmp/portage/glibc-2.3.3_pre20031222/work/glibc-2.3.2/buildhere/termios/cfsetspeed.os 
-MD -MP -MF /var/tmp/portage/gl
ibc-2.3.3_pre20031222/work/glibc-2.3.2/buildhere/termios/cfsetspeed.os.dt
In file included from ../stdlib/stdlib.h:225,
                 from ../include/stdlib.h:8,
                 from ../linuxthreads/sysdeps/i386/useldt.h:24,
                 from ../linuxthreads/sysdeps/i386/i686/pt-machine.h:73,
                 from ../linuxthreads/sysdeps/i386/tls.h:24,
                 from ../include/tls.h:6,
                 from ../include/errno.h:22,
                 from cfsetspeed.c:20:
../include/xlocale.h:-5339: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make[2]: *** 
[/var/tmp/portage/glibc-2.3.3_pre20031222/work/glibc-2.3.2/buildhere/termios/cfsetspeed.os]
 
Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory 
`/var/tmp/portage/glibc-2.3.3_pre20031222/work/glibc-2.3.2/termios'
make[1]: *** [termios/subdir_lib] Error 2
make[1]: Leaving directory 
`/var/tmp/portage/glibc-2.3.3_pre20031222/work/glibc-2.3.2'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.3.3_pre20031222 failed.
!!! Function src_compile, Line 495, Exitcode 2
!!! (no error message)

*******end glibc error*******


*****Portage info******

[EMAIL PROTECTED] neuros # emerge info
Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 
2.6.0-love1)
=================================================================
System uname: 2.6.0-love1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -pipe -fPIC -fprefetch-loop-arrays 
-funroll-all-loops"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config 
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -fPIC -fprefetch-loop-arrays 
-funroll-all-loops -falign-functions=16"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ibiblio.org/pub/Linux/distributions/gentoo/ 
http://gentoo.mirrors.pair.com/ http://gentoo.seren.com/gentoo 
ftp://gentoo.noved.org/";
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="S3TC X alsa apm arts avi berkdb bonobo cdr crypt cups dga directfb 
dvd encode esd faad fam fbcon ffmpeg flac flash foomaticdb freetype fs 
gdbm gif gmthigh gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hbci 
imagemagick imlib java jikes jpeg kde lcms libg++ libwww mad mikmod mmx 
motif mpeg mpeg4 music mysql nas ncurses nls nocd nowin ofx oggvorbis 
openal opengl oss pam pdflib perl png postgres ppds python qt quicktime 
readline scanner sdl slang spell sse ssl svga tcpd tiff transcode 
truetype type1 usb videos x86 xml2 xmms xv xvid zlib"

Thank you for any ideas.

Bob
[Neuros]


--
[EMAIL PROTECTED] mailing list

Reply via email to