RE: ghc-6.4 fPIC compilation problem on amd64

13 May
2005
13 May
'05
10:10 p.m.
That's a new one on me. Does your 6.2.2 build otherwise work, i.e. can you build & run programs with it?
ghc won't even compile a 'main = putStrLn "hello world"' program: | # ghc --make Main.hs | Chasing modules from: Main.hs | Compiling Main ( Main.hs, Main.o ) | Linking ... | /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: Main.o: relocation R_X86_64_32 against `__stginit_Main_' can not be used when making a shared object; recompile with -fPIC | Main.o: could not read symbols: Bad value | collect2: ld returned 1 exit status :( Greetings, Arie
7358
Age (days ago)
7358
Last active (days ago)
0 comments
1 participants
participants (1)
-
ariep@xs4all.nl