When emerging caml-light, it fails with this error: *** glibc detected *** free(): invalid pointer: 0x0808c000 *** make[1]: *** [stdlib.zo] Aborted make[1]: *** Deleting file `stdlib.zo' make[1]: Leaving directory `/var/tmp/portage/caml-light-0.75/work/cl75/src/lib' make: *** [world] Error 2 !!! ERROR: dev-lang/caml-light-0.75 failed. !!! Function src_compile, Line 41, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. emerge caml-light Actual Results: ERROR Expected Results: Package emerged succesfully Here's my emerge info: Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) XP 3200+ Gentoo Base System version 1.6.9 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 7 2005, 12:23:16)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.4.22 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -Os -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -Os -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms userpriv usersandbox" GENTOO_MIRRORS="ftp://mirrors1.netvisao.pt/gentoo ftp://ftp.gentoo-pt.org/pub/gentoo ftp://ftp.rnl.ist.utl.pt/gentoo/ http://darkstar.ist.utl.pt/gentoo/ http://gentoo.felisberto.net/ http://ftp.dei.uc.pt/pub/Linux/gentoo http://darkstar.ist.utl.pt/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://10.10.10.138/gentoo-portage" USE="x86 3dnow 3dnowx X alsa apm avi berkdb bitmap-fonts cdr crypt cups dga directfb divx4linux dvd dvdread encode ethereal f77 fam font-server foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg libg++ libwww mad mikmod mmx mmx2 motif mozilla mpeg msn ncurses nls nvidia oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline samba sdl spell sse ssl svga tcpd tga tiff truetype truetype-fonts type1-fonts usb videos xml2 xmms xosd xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
This may be a hardware problem on your side, i can't reproduce the bug although i have the same gcc version. Could you retry ?
Tried, and the result is the same. The error occurs in this part: ../camlrun ../camlcomp -stdlib . -O none -g -W gc.ml ../camlrun ../camllibr -o stdlib.zo bool.zo eq.zo exc.zo int.zo fstring.zo string.zo fchar.zo char.zo float.zo list.zo fvect.zo vect.zo io.zo pair.zo arg.zo filename.zo hashtbl.zo lexing.zo parsing.zo printexc.zo sort.zo printf.zo stream.zo stack.zo queue.zo format.zo random.zo genlex.zo baltree.zo set.zo map.zo gc.zo *** glibc detected *** free(): invalid pointer: 0x0808c000 *** make[1]: *** [stdlib.zo] Aborted If you have any suggestion, I am more than happy to try it.
No, i have no suggestion, and as caml-light is not really supported i guess you're alone in the dark here.