Github messages for voidlinux
 help / Atom feed
* [PR PATCH] cross-i686 compiler: keep sysroot /lib symlink
@ 2019-09-11 11:30 voidlinux-github
  2019-09-11 11:31 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: voidlinux-github @ 2019-09-11 11:30 UTC (permalink / raw)
  To: ml

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

There is a new pull request by zdtcd against master on the void-packages repository

https://github.com/zdtcd/void-packages cross-lib
https://github.com/void-linux/void-packages/pull/14401

cross-i686 compiler: keep sysroot /lib symlink
When packaging Firefox ESR 68.1.0, and cross compile i686 from x86_64,
I received this complains:
> 0:06.67 DEBUG: | /usr/lib/gcc/i686-pc-linux-gnu/9.2.0/../../../../i686-pc-linux-gnu/bin/ld: cannot find /lib/libc.so.6 inside /usr/i686-pc-linux-gnu
> 0:06.67 DEBUG: | /usr/lib/gcc/i686-pc-linux-gnu/9.2.0/../../../../i686-pc-linux-gnu/bin/ld: cannot find /lib/ld-linux.so.2 inside /usr/i686-pc-linux-gnu

I didn't run into this complain when packaging aarch64 from x86_64,
I have a different problem when packaging ppc64le from x86_64


A patch file from https://github.com/void-linux/void-packages/pull/14401.patch is attached

[-- Attachment #2: github-pr-cross-lib-14401.patch --]
[-- Type: text/x-diff, Size: 3154 bytes --]

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

* Re: [PR PATCH] [Updated] cross-i686 compiler: keep sysroot /lib symlink
  2019-09-11 11:30 [PR PATCH] cross-i686 compiler: keep sysroot /lib symlink voidlinux-github
@ 2019-09-11 11:31 ` " voidlinux-github
  2019-09-11 19:51 ` voidlinux-github
  2019-09-11 23:36 ` voidlinux-github
  2 siblings, 0 replies; 4+ messages in thread
From: voidlinux-github @ 2019-09-11 11:31 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by zdtcd against master on the void-packages repository

https://github.com/zdtcd/void-packages cross-lib
https://github.com/void-linux/void-packages/pull/14401

cross-i686 compiler: keep sysroot /lib symlink
When packaging Firefox ESR 68.1.0, and cross compile i686 from x86_64,
I received this complains:
> 0:06.67 DEBUG: | /usr/lib/gcc/i686-pc-linux-gnu/9.2.0/../../../../i686-pc-linux-gnu/bin/ld: cannot find /lib/libc.so.6 inside /usr/i686-pc-linux-gnu
> 0:06.67 DEBUG: | /usr/lib/gcc/i686-pc-linux-gnu/9.2.0/../../../../i686-pc-linux-gnu/bin/ld: cannot find /lib/ld-linux.so.2 inside /usr/i686-pc-linux-gnu

I didn't run into this complain when packaging aarch64 from x86_64,
I have a different problem when packaging ppc64le from x86_64


A patch file from https://github.com/void-linux/void-packages/pull/14401.patch is attached

[-- Attachment #2: github-pr-cross-lib-14401.patch --]
[-- Type: text/x-diff, Size: 3165 bytes --]

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

* Re: cross-i686 compiler: keep sysroot /lib symlink
  2019-09-11 11:30 [PR PATCH] cross-i686 compiler: keep sysroot /lib symlink voidlinux-github
  2019-09-11 11:31 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-09-11 19:51 ` voidlinux-github
  2019-09-11 23:36 ` voidlinux-github
  2 siblings, 0 replies; 4+ messages in thread
From: voidlinux-github @ 2019-09-11 19:51 UTC (permalink / raw)
  To: ml

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

New comment by Piraty on void-packages repository

https://github.com/void-linux/void-packages/pull/14401#issuecomment-530538632

Comment:
(Unrelated to you actual PR)
You don't need to cross-compile from x86_64* to i686 and are better off using a masterdir with the desired arch instead:
```
./xbps-src -m masterdir-i686 binary-bootstrap i686
./xbps-src -m masterdir-i686 pkg foo
```
That's probably why nobody noticed before

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

* Re: cross-i686 compiler: keep sysroot /lib symlink
  2019-09-11 11:30 [PR PATCH] cross-i686 compiler: keep sysroot /lib symlink voidlinux-github
  2019-09-11 11:31 ` [PR PATCH] [Updated] " voidlinux-github
  2019-09-11 19:51 ` voidlinux-github
@ 2019-09-11 23:36 ` voidlinux-github
  2 siblings, 0 replies; 4+ messages in thread
From: voidlinux-github @ 2019-09-11 23:36 UTC (permalink / raw)
  To: ml

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

New comment by zdtcd on void-packages repository

https://github.com/void-linux/void-packages/pull/14401#issuecomment-530605561

Comment:
On September 11, 2019 7:51:08 PM UTC, Piraty <notifications@github.com> wrote:
>(Unrelated to you actual PR)
>You don't need to cross-compile from x86_64* to i686 and are better off
>using a masterdir with the desired arch instead:
>```
>./xbps-src -m masterdir-i686 binary-bootstrap i686
>./xbps-src -m masterdir-i686 pkg foo
>```
>That's probably why nobody noticed before

Well, I knew we can bootstrap i686 in x86_64.
I tested that build in my PR, see first comment.
-- 
Danh


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

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-11 11:30 [PR PATCH] cross-i686 compiler: keep sysroot /lib symlink voidlinux-github
2019-09-11 11:31 ` [PR PATCH] [Updated] " voidlinux-github
2019-09-11 19:51 ` voidlinux-github
2019-09-11 23:36 ` voidlinux-github

Github messages for voidlinux

Archives are clonable: git clone --mirror http://inbox.vuxu.org/voidlinux-github

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.github.voidlinux


AGPL code for this site: git clone https://public-inbox.org/ public-inbox