Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42136 - vlc-0.6.2-r1 does not compile
Summary: vlc-0.6.2-r1 does not compile
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 80099 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-19 04:02 UTC by Andrea Cerrito
Modified: 2005-03-27 16:15 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 Andrea Cerrito 2004-02-19 04:02:00 UTC
I'm trying to emerge VLC, but it does fail the compile process

Reproducible: Always
Steps to Reproduce:
1. emerge vlc
2.
3.

Actual Results:  
make[1]: Entering directory
`/var/tmp/portage/vlc-0.6.2-r1/work/mpeg2dec-20030612/libmpeg2'
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include
-I../include -I../include   -march=pentium3 -mfpmat                           
h=sse -O2 -fPIC -pipe -fomit-frame-pointer -mmmx -msse -falign-functions=32
-fforce-addr  -prefer-non-pic  -MT libmpeg2arch_la-cp                          
 u_accel.lo -MD -MP -MF ".deps/libmpeg2arch_la-cpu_accel.Tpo" \
  -c -o libmpeg2arch_la-cpu_accel.lo `test -f 'cpu_accel.c' || echo
'./'`cpu_accel.c; \
then mv -f ".deps/libmpeg2arch_la-cpu_accel.Tpo"
".deps/libmpeg2arch_la-cpu_accel.Plo"; \
else rm -f ".deps/libmpeg2arch_la-cpu_accel.Tpo"; exit 1; \
fi
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include
-march=pentium3 -mfpmath=sse -O2 -fPIC -pipe -fomit-frame-poin                 
          ter -mmmx -msse -falign-functions=32 -fforce-addr -MT
libmpeg2arch_la-cpu_accel.lo -MD -MP -MF .deps/libmpeg2arch_la-cpu_accel.Tp    
                       o -c cpu_accel.c -o libmpeg2arch_la-cpu_accel.o
cpu_accel.c: In function `arch_accel':
cpu_accel.c:79: error: can't find a register in class `BREG' while reloading `asm'
cpu_accel.c:85: error: can't find a register in class `BREG' while reloading `asm'
cpu_accel.c:93: error: can't find a register in class `BREG' while reloading `asm'
cpu_accel.c:97: error: can't find a register in class `BREG' while reloading `asm'
make[1]: *** [libmpeg2arch_la-cpu_accel.lo] Error 1
make[1]: Leaving directory
`/var/tmp/portage/vlc-0.6.2-r1/work/mpeg2dec-20030612/libmpeg2'
make: *** [all-recursive] Error 1

!!! ERROR: media-video/vlc-0.6.2-r1 failed.
!!! Function src_compile, Line 140, Exitcode 2
!!! (no error message)


Expected Results:  
Compile fine

cerrito on GSM [12:59:52] root # emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0,
2.6.1-gentoo-r1)
=================================================================
System uname: 2.6.1-gentoo-r1 i686 Intel(R) Pentium(R) III Mobile CPU      1200MHz
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -mfpmath=sse -O2 -fPIC -pipe -fomit-frame-pointer -mmmx
-msse -falign-functions=32 -fforce-addr"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -mfpmath=sse -O2 -fPIC -pipe -fomit-frame-pointer
-mmmx -msse -falign-functions=32 -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://212.219.56.162/sites/www.ibiblio.org/gentoo/
http://194.83.57.2/sites/www.ibiblio.org/gentoo/ 
http://194.83.57.3/sites/www.ibiblio.org/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo 
ftp://ftp.flashnet.it/mirror/12/sunsite.unc.edu/Gentoo
ftp://ftp.unina.it/pub/linux/sunsite 
http://ibiblio.org/pub/Linux/ftp.edisontel.com/pub/Sunsite_Mirror
http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo 
ftp://sunsite.cnlab-switch.ch/mirror/gentoo
http://www.ibiblio.org/pub/Linux/distributions/gentoo 
http://gentoo.oregonstate.edu"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/portoverlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X X509 aalib acl acpi acpi4linux alsa apm arts artswrappersuid avi berkdb
bluetooth bonobo caps cdr chroot crypt cups dga diet directfb dv dvd encode
ethereal evo faad fbcon fbdev ffmpeg foomaticdb foreign-sysvinit freetype fs
gatos gd gdbm gif gnome gpm gtk gtk2 gtkhtml guile hostap-noplx icc idea
imagemagick imap imlib imlib2 innodb ipv6 irda irmc java javascript jikes jpeg
justify kde kerberos krb4 ldap libg++ libgda libwww linguas_it mad maildir
md5sum memlimit mikmod mmx mng motif mozilla moznocompose moznoirc moznomail
mpeg mpeg4 msn mule mysql nas ncurses net nls no-exercises nptl odbc offensive
oggvorbis opengl openssh operanom2 oscar pam parse-clocks pcap pcmcia pdflib
perl pic pie png pnp ppds python qt quicktime radeon readline ruby samba sasl
scanner sdl serial skey slang snmp socks5 speedo spell sse ssl svga tcltk tcpd
tetex tiff transcode truetype type1 usb v4l video_cards_radeon vim-with-x x86
xchattext xine xml2 xmms xosd xv xvid zlib"
Comment 1 James Slater 2004-02-19 12:51:17 UTC
What happens if you try without "-fPIC" in your CFLAGS?
Comment 2 Andrea Cerrito 2004-02-21 09:43:28 UTC
It fails with different error.

ar rc libavcodec.a common.o utils.o mem.o allcodecs.o mpegvideo.o jrevdct.o jfdctfst.o jfdctint.o mpegaudio.o ac3enc.o mjpeg.o resample.o dsputil.o motion_est.o imgconvert.o imgresample.o mpeg12.o mpegaudiodec.o pcm.o simple_idct.o ratecontrol.o adpcm.o eval.o dv.o error_resilience.o fft.o mdct.o mace.o huffyuv.o cyuv.o opts.o raw.o h264.o golomb.o vp3.o asv1.o 4xm.o cabac.o ffv1.o ra144.o ra288.o vcr1.o cljr.o h263.o msmpeg4.o h263dec.o svq1.o rv10.o wmadec.o indeo3.o a52dec.o liba52/bit_allocate.o liba52/bitstream.o liba52/downmix.o liba52/imdct.o  liba52/parse.o liba52/crc.o liba52/resample.o libpostproc/postprocess.o mp3lameaudio.o i386/fdct_mmx.o i386/cputest.o i386/dsputil_mmx.o i386/mpegvideo_mmx.o i386/idct_mmx.o i386/motion_est_mmx.o i386/simple_idct_mmx.o i386/fft_sse.o
ranlib libavcodec.a
rm -f libpostproc.a
ar rc libpostproc.a postprocess.o
ranlib libpostproc.a
imlib
mozilla
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for i686-pc-linux-gnu-g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for egrep... grep -E
checking for an Objective-C compiler... checking dependency style of g++... gcc3
not implemented yet
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-strip... strip
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-ld... no
checking for ld... ld
checking for a BSD-compatible install... /usr/bin/install -c
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for i686-pc-linux-gnu-ranlib... ranlib
checking for strerror in -lcposix... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... yes
checking for shared library run path origin... done
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getc_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... bison
checking version of bison... 1.875, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking for textdomain... yes
checking for suffix of libraries... .so
checking for gettimeofday... yes
checking for select... yes
checking for strerror... yes
checking for strtod... yes
checking for strtol... yes
checking for isatty... yes
checking for vasprintf... yes
checking for swab... yes
checking for sigrelse... yes
checking for getpwuid... yes
checking for memalign... yes
checking for posix_memalign... yes
checking for gethostbyname2... yes
checking for if_nametoindex... yes
checking for atoll... yes
checking for getenv... yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking for gmtime_r... yes
checking for ctime_r... yes
checking for strdup... (cached) yes
checking for strndup... yes
checking for atof... yes
checking for lseek... yes
checking for strcasecmp... (cached) yes
checking for strncasecmp... yes
checking for connect... yes
checking for send... yes
checking for gethostbyname... yes
checking for socklen_t... yes
checking for va_copy... yes
checking for __va_copy... yes
checking for inet_aton... yes
checking for getopt_long... yes
checking return type of signal handlers... void
checking for dlopen in -ldl... yes
checking for cos in -lm... yes
checking for pow in -lm... yes
checking for sqrt in -lm... yes
checking for main in -lpthread... yes
checking for cthread_fork in -lthreads... no
checking for sem_init in -lrt... yes
checking for nanosleep... yes
checking for pthread_cond_t in pthread.h... yes
checking for pthread_once in pthread.h... yes
checking for strncasecmp in strings.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for stdint.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking sys/int_types.h usability... no
checking sys/int_types.h presence... no
checking for sys/int_types.h... no
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for sys/stat.h... (cached) yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking image.h usability... no
checking image.h presence... no
checking for image.h... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking net/if.h usability... yes
checking net/if.h presence... yes
checking for net/if.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking machine/param.h usability... no
checking machine/param.h presence... no
checking for machine/param.h... no
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking linux/version.h usability... yes
checking linux/version.h presence... yes
checking for linux/version.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking for nanosleep in time.h... yes
checking for timespec in sys/time.h... yes
checking cthreads.h usability... no
checking cthreads.h presence... no
checking for cthreads.h... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking kernel/scheduler.h usability... no
checking kernel/scheduler.h presence... no
checking for kernel/scheduler.h... no
checking kernel/OS.h usability... no
checking kernel/OS.h presence... no
checking for kernel/OS.h... no
checking for ntohl in sys/param.h... no
checking if $CC accepts -finline-limit... yes
checking if $CC accepts -Wall... yes
checking if $CC accepts -Wconversion... yes
checking if $CC accepts -Wunreachable-code... yes
checking if $CC accepts -Wsign-compare... yes
checking if $CC accepts -pipe... yes
checking if $CC accepts -O3... yes
checking if $CC accepts -O2... yes
checking if $CC accepts -ffast-math... yes
checking if $CC accepts -funroll-loops... yes
checking if $CC accepts -fomit-frame-pointer... yes
checking if $CC accepts -mdynamic-no-pic... no
checking if $CC accepts -bundle -undefined error -lcc_dynamic... no
checking if $CC accepts -shared... yes
checking for variadic cpp macros... yes
checking __attribute__ ((aligned ())) support... 64
checking __attribute__ ((format ())) support with function pointers... yes
checking for __attribute__((packed))... yes
checking if $CC groks MMX inline assembly... yes
checking if $CC groks MMX EXT inline assembly... yes
checking if $CC groks 3D Now! inline assembly... yes
checking if $CC groks SSE inline assembly... yes
checking if $CC groks AltiVec inline assembly... no
checking if $CC groks AltiVec C extensions... no
checking if linker needs -framework vecLib... no
checking dvdcss/dvdcss.h usability... yes
checking dvdcss/dvdcss.h presence... yes
checking for dvdcss/dvdcss.h... yes
checking dvdplay/dvdplay.h usability... yes
checking dvdplay/dvdplay.h presence... yes
checking for dvdplay/dvdplay.h... yes
checking for dvbpsi/dr.h... yes
checking linux/videodev.h usability... yes
checking linux/videodev.h presence... yes
checking for linux/videodev.h... yes
checking for cdrom_msf0 in linux/cdrom.h... yes
checking for scsireq in sys/scsiio.h... no
checking for ioc_toc_header in sys/cdio.h... no
checking for inet_pton... yes
checking for sockaddr_in6 in netinet/in.h... yes
checking ogg/ogg.h usability... yes
checking ogg/ogg.h presence... yes
checking for ogg/ogg.h... yes
checking for oggpack_read in -logg... yes
checking for oggpackB_read in -logg... yes
checking mad.h usability... yes
checking mad.h presence... yes
checking for mad.h... yes
checking for mad_bit_init in -lmad... yes
checking id3tag.h usability... yes
checking id3tag.h presence... yes
checking for id3tag.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for libavcodec.a in /var/tmp/portage/vlc-0.6.2-r1/work/ffmpeg-20030813... /var/tmp/portage/vlc-0.6.2-r1/work/ffmpeg-20030813/libavcodec/libavcodec.a
checking vorbis/vorbisenc.h usability... yes
checking vorbis/vorbisenc.h presence... yes
checking for vorbis/vorbisenc.h... yes
checking vorbis/codec.h usability... yes
checking vorbis/codec.h presence... yes
checking for vorbis/codec.h... yes
checking faad.h usability... yes
checking faad.h presence... yes
checking for faad.h... yes
checking for faacDecOpen in -lfaad... yes
checking xvid.h usability... yes
checking xvid.h presence... yes
checking for xvid.h... yes
checking for xvid_init in -lxvidcore... no
configure: error: Cannot find libxvidcore library...

!!! ERROR: media-video/vlc-0.6.2-r1 failed.
!!! Function econf, Line 365, Exitcode 1
!!! econf failed

cerrito on GSM [17:43:13] root # esearch xvid
[ Results for search key : xvid ]
[ Applications found : 3 ]

*  media-libs/xvid
      Latest version available: 1.0.0_rc2
      Latest version installed: 1.0.0_rc2
      Size of downloaded files: 518 kB
      Homepage:    http://www.xvid.org/
      Description: XviD, a high performance/quality MPEG-4 video de-/encoding solution.
(snip)
cerrito on GSM [17:49:54] root # find /usr -name xvid.h
/usr/include/xvid.h
cerrito on GSM [17:54:51] root # qpkg -f /usr/include/xvid.h
media-libs/xvid *
cerrito on GSM [17:55:47] root #
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2004-03-02 10:58:51 UTC
try it without -fomit-frame-pointer 
Comment 4 Derk-Jan Hartman 2004-03-21 15:16:30 UTC
the latter problem is a dupe of bug #38953
Comment 5 Chris White (RETIRED) gentoo-dev 2005-01-07 20:14:39 UTC
Verify with 0.8.1 please.
Comment 6 Jan Brinkmann (RETIRED) gentoo-dev 2005-01-30 12:42:12 UTC
*** Bug 80099 has been marked as a duplicate of this bug. ***
Comment 7 Chris White (RETIRED) gentoo-dev 2005-03-27 16:15:41 UTC
Poster needs to verify requested tests.