Summary: | Fix to build ports/lang/drscheme on FreeBSD-7.0 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | areilly | ||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
areilly
2007-12-18 07:10:01 UTC
Responsible Changed From-To: freebsd-ports-bugs->jkoshy Over to maintainer (via the GNATS Auto Assign Tool) A short update: DrScheme v372 (which incorporates the changes in the patch in this PR) fails to build on my amd64/8-current box. The symptoms are a SIGBUS when mzscheme is first run during the build. Tweaking sysctl "machdep.prot_fault_translation" to causes the build to fail in other ways. I'll investigate further on i386 and/or FreeBSD 7. Regards, Koshy On Thu, 03 Jan 2008 05:49:22 -0000 Joseph Koshy <jkoshy@FreeBSD.org> wrote: > A short update: DrScheme v372 (which incorporates the changes in > the patch in this PR) fails to build on my amd64/8-current box. > The symptoms are a SIGBUS when mzscheme is first run during the > build. Tweaking sysctl "machdep.prot_fault_translation" to causes > the build to fail in other ways. I'll investigate further on i386 > and/or FreeBSD 7. Just built and installed 372 on my and64/7-STABLE system. Seems to be working fine. My 7-STABLE system was last updated on 29 Dec, fwiw. Cheers, -- Andrew On Thu, 03 Jan 2008 05:49:22 -0000 Joseph Koshy <jkoshy@FreeBSD.org> wrote: > A short update: DrScheme v372 (which incorporates the changes in > the patch in this PR) fails to build on my amd64/8-current box. > The symptoms are a SIGBUS when mzscheme is first run during the > build. Tweaking sysctl "machdep.prot_fault_translation" to causes > the build to fail in other ways. I'll investigate further on i386 > and/or FreeBSD 7. Hmm. Mred (aka drscheme) is now failing in a way that sounds similar, for me, on 7-STABLE. I've tried a a bunch of source fixes (it now compiles with -Werror-implicit-function-declaration, which is usually important for 64-bit issues) but they haven't helped. This is all particularly frustrating because mzscheme itself seems to have no problems, only mred. So I suspect the wxwindows libraries, but the segv failure appears to happen before then. One other factor that might impact: I've got 3G RAM in this box now, instead of the 1G that I had before. Maybe some aliasing/truncation issues are showing up? Anyway, to tackle this from another angle (and because at about the time drscheme stopped working, epiphany started to crash too), I'm planning to try regressing my FreeBSD environment to a time when it worked, and see if I can figure out what has changed... Since the fault seems to be in the garbage collector, do you know of a place where the FreeBSD/amd64 virtual memory map is described? It'd be nice to be able to recognize bogus addresses as such, in the debugger. Cheers, -- Andrew On Sat, Jan 19, 2008 at 06:26:52PM +1100, Andrew Reilly wrote:
> Anyway, to tackle this from another angle (and because at about
> the time drscheme stopped working, epiphany started to crash
> too), I'm planning to try regressing my FreeBSD environment to
> a time when it worked, and see if I can figure out what has
> changed...
Yep, works with a kernel/userland built from a check-out dated 4
Jan 2008.
Guess I need to binary-search to the point where it stops
working... This could be a drag.
--
Andrew
Try this set of patches. Most are incidental missing-prototype clean-ups, and one converts a macro into an inline function, so that it was easier to debug, but the other (converting malloc to calloc in two places) is essential. -- Andrew Responsible Changed From-To: jkoshy->freebsd-ports-bugs Resetting maintainership of lang/drscheme. State Changed From-To: open->closed Committed, thanks! pav 2008-06-19 02:50:47 UTC FreeBSD ports repository Modified files: lang/drscheme Makefile Added files: lang/drscheme/files patch-sighand.c patch-wx_keym.cxx Log: - Fix segfaults, unbreak - Add missed xorg dependency PR: ports/118808 Submitted by: Andrew Reilly <areilly@bigpond.net.au> Revision Changes Path 1.40 +1 -3 ports/lang/drscheme/Makefile 1.1 +22 -0 ports/lang/drscheme/files/patch-sighand.c (new) 1.1 +28 -0 ports/lang/drscheme/files/patch-wx_keym.cxx (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" |