Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 145848
Alias:
Product:
Component:
Status: CLOSED
Resolution: DUPLICATE of bug 145849
Assigned To: Gentoo Linux bug wranglers <bug-wranglers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Christian Schmidt <gentoo@digadd.de>
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 145848 depends on: Show dependency tree
Bug 145848 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-09-01 07:30 0000
The tools from the transcode package (except transcode itself) can not be
executed if compiled with the gcc-4.1.1 using -O2 -fweb, but produce SEGV
errors. As a workaround, I would recommend stripping -fweb (and -funroll-loops,
which according to the gcc docs activates it) from the CFLAGS in the ebuild.

I can't tell if it is a gcc bug or lies in the transcode sources itself. It
seems that the code which triggers the SEGV is the cpuid-availability-detection
code in the function "static int mm_support(void)" in aclib/cputest.c, which
looks correct to me. As all x86_64 CPUs support cpuid anyway, one could
alternatively use an #ifdef ARCH_X86 to check only on x86 CPUs, which works as
well.

gcc 4.1.1 on x86 compiles transcode with the -fweb without problems.

emerge --info:
Portage 2.1.1_rc1-r2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r3,
2.6.18-rc5 x86_64)
=================================================================
System uname: 2.6.18-rc5 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.4
Last Sync: Fri, 01 Sep 2006 03:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -fweb -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /lib/modules /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon64 -fweb -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks metadata-transfer parallel-fetch
sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ www.ibiblio.org/gentoo/"
LINGUAS="de en en_GB en_US"
PKGDIR="/usr/portage/packages/foxtrot"
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"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/layman/portage-xgl
/usr/local/overlays/layman/break-my-gentoo-main"
SYNC="rsync://echo.digadd.de/gentoo-portage"
USE="amd64 3dnowex 7zip X a52 aac alsa amr apache2 avi bitmap-fonts bluetooth
bzip2 cdda cddb cdio cdparanoia crypt cups dga dri dts dvd dvdr dvdread
elibc_glibc emacs encode escreen ffmpeg firefox flac font-server foomaticdb
freetype gd gif glitz gpm gtk gtk2 gtkhtml innodb input_devices_evdev
input_devices_keyboard input_devices_mouse ipv6 jpeg kernel_linux libsamplerate
linguas_de linguas_en linguas_en_GB linguas_en_US lm_sensors lzo mad matroska
memlimit mikmod moznocompose moznoirc mp3 mp4 mpeg multislot mythtv ncurses nls
no-seamonkey no_wxgtk1 nptl nptlonly nvidia ogg oggvorbis opengl pam
parse-clocks pdf pic png pthreads readline sdk sdl sensord shaper snmp ssl
symlink tetex theora threads tiff truetype truetype-fonts type1-fonts usb
userland_GNU userlocales v4l v4l2 vcd video_cards_nv video_cards_nvidia vorbis
wxwindows x264 xanim xine xinerama xml2 xmms xorg xosd xprint xv xvid xvmc zlib
zvbi"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Jakub Moc (RETIRED) 2006-09-01 07:40:09 0000 -------

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

------- Comment #2 From Jakub Moc (RETIRED) 2006-09-01 07:40:29 0000 -------
.

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