Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71153 - mono 0.28 ebuild fails with gcc 3.4.3
Summary: mono 0.28 ebuild fails with gcc 3.4.3
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All All
: Low normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-14 05:41 UTC by John Kim
Modified: 2005-01-10 19:57 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Kim 2004-11-14 05:41:05 UTC
In file included from output.c:41:
defs.h:306: warning: conflicting types for built-in function 'calloc'
defs.h:307: warning: conflicting types for built-in function 'malloc'
In file included from /usr/include/bits/string2.h:1299,
                 from /usr/include/string.h:417,
                 from output.c:42:
/usr/include/stdlib.h:584: error: conflicting types for 'malloc'
defs.h:307: error: previous declaration of 'malloc' was here
/usr/include/stdlib.h:584: error: conflicting types for 'malloc'
defs.h:307: error: previous declaration of 'malloc' was here
/usr/include/stdlib.h:587: error: conflicting types for 'calloc'
defs.h:306: error: previous declaration of 'calloc' was here
/usr/include/stdlib.h:587: error: conflicting types for 'calloc'
defs.h:306: error: previous declaration of 'calloc' was here
make[1]: *** [output.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/mono-0.28/work/mcs-0.28/jay'
make: *** [all-recursive] Error 1

!!! ERROR: dev-dotnet/mono-0.28 failed.
!!! Function src_compile, Line 47, Exitcode 2
!!! MCS compilation failure
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 John Kim 2004-11-14 05:42:47 UTC
emerge info:

Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mfpmath=sse -ffast-math"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -ffast-math"
DISTDIR="/var/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/var/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb bitmap-fonts cdr crypt cups directfb dvd encode esd f77 fam flac foomaticdb fortran gdbm gif gnome gstreamer gtk gtk2 imagemagick imlib java jpeg junit kde ldap libg++ libwww mad mikmod motif mozilla moznocompose moznoirc moznomail mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline ruby sdl slang spell sse ssl svga tcltk tcpd threads tiff truetype x86 xml2 xmms xv zlib"
Comment 2 foser (RETIRED) gentoo-dev 2004-11-14 07:34:54 UTC
try 1.0 at least, 0.28 is old.
Comment 3 Peter Johanson (RETIRED) gentoo-dev 2005-01-10 19:57:22 UTC
Marking WONTFIX. We know 0.28 probably doesn't work with gcc-3.4. mono-1.0.x is working it's way towards being stable. Please use that if you want to use that new of a gcc version.