Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 72086

Summary: gcc-3.3.4-r1 fail to compile with error message: " *** No rule to make target `48', needed by `native'. Stop."
Product: Gentoo Linux Reporter: Grzegorz Dubicki <gdubicki>
Component: [OLD] DevelopmentAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED WORKSFORME    
Severity: normal CC: eradicator, mh-gentoo
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Grzegorz Dubicki 2004-11-22 08:43:32 UTC
gcc-3.3.4-r1 compilation crashes on my amd-k6 box.

Reproducible: Always
Steps to Reproduce:
1. emerge -v "=sys-devel/gcc-3.3.4-r1"

Actual Results:  
(...)
  /var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/gengtype-lex.c -o gengtype-lex.o
stage1/xgcc -Bstage1/ -B/usr/i586-pc-linux-gnu/bin/ -c   -mcpu=k6-2 -pipe
-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.4-r1/work/gcc-3.3.4/gcc
-I/var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/.
-I/var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/config
-I/var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/../include \
  /var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/gengtype-yacc.c -o
gengtype-yacc.o
stage1/xgcc -Bstage1/ -B/usr/i586-pc-linux-gnu/bin/ -c   -mcpu=k6-2 -pipe
-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.4-r1/work/gcc-3.3.4/gcc
-I/var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/.
-I/var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/config
-I/var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/../include \
    /var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/dummy-conditions.c -o
dummy-conditions.ostage1/xgcc -Bstage1/ -B/usr/i586-pc-linux-gnu/bin/ -c  
-mcpu=k6-2 -pipe -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.4-r1/work/gcc-3.3.4/gcc
-I/var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/.
-I/var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/config
-I/var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/../include
/var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/errors.c -o errors.o
stage1/xgcc -Bstage1/ -B/usr/i586-pc-linux-gnu/bin/ -c   -mcpu=k6-2 -pipe
-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.4-r1/work/gcc-3.3.4/gcc
-I/var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/.
-I/var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/config
-I/var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/../include
/var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/genpreds.c -o genpreds.o
stage1/xgcc -Bstage1/ -B/usr/i586-pc-linux-gnu/bin/ -c   -mcpu=k6-2 -pipe
-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.4-r1/work/gcc-3.3.4/gcc
-I/var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/.
-I/var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/config
-I/var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/../include \
  /var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/gencheck.c -o gencheck.o
make[2]: *** No rule to make target `48', needed by `native'.  Stop.
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/gcc-3.3.4-r1/work/build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.3.4-r1/work/build/gcc'
make: *** [bootstrap-lean] Error 2
                                                                               
             
!!! ERROR: sys-devel/gcc-3.3.4-r1 failed.
!!! Function src_compile, Line 553, Exitcode 2


Expected Results:  
gcc should compile cleanly.

root@touga ~ # emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.3, glibc-2.3.4.20041102-r0,
2.6.9-nitro4 i586)
=================================================================
System uname: 2.6.9-nitro4 i586 AMD-K6(tm) 3D processor
Gentoo Base System version 1.5.3
distcc 2.16 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.4.3-r4
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=k6-2 -Os -pipe -fomit-frame-pointer -mmmx -m3dnow -s"
CHOST="i586-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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="-mcpu=k6-2 -Os -pipe -fomit-frame-pointer -mmmx -m3dnow -s"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache digest distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/
http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://195.56.77.10/
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/packages/All"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X acl apache2 apm avi berkdb bitmap-fonts bzlib crypt cups dio esd
f77 foomatic foomaticdb fortran gif gtk gtk2 hardenedphp java jpeg junit
kerberos krb4 ldap libwww mad memlimit mmx motif mpeg mysql ncurses nls nptl
nptlonly ntpl opengl pam pdflib perl pic png postgres ppds python readline ruby
samba sasl sdl shared sharedmem slang ssl svga tcpd tiff truetype usb
userlocales x86 xml2 zlib"
Comment 1 Markus Heimhuber 2004-11-23 13:55:11 UTC
I have exactly the same problem... I'm new to Gentoo and this is a stopper (unfortunately)


localhost root # emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.26-uml1-r9 i686)
=================================================================
System uname: 2.4.26-uml1-r9 i686 UML
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
COMPILER=""
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="-O2 -mcpu=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb bitmap-fonts crypt cups encode f77 foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib jpeg kde ldap libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2005-07-14 02:24:55 UTC
Is this still an issue?
Comment 3 Markus Heimhuber 2005-07-17 23:39:52 UTC
Sorry, I cannot anwer this. At the time of my report I was not able to solve the
problem. Gentoo was no issue for me since then...
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2005-07-18 05:07:12 UTC
ok, then I'm going to close it, thanks...