Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] FTBFS libGL for cross ppc*
@ 2019-10-14 19:49 voidlinux-github
  2020-02-22 22:00 ` [ISSUE] [CLOSED] " pullmoll
  0 siblings, 1 reply; 2+ messages in thread
From: voidlinux-github @ 2019-10-14 19:49 UTC (permalink / raw)
  To: ml

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

New issue by pullmoll on void-packages repository

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

Description:
Ever since the update to `19.1.7_3` cross building `libGL` for `ppc*` from `x86_64` or `i686` fails.

The reason seems to be that using the host's `llvm-config` output results in a try to link `noveau` against the static library `/usr/lib/libclangCodeGen.a` which of course fails: `Relocations in generic ELF (EM: 62)`.

I tried many things to no avail and think we might need to create a qemu wrapper for the target's `llvm-config` to get the required results, perhaps even a `pkg-config` like wrapper to inject the `${XBPS_CROSS_BASE}` in the output.

Or perhaps we can create a `llvm-config-cross.sh` script which would output the correct flags and paths and could then be used by adding a line:
```
llvm-config = '${XBPS_CROSS_BASE}/usr/bin/llvm-config-cross.sh'
```
to the `common/build-style/meson.sh` generated cross build definitions in `xbps_meson.cross`.


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

* Re: [ISSUE] [CLOSED] FTBFS libGL for cross ppc*
  2019-10-14 19:49 [ISSUE] FTBFS libGL for cross ppc* voidlinux-github
@ 2020-02-22 22:00 ` pullmoll
  0 siblings, 0 replies; 2+ messages in thread
From: pullmoll @ 2020-02-22 22:00 UTC (permalink / raw)
  To: ml

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

Closed issue by pullmoll on void-packages repository

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

Description:
Ever since the update to `19.1.7_3` cross building `libGL` for `ppc*` from `x86_64` or `i686` fails.

The reason seems to be that using the host's `llvm-config` output results in a try to link `noveau` against the static library `/usr/lib/libclangCodeGen.a` which of course fails: `Relocations in generic ELF (EM: 62)`.

I tried many things to no avail and think we might need to create a qemu wrapper for the target's `llvm-config` to get the required results, perhaps even a `pkg-config` like wrapper to inject the `${XBPS_CROSS_BASE}` in the output.

Or perhaps we can create a `llvm-config-cross.sh` script which would output the correct flags and paths and could then be used by adding a line:
```
llvm-config = '${XBPS_CROSS_BASE}/usr/bin/llvm-config-cross.sh'
```
to the `common/build-style/meson.sh` generated cross build definitions in `xbps_meson.cross`.


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

end of thread, other threads:[~2020-02-22 22:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-14 19:49 [ISSUE] FTBFS libGL for cross ppc* voidlinux-github
2020-02-22 22:00 ` [ISSUE] [CLOSED] " pullmoll

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).