[Bug 40] New: xine-lib build shits on itself when it hits the kdetv deinterlace plugins on intel macs

View: New views
8 Messages — Rating Filter:   Alert me  

[Bug 40] New: xine-lib build shits on itself when it hits the kdetv deinterlace plugins on intel macs

by Bugzilla from bugzilla-daemon@xine-project.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://bugs.xine-project.org/show_bug.cgi?id=40

           Summary: xine-lib build shits on itself when it hits the kdetv
                    deinterlace plugins on intel macs
           Product: xine-lib
           Version: 1.1.9
          Platform: i386/x86
               URL: http://illogic-al.org
        OS/Version: Mac OS X
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: Plugins
        AssignedTo: xine-bugs@...
        ReportedBy: illogical1@...


Created an attachment (id=13)
 --> (http://bugs.xine-project.org/attachment.cgi?id=13)
workaround #1 for kdetv_greedyh.c

xine-lib doesn't compile on intel macs. I filed this bug report with macports
which patches the problem, but it's a dirty, dirty hack and it would be nice if
you guys could actually fix this.
http://trac.macosforge.org/projects/macports/ticket/14228
Failing that just disable the kdetv_deinterlace stuff for intel machines. We'll
take care of the rest.

Sample error:
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../../../../include -I../../../..
-I../../../../include -I../../../../include -I../../../../src
-I../../../../src/xine-engine -I../../../../src/xine-engine
-I../../../../src/xine-utils -I../../../../src/input -I../../../../src/input
-I../../../../lib -I../../../../lib -I/opt/local/include -DCONFIG_DARWIN
-fvisibility=hidden -I../../../../src/post/deinterlace
-I../../../../src/libffmpeg/libavcodec/libpostproc -D_REENTRANT
-D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wformat=2 -Wno-format-zero-length
-Wmissing-format-attribute -Werror-implicit-function-declaration
-Wstrict-aliasing=2 -mtune=i386 -O3 -pipe -fomit-frame-pointer
-falign-functions=4 -falign-loops=4 -falign-jumps=4 -fexpensive-optimizations
-fschedule-insns2 -ffast-math -finline-functions -Wall -Wpointer-arith
-Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations
-Wmissing-prototypes -O2 -DNDEBUG -MT libdeinterlaceplugins_la-kdetv_greedyh.lo
-MD -MP -MF .deps/libdeinterlaceplugins_la-kdetv_greedyh.Tpo -c kdetv_greedyh.c
 -fno-common -DPIC -o .libs/libdeinterlaceplugins_la-kdetv_greedyh.o
kdetv_greedyh.c: In function 'deinterlace_frame_di_greedyh':
greedyh.asm:133: error: can't find a register in class 'GENERAL_REGS' while
reloading 'asm'
greedyh.asm:133: error: can't find a register in class 'GENERAL_REGS' while
reloading 'asm'
greedyh.asm:133: error: can't find a register in class 'GENERAL_REGS' while
reloading 'asm'
make[4]: *** [libdeinterlaceplugins_la-kdetv_greedyh.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Error: Status 1 encountered during processing.

If only kdetv_greedy is patched an identical error gets thrown up for
kdetv_tomsmocomp


--
Configure bugmail: http://bugs.xine-project.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
xine-bugs mailing list
xine-bugs@...
https://lists.sourceforge.net/lists/listinfo/xine-bugs

[Bug 40] xine-lib build shits on itself when it hits the kdetv deinterlace plugins on intel macs

by Bugzilla from bugzilla-daemon@xine-project.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://bugs.xine-project.org/show_bug.cgi?id=40





--- Comment #1 from Big O <illogical1@...>  2008-02-08 06:40:43 UTC ---
Created an attachment (id=14)
 --> (http://bugs.xine-project.org/attachment.cgi?id=14)
workaround #2 for kdetv_tomsmocomp.c


--
Configure bugmail: http://bugs.xine-project.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
xine-bugs mailing list
xine-bugs@...
https://lists.sourceforge.net/lists/listinfo/xine-bugs

[Bug 40] gcc 4.0 failure in the kdetv deinterlace plugins on intel macs

by Bugzilla from bugzilla-daemon@xine-project.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://bugs.xine-project.org/show_bug.cgi?id=40


Darren Salt <linux@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|xine-lib build shits on     |gcc 4.0 failure in the kdetv
                   |itself when it hits the     |deinterlace plugins on intel
                   |kdetv deinterlace plugins on|macs
                   |intel macs                  |




--- Comment #2 from Darren Salt <linux@...>  2008-02-08 13:42:04 UTC ---
NAK to both patches: you've hit a compiler bug.

Try compiling those files with -Os rather than -O2. (Using a newer gcc should
also work, but confirmation that 4.0 succeeds with -Os (or -O or -O0 or -O1)
would still be good.)


--
Configure bugmail: http://bugs.xine-project.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
xine-bugs mailing list
xine-bugs@...
https://lists.sourceforge.net/lists/listinfo/xine-bugs

[Bug 40] gcc 4.0 failure in the kdetv deinterlace plugins on intel macs

by Bugzilla from bugzilla-daemon@xine-project.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://bugs.xine-project.org/show_bug.cgi?id=40





--- Comment #3 from Big O <illogical1@...>  2008-02-08 14:59:20 UTC ---
Can't use a newer gcc as the newest gcc that OS X comes with it 4.0.1. And it
certainly isn't reasonable to ask everyone to break OS X for xine.
I'll try testing with those flags, if you tell me how to pass them to the
configure script :-)


--
Configure bugmail: http://bugs.xine-project.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
xine-bugs mailing list
xine-bugs@...
https://lists.sourceforge.net/lists/listinfo/xine-bugs

[Bug 40] gcc 4.0 failure in the kdetv deinterlace plugins on intel macs

by Bugzilla from bugzilla-daemon@xine-project.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://bugs.xine-project.org/show_bug.cgi?id=40





--- Comment #4 from Big O <illogical1@...>  2008-02-08 17:33:19 UTC ---
OK compiling with Os, -O1, or -O allows me to get past the kdetv_greedyh.c
error but -O0 and -O2 still fail.
To test this out I followed the instructions on irc and did
cd src/post/deinterlace/plugins; gcc ... -Os
 where "..." represents the gcc parameters from the failed command.
For me that gcc command became
gcc -DHAVE_CONFIG_H -I. -I. -I../../../../include -I../../../..
-I../../../../include -I../../../../include -I../../../../src
-I../../../../src/xine-engine -I../../../../src/xine-engine
-I../../../../src/xine-utils -I../../../../src/input -I../../../../src/input
-I../../../../lib -I../../../../lib -I/opt/local/include -DCONFIG_DARWIN
-fvisibility=hidden -I../../../../src/post/deinterlace
-I../../../../src/libffmpeg/libavcodec/libpostproc -D_REENTRANT
-D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wformat=2 -Wno-format-zero-length
-Wmissing-format-attribute -Werror-implicit-function-declaration
-Wstrict-aliasing=2 -mtune=i386 -O3 -pipe -fomit-frame-pointer
-falign-functions=4 -falign-loops=4 -falign-jumps=4 -fexpensive-optimizations
-fschedule-insns2 -ffast-math -finline-functions -Wall -Wpointer-arith
-Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations
-Wmissing-prototypes -O2 -DNDEBUG -MT libdeinterlaceplugins_la-kdetv_greedyh.lo
-MD -MP -MF .deps/libdeinterlaceplugins_la-kdetv_greedyh.Tpo -c kdetv_greedyh.c
 -fno-common -DPIC -o .libs/libdeinterlaceplugins_la-kdetv_greedyh.o -Os

After getting paste this the next error is
gcc ${wl}-undefined ${wl}dynamic_lookup -o .libs/xineplug_post_tvtime.so
-bundle  .libs/xineplug_post_tvtime_la-xine_plugin.o
.libs/xineplug_post_tvtime_la-deinterlace.o
.libs/xineplug_post_tvtime_la-pulldown.o .libs/xineplug_post_tvtime_la-speedy.o
.libs/xineplug_post_tvtime_la-tvtime.o
.libs/xineplug_post_tvtime.lax/libdeinterlaceplugins.a/libdeinterlaceplugins_la-double.o
.libs/xineplug_post_tvtime.lax/libdeinterlaceplugins.a/libdeinterlaceplugins_la-greedy.o
.libs/xineplug_post_tvtime.lax/libdeinterlaceplugins.a/libdeinterlaceplugins_la-greedy2frame.o
.libs/xineplug_post_tvtime.lax/libdeinterlaceplugins.a/libdeinterlaceplugins_la-kdetv_greedyh.o
.libs/xineplug_post_tvtime.lax/libdeinterlaceplugins.a/libdeinterlaceplugins_la-kdetv_tomsmocomp.o
.libs/xineplug_post_tvtime.lax/libdeinterlaceplugins.a/libdeinterlaceplugins_la-linear.o
.libs/xineplug_post_tvtime.lax/libdeinterlaceplugins.a/libdeinterlaceplugins_la-linearblend.o
.libs/xineplug_post_tvtime.lax/libdeinterlaceplugins.a/libdeinterlaceplugins_la-scalerbob.o
.libs/xineplug_post_tvtime.lax/libdeinterlaceplugins.a/libdeinterlaceplugins_la-vfir.o
.libs/xineplug_post_tvtime.lax/libdeinterlaceplugins.a/libdeinterlaceplugins_la-weave.o
  ../../../src/xine-engine/.libs/libxine.dylib -L/opt/local/lib
/opt/local/lib/libz.dylib
/opt/local/var/macports/sources/rsync.macports.org/release/ports/multimedia/xine-lib/work/xine-lib-1.1.9.1/src/xine-engine/.libs/libxine.dylib
/opt/local/lib/libintl.dylib -lc -lz -lm /opt/local/lib/libiconv.dylib -lresolv
-mtune=i386 -Wl,-read_only_relocs -Wl,warning -Wl,-framework -Wl,CoreFoundation
ld: absolute addressing (perhaps -mdynamic-no-pic) used in
_tomsmocomp_filter_sse from
.libs/xineplug_post_tvtime.lax/libdeinterlaceplugins.a/libdeinterlaceplugins_la-kdetv_tomsmocomp.o
not allowed in slidable image
collect2: ld returned 1 exit status
make[4]: *** [xineplug_post_tvtime.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1



--
Configure bugmail: http://bugs.xine-project.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
xine-bugs mailing list
xine-bugs@...
https://lists.sourceforge.net/lists/listinfo/xine-bugs

[Bug 40] gcc 4.0 failure in the kdetv deinterlace plugins on intel macs

by Bugzilla from bugzilla-daemon@xine-project.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://bugs.xine-project.org/show_bug.cgi?id=40





--- Comment #5 from Big O <illogical1@...>  2008-02-08 17:44:39 UTC ---
a potential fix for to tomsmocomp error at
http://lists.apple.com/archives/Darwin-x86/2007/Nov/msg00002.html
reconfiguring with ld_classic to test.


--
Configure bugmail: http://bugs.xine-project.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
xine-bugs mailing list
xine-bugs@...
https://lists.sourceforge.net/lists/listinfo/xine-bugs

[Bug 40] gcc 4.0 failure in the kdetv deinterlace plugins on intel macs

by Bugzilla from bugzilla-daemon@xine-project.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://bugs.xine-project.org/show_bug.cgi?id=40


Darren Salt <linux@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




--- Comment #6 from Darren Salt <linux@...>  2008-02-08 22:49:56 UTC ---
The GreedyH compile failure is fixed in current 1.1 hg - it looks like a gcc
4.0 problem which would bite on x86 regardless of OS, though I've not verified
this  because the fix is already present in 1.2 hg.


--
Configure bugmail: http://bugs.xine-project.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
xine-bugs mailing list
xine-bugs@...
https://lists.sourceforge.net/lists/listinfo/xine-bugs

[Bug 40] gcc 4.0 failure in the kdetv deinterlace plugins on intel macs

by Bugzilla from bugzilla-daemon@xine-project.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://bugs.xine-project.org/show_bug.cgi?id=40


Big O <illogical1@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #12 from Big O <illogical1@...>  2008-10-04 13:14:43 UTC ---
As of 1.1.14 compilation works soooo...


--
Configure bugmail: http://bugs.xine-project.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
xine-bugs mailing list
xine-bugs@...
https://lists.sourceforge.net/lists/listinfo/xine-bugs
LightInTheBox - Buy quality products at wholesale price!