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

Bug 124254

Summary: [3.4/build] USE flag "objc-gc" for sys-devel/gcc does not imply dependancy on dev-libs/libgc: missing gc.h header
Product: Gentoo Linux Reporter: Rob Andrews <nine>
Component: New packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal CC: heiko.baums, justincoffman, michaelvs, mog.johnny, vladimir
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Rob Andrews 2006-02-27 05:42:06 UTC
When building gcc (3.4.5) with USE flags 'objc' and 'objc-gc' for Objective C support, USE flag 'objc-gc' does not imply a dependancy on dev-libs/libgc (or boehm-gc). Hence the build fails when it cannot find header gc.h.

Portage 2.1_pre5-r1 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 4000+
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.3.5, 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-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64"
CHOST="x86_64-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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -march=athlon64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
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="amd64 X a52 aac acpi aim alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cdr cjk crypt cups curl dbus doc dri dts dv dvb dvd dvdr dvdread eds emboss encode ethereal evo examples exif ffmpeg firefox flac foomaticdb fortran ftp gcj gif gnome gnutls gpm gstreamer gtk gtk2 gtkhtml hal icq idn ieee1394 imap imlib ipv6 jabber java javascript jpeg kde lcms libcaca lm_sensors lzw lzw-tiff mad maildir mbox migemo mikmod mng mp3 mpeg msn mysql mysqli ncurses nls nptl nsplugin offensive ogg oggvorbis openal opengl oscar pam pcre pdflib perl png ppds python qt quicktime readline samba sdl shorten slang sndfile spell ssl tcpd theora tidy tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l videos vorbis wifi xine xml2 xpm xprint xv xvid yahoo zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 SpanKY gentoo-dev 2006-02-27 20:49:21 UTC
gcc-3.4.5 comes with boehm-gc bundled in ...
Comment 2 Rob Andrews 2006-02-28 01:17:51 UTC
(In reply to comment #1)
> gcc-3.4.5 comes with boehm-gc bundled in ...

That's strange.

In which case, when enabling the garbage collector for objc (USE flag obj-gc), the gcc-objc build cannot find the gc.h header.
Comment 3 SpanKY gentoo-dev 2006-03-06 14:57:59 UTC
*** Bug 125290 has been marked as a duplicate of this bug. ***
Comment 4 Vladimir Lushnikov 2006-03-06 15:30:41 UTC
(Ok well my bag marked as dublicate, I should have posted here)

It seems that gcc 4.1 has the same issue.
Comment 5 Mark Loeser (RETIRED) gentoo-dev 2006-03-13 22:17:17 UTC

*** This bug has been marked as a duplicate of 114359 ***
Comment 6 SpanKY gentoo-dev 2006-06-11 14:33:28 UTC
*** Bug 134242 has been marked as a duplicate of this bug. ***
Comment 7 SpanKY gentoo-dev 2006-06-11 14:33:31 UTC
*** Bug 136266 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-07-19 10:29:13 UTC
*** Bug 141059 has been marked as a duplicate of this bug. ***
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-08-12 07:41:10 UTC
*** Bug 143671 has been marked as a duplicate of this bug. ***