Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 575038 Details for
Bug 685004
app-emulation/uae-0.8.29-r2 : machdep_init() build fails on ppc
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix build issue on ppc
0001-ppc-gcc-disable-obsolete-machdep_init-code.patch (text/plain), 1021 bytes, created by
John Ogness
on 2019-05-03 21:32:27 UTC
(
hide
)
Description:
patch to fix build issue on ppc
Filename:
MIME Type:
Creator:
John Ogness
Created:
2019-05-03 21:32:27 UTC
Size:
1021 bytes
patch
obsolete
>From b85107a193faf5c1d20696ee3011e41955aa2341 Mon Sep 17 00:00:00 2001 >From: root <root@johno.local> >Date: Fri, 3 May 2019 22:58:40 +0200 >Subject: [PATCH] ppc-gcc: disable obsolete machdep_init code > >With A10811 "Overhaul the CPU type configuration." the >read_processor_time code was removed, but this file was missed. >Disable the invalid code. > >Signed-off-by: John Ogness <john.ogness@linutronix.de> >--- > src/md-ppc-gcc/support.c | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/src/md-ppc-gcc/support.c b/src/md-ppc-gcc/support.c >index c4b1bd5..35cb5f2 100644 >--- a/src/md-ppc-gcc/support.c >+++ b/src/md-ppc-gcc/support.c >@@ -20,6 +20,7 @@ static volatile int loops_to_go; > > void machdep_init (void) > { >+#if 0 > rpt_available = 1; > write_log ("Calibrating delay loop.. "); > fflush(stderr); >@@ -35,6 +36,7 @@ void machdep_init (void) > write_log ("ok - %d\n",best_time/loops_to_go); > last_time = read_processor_time(); > best_time = read_processor_time()-last_time; >+#endif > } > > >-- >2.21.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 685004
: 575038