Skip to content

Test T13702 fails with glibc 2.30 and later

Summary

glibc 2.30 disallowed dlopen on PIE objects, causing T13702 and T13702a to fail:

=====> recomp017(normal) 1208 of 6523 [0, 0, 0]
cd "./driver/recomp017/recomp017.run" && $MAKE -s --no-print-directory recomp017  --- ./dynlibs/T13702.run/T13702.stdout.normalised     2020-03-23 19:45:14.063130812 +0000
+++ ./dynlibs/T13702.run/T13702.run.stdout.normalised   2020-03-23 19:45:14.063130812 +0000
@@ -1,2 +1 @@
 hello world
-hello world again
=====> T13702(normal) 1219 of 6523 [0, 0, 0]
cd "./dynlibs/T13702.run" && $MAKE --no-print-directory -s T13702  
Wrong exit code for T13702()(expected 0 , actual 2 )
Stdout ( T13702 ):
hello world
Stderr ( T13702 ):
T13702a: user error (dlopen: ./T13702: cannot dynamically load position-independent executable)

Steps to reproduce

Build GHC with glibc 2.30 and run "make test".

Environment

  • GHC version used: 8.6.5

Optional:

  • Operating System: GNU/Linux
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information