[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 47777] errors compiling mpeglib from source
From:       Andreas Steinmetz <ast () domdv ! de>
Date:       2002-10-19 21:16:47
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
     
http://bugs.kde.org/show_bug.cgi?id=47777     




------- Additional Comments From ast@domdv.de  2002-10-19 23:16 -------
Created an attachment (id=219)
 --> (http://bugs.kde.org/attachment.cgi?id=219&action=view)
mpeglib inlining fixes (sorry, no diff, complete sources)

I contacted the mpeglib author, mvogt@rhrk.uni-kl.de, on 2002/08/25 with
this problem, but didn't get any reply, neither was the bug fixed as it
seems. Original mail to above address follows:

--------
Hi,
please change all inline assembly labels from "<label>" to "<label>_%=" to
prevent duplicate symbol errors caused by inlining due to optimization
flags. "%=" generates a unique number per instance and thus inlining
becomes possible.

Example:

label: movl %eax,(%ebc,%ecx,4)
       decl %ecx
       jnz  label

The above is impossible with inlining as there are multiple instances of
"label" defined. This is fixed below:

label_%=: movl %eax,(%ebc,%ecx,4)
	  decl %ecx
	  jnz label_%=

Now every inlined instance has a unique label and thus inining is possible.
--------

Just replace two files with the ones in the attached archive (sorry, no time
for a unified diff right now) to get rid of this bug.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic