undefined reference to `PrelGHC_Z2H_static_info'
Ralf Hinze
ralf at informatik.uni-bonn.de
Thu Nov 1 00:59:27 EST 2001
Hi,
I get a link error when I compile a program with -O2
Lexer2.o: In function `Lexer2_zdszdwlexCharLit_closure':
Lexer2.o(.data+0x46c): undefined reference to `PrelGHC_Z2H_static_info'
Lexer2.o: In function `Lexer2_zdszdwlexStrLit_closure':
Lexer2.o(.data+0x484): undefined reference to `PrelGHC_Z2H_static_info'
collect2: ld returned 1 exit status
Everything works just fine if I use -O or no optimization.
I can send you the bundle separately if you want me to.
Cheers, Ralf
More information about the Glasgow-haskell-bugs
mailing list