[ ghc-Bugs-644657 ] interface decl for PrelTup
Bugs item #644657, was opened at 2002-11-27 02:43 You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=644657group_id=8032 Category: Compiler Group: 5.02 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: interface decl for PrelTup Initial Comment: My literate haskell script uses tupels with 38 elements. When using HUGS I get no errors and the script is running as wanted. Compiling with ghc-5.02.2 following error occurs: Switches_tupel.lhs:1: Failed to find interface decl for `PrelTup.(,)' from module `PrelTup' [EMAIL PROTECTED] -- You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=644657group_id=8032 ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
build of ghc-5.05.20021118 fails
From time to time I try out one of the development snapshots. Does it make sense to report errors? Anyway, the the build of ghc-5.05.20021118 fails with the following error message ... ==fptools== make html - --no-print-directory -r; in /var/tmp/portage/ghc-5.05.20021118/work/stage3-build/ghc/docs/users_guide ../../../glafp-utils/docbook/db2html -d /var/tmp/portage/ghc-5.05.20021118/work/stage3-build/docs/fptools-both.dsl users_guide.sgml CATALOG file not set up; see installation guide for details. make[3]: *** [users_guide.html] Fehler 1 make[2]: *** [html] Fehler 1 make[1]: *** [html] Fehler 1 make: *** [html] Fehler 1 ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
RE: build of ghc-5.05.20021118 fails
From time to time I try out one of the development snapshots. Does it make sense to report errors? Anyway, the the build of ghc-5.05.20021118 fails with the following error message ... -- -- ==fptools== make html - --no-print-directory -r; in /var/tmp/portage/ghc-5.05.20021118/work/stage3-build/ghc/docs/ users_guide -- -- ../../../glafp-utils/docbook/db2html -d /var/tmp/portage/ghc-5.05.20021118/work/stage3-build/docs/fpto ols-both.dsl users_guide.sgml CATALOG file not set up; see installation guide for details. make[3]: *** [users_guide.html] Fehler 1 make[2]: *** [html] Fehler 1 make[1]: *** [html] Fehler 1 make: *** [html] Fehler 1 Hmm, I thought the docs weren't built by default. Did you ask for the docs to be built by setting anything in your build.mk file? The error means that the configure script couldn't detect the right way to process DocBook documents on your system. Since you're on Gentoo (right?) I can tell you that the Gentoo DocBook setup works perfectly: just 'emerge docbook-sgml', and re-configure your GHC build (remove config.cache first) and you should be able to build the HTML docs. To build the printed documentation you'll need to install more stuff (TeX JadeTeX at least). Oh, and BTW you can do a 3-stage build in a single tree these days. Just 'make bootstrap3' from the top level. Cheers, Simon ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
[ ghc-Bugs-642810 ] Still fails to build with GCC 3.2 on Mandrake
Bugs item #642810, was opened at 2002-11-23 10:51 You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=642810group_id=8032 Category: Driver Group: 5.04.1 Status: Closed Resolution: None Priority: 5 Submitted By: Joe English (jenglish) Assigned to: Nobody/Anonymous (nobody) Summary: Still fails to build with GCC 3.2 on Mandrake Initial Comment: Following the instructions listed in other bug reports, I bootstrapped GHC 5.04.1 on a machine with an older GCC, then installed that on the target machine (Mandrake 9.0, GCC 3.2). But the mangler is still busted: compiling anything with -O gives errors like: | Prologue junk?: .globl __stginit_PrimPacked | .type __stginit_PrimPacked,@function | __stginit_PrimPacked: | pushl %ebp | movl%esp, %ebp Compiling with '-O -fasm' works, but GHC 5.04.1 still can't recompile itself since parts of it require '-O -fvia-C'. I also tried downloading the current version of ghc-asm.lprl from the CVS repository and using that; still get the same errors. -- Comment By: Joe English (jenglish) Date: 2002-11-27 16:00 Message: Logged In: YES user_id=68433 Yep, adding -mno-omit-leaf-frame-pointer did the trick. Problem solved! -- Comment By: Joe English (jenglish) Date: 2002-11-26 13:18 Message: Logged In: YES user_id=68433 I think I've found the problem: the mangler relies on -fomit-frame-pointer, but gcc-3.2mdk turns -momit-leaf-frame-pointer on by default. The latter flag (apparently) overrides the former, so non-leaf functions end up with unexpected junk in the prologue. I'll try -mno-omit-leaf-frame-pointer and see if that works. (I don't have access to my Mandrake box at the moment; but I can get ghc to *break* in the same way on a Red Hat 8.0 system with `ghc -c -O -optc -momit-leaf-frame-pointer`, so that's a promising sign :-) -- Comment By: Joe English (jenglish) Date: 2002-11-26 10:24 Message: Logged In: YES user_id=68433 Nope, that's not it either. Using ghc -O -v -pgmc gcc-3.2 -march=i386 -mcpu=i386 gives the same result. Back to the drawing board... -- Comment By: Joe English (jenglish) Date: 2002-11-26 08:00 Message: Logged In: YES user_id=68433 Aha: Mandrake's GCC is configured to compile for i586, while Redhat's is configured for i386. I'll bet this is the source of the problem. Will investigate further... -- Comment By: Simon Marlow (simonmar) Date: 2002-11-26 02:48 Message: Logged In: YES user_id=48280 Mandrake shipped a broken GCC, it seems. -- You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=642810group_id=8032 ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs