Ticket #2832 (closed merge: fixed)
GHC -split-objs, Doesn't Print Error If GHC Built With SplitObjs = NO.
| Reported by: | dejones | Owned by: | igloo |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.10.2 |
| Component: | Compiler | Version: | 6.11 |
| Keywords: | split-objs, ghc | Cc: | marlowsd@… |
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
If GHC is called with flag -split-objs but GHC was built with SplitObjs? = NO, then GHC simply ignores the -split-objs flag; however, GHC should print an error message and exit, stating that GHC was built without support for split objects.
Please refer to the thread on the gtk2hs-users mailing list ([Gtk2hs-users] Gtk2Hs Linker Errors, Simple Window from Tutorial) for a test case and the resulting linker problems that occurred when building gtk2hs.
Change History
Note: See
TracTickets for help on using
tickets.
