[Fwd: [mythtv] Problem with .15 compile on Mandrake 10]

Otto Bommer mailings at ootoo.de
Mon May 31 11:06:09 EDT 2004


Just found another workaround, but still using gcc 3.3.1:
Reduce the optimization level from -O3 to -O2, thus go to

    > cd libs/libavcodec

and run
    > gcc -c -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -fPIC 
-w -Wall -g -O2 -DPIC -fPIC -fomit-frame-pointer -DHAVE_AV_CONFIG_H -I.. 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -D_REENTRANT  
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DMMX 
-DUSING_IVTV -DUSING_DVB -DUSING_OPENGL_VSYNC -DQT_NO_DEBUG 
-DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT 
-I/usr/lib/qt3/mkspecs/default -I. -I../.. -I/usr/include 
-I/usr/lib/qt3/include -o ffv1.o ffv1.c

Now you can compile the rest of the package with make.

Otto

Otto Bommer wrote:

> Hi,
>
> I have the same problem on SuSE 9.0 with gcc 3.3.1 (see details below).
> There is a closed bug report for a similar bug in bugzilla:
>
>   http://gcc.gnu.org/ml/gcc-bugs/2003-10/msg00780.html
>
> although it didn't help to solve this one.
> My workaround is to use gcc 3.3.3 from SuSE 9.1 on some other machine
>
> Otto
>
>
> Last output:
> -----------------------------
> gcc -c -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -fPIC -w 
> -Wall -g -O3 -DPIC -fPIC -fomit-frame-pointer -DHAVE_AV_CONFIG_H -I.. 
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -D_REENTRANT  
> -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DMMX 
> -DUSING_IVTV -DUSING_DVB -DUSING_OPENGL_VSYNC -DQT_NO_DEBUG 
> -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT 
> -I/usr/lib/qt3/mkspecs/default -I. -I../.. -I/usr/include 
> -I/usr/lib/qt3/include -o ffv1.o ffv1.c
> ffv1.c: In function `encode_rgb_frame':
> ffv1.c: In function `encode_rgb_frame':
> ffv1.c:465: internal compiler error: in find_function_data, at 
> function.c:319
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://www.suse.de/feedback> for instructions.
> make[2]: *** [ffv1.o] Error 1
> make[2]: Leaving directory 
> `/store/Downloads/MythTV/mythtv-0.15/libs/libavcodec'
> make[1]: *** [sub-libavcodec] Error 2
> make[1]: Leaving directory `/store/Downloads/MythTV/mythtv-0.15/libs'
> make: *** [sub-libs] Error 2
>
>
> gcc-version:
> -----------------------------
> Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.1/specs
> Configured with: ../configure --enable-threads=posix --prefix=/usr 
> --with-local-prefix=/usr/local --infodir=/usr/share/info 
> --mandir=/usr/share/man --libdir=/usr/lib 
> --enable-languages=c,c++,f77,objc,java,ada --disable-checking 
> --enable-libgcj --with-gxx-include-dir=/usr/include/g++ 
> --with-slibdir=/lib --with-system-zlib --enable-shared 
> --enable-__cxa_atexit i586-suse-linux
> Thread model: posix
> gcc version 3.3.1 (SuSE Linux)
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>mythtv-dev mailing list
>mythtv-dev at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>  
>



More information about the mythtv-dev mailing list