Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 126735

Summary: pdftk doesn't compile with gcc-4.0.2
Product: Gentoo Linux Reporter: Luca Merolla <luca.merolla>
Component: [OLD] GCC PortingAssignee: Text-Markup Team (OBSOLETE) <text-markup+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 117482    
Attachments: patch to compile with gcc-4.0.2

Description Luca Merolla 2006-03-18 15:29:09 UTC
I have added the patch tha should fix it. I don't know if this is specific only for 4.0.2 or 4.x but with 4.0.2 works.

luca@sixkiller ~ $ emerge --info
Portage 2.0.54 (default-linux/x86/2005.0, gcc-4.0.2, glibc-2.3.6-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.12.0_pre15
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.6.3, 1.7.9-r1, 1.8.5-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.91.0.5
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -Os -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -Os -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ http://gentoo.netnitco.net"
LINGUAS="it"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dfx 3dnow X acl alsa apm audiofile avi berkdb bitmap-fonts bzip2 cairo cdr crypt cups curl dbus dri eds emboss encode exif expat fam ffmpeg firefox flac foomaticdb fortran gcj gd gdbm gif glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal idn imagemagick imlib ipv6 java jpeg junit kerberos lcms ldap libclamav libg++ libwww lirc mad matroska mhash mikmod mmx mng motif mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis openal opengl pam pcre pdflib perl png postgres prelude python qt quicktime readline samba scanner sdl spell sse ssl svg svga tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis wmf xine xml xml2 xv xvid zlib video_cards_ati linguas_it userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Luca Merolla 2006-03-18 15:30:14 UTC
Created attachment 82500 [details, diff]
patch to compile with gcc-4.0.2
Comment 2 Mike Doty (RETIRED) gentoo-dev 2006-03-18 15:31:11 UTC
wrong stuff
Comment 3 Martin Ehmsen (RETIRED) gentoo-dev 2006-03-19 15:12:14 UTC
Fixed in CVS. Thanks for reporting and providing the patch!