Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101462 - libstdc++-v3-3.3.6 fails to compile on a p3 celeron, works fine on a duron and an athlon xp
Summary: libstdc++-v3-3.3.6 fails to compile on a p3 celeron, works fine on a duron an...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-05 11:01 UTC by Triffid Hunter
Modified: 2005-12-15 00:54 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 Triffid Hunter 2005-08-05 11:01:08 UTC
only fails on one of three servers, can't work out what the problem would be, 
they're all very similar except for -march :-
the failing box is a celeron 1ghz, the other two are an amd duron 900 and an amd 
athlon xp 2400+.

i've let it try to compile this about 20 times with both gcc-3.3.4 and 3.4.4, 
and it always fails in the same spot for the same reason.

Reproducible: Sometimes
Steps to Reproduce:
1. emerge -avtDNu world

Actual Results:  
/bin/sh ${srcdir}/mkfixinc.sh i686-pc-linux-gnu i686-pc-linux-gnu)
In file included from insn-opinit.c:6:
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/rtl.h:132: warning: type 
of bit-field `code' is a GCC extension
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/rtl.h:135: warning: type 
of bit-field `mode' is a GCC extension
In file included from insn-opinit.c:9:
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/recog.h:227: warning: 
type of bit-field `mode' is a GCC extension
constructing ../fixinc.sh for i686-pc-linux-gnu to run on i686-pc-linux-gnu
make TARGETS=oneprocess SHELL="/bin/sh" CC="gcc" CFLAGS=" -O2 -march=pentium3 -
pipe -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE" 
LDFLAGS="" LIBERTY="/var/tmp/portage/libstdc++-v3-3.3.6/work/build/gcc/../
libiberty/libiberty.a" install-bin
make[2]: Entering directory `/var/tmp/portage/libstdc++-v3-3.3.6/work/build/gcc/
fixinc'
/bin/sh /var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/genfixes 
machname.h
No forbidden identifiers defined by this target
gcc -c -DIN_GCC -DHAVE_CONFIG_H -O2 -march=pentium3 -pipe -DIN_GCC -W -Wall -
Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic 
-Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE  -W -Wall -Wwrite-strings -
Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  
-I. -I.. -I/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc -I/var/
tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/.. -I/var/tmp/portage/
libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/../config -I/var/tmp/portage/
libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/../../include /var/tmp/portage/
libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/fixincl.c
gcc -c -DIN_GCC -DHAVE_CONFIG_H -O2 -march=pentium3 -pipe -DIN_GCC -W -Wall -
Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic 
-Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE  -W -Wall -Wwrite-strings -
Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  
-I. -I.. -I/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc -I/var/
tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/.. -I/var/tmp/portage/
libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/../config -I/var/tmp/portage/
libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/../../include /var/tmp/portage/
libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/fixtests.c
gcc -c -DIN_GCC -DHAVE_CONFIG_H -O2 -march=pentium3 -pipe -DIN_GCC -W -Wall -
Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic 
-Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE  -W -Wall -Wwrite-strings -
Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  
-I. -I.. -I/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc -I/var/
tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/.. -I/var/tmp/portage/
libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/../config -I/var/tmp/portage/
libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/../../include /var/tmp/portage/
libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/fixfixes.c
gcc -c -DIN_GCC -DHAVE_CONFIG_H -O2 -march=pentium3 -pipe -DIN_GCC -W -Wall -
Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic 
-Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE  -W -Wall -Wwrite-strings -
Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  
-I. -I.. -I/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc -I/var/
tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/.. -I/var/tmp/portage/
libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/../config -I/var/tmp/portage/
libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/../../include /var/tmp/portage/
libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/server.c
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/fixtests.c: In 
function `machine_name_test':
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/fixtests.c:72: 
warning: unused parameter `fname'
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/fixtests.c:72: 
warning: unused parameter `text'
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/fixtests.c: In 
function `stdc_0_in_system_headers_test':
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/fixtests.c:124: 
warning: unused parameter `fname'
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/fixtests.c:124: 
warning: unused parameter `text'
gcc -c -DIN_GCC -DHAVE_CONFIG_H -O2 -march=pentium3 -pipe -DIN_GCC -W -Wall -
Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic 
-Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE  -W -Wall -Wwrite-strings -
Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  
-I. -I.. -I/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc -I/var/
tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/.. -I/var/tmp/portage/
libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/../config -I/var/tmp/portage/
libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/../../include /var/tmp/portage/
libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/procopen.c
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/fixfixes.c: In 
function `machine_name_fix':
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/fixfixes.c:499: 
warning: unused parameter `filname'
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/fixfixes.c:499: 
warning: unused parameter `p_fixd'
gcc -c -DIN_GCC -DHAVE_CONFIG_H -O2 -march=pentium3 -pipe -DIN_GCC -W -Wall -
Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic 
-Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE  -W -Wall -Wwrite-strings -
Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  
-I. -I.. -I/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc -I/var/
tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/.. -I/var/tmp/portage/
libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/../config -I/var/tmp/portage/
libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/../../include /var/tmp/portage/
libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/gnu-regex.c
In file included from /var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/
fixinc/fixincl.c:106:
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/fixincl.x:56: 
warning: string length `1232' is greater than the length `509' ISO C89 compilers 
are required to support
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/fixincl.x:137: 
warning: string length `552' is greater than the length `509' ISO C89 compilers 
are required to support
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/fixincl.x:182: 
warning: string length `523' is greater than the length `509' ISO C89 compilers 
are required to support
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/fixincl.x:226: 
warning: string length `762' is greater than the length `509' ISO C89 compilers 
are required to support
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/fixincl.x:362: 
warning: string length `3445' is greater than the length `509' ISO C89 compilers 
are required to support
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/fixincl.x:2047: 
warning: string length `729' is greater than the length `509' ISO C89 compilers 
are required to support
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/fixincl.c: In 
function `initialize':
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/fixincl.c:232: 
warning: traditional C rejects string constant concatenation
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/fixincl.c: In 
function `process':
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/fixincl.c:1047: 
warning: 'pz_cmd_save' might be used uninitialized in this function
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/fixincl.c:640: 
warning: 'res' might be used uninitialized in this function
gcc -c -DIN_GCC -DHAVE_CONFIG_H -O2 -march=pentium3 -pipe -DIN_GCC -W -Wall -
Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic 
-Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE  -W -Wall -Wwrite-strings -
Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  
-I. -I.. -I/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc -I/var/
tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/.. -I/var/tmp/portage/
libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/../config -I/var/tmp/portage/
libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/../../include /var/tmp/portage/
libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/fixlib.c
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/gnu-regex.c: In 
function `compile_range':
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/gnu-regex.c:3051: 
warning: signed and unsigned type in conditional expression
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/gnu-regex.c:3051: 
warning: signed and unsigned type in conditional expression
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/gnu-regex.c: In 
function `regerror':
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/gnu-regex.c:5723: 
warning: implicit declaration of function `__builtin_mempcpy'
gcc -DIN_GCC -DHAVE_CONFIG_H -O2 -march=pentium3 -pipe -DIN_GCC -W -Wall -
Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic 
-Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE  -W -Wall -Wwrite-strings -
Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  
-I. -I.. -I/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc -I/var/
tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/.. -I/var/tmp/portage/
libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/../config -I/var/tmp/portage/
libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/../../include  -o fixincl fixincl.o 
fixtests.o fixfixes.o server.o procopen.o gnu-regex.o fixlib.o /var/tmp/portage/
libstdc++-v3-3.3.6/work/build/gcc/../libiberty/libiberty.a
gnu-regex.o: In function `regerror':
gnu-regex.c:(.text+0x5b36): undefined reference to `__builtin_mempcpy'
collect2: ld returned 1 exit status
distcc[2011] ERROR: compile (null) on localhost failed
make[2]: *** [full-stamp] Error 1
make[2]: Leaving directory `/var/tmp/portage/libstdc++-v3-3.3.6/work/build/gcc/
fixinc'
make[1]: *** [fixinc.sh] Error 2
make[1]: *** Waiting for unfinished jobs....
mv tmp-libgcc.mk libgcc.mk
make[1]: *** Waiting for unfinished jobs....
done
Forming and outputing automata tables...done
Output functions to work with automata...done

