#3801: ghc-6.10.4: internal error: PAP object entered
-------------------------+--------------------------------------------------
Reporter: patrikja | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.10.4
Resolution: | Keywords:
Os: Linux | Testcase:
Architecture: x86 | Failure: Runtime crash
-------------------------+--------------------------------------------------
Comment (by patrikja):
Removing the local .ghc directory (and thus the local package.conf)
resolved my problems. Both the libstdc++ warning and the error is gone.
This means I have solved my problem, but it still means it is possible to
get into some kind of "bad state" package.conf-wise.
I attach the package.conf which exhibits the problem.
{{{
patr...@hel:~/src/gitroot/edu/AFP/Lab1_turtle$ ghc -package-conf
~/dot.ghc_20100103/i386-linux-6.10.4/package.conf -package wx --make
Lab1_Part2_Task2
Linking Lab1_Part2_Task2 ...
/usr/bin/ld: warning: libstdc++.so.6, needed by
/usr/lib/libwx_baseu-2.8.so, may conflict with libstdc++.so.7
patr...@hel:~/src/gitroot/edu/AFP/Lab1_turtle$ ./Lab1_Part2_Task2 0 91
Lab1_Part2_Task2: internal error: PAP object entered!
(GHC version 6.10.4 for i386_unknown_linux)
Please report this as a GHC bug:
http://www.haskell.org/ghc/reportabug
Avbruten (SIGABRT)
}}}
{{{
patr...@hel:~/src/gitroot/edu/AFP/Lab1_turtle$ ghc -package-conf
~/dot.ghc_20100103/i386-linux-6.10.4/package.conf --make Bug_3801 &&
./Bug_3801
[1 of 1] Compiling Main ( Bug_3801.lhs, Bug_3801.o )
Linking Bug_3801 ...
Bug_3801: internal error: PAP object entered!
(GHC version 6.10.4 for i386_unknown_linux)
Please report this as a GHC bug:
http://www.haskell.org/ghc/reportabug
Avbruten (SIGABRT)
}}}
Without the "bad" package.conf it works as it should:
{{{
patr...@hel:~/src/gitroot/edu/AFP/Lab1_turtle$ rm *.o *.hi
patr...@hel:~/src/gitroot/edu/AFP/Lab1_turtle$ ghc --make Bug_3801 &&
./Bug_3801
[1 of 1] Compiling Main ( Bug_3801.lhs, Bug_3801.o )
Linking Bug_3801 ...
OK, passed 100 tests.
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3801#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs