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

Bug 128063

Summary: emerging gcc 4.1 with +objc-gc, cannot find gc_config.h
Product: Gentoo Linux Reporter: Colin Macdonald <cbm>
Component: New packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Colin Macdonald 2006-03-29 20:25:52 UTC
(I mentioned this in bug #114359 but I'm not sure if email notifications are sent out on closed bugs so I'll open this new bug too.  I apologize in advance if this is just bugspam and feel free to mark this a dup of bug #114359)


emerging gcc 4.1 on my ~x86 box with USE="fortran gcj gtk nls objc objc++ objc-gc
-bootstrap -build -doc -hardened -ip28 -mudflap -multislot -nocxx -vanilla" results in the following error:

/var/tmp/portage/gcc-4.1.0/work/build/./gcc/xgcc -B/var/tmp/portage/gcc-4.1.0/work/build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -c -I. -I/var/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/libobjc -O2 -march=i686 -O2 -pipe -W -Wall -Wwrite-strings -Wstrict-prototypes -DIN_GCC -DIN_TARGET_LIBS -fno-strict-aliasing -fexceptions -DOBJC_WITH_GC=1 -I/var/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/libobjc/objc -I/var/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/libobjc/../gcc -I/var/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/libobjc/../gcc/config -I../.././gcc -I/var/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/libobjc/../include -I/var/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/libobjc/../boehm-gc/include -I../boehm-gc/include /var/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/libobjc/gc.c  -fPIC -DPIC -o .libs/gc_gc.o
In file included from /var/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/libobjc/gc.c:38:
/var/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/libobjc/../boehm-gc/include/gc.h:55:24: error: gc_config.h: No such file or directory
In file included from /var/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/libobjc/gc.c:38:
/var/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/libobjc/../boehm-gc/include/gc.h:155: warning: function declaration isn't a prototype
/var/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/libobjc/gc.c: In function '__objc_class_structure_encoding':
/var/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/libobjc/gc.c:253: warning: value computed is not used
make[3]: *** [gc_gc.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/gcc-4.1.0/work/build/i686-pc-linux-gnu/libobjc'
make[2]: *** [all-target-libobjc] Error 2
make[2]: Leaving directory `/var/tmp/portage/gcc-4.1.0/work/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-4.1.0/work/build'
make: *** [profiledbootstrap] Error 2

!!! ERROR: sys-devel/gcc-4.1.0 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_compile
  ebuild.sh, line 923:   Called src_compile
  ebuild.sh, line 1236:   Called toolchain_src_compile
  toolchain.eclass, line 24:   Called gcc_src_compile
  toolchain.eclass, line 1487:   Called gcc_do_make
  toolchain.eclass, line 1361:   Called die

!!! emake failed with profiledbootstrap
!!! If you need support, post the topmost build error, and the call stack if relevant.


I checked and found var/tmp/portage/gcc-4.1.0/boehm-gc/include/gc_config.h.in
but no gc_config.h.  To me, that seems like a makefile or auto* problem
(presumably something was supposed to generate qc_config.h from qc_config.h.in
but it failed to do so).



emerge --info
Portage 2.1_pre7-r2 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15.2 i686)
=================================================================
System uname: 2.6.15.2 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/globus-2.4/etc /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protection distcc distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.mirrors.tds.net/gentoo ftp://194.117.143.71/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/ag-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X Xaw3d a52 aac aalib acpi alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cairo cdr cjk crypt cups curl dbus dga dri dts dv dvb dvd dvdr eds emacs emboss encode esd exif expat f77 faad fbcon ffmpeg fftw flac fortran gcj gd gdbm gif gimpprint ginac gmp gnome gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal idn imagemagick imlib isdnlog jack java jpeg lcms ldap leim libcaca libg++ libwww lirc live mad matroska mikmod mmx mng mono motif mozilla mp3 mpeg mysql nas ncurses nls nptl offensive ogg oggvorbis openal opengl oss pam pdf pdflib perl plotutils png ppds pppd python qhull qt quicktime radeon readline rtc samba scanner sdk sdl slang speex spell sqlite sse ssl svg tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vorbis wmf wxwindows xinerama xml xml2 xmms xosd xprint xv xvid zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_ati video_cards_vesa video_cards_vga"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 SpanKY gentoo-dev 2006-03-30 07:19:46 UTC

*** This bug has been marked as a duplicate of 114359 ***