#184 Compilation on NetBSD

Other
closed-out-of-date
nobody
Other (40)
5
2013-08-07
2011-11-13
Mayuresh
No

The information below is also logged as support request 3437281 and 3437282. Logging as bugs as it seems those are not tracked at all.

1. I managed to build and run XSB 3.3.5 fine on NetBSD 5.1 amd64 architecture. This required just one tweak in configure script. I just ORred the pattern freebsd with netbsd in configure script so as to apply all freebsd actions to netbsd build.

2. The above "fix" did not work on NetBSD 5.1 on i386. With above trick XSB binary got produced though it gave error when run. (The error can be seen in build process itself as cmplib build requires XSB. The error can also be seen by launching XSB from prompt.)

Perhaps what it means that BSD is supported only on 64 bit and not on 32 bit architecture. Just a guess.

Request any quick workarounds if available.

The error trace is:

Partial Forward Continuation...
... set_inthandler/2
... set_inthandler/2

++Memory violation occurred during evaluation.
++Please report this problem using the XSB bug tracking system accessible from
++ http://sourceforge.net/projects/xsb
++Please supply the steps necessary to reproduce the bug.

Exiting XSB abnormally...

Discussion

  • Mayuresh
    Mayuresh
    2011-11-13

    Further, this is the dgb trace using the debug mode binary:

    (gdb) where
    #0 0x08071dc0 in term_psc (term=1998913561) at term_psc_xsb_i.h:35
    #1 0x08062e92 in builtin_call (number=11 '\v') at builtin.c:1476
    #2 0x080b7a56 in emuloop (startaddr=0xbb9ef0d0 "¬") at emuloop.c:2625
    #3 0x080bb2fb in xsb (flag=1, argc=0, argv=0x0) at emuloop.c:2994
    #4 0x08053f2d in main (argc=-1147240480, argv=0x0) at main_xsb.c:87

     
  • Mayuresh
    Mayuresh
    2011-11-14

    Pity I didn't check this before.

    ABOVE ERROR OCCURS ON LINUX AS WELL.

    I am using Fedora 16 on i386. All releases of XSB compiled fine on Linux so far. 3.3.5 doesn't.

     
  • Michael Kifer
    Michael Kifer
    2013-08-07

    • status: open --> closed-out-of-date