gcc -march=k8 -pipe -O2 -fomit-frame-pointer -frename-registers -fweb --param ma x-delay-slot-insn-search=300 --param max-delay-slot-live-search=1000 --param max -pending-list-length=100 --param max-gcse-passes=4 --param max-gcse-memory=10485 7600 --param max-crossjump-edges=400 -DFACILITY=LOG_AUTHPRIV -DHOSTS_ACCESS -DGETPEERNAME_BUG -DBROKEN_FGETS -DLIBC_CALLS_STRTOK -DALWAYS_RFC931 -DDAEMON _UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DSEVERITY=LOG_INF O -DRFC931_TIMEOUT=10 -DPIC -D_REENTRANT -fPIC -DHAVE_STRERROR -DHOSTS_D ENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DHAVE_WEAKSYMS -DS YS_ERRLIST_DEFINED -DBROKEN_SO_LINGER -DAPPEND_DOT -DALWAYS_HOSTNAME -c scaffol d.c scaffold.c:28: error: conflicting types for 'malloc' scaffold.c:28: error: conflicting types for 'malloc' make[1]: *** [scaffold.o] Error 1 Reproducible: Always Steps to Reproduce: 1. emerge gcc 3.4 2. emerge tcp_wrappers 3. Actual Results: compilation fails Expected Results: package should compile cleanly Portage 2.0.50-r6 (default-amd64-2004.0, gcc-3.4.0, glibc-2.3.3_pre20040207-r0, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 x86_64 4 Gentoo Base System version 1.4.9 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -pipe -O2 -fomit-frame-pointer -frename-registers -fweb --param max-delay-slot-insn-search=300 --param max-delay-slot-live-search=1000 --param max-pending-list-length=100 --param max-gcse-passes=4 --param max-gcse-memory=104857600 --param max-crossjump-edges=400" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -pipe -O2 -fomit-frame-pointer -frename-registers -fweb --param max-delay-slot-insn-search=300 --param max-delay-slot-live-search=1000 --param max-pending-list-length=100 --param max-gcse-passes=4 --param max-gcse-memory=104857600 --param max-crossjump-edges=400" DISTDIR="/mnt/2/portage-ebuilds/distfiles" FEATURES="autoaddcvs ccache sandbox userpriv usersandbox" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/" MAKEOPTS="-j2" PKGDIR="/mnt/2/portage-ebuilds/packages" PORTAGE_TMPDIR="/mnt/2/portage-tmp" PORTDIR="/mnt/2/portage-ebuilds" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.se.gentoo.org/gentoo-portage" USE="X alsa amd64 apm avi berkdb crypt doc encode ethereal foomaticdb freetype gdbm gif gnome gpm gtk gtk2 imlib jpeg libg++ libwww mikmod mozilla moznoirc mozsvg mpeg mysql ncurses nls nogcj nptl oggvorbis opengl oss pam pdflib perl png postgres python quicktime readline ruby ruby18 sdl slang spell ssl tcpd tetex truetype xml2 xmms xv zlib"
Created attachment 29840 [details, diff] removes unnecessary malloc definition The attached patch makes the ebuild compile for me
*** This bug has been marked as a duplicate of 48533 ***