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

 
 

bug #46987: Unbreak MIPS backend on OpenBSD

Submitter:  Jasper Lievisse Adriaanse <jasperla>
Submitted:  Wed 27 Jan 2016 08:05:50 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  paysan
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
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>
Group administrator
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>
Group administrator
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 Files:
   
   
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
  • -email is unavailable- added by paysan (Posted a comment)
  • -email is unavailable- added by jasperla (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-01-28 paysan StatusNeed Info Fixed
        Open/ClosedOpen Closed
    2016-01-27 paysan StatusConfirmed Need Info
    2016-01-27 paysan StatusNone Confirmed
        Assigned toNone paysan
    2016-01-27 jasperla Attached File- Added patch-arch_mips_machine_h, #36170

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code