fails to compile complaing about the compiler cant create executables. Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: checking for ocamlyacc... ocamlyacc checking for ocamlmktop... ocamlmktop checking for ocamlmklib... ocamlmklib checking for camlp4o... camlp4o checking for ocaml threads... system checking for ocaml dll support... yes checking for i586-pc-linux-gnu-ranlib... no checking for ranlib... ranlib OCaml uses gcc `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. to compile C files checking for i586-pc-linux-gnu-gcc... gcc `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. checking for C compiler default output file name... configure: error: C compiler cannot create executables I have had other updates that compile just fine even right now I am compiling gaim update with same gcc and there is no problem. Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 i686) ================================================================= System uname: 2.6.9-gentoo-r1 i686 Celeron (Coppermine) Gentoo Base System version 1.6.4 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -mtune=pentium3 -fomit-frame-pointer -pipe -funroll-loops" 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 /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mtune=pentium3 -fomit-frame-pointer -pipe -funroll-loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs candy ccache distlocks sandbox" GENTOO_MIRRORS="ftp://gentoo.ccccom.com http://gentoo.ccccom.com http://gentoo.netnitco.net" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X alsa apache2 apm avi berkdb bitmap-fonts crypt cups dba encode esd f77 foomaticdb gd gd-external gdbm gif gnome gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod motif moznocompose moznoirc moznomail moznoxft mozsvg mozxmlterm mpeg mysql ncurses nls nowin nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl svga tcltk tcpd truetype x86 xml2 xmms xv zlib"
I have no problem with gcc-3.4.2-r2, could you attach the config.log that is in /var/tmp/portage/lablgtk-2.4.0/work/lablgtk-2.4.0/config.log ?
Created attachment 42921 [details] config log Here is the log you have requested, just remember I know the compiler is fine seeing I can build other packages without any problems.
Most likely this is because ocaml itself was compiled with another gcc version with -mcpu= flags. To check this try: $ touch test.c ; ocamlc -verbose -c test.c and paste the result here.
I have recompiled ocaml and everything is working fine again your suggestion was right on for getting the info about ocaml thanks.
Closing bug.
Really close it!