The package in pkgsrc for 4.04 on NetBSD 1.5 doesn't properly
compile.  I've also tried just compiling 4.08.1 from source,
using the hc files.  They both fail at the same spot with
similar errors, which are listed below.

NetBSD 1.5 has switched to an ELF file format.  I don't know
if this is the problem.  I've tried egcs version 1.1.2 and gcc
2.95.2, and they both fail with the same error.  This compiles
fine under Linux.

Any suggestions?

Thanks,

Brian

The compilation fails at:

[brian@bsd std]$ ../../driver/ghc-inplace -recomp -cpp -fglasgow-exts
-fvia-C -Rghc-timing -O -package-name std -static -split-objs    -c
Array.hc -o Array.o -osuf o
Funny global thing?: __stg_split_marker1:
Funny global thing?: _module_registered:
Funny global thing?: __init_Array:
Funny global thing?: __stg_split_marker2:
Funny global thing?: __stg_split_marker3:
Funny global thing?: __stg_split_marker4:
Funny global thing?: __stg_split_marker5:
Funny global thing?: __stg_split_marker6:
Funny global thing?: __stg_split_marker7:
Funny global thing?: __stg_split_marker8:
Prologue junk?: .globl __stg_split_marker2
__stg_split_marker2:
        ret
.Lfe3:
        .size    __stg_split_marker2,.Lfe3-__stg_split_marker2
.section        .rodata
        .align 4
        .type    Array_zdwzdslistArray_srt,@object
Array_zdwzdslistArray_srt:
        .long PrelArr_zdwtpl8_closure
        .long PrelArr_arrEleBottom_closure
        .long PrelArr_zdwtpl8_closure
        .long PrelArr_arrEleBottom_closure
        .size    Array_zdwzdslistArray_srt,16
.globl Array_zdwzdslistArray_closure
.data
        .align 4
        .type    Array_zdwzdslistArray_closure,@object
        .size    Array_zdwzdslistArray_closure,4
Array_zdwzdslistArray_closure:
        .long Array_zdwzdslistArray_info
        .long 0
.section        .rodata
        .align 4
        .type    c2cw_info,@object
        .size    c2cw_info,12
c2cw_info:
        .long 0
        .word 3
        .word 0
        .word 11
        .word 0
.text
        .align 4
        .type    c2cw_entry,@function
c2cw_entry:





_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to