LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-12-2006, 04:18 PM   #1
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,466

Rep: Reputation: Disabled
libavcodec misscompiled warning in ffmpeg


Ok I've posted this on both ffmpeg and gcc mailing lists and nobody has responded so I'm going to ask here in the hope that someone may have solved this.

Basically whenever I encode with ffmpeg I get this message:

"Compiler did not align stack variables, libavcodec has been misscompiled
and will possible be very slow or may crash, this is not a bug in the
application but in the compiler
so reporting it anywhere but to the compiler maintainers is senseless!"

This is a self compiled CVS version. I've tried some compiled binaries which didnt seem to have this problem (not that I noticed anyway) but the binaries I managed to get hold of didn't have XVID support, so I am forced to roll my own.

Anyone know about this problem and can help. I don't really want to install another version of gcc if I can help it.

Last edited by dive; 12-12-2006 at 04:21 PM.
 
Old 12-13-2006, 02:03 PM   #2
studioj
Member
 
Registered: Oct 2006
Posts: 460

Rep: Reputation: 31
well i think if it works ok you can ignore the message.
alot of time the developers like to argue over whose responsibility something is by providing the user with a strange message to complain to the other guy.
one thing is to never use the compile optimization -Os
that is just a terrible thing to do as i think it causes very small stack boundries.
if it actually has problems the way it is you could try one of these
-malign-double
-mno-align-double
-mpreferred-stack-boundary=num
default for the boundry would be 4 for 32 bit and 8 for 64 bit
 
Old 12-13-2006, 05:00 PM   #3
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,466

Original Poster
Rep: Reputation: Disabled
Yeah it seems to work ok, but it did warn that it may be slower and it does take ages to reencode large files so I'd rather not have it any slower.

But, I did find a binary dated from 2005 that works with xvid and doesn't have the warning so I will stick with that until I find a better way.

Cheers
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Transcode and FFMpeg(libavcodec) issues PTG Linux - Software 2 04-08-2006 08:37 PM
decoder and encoder with ffmpeg (libavcodec) sangijuela Programming 1 08-20-2005 07:53 AM
ffmpeg - libavcodec & libavformat james_vasant Programming 1 08-16-2005 12:43 PM
Using ffmpeg (libavcodec and libavformat) libraries... _UnPrEdictAbLe_ Programming 2 07-27-2005 07:49 AM
warning : /usr/lib64/libavcodec.so: undefined symbol: awt586 SUSE / openSUSE 2 07-19-2005 04:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration