|
re: ghc-Bugs-1071030: msg#00040lang.haskell.glasgow.bugs
Hi, Further to this bug report: http://www.haskell.org//pipermail/glasgow-haskell-bugs/2004-November/004454.html http://sourceforge.net/tracker/?func=detail&atid=108032&aid=1071030&group_id=8032 Gour has done some further investigation: http://bugs.gentoo.org/show_bug.cgi?id=70982#c10 The main thing he found was that giving a large stack +RTS -K10M alleviated the problem (mostly). To reproduce this problem one would probably need an amd64 machine. (I'm just in the process of getting my amd64 machine working so I will try to reproduce this problem as soon as I can.) The code in question was c2hs during a build of gtk2hs-0.9.6. gtk2hs-0.9.6 is available from http://prdownloads.sourceforge.net/gtk2hs/gtk2hs-0.9.6.tar.gz?download If you ./configure; make; it first builds c2hs, then runs it on a large number of files. It uses a great deal of memory and takes a few minutes. The command is: ../c2hs/c2hs -C-D__signed=signed -C-D__GLASGOW_HASKELL__=602 +RTS -H180m -M350m -RTS -C-I/usr/include/ glib-2.0 -C-I/usr/lib/glib-2.0/include -C-I/usr/include/gtk-2.0 -C-I/usr/lib/gtk-2.0/include -C-I/usr/ X11R6/include -C-I/usr/include/pango-1.0 -C-I/usr/include/freetype2 -C-I/usr/include/atk-1.0 -iabstract:buttons:display:entry:general:layout:menuComboToolbar:misc:multiline:ornaments:scrolling:selectors:treeList:windows:gdk:glib:pango:../compat:embedding -o : gtk/gtk.h general/Hierarchy.chs general/Signa l.chs glib/GValue.chs glib/GList.chs glib/GObject.chs pango/PangoTypes.chs treeList/TreeModel.chs tree List/TreeViewColumn.chs multiline/TextIter.chs gdk/Region.chs abstract/Bin.chs abstract/Box.chs abstra ct/ButtonBox.chs abstract/Container.chs abstract/FileChooser.chs abstract/Misc.chs abstract/Object.chs abstract/Paned.chs abstract/Range.chs abstract/Scale.chs abstract/Widget.chs buttons/Button.chs butto ns/CheckButton.chs buttons/RadioButton.chs buttons/ToggleButton.chs display/AccelLabel.chs display/Ima ge.chs display/Label.chs display/ProgressBar.chs display/Statusbar.chs entry/Editable.chs entry/Entry. chs entry/EntryCompletion.chs entry/HScale.chs entry/SpinButton.chs entry/VScale.chs general/Enums.chs general/General.chs general/IconFactory.chs general/Style.chs layout/Alignment.chs layout/AspectFrame .chs layout/Expander.chs layout/Fixed.chs layout/HBox.chs layout/HButtonBox.chs layout/HPaned.chs layo ut/Layout.chs layout/Notebook.chs layout/Table.chs layout/VBox.chs layout/VButtonBox.chs layout/VPaned .chs menuComboToolbar/CheckMenuItem.chs menuComboToolbar/Combo.chs menuComboToolbar/ComboBox.chs menuC omboToolbar/ComboBoxEntry.chs menuComboToolbar/ImageMenuItem.chs menuComboToolbar/Menu.chs menuComboTo olbar/MenuBar.chs menuComboToolbar/MenuItem.chs menuComboToolbar/MenuShell.chs menuComboToolbar/Option Menu.chs menuComboToolbar/RadioMenuItem.chs menuComboToolbar/TearoffMenuItem.chs menuComboToolbar/Tool Item.chs menuComboToolbar/Toolbar.chs misc/Adjustment.chs misc/Calendar.chs misc/DrawingArea.chs misc/ EventBox.chs misc/FileChooserWidget.chs misc/GArrow.chs misc/HandleBox.chs misc/SizeGroup.chs misc/Too ltips.chs misc/Viewport.chs multiline/TextBuffer.chs multiline/TextMark.chs multiline/TextTag.chs mult iline/TextTagTable.chs multiline/TextView.chs ornaments/Frame.chs ornaments/HSeparator.chs ornaments/V Separator.chs scrolling/HScrollbar.chs scrolling/ScrolledWindow.chs scrolling/VScrollbar.chs selectors /ColorSelection.chs selectors/ColorSelectionDialog.chs selectors/FontSelection.chs selectors/FontSelec tionDialog.chs treeList/CellRendererPixbuf.chs treeList/CellRendererText.chs treeList/CellRendererTogg le.chs treeList/ListStore.chs treeList/TreeModelSort.chs treeList/TreeSelection.chs treeList/TreeStore .chs treeList/TreeView.chs windows/Dialog.chs windows/FileChooserDialog.chs windows/FileSel.chs window s/Window.chs gdk/Drawable.chs gdk/GC.chs gdk/Gdk.chs gdk/GdkEnums.chs gdk/Keys.chs gdk/Pixbuf.chs glib /GError.chs glib/GType.chs glib/GValueTypes.chs pango/PangoLayout.chs pango/Rendering.chs embedding/Pl ug.chs embedding/Socket.chs Duncan
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | GHCi: first letter of input replaced with 'g', Ben Rudiak-Gould |
|---|---|
| Next by Date: | stdout handle is finalized, Daan Leijen |
| Previous by Thread: | GHCi: first letter of input replaced with 'g', Ben Rudiak-Gould |
| Next by Thread: | RE: ghc-Bugs-1071030, Simon Marlow |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |