paschalis-mpeis wrote:

Hey @yota9, thanks for the input. I tried something similar.
Even when I use `stub.c` and link it with:

```diff
-# RUN: %clang %cflags -fpic -shared -xc /dev/null -o %t.so
-## Link against a DSO to ensure PLT entries.
+# RUN: %clang %cflags %p/../Inputs/stub.c -fPIC -shared -o %t.so
```

then running GNU nm:

```bash 
nm %t --synthetic
```

would emit only

```
                 U puts
```

which `link_fdata` rejects. On some other machines though, GNU nm emits:
```txt
                 U puts
0000000000001234 T puts@plt
```

which works well. In both cases it was the same nm driver version.
TMU this inconsistency was reported on x86 machines too.

---

I might've missed something on my end. I briefly discussed this with Amir ([see 
discord](https://discord.com/channels/636084430946959380/930647188944613406/1365431973505531905))
 as I'm trying to unblock our AArch64 buildbot. We figured it's fine to disable 
this test on AArch64 until the issue gets resolved. Could you mind taking a 
look at #137831, and consider accepting it?

https://github.com/llvm/llvm-project/pull/135867
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to