Github messages for voidlinux
 help / color / mirror / Atom feed
* Re: Error relocating libglslang.so and libHLSL.so
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23131@inbox.vuxu.org>
  2020-08-09 14:52 ` Error relocating libglslang.so and libHLSL.so st3r4g
@ 2020-08-10  1:44 ` ericonr
  2020-08-10  1:45 ` ericonr
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: ericonr @ 2020-08-10  1:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 508 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/23131#issuecomment-671131825

Comment:
Ok, so trying to run `/lib/libc.so /lib/libglslang.so` also complains about the missing symbols, but it's clearly dynamically loaded in applications such as mpv, since it can be seen in the output of `/proc/$PID/maps`. This looks like a potential difference between symbol resolution when loading something directly and when loading something as a dynamic library. 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Error relocating libglslang.so and libHLSL.so
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23131@inbox.vuxu.org>
  2020-08-09 14:52 ` Error relocating libglslang.so and libHLSL.so st3r4g
  2020-08-10  1:44 ` ericonr
@ 2020-08-10  1:45 ` ericonr
  2020-08-10 13:53 ` ericonr
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: ericonr @ 2020-08-10  1:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 561 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/23131#issuecomment-671131825

Comment:
Ok, so trying to run `/lib/libc.so /lib/libglslang.so` also complains about the missing symbols, but it's clearly dynamically loaded in applications such as mpv, since it can be seen in the output of `/proc/$PID/maps`. This looks like a potential difference between symbol resolution when loading something directly and when loading something as a dynamic library. Not sure it's a linking / binutils bug or a musl bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Error relocating libglslang.so and libHLSL.so
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23131@inbox.vuxu.org>
                   ` (2 preceding siblings ...)
  2020-08-10  1:45 ` ericonr
@ 2020-08-10 13:53 ` ericonr
  2020-08-19 16:26 ` sgn
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: ericonr @ 2020-08-10 13:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 814 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/23131#issuecomment-671367397

Comment:
We might have some wrong linkage in `libHLSL`, at least:

```
$ env LD_PRELOAD=/lib/libglslang.so ldd /lib/libHLSL.so
	ldd (0x7f9a4211c000)
	/lib/libglslang.so => /lib/libglslang.so (0x7f9a41ebc000)
	libstdc++.so.6 => /lib/libstdc++.so.6 (0x7f9a41c25000)
	libc.so => ldd (0x7f9a4211c000)
	libHLSL.so => /lib/libHLSL.so (0x7f9a41b7b000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x7f9a41b62000)
Error relocating /lib/libglslang.so: _ZN7glslang12GlslangToSpvERKNS_13TIntermediateERSt6vectorIjSaIjEEPN3spv14SpvBuildLoggerEPNS_10SpvOptionsE: symbol not found
Error relocating /lib/libglslang.so: _ZNK3spv14SpvBuildLogger14getAllMessagesB5cxx11Ev: symbol not found
```

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Error relocating libglslang.so and libHLSL.so
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23131@inbox.vuxu.org>
                   ` (3 preceding siblings ...)
  2020-08-10 13:53 ` ericonr
@ 2020-08-19 16:26 ` sgn
  2021-02-05  2:24 ` ericonr
  2021-02-05  2:24 ` [ISSUE] [CLOSED] " ericonr
  6 siblings, 0 replies; 7+ messages in thread
From: sgn @ 2020-08-19 16:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 232 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/23131#issuecomment-676528117

Comment:
`libglslang.so` doesn't provide stable ABI, but they declined to version their shared object.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Error relocating libglslang.so and libHLSL.so
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23131@inbox.vuxu.org>
                   ` (4 preceding siblings ...)
  2020-08-19 16:26 ` sgn
@ 2021-02-05  2:24 ` ericonr
  2021-02-05  2:24 ` [ISSUE] [CLOSED] " ericonr
  6 siblings, 0 replies; 7+ messages in thread
From: ericonr @ 2021-02-05  2:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 227 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/23131#issuecomment-773737627

Comment:
Nothing we can really act on, I think... Can be reopened if a bug appears due to it.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ISSUE] [CLOSED] Error relocating libglslang.so and libHLSL.so
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23131@inbox.vuxu.org>
                   ` (5 preceding siblings ...)
  2021-02-05  2:24 ` ericonr
@ 2021-02-05  2:24 ` ericonr
  6 siblings, 0 replies; 7+ messages in thread
From: ericonr @ 2021-02-05  2:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1017 bytes --]

Closed issue by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/issues/23131

Description:
Bug in some libraries provided by `glslang`

### Steps to reproduce the behavior

`ldd /lib/libglslang.so`
```
Error relocating /lib/libglslang.so: _ZN7glslang12GlslangToSpvERKNS_13TIntermediateERSt6vectorIjSaIjEEPN3spv14SpvBuildLoggerEPNS_10SpvOptionsE: symbol not found
Error relocating /lib/libglslang.so: _ZNK3spv14SpvBuildLogger14getAllMessagesB5cxx11Ev: symbol not found
```

`ldd /lib/libHLSL.so`
```
Error relocating /lib/libHLSL.so: _ZN7glslang13TIntermediate8addCommaEPNS_12TIntermTypedES2_RKNS_10TSourceLocE: symbol not found
Error relocating /lib/libHLSL.so: _ZN7glslang13TInfoSinkBase6appendEPKc: symbol not found
... (long list)
Error relocating /lib/libHLSL.so: _ZTVN7glslang9TVariableE: symbol not found
Error relocating /lib/libHLSL.so: _ZTVN7glslang16TIntermSelectionE: symbol not found
```

This doesn't seem to break any program using them at the moment.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Error relocating libglslang.so and libHLSL.so
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23131@inbox.vuxu.org>
@ 2020-08-09 14:52 ` st3r4g
  2020-08-10  1:44 ` ericonr
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: st3r4g @ 2020-08-09 14:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 191 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/issues/23131#issuecomment-671061476

Comment:
This happens on `x86_64-musl` but not on `x86_64`

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-02-05  2:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23131@inbox.vuxu.org>
2020-08-09 14:52 ` Error relocating libglslang.so and libHLSL.so st3r4g
2020-08-10  1:44 ` ericonr
2020-08-10  1:45 ` ericonr
2020-08-10 13:53 ` ericonr
2020-08-19 16:26 ` sgn
2021-02-05  2:24 ` ericonr
2021-02-05  2:24 ` [ISSUE] [CLOSED] " ericonr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).