Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69472 - lablgtk-2.4.0 fails to compile, complaint about compiler
Summary: lablgtk-2.4.0 fails to compile, complaint about compiler
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Team for the ML programming language family
Depends on:
Reported: 2004-10-29 16:40 UTC by Jory A. Pratt
Modified: 2005-02-06 06:05 UTC (History)
0 users

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

config log (config.log,9.10 KB, text/plain)
2004-10-30 13:17 UTC, Jory A. Pratt

Note You need to log in before you can comment on or make changes to this bug.
Description Jory A. Pratt 2004-10-29 16:40:39 UTC
fails to compile complaing about the compiler cant create executables.

Reproducible: Always
Steps to Reproduce:

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.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-
Headers:  sys-kernel/linux26-headers-
Libtools: sys-devel/libtool-1.5.2-r5
CFLAGS="-O2 -mtune=pentium3 -fomit-frame-pointer -pipe -funroll-loops"
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"
FEATURES="autoaddcvs candy ccache distlocks sandbox"
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"
Comment 1 Matthieu Sozeau (RETIRED) gentoo-dev 2004-10-30 11:18:37 UTC
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 ?
Comment 2 Jory A. Pratt 2004-10-30 13:17:41 UTC
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.
Comment 3 Matthieu Sozeau (RETIRED) gentoo-dev 2004-10-31 04:50:58 UTC
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. 
Comment 4 Jory A. Pratt 2004-10-31 15:17:19 UTC
I have recompiled ocaml and everything is working fine again your suggestion was right on for getting the info about ocaml thanks.
Comment 5 Matthieu Sozeau (RETIRED) gentoo-dev 2005-02-06 06:04:57 UTC
Closing bug.
Comment 6 Matthieu Sozeau (RETIRED) gentoo-dev 2005-02-06 06:05:34 UTC
Really close it!