Automaton `pentium'
       48 NDFA states,             90 NDFA arcs
       48 DFA states,              90 DFA arcs
       20 minimal DFA states,      62 minimal DFA arcs
       29 all insns         16 insn equivalence classes
   62 transition comb vector els,   320 trans table els: use comb vect
   62 state alts comb vector els,   320 state alts table els: use comb vect
  768 min delay table els, compression factor 2

Automaton `pentium_fpu'
       80 NDFA states,            172 NDFA arcs
       80 DFA states,             172 DFA arcs
       75 minimal DFA states,     162 minimal DFA arcs
       29 all insns          8 insn equivalence classes
  164 transition comb vector els,   600 trans table els: use comb vect
  164 state alts comb vector els,   600 state alts table els: use comb vect
  640 min delay table els, compression factor 1

  237 all allocated states,       236 all allocated arcs
  342 all allocated alternative states
  226 all transition comb vector els,   920 all trans table els
  226 all state alts comb vector els,   920 all state alts table els
 1408 all min delay table els
   12 locked states num

  transformation: 0.005999, building DFA: 0.008999
  DFA minimization: 0.000000, making insn equivalence: 0.000000
 all automaton generation: 0.012999, output: 0.007999
/bin/sh /var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/move-if-change 
tmp-attrtab.c insn-attrtab.c
echo timestamp > s-attrtab
make[1]: Leaving directory `/var/tmp/portage/libstdc++-v3-3.3.6/work/build/gcc'
make: *** [all-gcc] Error 2

!!! ERROR: sys-libs/libstdc++-v3-3.3.6 failed.
!!! Function src_compile, Line 232, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
compile success like my amd boxen

~ # emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.
12-gentoo-r6.anteline i686)
=================================================================
System uname: 2.6.12-gentoo-r6.anteline i686 Intel(R) Celeron(TM) CPU            
    1000MHz
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -pipe"
CHOST="i686-pc-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/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.isp.net.au/pub/gentoo/ http://mirror.aarnet.edu.
au/pub/gentoo/ http://mirror.pacific.net.au/linux/Gentoo"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="x86 X509 a52 aac acpi alsa apm avi bash-completion berkdb big-tables bind-
mysql bitmap-fonts bzip2 bzlib crypt curl dedicated divx4linux djbfft dts dvd 
eds emboss encode erandom fame fastcgi fbcon foomaticdb fortran ftp gdbm gif 
glibc-omitfp gnutls gpm graphviz gstreamer gtk2 hpn icq imagemagick imlib innodb 
ipv6 ithreads jbig jpeg libg++ libwww linuxthreads-tls logrotate lzo mad mbox 
md5sum memlimit mikmod mjpeg mmap mmx motif mp3 mpeg msn mysql ncurses network 
nfsv4 nls nocd nolvmstatic nptl nptlonly offensive ogg oggvorbis oscar oss pam 
pam_chroot pam_console pam_timestamp pcre pdflib perl png pvm python readline 
samba sasl shared sharedmem sockets socks5 sse ssl tcpd threads tiff truetype 
truetype-fonts type1-fonts usb userlocales vhosts vorbis xml xml2 xvid yahoo 
yv12 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 SpanKY gentoo-dev 2005-08-05 23:04:18 UTC
try again w/out distcc enabled
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2005-11-27 01:06:21 UTC
Possibly an issue with MAKEOPTS.  Setting it to something like -j1 or -j2 would
probably work.  You never tried what Spanky suggested though.
Comment 3 Mark Loeser (RETIRED) gentoo-dev 2005-12-15 00:54:23 UTC
Still an issue?