
#15068: Small number of test case failures on Ubuntu Bionic (GCC 7.3) -------------------------------------+------------------------------------- Reporter: jrp | Owner: (none) Type: bug | Status: merge Priority: highest | Milestone: 8.6.1 Component: Compiler | Version: 8.4.1 (CodeGen) | Resolution: fixed | Keywords: Operating System: Linux | Architecture: x86_64 | (amd64) Type of failure: Incorrect result | Test Case: T13658 at runtime | T14779a T14779b T14868 debug | parsing001 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D4654 Wiki Page: | -------------------------------------+------------------------------------- Comment (by hvr): Replying to [comment:37 recursion-ninja]:
I was having "show-stopping" graphics driver issues on Ubuntu 16.04 that were only resolved by the 4.15.* version of the Linux kernel which was not and would not be supported (to the best of my knowledge) by Ubuntu 16.04. My upgrade to Ubuntu 18.04 was more or less "forced" to get a kernel version compatible with my machine.
This might be true. However, I did encountered this `-g` related defect
I've been in a similiar situation, and so have a lot others; *but* that's why Ubuntu some time ago introduced https://wiki.ubuntu.com/Kernel/LTSEnablementStack in order to help users who want to avoid having to upgrade away from an LTS release for the sake of a kernel upgrade. I'm happily running a {{{ ii linux-image-4.15.0-20-generic 4.15.0-20.21~16.04.1 amd64 Signed kernel image generic }}} kernel which iirc I had gotten installed before Ubuntu 18.04 Bionic was even released. through "normal," non-`stack` usage of `ghc`. There's a chance that my situation is an anomaly, but there's also a chance the defect might have a larger impact than estimated. Since you're on an Ubuntu system and you seem to be experienced enough to consider installing a bleedinge edge GCC toolchain; but then why aren't you simply using a GHC binary distribution like the ones I offer on https://launchpad.net/~hvr/+archive/ubuntu/ghc which are specifically configured and built for Ubuntu and designed to protect against this very kind of compatibility issues that inevitably creep up over time? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15068#comment:38 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler