[nhc-users] nhc98-1.16 for OpenBSD

Donald Bruce Stewart dons at cse.unsw.edu.au
Mon May 10 16:11:27 EDT 2004


nhc98-1.16 has been imported into the OpenBSD ports tree. 

It is known to build on i386, sparc and powerpc OpenBSD. I'm attempting
to build on the other 32 bit platforms (arm, hppa, m68k, m88k, vax), and
we'll see how that goes. It is built via GHC on i386 and sparc, and via
gcc everywhere else.

I've also stripped down the ghc regress tests so that we could
auto-regress test nhc as it gets built. This consisted in removing as
many ghc language extension tests to their testsuite as I could, until
around 550 tests were being built. This may be of interest to other nhc
users. An ideal solution would be to add a 'no-nhc' flag to each test in
the testsuite, so that we can have a unified testsuite tree...  The port
script that controls this is at:
  http://www.openbsd.org/cgi-bin/cvsweb/ports/lang/nhc98/Makefile?rev=1.1.1.1

nhc won't build on at least amd64, so I've disabled 64 bit platforms
(this is a known issue?) Transcripts (via gcc and ghc) of the amd64
build are attached. It seems gcc-3.3.2 doesn't play well with nhc, at the
moment, as this failure looks similar to a gcc3 failure I've had on
linux/i386 too.

Cheers,
   Don
-------------- next part --------------
Script started on Sun May  9 22:26:51 2004
$ make
===>  nhc98-1.16 depends on: gmake-3.80 - found
===>  nhc98-1.16 depends on: bzip2-* - found
===>  Checking files for nhc98-1.16
`/usr/ports/distfiles/nhc98-1.16/nhc98src-1.16.tar.gz' is up to date.
`/usr/ports/distfiles/nhc98-1.16/nhc98-1.16-regress.tar.bz2' is up to date.
`/usr/ports/distfiles/nhc98-1.16/patch-1.16-typesyn' is up to date.
`/usr/ports/distfiles/nhc98-1.16/patch-1.16-ghc6' is up to date.
>> Checksum OK for nhc98-1.16/nhc98src-1.16.tar.gz. (sha1)
>> Checksum OK for nhc98-1.16/nhc98-1.16-regress.tar.bz2. (sha1)
>> Checksum OK for nhc98-1.16/patch-1.16-typesyn. (sha1)
>> Checksum OK for nhc98-1.16/patch-1.16-ghc6. (sha1)
===>  Extracting for nhc98-1.16
===>  Patching for nhc98-1.16
===>  Applying distribution patches for nhc98-1.16
===>  Configuring for nhc98-1.16
Configuring for nhc98... [ v1.16 (2003-03-08) ]
--------
Looking for already-installed Haskell compilers:
  Looking for hbc...   (not found)
  Note: LMLDIR/HBCDIR variables must be set to enable detection of hbc.
  Looking for ghc...   found 6.2.1
  Looking for nhc98... (not found)
You said you want to use gcc to build hmake.
  Now I'm creating targets/amd64-OpenBSD/hmake3.config for your installation.
Done.
--------
                   Configuration report for nhc98.
    (You can re-run configure to change settings before proceeding.)
You wish (eventually) to install the following components in these locations:
    (Installation directories are not created/checked at this stage.)
Final install root:   /usr/local
nhc98 binaries/libs:  /usr/local/lib/nhc98/amd64-OpenBSD
hmake binaries:       /usr/local/lib/hmake/amd64-OpenBSD
Interfaces/includes:  /usr/local/include/nhc98
Scripts:              /usr/local/bin
Man pages:            /usr/local/man/man1
Html documents:       (none)

Now we check/create your build directories:
Config directory:      targets/amd64-OpenBSD
Build directory root:
    /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets (exists)
Object files build in:
    /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD (exists)
Executables and libs:
    /usr/obj/ports/nhc98-1.16/nhc98-1.16/lib/amd64-OpenBSD (created)

You are going to build nhc98 with:          gcc
nhc98comp uses RTS delimiters?              yes
This machine's endian-ness is:              -DLOW_BYTE_FIRST (detected) 
Executables need .exe suffix?               no  (detected)
Found /usr/bin/true not /bin/true
Testing for the curses library:             -lncurses (detected) 
Testing for the readline library:           -lreadline -lncurses (detected)
Reading /usr/include/errno.h:               updated DErrNo.hs
Default heap for compiled programs is: 100000 words (cached) 

Adding Makefile config script to
    /usr/obj/ports/nhc98-1.16/nhc98-1.16/lib/amd64-OpenBSD...
Adding build scripts to
    /usr/obj/ports/nhc98-1.16/nhc98-1.16/script...    
    nhc98 hmake hmake-config hi greencard 
Creating src/runtime/nhc98heap.c ...
Updating targets/amd64-OpenBSD/hmake3.config...
Saving current configuration in targets/amd64-OpenBSD/config.cache
Done.

