Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121463 - boehm-gc won't compile against uclibc
Summary: boehm-gc won't compile against uclibc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-03 11:32 UTC by Alexander Brüning
Modified: 2006-04-23 08:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gc6.6-builtin-backtrace-uclibc.patch (gc6.6-builtin-backtrace-uclibc.patch,425 bytes, patch)
2006-02-25 08:30 UTC, solar (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Brüning 2006-02-03 11:32:40 UTC
boehm-gc fails when I try to compile it against uclibc, the patch at [1] makes it (as in boehm-gc-6.6) work, probably it should be in portage.

[1] http://svn.exactcode.de/t2/trunk/package/base/uclibc/patches/boehm-gc-uclibc.patch

------8<------build error------8<------

i486-gentoo-linux-uclibc-gcc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"6.5\" "-DPACKAGE_STRING=\"gc 6.5\"" -DPACKAGE_BUGREPORT=\"Hans.Boehm@hp.com\" -DGC_VERSION_MAJOR=6 -DGC_VERSION_MINOR=5 -DPACKAGE=\"gc\" -DVERSION=\"6.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -I./include -fexceptions -Os -pipe -fomit-frame-pointer -fexceptions -MT os_dep.lo -MD -MP -MF .deps/os_dep.Tpo -c os_dep.c -o os_dep.o
os_dep.c:4024:23: execinfo.h: No such file or directory
make[1]: *** [os_dep.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/boehm-gc-6.5/work/gc6.5'
make: *** [all-recursive] Error 1

!!! ERROR: dev-libs/boehm-gc-6.5 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.


------8<------emerge info------8<------

Portage 2.1_pre4-r1 (uclibc/x86, gcc-3.4.5, uclibc-0.9.28-r0, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre15
dev-lang/python:     2.3.4-r1, 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="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i486-gentoo-linux-uclibc"
CFLAGS="-Os -pipe -fomit-frame-pointer"
CHOST="i486-gentoo-linux-uclibc"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /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="-Os -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages nodoc noinfo noman sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 bitmap-fonts gpm ncurses readline truetype-fonts type1-fonts uclibc unicode userlocales zlib elibc_uclibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS, LINGUAS, MAKEOPTS

------8<------------8<----------
Comment 1 solar (RETIRED) gentoo-dev 2006-02-25 08:30:50 UTC
Created attachment 80702 [details, diff]
gc6.6-builtin-backtrace-uclibc.patch

This patch wont break things for normal glibc users and allows gc6 to compile 
fine.
Comment 2 SpanKY gentoo-dev 2006-04-22 12:23:56 UTC
patch is fine
Comment 3 MATSUU Takuto (RETIRED) gentoo-dev 2006-04-23 08:49:53 UTC
fixed in cvs (boehm-gc-6.7)