Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48721 - tcp-wrappers fails to compile with gcc 3.4
Summary: tcp-wrappers fails to compile with gcc 3.4
Status: RESOLVED DUPLICATE of bug 48533
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-22 13:32 UTC by Mikko Tiihonen
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments
removes unnecessary malloc definition (tcp-wrappers-3.4-compile.patch,272 bytes, patch)
2004-04-22 13:33 UTC, Mikko Tiihonen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikko Tiihonen 2004-04-22 13:32:48 UTC
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"
Comment 1 Mikko Tiihonen 2004-04-22 13:33:45 UTC
Created attachment 29840 [details, diff]
removes unnecessary malloc definition

The attached patch makes the ebuild compile for me
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2004-04-22 14:28:33 UTC

*** This bug has been marked as a duplicate of 48533 ***