Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 346373 - sys-libs/glibc: please apply patch local-clone.diff to workaround old gcc bug
Summary: sys-libs/glibc: please apply patch local-clone.diff to workaround old gcc bug
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL: http://gcc.gnu.org/PR41802
Whiteboard:
Keywords:
Depends on: 202055
Blocks:
  Show dependency tree
 
Reported: 2010-11-21 20:32 UTC by Lars
Modified: 2010-11-24 01:47 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 Lars 2010-11-21 20:32:05 UTC
I have problem when compiling pdftk-1.41-r1. It uses the magic of gcj to compile java code into stand-alone binaries. The link above tells me that this is not a pdftk problem, but a gcj problem, which may be fixed by this little patch

http://gcc.gnu.org/bugzilla/attachment.cgi?id=15812&action=edit

and want to ask you to include it into the glibc ebuild.

Reproducible: Always

Steps to Reproduce:
emerge pdftk
Actual Results:  
errors during compliation

GC Warning: Repeated allocation of very large block (appr. size 1048576000):
        May lead to memory leak and poor performance.
GC Warning: Out of Memory!  Returning NIL!

-> system no longer responds


glibc version 2.11.2-r3

$ emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.11.2-r3, 2.6.31-gentoo-r6de x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6de-x86_64-AMD_Athlon-tm-_II_X2_250_Processor-with-gentoo-1.12.14
Timestamp of tree: Sat, 20 Nov 2010 21:45:02 +0000
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -msse -msse2 -mmmx"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -msse -msse2 -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://gentoo.mneisen.org/ http://gentoo.tiscali.nl/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://local_ip/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 ao apache2 apm arts audiofile bash-completion berkdb bidi branding bzip2 cairo cdda cdinstall cdio cdparanoia cdr chm cli consolekit cracklib crypt css cxx dbus dga dirac djvu dri dts dv dvd dvdr dvdread ebook emboss enblend encode exif fam ffmpeg firefox flac fortran freetype ftp gcj gdbm gif gnutls gpm hal history httpd iconv icq ilbc imap irc jabber javascript jpeg jpeg2k kde kpathsea lame latex lcms libnotify libwww lirc live lxc mad matroska mbrola mikmod mime mjpeg mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz mysql nas ncurses nls nntp nocd npp nptl nptlonly nsplugin nvidia ogg oggvorbis openal opengl openmp oscar pam pango pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime raw readline rss samba scga schroedinger sdl session sift smartcard sndfile sox speex spell sql sse sse2 sse3 ssl ssse3 startup-notification stream subtitles svg sysfs szip tcpd tetex theora threads tiff truetype unicode usb v4l v4l2 vcd vdpau vlm vorbis wavpack webkit wifi wxwindows x264 xcb xcomposite xine xinerama xinetd xml xorg xosd xpm xsl xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="devinput" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 SpanKY gentoo-dev 2010-11-24 01:47:50 UTC
we had the patch, but it has been punted.  4 years is long enough.

upgrade your gcc to the stable version and rebuild.