Skip to content

Fix LANG=C for readelf invocation in T14999

Sylvain Henry requested to merge hsyl20/ghc:hsyl20-test-lang into master

Fix T14999 for non English locales. On my system with LANG=fr_FR.UTF-8 I get:

--- codeGen/should_compile/T14999.run/T14999.stdout.normalised	2020-01-07 19:05:31.834653351 +0100
+++ codeGen/should_compile/T14999.run/T14999.run.stdout.normalised	2020-01-07 19:05:31.834653351 +0100
@@ -2,7 +2,7 @@
  0x0000000000000010 <+0>:	add $0x18,%rbp
  0x0000000000000014 <+4>:	jmpq *0x0(%rbp)
 End of assembler dump.
-Contents of the .debug_frame section:
+Contenu de la section .debug_frame :
 00000000 0000000000000014 ffffffff CIE "" cf=1 df=-8 ra=16
  LOC CFA rbp rsp ra 
 0000000000000000 rbp+0 v+0 s c+0 
*** unexpected failure for T14999(normal)

As far as I know, it fails when using the make build system but not when using Hadrian.

Merge request reports