[Issue 24131] ImportC, Linux: TLS transition from R_X86_64_TLSGD to R_X86_64_TPOFF32 failed with -inline

2023-09-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24131

--- Comment #4 from Walter Bright  ---
If you can create, say, a 3 line C file, that exhibits the difference, that
would be most helpful.

--


[Issue 24131] ImportC, Linux: TLS transition from R_X86_64_TLSGD to R_X86_64_TPOFF32 failed with -inline

2023-09-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24131

--- Comment #3 from Jeffrey H. Johnson  ---
I hope this is helpful, if not, let me know.

--


[Issue 24131] ImportC, Linux: TLS transition from R_X86_64_TLSGD to R_X86_64_TPOFF32 failed with -inline

2023-09-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24131

--- Comment #2 from Jeffrey H. Johnson  ---
(In reply to Walter Bright from comment #1)
> The thing to do to make this reproducible is to create a .c file and compile
> it with both gcc and ImportC, and look to see if the relocations for sir_te
> is different between them.

gcc.txt:0182 R_X86_64_TPOFF32  sir_te
gcc.txt:018f R_X86_64_TPOFF32  sir_te+0x0108
gcc.txt:019c R_X86_64_TPOFF32  sir_te+0x0110
gcc.txt:01a7 R_X86_64_TPOFF32  sir_te+0x0118
gcc.txt:01d4 R_X86_64_TPOFF32  sir_te+0x0004
gcc.txt:01e3 R_X86_64_TPOFF32  sir_te
gcc.txt:0218 R_X86_64_TPOFF32  sir_te
gcc.txt:04b3 R_X86_64_TPOFF32  sir_te
gcc.txt:051d R_X86_64_TPOFF32  sir_te
gcc.txt:0541 R_X86_64_TPOFF32  sir_te
gcc.txt:0554 R_X86_64_TPOFF32  sir_te+0x0004
gcc.txt:05e1 R_X86_64_TPOFF32  sir_te+0x0118
gcc.txt:05ea R_X86_64_TPOFF32  sir_te+0x0110
gcc.txt:05f3 R_X86_64_TPOFF32  sir_te+0x0108
gcc.txt:0667 R_X86_64_TPOFF32  sir_te

dmd.txt:0027 R_X86_64_TLSGDsir_te-0x0004
dmd.txt:003c R_X86_64_TLSGDsir_te-0x0004
dmd.txt:0059 R_X86_64_TLSGDsir_te-0x0004
dmd.txt:0076 R_X86_64_TLSGDsir_te-0x0004
dmd.txt:001f R_X86_64_TLSGDsir_te-0x0004
dmd.txt:0038 R_X86_64_TLSGDsir_te-0x0004
dmd.txt:0083 R_X86_64_TLSGDsir_te-0x0004
dmd.txt:0061 R_X86_64_TLSGDsir_te-0x0004
dmd.txt:00d5 R_X86_64_TLSGDsir_te-0x0004
dmd.txt:00f6 R_X86_64_TLSGDsir_te-0x0004
dmd.txt:0117 R_X86_64_TLSGDsir_te-0x0004
dmd.txt:01a7 R_X86_64_TLSGDsir_te-0x0004
dmd.txt:01c2 R_X86_64_TLSGDsir_te-0x0004
dmd.txt:01e5 R_X86_64_TLSGDsir_te-0x0004
dmd.txt:0267 R_X86_64_TLSGDsir_te-0x0004

--


[Issue 24131] ImportC, Linux: TLS transition from R_X86_64_TLSGD to R_X86_64_TPOFF32 failed with -inline

2023-09-04 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24131

Walter Bright  changed:

   What|Removed |Added

 CC||bugzi...@digitalmars.com

--- Comment #1 from Walter Bright  ---
The thing to do to make this reproducible is to create a .c file and compile it
with both gcc and ImportC, and look to see if the relocations for sir_te is
different between them.

--


[Issue 24131] ImportC, Linux: TLS transition from R_X86_64_TLSGD to R_X86_64_TPOFF32 failed with -inline

2023-09-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24131

Jeffrey H. Johnson  changed:

   What|Removed |Added

 CC||tr...@pobox.com

--