[mythtv] SOLVED - GCC issue f9 -f10 - - enable-proc-opt? HD issue now. Re: trunk make error.

Mark markhsa at shaw.ca
Thu Dec 4 20:12:26 UTC 2008


Mark wrote:
> Mark wrote:
>   
>> Mark wrote:
>>   
>>     
>>> Sorry for the cross post, I thought devs would know what this means or 
>>> if I should enter a ticket?
>>>
>>> I am on F10, SVN from today ( tried one from a week ago too ) and am 
>>> getting this:
>>> ( here is the configure command too: ./configure --prefix=/usr/local 
>>> --enable-opengl-video --enable-opengl-vsync --enable-dvb 
>>> --enable-libfaad --enable-proc-opt )
>>>
>>>
>>> make[2]: Entering directory `/usr/local/mythtv/mythtv/libs/libavformat'
>>> gcc -c -pipe -march=core2 -fomit-frame-pointer -O3 -D_ISOC99_SOURCE 
>>> -D_POSIX_C_SOURCE=200112 -fasm -std=c99 -pthread -Wall -Wno-switch 
>>> -Wdisabled-optimization -Wpointer-arith -Wredundant-decls 
>>> -Wno-pointer-sign -Wcast-qual -funit-at-a-time -Wwrite-strings 
>>> -Wtype-limits -fno-math-errno -fno-signed-zeros -w -D_REENTRANT -DPIC 
>>> -fPIC -DMMX -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 
>>> -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -I/usr/lib/qt4/mkspecs/linux-g++ 
>>> -I. -I.. -I../.. -I. -o utils.o utils.c
>>> utils.c: In function ‘av_remove_stream’:
>>> utils.c:2606: internal compiler error: Segmentation fault
>>>
>>> Any ideas?
>>>
>>>
>>> _______________________________________________
>>> mythtv-dev mailing list
>>> mythtv-dev at mythtv.org
>>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>>>
>>>   
>>>     
>>>       
>> This works when I remove --enable-proc-opt.
>> As the configure states, this SHOULD be used when you are going to be 
>> using HD content.  I am doing this with the HD-PVR.
>> IS this important? 
>>
>> Ideas?
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>
>>   
>>     
> Cancel that.  Thought that went a little further.  Not a proc-opt issue.
> Still getting the above error.
> Assistance or ideas?
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
>   
This may help others down the line.  I upgrade from Fedora 9 to Fedora 
10 and got the above gcc segfaults.
The cause is that when doing a yum upgrade, an f9 package ( ccache ) is 
left that provides: /usr/lib/ccache/gcc as the compiler.
Yes, this gcc segfaults.  Remove this package ( yum remove ccache or rpm 
-e ccache ) and then your system will now find /usr/bin/gcc which works 
just fine.

Moral of the story.  If you get gcc segfaults, do a "which gcc" first, 
and make sure you are not getting one from another location.

Mark


More information about the mythtv-dev mailing list