Message-ID: <email address hidden>
Date: Sun, 2 Oct 2005 12:47:09 +0200
From: Sam Hocevar <email address hidden>
To: <email address hidden>
Subject: #323134: mpeg2dec: ftbfs [sparc] function 'arch_accel' can never be inlined because it uses
setjmp
Hello, here is a new patch for this bug. It also disables inlining
for the PPC platform. Due to another bug (fix pending) the error was not
triggered, but the fix is needed.
Message-ID: <email address hidden>
Date: Sun, 2 Oct 2005 12:47:09 +0200
From: Sam Hocevar <email address hidden>
To: <email address hidden>
Subject: #323134: mpeg2dec: ftbfs [sparc] function 'arch_accel' can never be inlined because it uses
setjmp
--G4iJoqBmSsgzjUCe Disposition: inline
Content-Type: text/plain; charset=us-ascii
Content-
Hello, here is a new patch for this bug. It also disables inlining
for the PPC platform. Due to another bug (fix pending) the error was not
triggered, but the fix is needed.
--
Sam.
--G4iJoqBmSsgzjUCe Disposition: attachment; filename= "patch- mpeg2dec- no-inline- setjmp. diff"
Content-Type: text/plain; charset=us-ascii
Content-
diff -puriN mpeg2dec- 0.4.0/libmpeg2/ cpu_accel. c mpeg2dec- 0.4.0-new/ libmpeg2/ cpu_accel. c 0.4.0/libmpeg2/ cpu_accel. c 2003-10-06 04:31:52 +0200 0.4.0-new/ libmpeg2/ cpu_accel. c 2005-10-02 12:44:00 +0200
--- mpeg2dec-
+++ mpeg2dec-
@@ -127,7 +127,7 @@ static RETSIGTYPE sigill_handler (int si
}
#ifdef ARCH_PPC
-static inline uint32_t arch_accel (void)
+static uint32_t arch_accel (void)
{
static RETSIGTYPE (* oldsig) (int);
@@ -157,7 +157,7 @@ static inline uint32_t arch_accel (void)
#endif /* ARCH_PPC */
#ifdef ARCH_SPARC
-static inline uint32_t arch_accel (void)
+static uint32_t arch_accel (void)
{
static RETSIGTYPE (* oldsig) (int);
--G4iJoqBmSsgzj UCe--