patchDotGNU Portable.NET - Patches: patch #3164, OpenBSD support

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #3164: OpenBSD support

Submitter:  Saul Hazledine <alienscience>
Submitted:  Sun 27 Jun 2004 01:44:46 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed

Fri 16 Jul 2004 02:03:37 PM UTC, comment #2: 

Patch has been applied to cvs.

Richard Baumann <Rich333>
Group Member
Wed 30 Jun 2004 08:21:45 AM UTC, comment #1: 

Since most of the changes are either in libgc and libffi ,
these changes need to be submitted to the upstream authors
of both libraries too.

But the rest of the changes are OK - I will check this in
before Saturday.


Gopal.V <t3rmin4t0r>
Group administrator
Sun 27 Jun 2004 01:44:46 PM UTC, original submission:  

OpenBSD (tested on 3.5, i386) patch to pnet that can be applied to CVS version on 27th June 2004 for working ilrun, all tests passed, all samples running.

This fixes problems with ilrun locking up when running under OpenBSD because libgc accesses memory past the stackbase.
It enables support of XSharp by setting openbsd as a valid libffi target (without libffi XSharp isn't usable).
The patch fixes a threading problem with OpenBSD where threads are sent a SIGVTALRM on startup but aren't always running by then (a pthread_yield has been added).

OpenBSD lacks a native Java implementation and so the few people interested in getting DotGNU working under OpenBSD (there is at least 3 of us!!) would be grateful if this could be applied. The magic configure incantation to make dotGNU work on OpenBSD after applying this patch is:
CPPFLAGS="-fno-stack-protector" LDFLAGS="-Z" ./configure --enable-threads=pthreads
This is required as the stack protection and libgc don't work well together (I don't think this will ever work given the way libgc walks the stack and the protection obfuscates the stack).

Many thanks.
Saul Hazledine


Saul Hazledine <alienscience>

 

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

Attached Files
file #7589:  openbsd_20040627.diff added by alienscience (7KiB - application/octet-stream - pnet patch for openbsd)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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.

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-07-16 Rich333 StatusNone Done
    Open/ClosedOpen Closed
2004-06-27 alienscience Attached File- Added openbsd_20040627.diff, #3398
    Carbon-Copy- Added alienscience

Back to the top

Powered by Savane 3.15-94dd.
Corresponding source code