===>  Building for nhc98-1.16
cd src/runtime;        gmake install nhc98heap
gmake[1]: Entering directory `/usr/obj/ports/nhc98-1.16/nhc98-1.16/src/runtime'
mkdir -p /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime
mkdir -p /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel || /usr/bin/true
mkdir -p /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Mk || /usr/bin/true
mkdir -p /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Builtin || /usr/bin/true
mkdir -p /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Integer || /usr/bin/true
cd Kernel; gmake all
gmake[2]: Entering directory `/usr/obj/ports/nhc98-1.16/nhc98-1.16/src/runtime/Kernel'
gcc -c   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/mutator.o mutator.c
mutator.c: In function `run':
mutator.c:203: warning: cast from pointer to integer of different size
mutator.c:204: warning: cast from pointer to integer of different size
mutator.c:205: warning: cast from pointer to integer of different size
mutator.c:207: warning: cast from pointer to integer of different size
mutator.c:208: warning: cast from pointer to integer of different size
mutator.c:209: warning: cast from pointer to integer of different size
mutator.c:213: warning: cast from pointer to integer of different size
mutator.c:267: warning: cast from pointer to integer of different size
mutator.c:271: warning: cast from pointer to integer of different size
mutator.c:275: warning: cast from pointer to integer of different size
mutator.c:279: warning: cast from pointer to integer of different size
mutator.c:284: warning: cast from pointer to integer of different size
mutator.c:289: warning: cast from pointer to integer of different size
mutator.c:294: warning: cast from pointer to integer of different size
mutator.c:299: warning: cast from pointer to integer of different size
mutator.c:317: warning: cast from pointer to integer of different size
mutator.c:364: warning: cast from pointer to integer of different size
mutator.c:379: warning: cast from pointer to integer of different size
mutator.c:449: warning: cast from pointer to integer of different size
mutator.c:457: warning: cast from pointer to integer of different size
mutator.c:526: warning: cast from pointer to integer of different size
mutator.c:537: warning: cast from pointer to integer of different size
mutator.c:596: warning: cast from pointer to integer of different size
mutator.c:596: warning: cast from pointer to integer of different size
mutator.c:597: warning: cast from pointer to integer of different size
mutator.c:597: warning: cast from pointer to integer of different size
mutator.c:598: warning: cast from pointer to integer of different size
mutator.c:598: warning: cast from pointer to integer of different size
mutator.c:599: warning: cast from pointer to integer of different size
mutator.c:599: warning: cast from pointer to integer of different size
mutator.c:600: warning: cast from pointer to integer of different size
mutator.c:600: warning: cast from pointer to integer of different size
mutator.c:605: warning: cast from pointer to integer of different size
mutator.c:614: warning: cast from pointer to integer of different size
mutator.c:627: warning: cast from pointer to integer of different size
mutator.c:648: warning: cast from pointer to integer of different size
mutator.c:648: warning: cast from pointer to integer of different size
mutator.c:649: warning: cast from pointer to integer of different size
mutator.c:649: warning: cast from pointer to integer of different size
mutator.c:650: warning: cast from pointer to integer of different size
mutator.c:650: warning: cast from pointer to integer of different size
mutator.c:651: warning: cast from pointer to integer of different size
mutator.c:651: warning: cast from pointer to integer of different size
mutator.c:652: warning: cast from pointer to integer of different size
mutator.c:652: warning: cast from pointer to integer of different size
mutator.c:653: warning: cast from pointer to integer of different size
mutator.c:653: warning: cast from pointer to integer of different size
mutator.c:667: warning: cast from pointer to integer of different size
mutator.c:667: warning: cast from pointer to integer of different size
mutator.c:668: warning: cast from pointer to integer of different size
mutator.c:668: warning: cast from pointer to integer of different size
mutator.c:669: warning: cast from pointer to integer of different size
mutator.c:669: warning: cast from pointer to integer of different size
mutator.c:670: warning: cast from pointer to integer of different size
mutator.c:670: warning: cast from pointer to integer of different size
mutator.c:681: warning: cast from pointer to integer of different size
mutator.c:682: warning: cast from pointer to integer of different size
mutator.c:683: warning: cast from pointer to integer of different size
mutator.c:684: warning: cast from pointer to integer of different size
mutator.c:685: warning: cast from pointer to integer of different size
mutator.c:686: warning: cast from pointer to integer of different size
mutator.c:687: warning: cast from pointer to integer of different size
mutator.c:688: warning: cast from pointer to integer of different size
mutator.c:689: warning: cast from pointer to integer of different size
mutator.c:690: warning: cast from pointer to integer of different size
mutator.c:691: warning: cast from pointer to integer of different size
mutator.c:692: warning: cast from pointer to integer of different size
mutator.c:703: warning: cast from pointer to integer of different size
mutator.c:703: warning: cast from pointer to integer of different size
mutator.c:704: warning: cast from pointer to integer of different size
mutator.c:704: warning: cast from pointer to integer of different size
mutator.c:705: warning: cast from pointer to integer of different size
mutator.c:705: warning: cast from pointer to integer of different size
mutator.c:706: warning: cast from pointer to integer of different size
mutator.c:706: warning: cast from pointer to integer of different size
mutator.c:707: warning: cast from pointer to integer of different size
mutator.c:707: warning: cast from pointer to integer of different size
mutator.c:708: warning: cast from pointer to integer of different size
mutator.c:708: warning: cast from pointer to integer of different size
mutator.c:723: warning: cast from pointer to integer of different size
mutator.c:723: warning: cast from pointer to integer of different size
mutator.c:724: warning: cast from pointer to integer of different size
mutator.c:724: warning: cast from pointer to integer of different size
mutator.c:725: warning: cast from pointer to integer of different size
mutator.c:725: warning: cast from pointer to integer of different size
mutator.c:726: warning: cast from pointer to integer of different size
mutator.c:726: warning: cast from pointer to integer of different size
mutator.c:737: warning: cast from pointer to integer of different size
mutator.c:738: warning: cast from pointer to integer of different size
mutator.c:739: warning: cast from pointer to integer of different size
mutator.c:740: warning: cast from pointer to integer of different size
mutator.c:741: warning: cast from pointer to integer of different size
mutator.c:742: warning: cast from pointer to integer of different size
mutator.c:743: warning: cast from pointer to integer of different size
mutator.c:744: warning: cast from pointer to integer of different size
mutator.c:745: warning: cast from pointer to integer of different size
mutator.c:746: warning: cast from pointer to integer of different size
mutator.c:747: warning: cast from pointer to integer of different size
mutator.c:748: warning: cast from pointer to integer of different size
mutator.c:759: warning: cast from pointer to integer of different size
mutator.c:759: warning: cast from pointer to integer of different size
mutator.c:760: warning: cast from pointer to integer of different size
mutator.c:760: warning: cast from pointer to integer of different size
mutator.c:761: warning: cast from pointer to integer of different size
mutator.c:761: warning: cast from pointer to integer of different size
mutator.c:762: warning: cast from pointer to integer of different size
mutator.c:762: warning: cast from pointer to integer of different size
mutator.c:763: warning: cast from pointer to integer of different size
mutator.c:763: warning: cast from pointer to integer of different size
mutator.c:764: warning: cast from pointer to integer of different size
mutator.c:764: warning: cast from pointer to integer of different size
mutator.c:769: warning: cast from pointer to integer of different size
mutator.c:780: warning: cast from pointer to integer of different size
mutator.c:793: warning: cast from pointer to integer of different size
mutator.c:832: warning: cast from pointer to integer of different size
mutator.c:892: warning: cast from pointer to integer of different size
mutator.c:925: warning: cast from pointer to integer of different size
mutator.c:929: warning: cast from pointer to integer of different size
mutator.c:945: warning: cast from pointer to integer of different size
mutator.c:964: warning: cast from pointer to integer of different size
mutator.c:972: warning: cast from pointer to integer of different size
mutator.c:979: warning: cast from pointer to integer of different size
gcc -c   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/mutlib.o mutlib.c
gcc -c   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/main.o main.c
gcc -c   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/haskellInit.o haskellInit.c
gcc -c   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/dump.o dump.c
gcc -c   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/inscount.o inscount.c
gcc -c   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/collector.o collector.c
gcc -c   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/mark.o mark.c
mark.c: In function `mark':
mark.c:727: warning: cast from pointer to integer of different size
mark.c:800: warning: cast from pointer to integer of different size
mark.c:813: warning: cast from pointer to integer of different size
mark.c:854: warning: cast from pointer to integer of different size
gcc -c   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/cdata.o cdata.c
cdata.c: In function `primForeignObjC':
cdata.c:209: warning: cast from pointer to integer of different size
cdata.c: In function `primForeignPtrC':
cdata.c:218: warning: cast from pointer to integer of different size
cdata.c: In function `reallyFreeForeignObj':
cdata.c:244: warning: cast from pointer to integer of different size
gcc -c   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/timeUnix.o timeUnix.c
gcc -c   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/xlib_debug.o xlib_debug.c
gcc -c   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/stableptr.o stableptr.c
stableptr.c: In function `makeStablePtr':
stableptr.c:53: warning: cast to pointer from integer of different size
stableptr.c: In function `stableInit':
stableptr.c:88: warning: cast to pointer from integer of different size
gcc -c   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/closureval.o closureval.c
closureval.c: In function `buildClosure':
closureval.c:24: warning: cast from pointer to integer of different size
closureval.c:27: warning: cast from pointer to integer of different size
closureval.c: In function `unmakeInt':
closureval.c:102: warning: cast from pointer to integer of different size
closureval.c: In function `unmakeChar':
closureval.c:110: warning: cast from pointer to integer of different size
closureval.c: In function `unmakeBool':
closureval.c:118: warning: cast from pointer to integer of different size
gcc -c   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/ffiexport.o ffiexport.c
gcc -S   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o - newtables.c | sed '/.align 32/s/32/4/' |\
         gcc -c -x assembler   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/newtables.o -
gcc -S   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o - newbuiltin.c | sed '/.align 32/s/32/4/' |\
         gcc -c -x assembler   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/newbuiltin.o -
newbuiltin.c:95: warning: initializer element is not computable at load time
newbuiltin.c:95: error: initializer element is not constant
newbuiltin.c:95: error: (near initialization for `CF__95Builtin_46hputc_95ok[1]')
newbuiltin.c:105: warning: initializer element is not computable at load time
newbuiltin.c:105: error: initializer element is not constant
newbuiltin.c:105: error: (near initialization for `Start_World[1]')
newbuiltin.c:108: warning: initializer element is not computable at load time
newbuiltin.c:108: error: initializer element is not constant
newbuiltin.c:108: error: (near initialization for `Start_World[2]')
newbuiltin.c:110: warning: initializer element is not computable at load time
newbuiltin.c:110: error: initializer element is not constant
newbuiltin.c:110: error: (near initialization for `Start_World[4]')
newbuiltin.c:119: warning: initializer element is not computable at load time
newbuiltin.c:119: error: initializer element is not constant
newbuiltin.c:119: error: (near initialization for `FN_Prelude_46primLeave[2]')
newbuiltin.c:133: warning: initializer element is not computable at load time
newbuiltin.c:133: error: initializer element is not constant
newbuiltin.c:133: error: (near initialization for `F0_Prelude_46primLeave[0]')
newbuiltin.c:135: warning: initializer element is not computable at load time
newbuiltin.c:135: error: initializer element is not constant
newbuiltin.c:135: error: (near initialization for `F0_Prelude_46primLeave[2]')
newbuiltin.c:145: warning: initializer element is not computable at load time
newbuiltin.c:145: error: initializer element is not constant
newbuiltin.c:145: error: (near initialization for `FN_Builtin_46primUnpackCString[3]')
newbuiltin.c:164: warning: initializer element is not computable at load time
newbuiltin.c:164: error: initializer element is not constant
newbuiltin.c:164: error: (near initialization for `F0_Builtin_46primUnpackCString[0]')
newbuiltin.c:166: warning: initializer element is not computable at load time
newbuiltin.c:166: error: initializer element is not constant
newbuiltin.c:166: error: (near initialization for `F0_Builtin_46primUnpackCString[2]')
newbuiltin.c:176: warning: initializer element is not computable at load time
newbuiltin.c:176: error: initializer element is not constant
newbuiltin.c:176: error: (near initialization for `FN_Builtin_46hgets[3]')
newbuiltin.c:196: warning: initializer element is not computable at load time
newbuiltin.c:196: error: initializer element is not constant
newbuiltin.c:196: error: (near initialization for `F0_Builtin_46hgets[0]')
newbuiltin.c:207: warning: initializer element is not computable at load time
newbuiltin.c:207: error: initializer element is not constant
newbuiltin.c:207: error: (near initialization for `CF_IO_46stdout[1]')
newbuiltin.c:218: warning: initializer element is not computable at load time
newbuiltin.c:218: error: initializer element is not constant
newbuiltin.c:218: error: (near initialization for `CF_IO_46stdin[1]')
newbuiltin.c:543: warning: initializer element is not computable at load time
newbuiltin.c:543: error: initializer element is not constant
newbuiltin.c:543: error: (near initialization for `CF_IO_46stderr[1]')
cd /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel; \
        ar rv /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/Runtime.a haskellInit.o dump.o inscount.o collector.o mark.o cdata.o timeUnix.o xlib_debug.o stableptr.o closureval.o ffiexport.o newtables.o newbuiltin.o
a - haskellInit.o
a - dump.o
a - inscount.o
a - collector.o
a - mark.o
a - cdata.o
a - timeUnix.o
a - xlib_debug.o
a - stableptr.o
a - closureval.o
a - ffiexport.o
a - newtables.o
a - newbuiltin.o
gmake[2]: Leaving directory `/usr/obj/ports/nhc98-1.16/nhc98-1.16/src/runtime/Kernel'
cd Integer; gmake all
gmake[2]: Entering directory `/usr/obj/ports/nhc98-1.16/nhc98-1.16/src/runtime/Integer'
gcc -I../Kernel -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include  -O3 -DLOW_BYTE_FIRST `if [ xcre-mparam.c = x ]; \
                       then echo cre-mparam.c;          \
                       else echo cre-mparam.c; fi` -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Integer/cre-mparam
/usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Integer/cre-mparam > tmp-gmp-mparam.h
mv tmp-gmp-mparam.h gmp-mparam.h
gcc -c -I../Kernel -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include  -O3 -DLOW_BYTE_FIRST -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Integer/mpz_add.o mpz_add.c
mpz_add.c: In function `primIntegerAdd':
mpz_add.c:25: warning: cast from pointer to integer of different size
mpz_add.c:25: warning: cast from pointer to integer of different size
mpz_add.c:25: warning: cast from pointer to integer of different size
mpz_add.c: In function `primIntegerAddC':
mpz_add.c:26: warning: cast from pointer to integer of different size
gcc -c -I../Kernel -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include  -O3 -DLOW_BYTE_FIRST -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Integer/mpz_sub.o mpz_sub.c
mpz_sub.c: In function `primIntegerSub':
mpz_sub.c:25: warning: cast from pointer to integer of different size
mpz_sub.c:25: warning: cast from pointer to integer of different size
mpz_sub.c:25: warning: cast from pointer to integer of different size
mpz_sub.c: In function `primIntegerSubC':
mpz_sub.c:26: warning: cast from pointer to integer of different size
gcc -c -I../Kernel -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include  -O3 -DLOW_BYTE_FIRST -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Integer/mpz_mul.o mpz_mul.c
mpz_mul.c: In function `primIntegerMul':
mpz_mul.c:25: warning: cast from pointer to integer of different size
mpz_mul.c:25: warning: cast from pointer to integer of different size
mpz_mul.c:25: warning: cast from pointer to integer of different size
mpz_mul.c: In function `primIntegerMulC':
mpz_mul.c:26: warning: cast from pointer to integer of different size
gcc -c -I../Kernel -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include  -O3 -DLOW_BYTE_FIRST -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Integer/mpz_div.o mpz_div.c
In file included from longlong.h:75,
                 from mpz_div.c:25:
asmlong.h:3:12: missing terminating " character
asmlong.h:7:40: missing terminating " character
asmlong.h:9:12: missing terminating " character
asmlong.h:13:39: missing terminating " character
asmlong.h:34:12: missing terminating " character
asmlong.h:38:39: missing terminating " character
asmlong.h:40:12: missing terminating " character
asmlong.h:44:38: missing terminating " character
asmlong.h:49:12: missing terminating " character
asmlong.h:53:37: missing terminating " character
asmlong.h:55:12: missing terminating " character
asmlong.h:59:36: missing terminating " character
asmlong.h:77:12: missing terminating " character
asmlong.h:81:38: missing terminating " character
asmlong.h:83:12: missing terminating " character
asmlong.h:87:37: missing terminating " character
asmlong.h:92:12: missing terminating " character
asmlong.h:96:37: missing terminating " character
asmlong.h:98:12: missing terminating " character
asmlong.h:102:36: missing terminating " character
asmlong.h:160:12: missing terminating " character
asmlong.h:164:38: missing terminating " character
asmlong.h:166:12: missing terminating " character
asmlong.h:170:37: missing terminating " character
asmlong.h:267:12: missing terminating " character
asmlong.h:295:37: missing terminating " character
asmlong.h:301:12: missing terminating " character
asmlong.h:305:40: missing terminating " character
asmlong.h:307:12: missing terminating " character
asmlong.h:311:39: missing terminating " character
asmlong.h:325:12: missing terminating " character
asmlong.h:329:36: missing terminating " character
asmlong.h:341:12: missing terminating " character
asmlong.h:348:44: missing terminating " character
asmlong.h:353:12: missing terminating " character
asmlong.h:357:38: missing terminating " character
asmlong.h:359:12: missing terminating " character
asmlong.h:363:37: missing terminating " character
asmlong.h:366:12: missing terminating " character
asmlong.h:372:17: missing terminating " character
asmlong.h:377:12: missing terminating " character
asmlong.h:381:38: missing terminating " character
asmlong.h:383:12: missing terminating " character
asmlong.h:387:37: missing terminating " character
asmlong.h:392:8: missing terminating " character
asmlong.h:414:13: missing terminating " character
asmlong.h:436:12: missing terminating " character
asmlong.h:440:39: missing terminating " character
asmlong.h:442:12: missing terminating " character
asmlong.h:446:38: missing terminating " character
asmlong.h:461:12: missing terminating " character
asmlong.h:463:38: missing terminating ' character
asmlong.h:464:38: missing terminating ' character
asmlong.h:465:38: missing terminating ' character
asmlong.h:503:21: missing terminating " character
asmlong.h:508:12: missing terminating " character
asmlong.h:514:46: missing terminating ' character
asmlong.h:534:40: missing terminating " character
asmlong.h:541:12: missing terminating " character
asmlong.h:545:38: missing terminating " character
asmlong.h:547:12: missing terminating " character
asmlong.h:551:37: missing terminating " character
mpz_div.c: In function `primIntegerQuot':
mpz_div.c:27: warning: cast from pointer to integer of different size
mpz_div.c:27: warning: cast from pointer to integer of different size
mpz_div.c:27: warning: cast from pointer to integer of different size
mpz_div.c: In function `primIntegerQuotC':
mpz_div.c:28: warning: cast from pointer to integer of different size
gmake[2]: *** [/usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Integer/mpz_div.o] Error 1
gmake[2]: Leaving directory `/usr/obj/ports/nhc98-1.16/nhc98-1.16/src/runtime/Integer'
gmake[1]: *** [afile] Error 2
gmake[1]: Leaving directory `/usr/obj/ports/nhc98-1.16/nhc98-1.16/src/runtime'
gmake: *** [targets/amd64-OpenBSD/runtime] Error 2
*** Error code 2

Stop in /tmp_mnt/pf/home/dons/nhc98 (line 1676 of /usr/ports/infrastructure/mk/bsd.port.mk).
Script done on Sun May  9 22:27:35 2004
-------------- next part --------------
Script started on Sun May  9 23:04:57 2004
$ make
===>  nhc98-1.16 depends on: gmake-3.80 - found
===>  nhc98-1.16 depends on: ghc-6.2.1 - found
===>  nhc98-1.16 depends on: bzip2-* - found
===>  Checking files for nhc98-1.16
`/usr/ports/distfiles/nhc98-1.16/nhc98src-1.16.tar.gz' is up to date.
`/usr/ports/distfiles/nhc98-1.16/nhc98-1.16-regress.tar.bz2' is up to date.
`/usr/ports/distfiles/nhc98-1.16/patch-1.16-typesyn' is up to date.
`/usr/ports/distfiles/nhc98-1.16/patch-1.16-ghc6' is up to date.
>> Checksum OK for nhc98-1.16/nhc98src-1.16.tar.gz. (sha1)
>> Checksum OK for nhc98-1.16/nhc98-1.16-regress.tar.bz2. (sha1)
>> Checksum OK for nhc98-1.16/patch-1.16-typesyn. (sha1)
>> Checksum OK for nhc98-1.16/patch-1.16-ghc6. (sha1)
===>  Extracting for nhc98-1.16
===>  Patching for nhc98-1.16
===>  Applying distribution patches for nhc98-1.16
===>  Configuring for nhc98-1.16
Configuring for nhc98... [ v1.16 (2003-03-08) ]
--------
Looking for already-installed Haskell compilers:
  Looking for hbc...   (not found)
  Note: LMLDIR/HBCDIR variables must be set to enable detection of hbc.
  Looking for ghc...   found 6.2.1
  Looking for nhc98... (not found)
You said you want to use ghc to build hmake.
  Now I'm creating targets/amd64-OpenBSD/hmake3.config for your installation.
Done.
--------
                   Configuration report for nhc98.
    (You can re-run configure to change settings before proceeding.)
You wish (eventually) to install the following components in these locations:
    (Installation directories are not created/checked at this stage.)
Final install root:   /usr/local
nhc98 binaries/libs:  /usr/local/lib/nhc98/amd64-OpenBSD
hmake binaries:       /usr/local/lib/hmake/amd64-OpenBSD
Interfaces/includes:  /usr/local/include/nhc98
Scripts:              /usr/local/bin
Man pages:            /usr/local/man/man1
Html documents:       (none)

Now we check/create your build directories:
Config directory:      targets/amd64-OpenBSD
Build directory root:
    /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets (exists)
Object files build in:
    /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD (exists)
Executables and libs:
    /usr/obj/ports/nhc98-1.16/nhc98-1.16/lib/amd64-OpenBSD (created)

You are going to build nhc98 with:          ghc
nhc98comp uses RTS delimiters?              yes
This machine's endian-ness is:              -DLOW_BYTE_FIRST (detected) 
Executables need .exe suffix?               no  (detected)
Found /usr/bin/true not /bin/true
Testing for the curses library:             -lncurses (detected) 
Testing for the readline library:           -lreadline -lncurses (detected)
Reading /usr/include/errno.h:               updated DErrNo.hs
Default heap for compiled programs is: 100000 words (cached) 

Adding Makefile config script to
    /usr/obj/ports/nhc98-1.16/nhc98-1.16/lib/amd64-OpenBSD...
Adding build scripts to
    /usr/obj/ports/nhc98-1.16/nhc98-1.16/script...    
    nhc98 hmake hmake-config hi greencard 
Creating src/runtime/nhc98heap.c ...
Updating targets/amd64-OpenBSD/hmake3.config...
Saving current configuration in targets/amd64-OpenBSD/config.cache
Done.

===>  Building for nhc98-1.16
ghc  -cpp -o lib/amd64-OpenBSD/hmake-PRAGMA script/hmake-PRAGMA.hs
/usr/local/lib/libgmp.so.6.2: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/ghc-6.2.1/libHSrts.a(RtsUtils.o): In function `ullong_format_string':
RtsUtils.o(.text+0x4f1): warning: sprintf() is often misused, please use snprintf()
/usr/local/lib/libgmp.so.6.2: warning: vsprintf() is often misused, please use vsnprintf()
cd src/runtime;        gmake install nhc98heap
gmake[1]: Entering directory `/usr/obj/ports/nhc98-1.16/nhc98-1.16/src/runtime'
mkdir -p /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime
mkdir -p /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel || /usr/bin/true
mkdir -p /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Mk || /usr/bin/true
mkdir -p /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Builtin || /usr/bin/true
mkdir -p /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Integer || /usr/bin/true
cd Kernel; gmake all
gmake[2]: Entering directory `/usr/obj/ports/nhc98-1.16/nhc98-1.16/src/runtime/Kernel'
gcc -c   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/mutator.o mutator.c
mutator.c: In function `run':
mutator.c:203: warning: cast from pointer to integer of different size
mutator.c:204: warning: cast from pointer to integer of different size
mutator.c:205: warning: cast from pointer to integer of different size
mutator.c:207: warning: cast from pointer to integer of different size
mutator.c:208: warning: cast from pointer to integer of different size
mutator.c:209: warning: cast from pointer to integer of different size
mutator.c:213: warning: cast from pointer to integer of different size
mutator.c:267: warning: cast from pointer to integer of different size
mutator.c:271: warning: cast from pointer to integer of different size
mutator.c:275: warning: cast from pointer to integer of different size
mutator.c:279: warning: cast from pointer to integer of different size
mutator.c:284: warning: cast from pointer to integer of different size
mutator.c:289: warning: cast from pointer to integer of different size
mutator.c:294: warning: cast from pointer to integer of different size
mutator.c:299: warning: cast from pointer to integer of different size
mutator.c:317: warning: cast from pointer to integer of different size
mutator.c:364: warning: cast from pointer to integer of different size
mutator.c:379: warning: cast from pointer to integer of different size
mutator.c:449: warning: cast from pointer to integer of different size
mutator.c:457: warning: cast from pointer to integer of different size
mutator.c:526: warning: cast from pointer to integer of different size
mutator.c:537: warning: cast from pointer to integer of different size
mutator.c:596: warning: cast from pointer to integer of different size
mutator.c:596: warning: cast from pointer to integer of different size
mutator.c:597: warning: cast from pointer to integer of different size
mutator.c:597: warning: cast from pointer to integer of different size
mutator.c:598: warning: cast from pointer to integer of different size
mutator.c:598: warning: cast from pointer to integer of different size
mutator.c:599: warning: cast from pointer to integer of different size
mutator.c:599: warning: cast from pointer to integer of different size
mutator.c:600: warning: cast from pointer to integer of different size
mutator.c:600: warning: cast from pointer to integer of different size
mutator.c:605: warning: cast from pointer to integer of different size
mutator.c:614: warning: cast from pointer to integer of different size
mutator.c:627: warning: cast from pointer to integer of different size
mutator.c:648: warning: cast from pointer to integer of different size
mutator.c:648: warning: cast from pointer to integer of different size
mutator.c:649: warning: cast from pointer to integer of different size
mutator.c:649: warning: cast from pointer to integer of different size
mutator.c:650: warning: cast from pointer to integer of different size
mutator.c:650: warning: cast from pointer to integer of different size
mutator.c:651: warning: cast from pointer to integer of different size
mutator.c:651: warning: cast from pointer to integer of different size
mutator.c:652: warning: cast from pointer to integer of different size
mutator.c:652: warning: cast from pointer to integer of different size
mutator.c:653: warning: cast from pointer to integer of different size
mutator.c:653: warning: cast from pointer to integer of different size
mutator.c:667: warning: cast from pointer to integer of different size
mutator.c:667: warning: cast from pointer to integer of different size
mutator.c:668: warning: cast from pointer to integer of different size
mutator.c:668: warning: cast from pointer to integer of different size
mutator.c:669: warning: cast from pointer to integer of different size
mutator.c:669: warning: cast from pointer to integer of different size
mutator.c:670: warning: cast from pointer to integer of different size
mutator.c:670: warning: cast from pointer to integer of different size
mutator.c:681: warning: cast from pointer to integer of different size
mutator.c:682: warning: cast from pointer to integer of different size
mutator.c:683: warning: cast from pointer to integer of different size
mutator.c:684: warning: cast from pointer to integer of different size
mutator.c:685: warning: cast from pointer to integer of different size
mutator.c:686: warning: cast from pointer to integer of different size
mutator.c:687: warning: cast from pointer to integer of different size
mutator.c:688: warning: cast from pointer to integer of different size
mutator.c:689: warning: cast from pointer to integer of different size
mutator.c:690: warning: cast from pointer to integer of different size
mutator.c:691: warning: cast from pointer to integer of different size
mutator.c:692: warning: cast from pointer to integer of different size
mutator.c:703: warning: cast from pointer to integer of different size
mutator.c:703: warning: cast from pointer to integer of different size
mutator.c:704: warning: cast from pointer to integer of different size
mutator.c:704: warning: cast from pointer to integer of different size
mutator.c:705: warning: cast from pointer to integer of different size
mutator.c:705: warning: cast from pointer to integer of different size
mutator.c:706: warning: cast from pointer to integer of different size
mutator.c:706: warning: cast from pointer to integer of different size
mutator.c:707: warning: cast from pointer to integer of different size
mutator.c:707: warning: cast from pointer to integer of different size
mutator.c:708: warning: cast from pointer to integer of different size
mutator.c:708: warning: cast from pointer to integer of different size
mutator.c:723: warning: cast from pointer to integer of different size
mutator.c:723: warning: cast from pointer to integer of different size
mutator.c:724: warning: cast from pointer to integer of different size
mutator.c:724: warning: cast from pointer to integer of different size
mutator.c:725: warning: cast from pointer to integer of different size
mutator.c:725: warning: cast from pointer to integer of different size
mutator.c:726: warning: cast from pointer to integer of different size
mutator.c:726: warning: cast from pointer to integer of different size
mutator.c:737: warning: cast from pointer to integer of different size
mutator.c:738: warning: cast from pointer to integer of different size
mutator.c:739: warning: cast from pointer to integer of different size
mutator.c:740: warning: cast from pointer to integer of different size
mutator.c:741: warning: cast from pointer to integer of different size
mutator.c:742: warning: cast from pointer to integer of different size
mutator.c:743: warning: cast from pointer to integer of different size
mutator.c:744: warning: cast from pointer to integer of different size
mutator.c:745: warning: cast from pointer to integer of different size
mutator.c:746: warning: cast from pointer to integer of different size
mutator.c:747: warning: cast from pointer to integer of different size
mutator.c:748: warning: cast from pointer to integer of different size
mutator.c:759: warning: cast from pointer to integer of different size
mutator.c:759: warning: cast from pointer to integer of different size
mutator.c:760: warning: cast from pointer to integer of different size
mutator.c:760: warning: cast from pointer to integer of different size
mutator.c:761: warning: cast from pointer to integer of different size
mutator.c:761: warning: cast from pointer to integer of different size
mutator.c:762: warning: cast from pointer to integer of different size
mutator.c:762: warning: cast from pointer to integer of different size
mutator.c:763: warning: cast from pointer to integer of different size
mutator.c:763: warning: cast from pointer to integer of different size
mutator.c:764: warning: cast from pointer to integer of different size
mutator.c:764: warning: cast from pointer to integer of different size
mutator.c:769: warning: cast from pointer to integer of different size
mutator.c:780: warning: cast from pointer to integer of different size
mutator.c:793: warning: cast from pointer to integer of different size
mutator.c:832: warning: cast from pointer to integer of different size
mutator.c:892: warning: cast from pointer to integer of different size
mutator.c:925: warning: cast from pointer to integer of different size
mutator.c:929: warning: cast from pointer to integer of different size
mutator.c:945: warning: cast from pointer to integer of different size
mutator.c:964: warning: cast from pointer to integer of different size
mutator.c:972: warning: cast from pointer to integer of different size
mutator.c:979: warning: cast from pointer to integer of different size
gcc -c   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/mutlib.o mutlib.c
gcc -c   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/main.o main.c
gcc -c   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/haskellInit.o haskellInit.c
gcc -c   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/dump.o dump.c
gcc -c   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/inscount.o inscount.c
gcc -c   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/collector.o collector.c
gcc -c   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/mark.o mark.c
mark.c: In function `mark':
mark.c:727: warning: cast from pointer to integer of different size
mark.c:800: warning: cast from pointer to integer of different size
mark.c:813: warning: cast from pointer to integer of different size
mark.c:854: warning: cast from pointer to integer of different size
gcc -c   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/cdata.o cdata.c
cdata.c: In function `primForeignObjC':
cdata.c:209: warning: cast from pointer to integer of different size
cdata.c: In function `primForeignPtrC':
cdata.c:218: warning: cast from pointer to integer of different size
cdata.c: In function `reallyFreeForeignObj':
cdata.c:244: warning: cast from pointer to integer of different size
gcc -c   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/timeUnix.o timeUnix.c
gcc -c   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/xlib_debug.o xlib_debug.c
gcc -c   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/stableptr.o stableptr.c
stableptr.c: In function `makeStablePtr':
stableptr.c:53: warning: cast to pointer from integer of different size
stableptr.c: In function `stableInit':
stableptr.c:88: warning: cast to pointer from integer of different size
gcc -c   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/closureval.o closureval.c
closureval.c: In function `buildClosure':
closureval.c:24: warning: cast from pointer to integer of different size
closureval.c:27: warning: cast from pointer to integer of different size
closureval.c: In function `unmakeInt':
closureval.c:102: warning: cast from pointer to integer of different size
closureval.c: In function `unmakeChar':
closureval.c:110: warning: cast from pointer to integer of different size
closureval.c: In function `unmakeBool':
closureval.c:118: warning: cast from pointer to integer of different size
gcc -c   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/ffiexport.o ffiexport.c
gcc -S   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o - newtables.c | sed '/.align 32/s/32/4/' |\
         gcc -c -x assembler   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/newtables.o -
gcc -S   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o - newbuiltin.c | sed '/.align 32/s/32/4/' |\
         gcc -c -x assembler   -DLOW_BYTE_FIRST -O3 -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include -DVERSION="\"1.16\""   -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/newbuiltin.o -
newbuiltin.c:95: warning: initializer element is not computable at load time
newbuiltin.c:95: error: initializer element is not constant
newbuiltin.c:95: error: (near initialization for `CF__95Builtin_46hputc_95ok[1]')
newbuiltin.c:105: warning: initializer element is not computable at load time
newbuiltin.c:105: error: initializer element is not constant
newbuiltin.c:105: error: (near initialization for `Start_World[1]')
newbuiltin.c:108: warning: initializer element is not computable at load time
newbuiltin.c:108: error: initializer element is not constant
newbuiltin.c:108: error: (near initialization for `Start_World[2]')
newbuiltin.c:110: warning: initializer element is not computable at load time
newbuiltin.c:110: error: initializer element is not constant
newbuiltin.c:110: error: (near initialization for `Start_World[4]')
newbuiltin.c:119: warning: initializer element is not computable at load time
newbuiltin.c:119: error: initializer element is not constant
newbuiltin.c:119: error: (near initialization for `FN_Prelude_46primLeave[2]')
newbuiltin.c:133: warning: initializer element is not computable at load time
newbuiltin.c:133: error: initializer element is not constant
newbuiltin.c:133: error: (near initialization for `F0_Prelude_46primLeave[0]')
newbuiltin.c:135: warning: initializer element is not computable at load time
newbuiltin.c:135: error: initializer element is not constant
newbuiltin.c:135: error: (near initialization for `F0_Prelude_46primLeave[2]')
newbuiltin.c:145: warning: initializer element is not computable at load time
newbuiltin.c:145: error: initializer element is not constant
newbuiltin.c:145: error: (near initialization for `FN_Builtin_46primUnpackCString[3]')
newbuiltin.c:164: warning: initializer element is not computable at load time
newbuiltin.c:164: error: initializer element is not constant
newbuiltin.c:164: error: (near initialization for `F0_Builtin_46primUnpackCString[0]')
newbuiltin.c:166: warning: initializer element is not computable at load time
newbuiltin.c:166: error: initializer element is not constant
newbuiltin.c:166: error: (near initialization for `F0_Builtin_46primUnpackCString[2]')
newbuiltin.c:176: warning: initializer element is not computable at load time
newbuiltin.c:176: error: initializer element is not constant
newbuiltin.c:176: error: (near initialization for `FN_Builtin_46hgets[3]')
newbuiltin.c:196: warning: initializer element is not computable at load time
newbuiltin.c:196: error: initializer element is not constant
newbuiltin.c:196: error: (near initialization for `F0_Builtin_46hgets[0]')
newbuiltin.c:207: warning: initializer element is not computable at load time
newbuiltin.c:207: error: initializer element is not constant
newbuiltin.c:207: error: (near initialization for `CF_IO_46stdout[1]')
newbuiltin.c:218: warning: initializer element is not computable at load time
newbuiltin.c:218: error: initializer element is not constant
newbuiltin.c:218: error: (near initialization for `CF_IO_46stdin[1]')
newbuiltin.c:543: warning: initializer element is not computable at load time
newbuiltin.c:543: error: initializer element is not constant
newbuiltin.c:543: error: (near initialization for `CF_IO_46stderr[1]')
cd /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel; \
        ar rv /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Kernel/Runtime.a haskellInit.o dump.o inscount.o collector.o mark.o cdata.o timeUnix.o xlib_debug.o stableptr.o closureval.o ffiexport.o newtables.o newbuiltin.o
a - haskellInit.o
a - dump.o
a - inscount.o
a - collector.o
a - mark.o
a - cdata.o
a - timeUnix.o
a - xlib_debug.o
a - stableptr.o
a - closureval.o
a - ffiexport.o
a - newtables.o
a - newbuiltin.o
gmake[2]: Leaving directory `/usr/obj/ports/nhc98-1.16/nhc98-1.16/src/runtime/Kernel'
cd Integer; gmake all
gmake[2]: Entering directory `/usr/obj/ports/nhc98-1.16/nhc98-1.16/src/runtime/Integer'
gcc -I../Kernel -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include  -O3 -DLOW_BYTE_FIRST `if [ xcre-mparam.c = x ]; \
                       then echo cre-mparam.c;          \
                       else echo cre-mparam.c; fi` -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Integer/cre-mparam
/usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Integer/cre-mparam > tmp-gmp-mparam.h
mv tmp-gmp-mparam.h gmp-mparam.h
gcc -c -I../Kernel -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include  -O3 -DLOW_BYTE_FIRST -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Integer/mpz_add.o mpz_add.c
mpz_add.c: In function `primIntegerAdd':
mpz_add.c:25: warning: cast from pointer to integer of different size
mpz_add.c:25: warning: cast from pointer to integer of different size
mpz_add.c:25: warning: cast from pointer to integer of different size
mpz_add.c: In function `primIntegerAddC':
mpz_add.c:26: warning: cast from pointer to integer of different size
gcc -c -I../Kernel -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include  -O3 -DLOW_BYTE_FIRST -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Integer/mpz_sub.o mpz_sub.c
mpz_sub.c: In function `primIntegerSub':
mpz_sub.c:25: warning: cast from pointer to integer of different size
mpz_sub.c:25: warning: cast from pointer to integer of different size
mpz_sub.c:25: warning: cast from pointer to integer of different size
mpz_sub.c: In function `primIntegerSubC':
mpz_sub.c:26: warning: cast from pointer to integer of different size
gcc -c -I../Kernel -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include  -O3 -DLOW_BYTE_FIRST -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Integer/mpz_mul.o mpz_mul.c
mpz_mul.c: In function `primIntegerMul':
mpz_mul.c:25: warning: cast from pointer to integer of different size
mpz_mul.c:25: warning: cast from pointer to integer of different size
mpz_mul.c:25: warning: cast from pointer to integer of different size
mpz_mul.c: In function `primIntegerMulC':
mpz_mul.c:26: warning: cast from pointer to integer of different size
gcc -c -I../Kernel -I/usr/obj/ports/nhc98-1.16/nhc98-1.16/include  -O3 -DLOW_BYTE_FIRST -o /usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Integer/mpz_div.o mpz_div.c
In file included from longlong.h:75,
                 from mpz_div.c:25:
asmlong.h:3:12: missing terminating " character
asmlong.h:7:40: missing terminating " character
asmlong.h:9:12: missing terminating " character
asmlong.h:13:39: missing terminating " character
asmlong.h:34:12: missing terminating " character
asmlong.h:38:39: missing terminating " character
asmlong.h:40:12: missing terminating " character
asmlong.h:44:38: missing terminating " character
asmlong.h:49:12: missing terminating " character
asmlong.h:53:37: missing terminating " character
asmlong.h:55:12: missing terminating " character
asmlong.h:59:36: missing terminating " character
asmlong.h:77:12: missing terminating " character
asmlong.h:81:38: missing terminating " character
asmlong.h:83:12: missing terminating " character
asmlong.h:87:37: missing terminating " character
asmlong.h:92:12: missing terminating " character
asmlong.h:96:37: missing terminating " character
asmlong.h:98:12: missing terminating " character
asmlong.h:102:36: missing terminating " character
asmlong.h:160:12: missing terminating " character
asmlong.h:164:38: missing terminating " character
asmlong.h:166:12: missing terminating " character
asmlong.h:170:37: missing terminating " character
asmlong.h:267:12: missing terminating " character
asmlong.h:295:37: missing terminating " character
asmlong.h:301:12: missing terminating " character
asmlong.h:305:40: missing terminating " character
asmlong.h:307:12: missing terminating " character
asmlong.h:311:39: missing terminating " character
asmlong.h:325:12: missing terminating " character
asmlong.h:329:36: missing terminating " character
asmlong.h:341:12: missing terminating " character
asmlong.h:348:44: missing terminating " character
asmlong.h:353:12: missing terminating " character
asmlong.h:357:38: missing terminating " character
asmlong.h:359:12: missing terminating " character
asmlong.h:363:37: missing terminating " character
asmlong.h:366:12: missing terminating " character
asmlong.h:372:17: missing terminating " character
asmlong.h:377:12: missing terminating " character
asmlong.h:381:38: missing terminating " character
asmlong.h:383:12: missing terminating " character
asmlong.h:387:37: missing terminating " character
asmlong.h:392:8: missing terminating " character
asmlong.h:414:13: missing terminating " character
asmlong.h:436:12: missing terminating " character
asmlong.h:440:39: missing terminating " character
asmlong.h:442:12: missing terminating " character
asmlong.h:446:38: missing terminating " character
asmlong.h:461:12: missing terminating " character
asmlong.h:463:38: missing terminating ' character
asmlong.h:464:38: missing terminating ' character
asmlong.h:465:38: missing terminating ' character
asmlong.h:503:21: missing terminating " character
asmlong.h:508:12: missing terminating " character
asmlong.h:514:46: missing terminating ' character
asmlong.h:534:40: missing terminating " character
asmlong.h:541:12: missing terminating " character
asmlong.h:545:38: missing terminating " character
asmlong.h:547:12: missing terminating " character
asmlong.h:551:37: missing terminating " character
mpz_div.c: In function `primIntegerQuot':
mpz_div.c:27: warning: cast from pointer to integer of different size
mpz_div.c:27: warning: cast from pointer to integer of different size
mpz_div.c:27: warning: cast from pointer to integer of different size
mpz_div.c: In function `primIntegerQuotC':
mpz_div.c:28: warning: cast from pointer to integer of different size
gmake[2]: *** [/usr/obj/ports/nhc98-1.16/nhc98-1.16/targets/amd64-OpenBSD/obj/runtime/Integer/mpz_div.o] Error 1
gmake[2]: Leaving directory `/usr/obj/ports/nhc98-1.16/nhc98-1.16/src/runtime/Integer'
gmake[1]: *** [afile] Error 2
gmake[1]: Leaving directory `/usr/obj/ports/nhc98-1.16/nhc98-1.16/src/runtime'
gmake: *** [targets/amd64-OpenBSD/runtime] Error 2
*** Error code 2

Stop in /tmp_mnt/pf/home/dons/nhc98 (line 1676 of /usr/ports/infrastructure/mk/bsd.port.mk).


More information about the Nhc-users mailing list