Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 151221
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Diego E. 'Flameeyes' Pettenò <flameeyes@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Paul <edwardsp@allmail.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 151221 depends on: Show dependency tree
Bug 151221 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-10-13 13:17 0000
According to rakshasa and many others, rtorrent 0.6.3 crashes with [File chunk
read error: Cannot allocate memory] when compiled with gcc 4.1.x.
Since this is default compiler for many of us, rtorrent ebuilds should filter
-O2. Any other -Ox will work fine.
Details are here: http://libtorrent.rakshasa.no/ticket/495

----------------------------------------------------------
Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3,
2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 1300MHz
Gentoo Base System version 1.12.5
Last Sync: Fri, 13 Oct 2006 14:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="x86 X aac acpi alsa bash-completion bitmap-fonts bonobo browserplugin
bzip2 cairo ccachei cdda cddb cdinstall cdparanoia cdr cli corba crypt dbus
dhcp dlloader dri dvd dvdr elibc_glibc encode exif extensions fam ffmpeg
firefox flac font-server fortran freetype ftp gif glitz gnome gphoto2 gpm
gstreamer gtk hal howl imap input_devices_keyboard input_devices_mouse ipod
ipv6 isdnlog javascript jce jpeg kerberos kernel_linux krb4 ldap mad mime mmx
mmxext mp3 mpeg mppe-mppc msni ncurses nls noreiserfs nptl nptlonly nsplugin
nvidia offensive ogg opengl oscar pam pcre perl plotutils pmu png ppds pppd
python quicktime readline real reflection sblive screen sdl session sftplogging
silverxp spell spl sse sse2 ssl stream svg tcpd theora truetype truetype-fonts
type1-fonts udev unicode usb userland_GNU vcd video_cards_fbdev video_cards_nv
video_cards_nvidia video_cards_vesa vorbis win32codecs wxwindows xml xorg
xscreensaver xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

------- Comment #1 From Diego E. 'Flameeyes' Pettenò 2006-10-13 13:30:38 0000 -------
I haven't applied this yet because there's something I cannot really grasp on
this issue. -Os is currently replaced by -O2, and here it works. It *might* be
an x86 specific issue, but I'm unable to find enough data about this :/

------- Comment #2 From Paul 2006-10-13 14:20:07 0000 -------
(In reply to comment #1)
> I haven't applied this yet because there's something I cannot really grasp on
> this issue. -Os is currently replaced by -O2, and here it works. It *might* be
> an x86 specific issue, but I'm unable to find enough data about this :/
> 
Then I guess we're stuck. I'm afraid I can't offer any more insight. I'm on x86
myself.
But could you not replace -O2, for -O<something else> just on x86?

------- Comment #3 From Diego E. 'Flameeyes' Pettenò 2006-10-13 14:26:48 0000 -------
Yes, if it actually is only for x86 :/

------- Comment #4 From Diego E. 'Flameeyes' Pettenò 2006-10-18 18:25:06 0000 -------
Okay, now replacing -O2 with -O3 for x86 + GCC 4.1 systems for safety. Bumped
to *.3-r1.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug