
#15068: Small number of test case failures on Ubuntu Bionic (GCC 7.3) -------------------------------------+------------------------------------- Reporter: jrp | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Compiler | Version: 8.4.1 (CodeGen) | Keywords: | Operating System: Linux Architecture: x86_64 | Type of failure: Incorrect result (amd64) | at runtime Test Case: T13658 | Blocked By: T14779a T14779b T14868 debug | parsing001 | Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- A few tests (T13658 T14779a T14779b T14868 debug parsing001) fail running validate using HEAD and 8.4.1. They produce output similar to that shown below. I am not quite sure how to test with clang. Just setting and exporting the environment variable CC to /usr/bin/clang (6) and running validate seemed to produce similar failures. I was unable to try with LLVM because that now seems to be on version 6, which doesn't build. {{{ =====> cgrun004(normal) 290 of 6344 [0, 0, 0] cd "/tmp/ghctest-lx7q03iz/test spaces/./codeGen/should_run/cgrun004.run" && "/home/jrp/Projects/ghc/bindisttest/install dir/bin /ghc" -o cgrun004 cgrun004.hs -dcore-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-gr oups -fdiagnostics-color=never -fno-diagnostics-show-caret -dno-debug- output Wrong exit code for debug()(expected 0 , actual 2 ) Stdout ( debug ): == Dbg == srcdebug.hs:(3,1)-(5,29) srcdebug.hs:3:9 srcdebug.hs:4:9 srcdebug.hs:5:13-17 srcdebug.hs:5:14 srcdebug.hs:5:21-29 srcdebug.hs:5:25-29 srcdebug.hs:5:26 srcdebug.hs:5:9-17 srcdebug.hs:5:9-29 srcdebug.hs:6:1-21 Makefile:12: recipe for target 'debug' failed Stderr ( debug ): /tmp/ghc152350_0/ghc_2.s: Assembler messages: /tmp/ghc152350_0/ghc_2.s:1364:0: error: Error: invalid operands (.debug_frame and .note.GNU-stack sections) for `-' /tmp/ghc152350_0/ghc_2.s:1393:0: error: Error: invalid operands (.debug_frame and .note.GNU-stack sections) for `-' /tmp/ghc152350_0/ghc_2.s:1422:0: error: Error: invalid operands (.debug_frame and .note.GNU-stack sections) for `-' /tmp/ghc152350_0/ghc_2.s:1451:0: error: Error: invalid operands (.debug_frame and .note.GNU-stack sections) for `-' `gcc' failed in phase `Assembler'. (Exit code: 1) make[1]: ./debug: Command not found make[1]: *** [debug] Error 127 *** unexpected failure for debug(normal) }}} The tool versions are: {{{ GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30 }}} {{{ COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.3.0-16ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --with-as=/usr/bin/x86_64-linux-gnu-as --with-ld=/usr/bin/x86_64-linux-gnu-ld --program-suffix=-7 --program- prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default- libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib- list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload- targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3) }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15068 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler