https://sourceware.org/bugzilla/show_bug.cgi?id=33294

            Bug ID: 33294
           Summary: Run i386 TLS tests on x86_64
           Product: binutils
           Version: 2.46 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: sam at gentoo dot org
                CC: hjl.tools at gmail dot com
  Target Milestone: ---

Created attachment 16269
  --> https://sourceware.org/bugzilla/attachment.cgi?id=16269&action=edit
tls.patch

```
$ make check-ld "RUNTESTFLAGS=tls.exp" -Onone
[...]
Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for
target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using /home/sam/git/binutils-gdb/ld/testsuite/config/default.exp as
tool-and-target-specific interface file.
Running /home/sam/git/binutils-gdb/ld/testsuite/ld-elf/tls.exp ...
Running /home/sam/git/binutils-gdb/ld/testsuite/ld-frv/tls.exp ...
Running /home/sam/git/binutils-gdb/ld/testsuite/ld-i386/tls.exp ...
Running /home/sam/git/binutils-gdb/ld/testsuite/ld-x86-64/tls.exp ...

                === ld Summary ===

# of expected passes            46
/tmp/build/ld/ld-new 2.45.50.20250819
```

Do we want to run i386 TLS tests on x86_64? At least the non-executable ones?
Executable ones may require a check to see if we can really run 32-bit
binaries.

The patch is ugly right now as I just wanted to hack it up to ask if we want
it. If we want it, I'll tidy up the patch and submit it (there's some TODOs
I'll fix, the flags may be prunable in some places, and I will use variables a
bit more, etc.)

It is prompted by d02a8683722f1ab1afec0e0850df5dc465abc2a1 and also recent TLS
work.

I don't feel attached to this, so WONTFIX is fine.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to