Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49472 - libvorbis-1.0.1-r2 won't compile with -ftracer and gcc-3.4 on -march=k6-2
Summary: libvorbis-1.0.1-r2 won't compile with -ftracer and gcc-3.4 on -march=k6-2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 48528
  Show dependency tree
 
Reported: 2004-04-30 01:25 UTC by Prakash Punnoor
Modified: 2005-07-16 11:49 UTC (History)
1 user (show)

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 Prakash Punnoor 2004-04-30 01:25:49 UTC
Well, subject says it all. Some assembler error about a value not fitting will occur if down cflags are used in conjunction with -ftracer. Intrestingly same setup with march=athlon-xp works. A compiler issue?

FOr the time beint -ftracer should be filtered in case of gcc-3.4 and -march=k6-2.

Portage 2.0.50-r6 (default-x86-1.4, gcc-3.4.0, glibc-2.3.3_pre20040420-r0, 2.6.6-rc2-mm2)
=================================================================
System uname: 2.6.6-rc2-mm2 i686 AMD Athlon(tm)
Gentoo Base System version 1.4.10
distcc 2.13 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=k6-2 -mtune=k6-2 -O2 -pipe -frename-registers -fomit-frame-pointer -mmmx -m3dnow -s"
CHOST="i586-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k6-2 -mtune=k6-2 -O2 -pipe -frename-registers -fomit-frame-pointer -mmmx -m3dnow -s"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache digest prelink sandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/lportage"
SYNC="rsync://linux.rz.ruhr-uni-bochum.de/gentoo-portage/"
USE="3dfx S3TC X Xaw3d acpi acpi4linux alsa apm arts avi berkdb crypt cups dga encode esd ext-png ext-zlib faad fbcon ffmpeg flac foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 javascript jpeg kde libg++ libwww lirc mad matroska mikmod mmx motif mozilla moznocompose mpeg mpi ncurses nls nocd nptl nvidia oggvorbis opengl oss pam pdflib perl pic png python qt qtmt quicktime readline samba sdl slang speex spell ssl svga tcpd threads tiff truetype usb v4l videos wmf x86 xfs xine xml2 xmms xv xvid zlib"
Comment 1 Robert Moss (RETIRED) gentoo-dev 2004-04-30 17:51:23 UTC
What's the full error?
Comment 2 Prakash Punnoor 2004-04-30 22:54:26 UTC
/bin/sh ../libtool --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libvorbis\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1  -I. -I.  -I../include -I/usr/include    -O20 -ffast-math  -D_REENTRANT -fsigned-char -march=k6-2 -mtune=k6-2 -O2 -ffast-math -ftracer -pipe -frename-registers -mno-sse2 -fPIC -DUSE_MEMORY_H -c info.c
 gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libvorbis\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -I../include -I/usr/include -O20 -ffast-math -D_REENTRANT -fsigned-char -march=k6-2 -mtune=k6-2 -O2 -ffast-math -ftracer -pipe -frename-registers -mno-sse2 -fPIC -DUSE_MEMORY_H -c info.c  -fPIC -DPIC -o .libs/info.o
{standard input}: Assembler messages:
{standard input}:6541: Error: value of ffffffffffffff7f too large for field of 1 bytes at 000000000000040e
make[2]: *** [psy.lo] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
 gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libvorbis\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -I../include -I/usr/include -O20 -ffast-math -D_REENTRANT -fsigned-char -march=k6-2 -mtune=k6-2 -O2 -ffast-math -ftracer -pipe -frename-registers -mno-sse2 -fPIC -DUSE_MEMORY_H -c info.c -o info.o >/dev/null 2>&1
make[2]: Leaving directory `/var/tmp/portage/libvorbis-1.0.1-r2/work/libvorbis-1.0.1/lib'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/libvorbis-1.0.1-r2/work/libvorbis-1.0.1/lib'
make: *** [all-recursive] Fehler 1

!!! ERROR: media-libs/libvorbis-1.0.1-r2 failed.
!!! Function src_compile, Line 51, Exitcode 2
!!! (no error message)
Comment 3 Chris White (RETIRED) gentoo-dev 2004-10-23 22:57:56 UTC
*bump* news on this?
Comment 4 Mark Loeser (RETIRED) gentoo-dev 2005-07-16 11:49:28 UTC
This is still a problem with gcc-3.4, but is fixed in gcc-4.  I added filtering
for -ftracer to the libvorbis ebuilds.