bugGforth - Bugs: bug #46987, Unbreak MIPS backend on OpenBSD

 
 

bug #46987: Unbreak MIPS backend on OpenBSD

Submitted by:  Jasper Lievisse Adriaanse <jasperla>
Submitted on:  Wed 27 Jan 2016 08:05:50 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Bernd Paysan <paysan>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Fri 29 Jan 2016 07:49:55 AM UTC, comment #7:

Thanks for handling this. With this the OpenBSD port for gforth 0.7.3 is without local patches!

Jasper Lievisse Adriaanse <jasperla>
Thu 28 Jan 2016 11:08:20 PM UTC, comment #6:

I would have hoped somebody from the other BSDs would comment, but for now, I close the bug. If these other BSDs implement cacheflush on MIPS the same way OpenBSD does, the patch will work there.

Bernd Paysan <paysan>
Project AdministratorIn charge of this item.
Thu 28 Jan 2016 06:09:38 PM UTC, comment #5:

It seems this was addressed in http://git.savannah.gnu.org/cgit/gforth.git/commit/?id=4a03e4ff51314fc3a97acedeee928822b3bf1433 so this ticket can be closed now.

Jasper Lievisse Adriaanse <jasperla>
Wed 27 Jan 2016 06:01:28 PM UTC, comment #4:

None of the others have patches in the ports/pkgsrc trees for mips64. However looking at FreeBSD and NetBSD they don't have cacheflush() so the wrong header being included is the least of their problems.

Jasper Lievisse Adriaanse <jasperla>
Wed 27 Jan 2016 05:45:15 PM UTC, comment #3:

What about other BSDs? There are MIPS32 port for FreeBSD and NetBSD. I rather want to fix it for all BSD versions than just one.

Bernd Paysan <paysan>
Project AdministratorIn charge of this item.
Wed 27 Jan 2016 05:33:07 PM UTC, comment #2:

There is no OpenBSD port to a 32-bit, and it's highly unlikely there'll ever be one.

Jasper Lievisse Adriaanse <jasperla>
Wed 27 Jan 2016 04:30:47 PM UTC, comment #1:

Would that be <mips/sysarch.h> on a 32 bit MIPS OpenBSD installation?

Bernd Paysan <paysan>
Project AdministratorIn charge of this item.
Wed 27 Jan 2016 08:05:50 AM UTC, original submission:

The attached patch allows gforth 0.6.2 to build on OpenBSD. While I've not yet tried 0.7.3 the patch will be needed regardless as OpenBSD/mips64 has mips64/sysarch.h instead of sys/cachectl.h

Jasper Lievisse Adriaanse <jasperla>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #36170:  patch-arch_mips_machine_h added by jasperla (449B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by paysan (Posted a comment)
  • -unavailable- added by jasperla (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 28 Jan 2016 11:08:20 PM UTCpaysanStatusNeed Info=>Fixed
      Open/ClosedOpen=>Closed
    Wed 27 Jan 2016 04:46:33 PM UTCpaysanStatusConfirmed=>Need Info
    Wed 27 Jan 2016 04:30:47 PM UTCpaysanStatusNone=>Confirmed
      Assigned toNone=>paysan
    Wed 27 Jan 2016 08:05:50 AM UTCjasperlaAttached File-=>Added patch-arch_mips_machine_h, #36170

    Back to the top


    Powered by Savane 3.1-cleanup1