Overflown relocs in ghci

Pasch, Thomas (ACTGRO) extern.thomas.pasch at volkswagen.de
Thu Oct 23 10:46:49 EDT 2003


Hello,

I'm working at the haskell-java bridge win32 port 
(http://sourceforge.net/projects/jvm-bridge). I'm
using a recent MinGW installation and a ghc
6.0.1. I can build tests in the Examples directory
without a problem. But when using ghci, I got
the following:

$ ghci -package javavm
   ___         ___ _
  / _ \ /\  /\/ __(_)
 / /_\// /_/ / /  | |      GHC Interactive, version 6.0.1, for Haskell 98.
/ /_\\/ __  / /___| |      http://www.haskell.org/ghc/
\____/\/ /_/\____/|_|      Type :? for help.

Loading package base ... linking ... done.
Loading package lang ... linking ... done.
Loading package concurrent ... linking ... done.
Loading package haskell98 ... linking ... done.
Loading package javavm ... linking ... Overflown relocs: 4
done.
Prelude> :q
Leaving GHCi.

What does "Overflown relocs" mean? It seems to be
a problem, because when I try to load HelloWorld.hs:

Prelude> :load HelloWorld.hs
Skipping  Class_java_io_PrintStream ( Class_java_io_PrintStream.hs,
./Class_java
_io_PrintStream.o )
Skipping  Class_java_lang_System ( Class_java_lang_System.hs,
./Class_java_lang_
System.o )
Skipping  HelloWorld_JVM   ( HelloWorld_JVM.hs, ./HelloWorld_JVM.o )
Skipping  Main             ( HelloWorld.hs, ./HelloWorld.o )
Ok, modules loaded: Main, HelloWorld_JVM, Class_java_lang_System,
Class_java_io_
PrintStream.
Prelude Main> main

./HelloWorld.o: unknown symbol `___stginit_HelloWorldzuJVM_'

Sincerly,

Thomas



More information about the Glasgow-haskell-bugs mailing list