From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [ISSUE] FTBFS libGL for cross ppc*
Date: Mon, 14 Oct 2019 21:49:40 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15478@inbox.vuxu.org> (raw)
[-- 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`.
next reply other threads:[~2019-10-14 19:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-14 19:49 voidlinux-github [this message]
2020-02-22 22:00 ` [ISSUE] [CLOSED] " pullmoll
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15478@inbox.vuxu.org \
--to=voidlinux-github@inbox.vuxu.org \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).