undefined reference to `PrelGHC_Z2H_static_info'
Simon Peyton-Jones
simonpj at microsoft.com
Thu Nov 1 09:47:04 EST 2001
Excellent bug in the constructor-specialisation phase (which only
happens for o2). Fixed in the head. Thanks for finding it
Simon
| -----Original Message-----
| From: Ralf Hinze [mailto:ralf at informatik.uni-bonn.de]
| Sent: 01 November 2001 10:34
| To: Simon Peyton-Jones
| Subject: Re: undefined reference to `PrelGHC_Z2H_static_info'
|
|
| > Please do send bundle. You don't say which version of ghc, etc,
| > either.
|
| Sorry, latest, of course. Remember, I bought that giant Sony
| laptop just to keep on installing the latest version of GHC.
|
| Bundle attached.
|
| Type:
|
| ralf/tmp> tar xzf frown-0.5-src.tar.gz
| ralf/tmp> cd Frown/
| Directory: /home/ralf/tmp/Frown
| tmp/Frown> ghc --make -O2 -iLib -LLib -o frown Main.lhs
| ghc-5.02: chasing modules from: Main.lhs
| <...>
| Compiling Main ( Main.lhs, ./Main.o )
| ghc: linking ...
| 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
|
| I am using SUse Linux 7.2 on an i686.
|
| Let me know if you need further information.
|
| Cheers, Ralf
|
More information about the Glasgow-haskell-bugs
mailing list