[Issue 21375] New: phobos: Error: cannot directly load global variable constants with PIC or PIE code
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Nov 10 16:54:06 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=21375
Issue ID: 21375
Summary: phobos: Error: cannot directly load global variable
constants with PIC or PIE code
Product: D
Version: D2
Hardware: x86
OS: Linux
Status: NEW
Severity: major
Priority: P1
Component: phobos
Assignee: nobody at puremagic.com
Reporter: ibuclaw at gdcproject.org
This happens when building phobos with DFLAGS="-fPIE".
Compiling with `-fPIC` works just fine (possibly because of issue 9378).
std/internal/digest/sha_SSSE3.d-mixin-739(739): Error: cannot directly load
global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-739(740): Error: cannot directly load
global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-747(777): Error: cannot directly load
global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-749(779): Error: cannot directly load
global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-751(781): Error: cannot directly load
global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-753(783): Error: cannot directly load
global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-755(774): Error: cannot directly load
global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-758(776): Error: cannot directly load
global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-760(778): Error: cannot directly load
global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-762(780): Error: cannot directly load
global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-764(782): Error: cannot directly load
global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-766(784): Error: cannot directly load
global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-769(790): Error: cannot directly load
global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-771(792): Error: cannot directly load
global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-773(794): Error: cannot directly load
global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-775(796): Error: cannot directly load
global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-777(798): Error: cannot directly load
global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-780(792): Error: cannot directly load
global variable constants with PIC or PIE code
std/internal/math/biguintx86.d-mixin-793(822): Error: cannot directly load
global variable storagenopMulAdd with PIC or PIE code
std/internal/math/biguintcore.d(130): Error: template instance
std.internal.math.biguintx86.multibyteMulAdd!'-' error instantiating
--
More information about the Digitalmars-d-bugs
mailing list