Cross-bootstrapping from i686-linux to mips64el-linux n64

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Nikita Karetnikov
Owner
unassigned
Submitted by
Nikita Karetnikov
Severity
normal

Debbugs page

N
N
Nikita Karetnikov wrote on 10 Jul 2013 14:13
Re: Cross bootstrap!
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . bug-guix@gnu.org)
8738rmce58.fsf@karetnikov.org
Toggle quote (3 lines)
> So, did strace display the syscall arguments? (Apparently not, since it
> would display an hexadecimal address for mmap.)

No.

Toggle quote (3 lines)
> It’s worth trying. The GDB installed on gcc49.fsffrance.org doesn’t
> support N64 (same symptom as reported on the web page you linked.)

It didn't work out [1].

Also, I tried to run

$ ./pre-inst-env guix build --no-substitutes -K --target=mips64el-linux-gnuabi64 bootstrap-tarballs

and got the same error [2] as before. 'objdump' shows the same output
[3].

Did you mean the following by "the command that build [the archive]" [3]?

cd /tmp/nix-build-glibc-cross-mips64el-linux-gnuabi64-2.17.drv-2/build && ar cruv libc_pic.a `cat csu/stamp.os iconv/stamp.os locale/stamp.os localedata/stamp.os iconvdata/stamp.os assert/stamp.os ctype/stamp.os intl/stamp.os catgets/stamp.os math/stamp.os setjmp/stamp.os signal/stamp.os stdlib/stamp.os stdio-common/stamp.os libio/stamp.os dlfcn/stamp.os malloc/stamp.os string/stamp.os wcsmbs/stamp.os timezone/stamp.os time/stamp.os dirent/stamp.gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.7.3/gcc -I../../gcc-4.7.3/gcc/. -I../../gcc-4.7.3/gcc/../include -I../../gcc-4.7.3/gcc/../libcpp/include -I../../gcc-4.7.3/gcc/../libdecnumber -I../../gcc-4.7.3/gcc/../libdecnumber/bid -I../libdecnumber ../../gcc-4.7.3/gcc/ipa-ref.c -o ipa-ref.o

cd /tmp/nix-build-glibc-cross-mips64el-linux-gnuabi64-2.17.drv-3/build && ar cruv libc_pic.a `cat csu/stamp.os iconv/stamp.os locale/stamp.os localedata/stamp.os iconvdata/stamp.os assert/stamp.os ctype/stamp.os intl/stamp.os catgets/stamp.os math/stamp.os setjmp/stamp.os signal/stamp.os stdlib/stamp.os stdio-common/stamp.os libio/stamp.os dlfcn/stamp.os malloc/stamp.os string/stamp.os wcsmbs/stamp.os timezone/stamp.os time/stamp.os dirent/stamp.os grp/stamp.os pwd/stamp.os posix/stamp.os io/stamp.os termios/stamp.os resource/stamp.os misc/stamp.os socket/stamp.os sysvipc/stamp.os gmon/stamp.os gnulib/stamp.os wctype/stamp.os manual/stamp.os shadow/stamp.rpc/clnt_tcp.os

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBAgAGBQJR3c5nAAoJEM+IQzI9IQ38uXsP/2yjqX6fLJ1fVvWQmjAhQkdO
5O5fj3/bXzHxPqE7gPoXFOTrbl4wrdtFmA9NKn4QPXc+vWP/Z/L67AwKA3Fu6hVH
ijcIe+enEyNhrlgfFj7SGMWdAzq8zF4fLTrdBZ84aPSJDP2aiS+h9oiMBOxtd7oc
zOeKBXqDz4nJYz3SS1HQBWQ9o3Hqo2ODSvOodZ6idO0yZeBEr2KHrYuSC6N2hXx+
OhoI5GtFlpKs3S/1+8c1FG3u/L70j2TQPUuSHRMG4M5V02OTEOJsix1YUu6/el2g
kf7Bc5+8elCSlR5YtCzOQFzFGwx9hjwS5ZYcWfUvAS8U9rF6p53xFFX7345LCnT/
0J2OxBG0s1fb29aQp3Adl93kYVgsRLLxEsk1OUURqbba4w3Jp34Gdq/XFPqQWZZ0
+rSAYbtpE+WayDxPFg2dM5mJH/lLELlkrO7nQKYABu0JIQnTxkuMlCCmCivhghe7
ZkwrS/7D7Y++URKSz4g1iBe/8pSQUcGJb3ijqzdH+wtrzcDuH2s8GENoiu/wNEbg
tpAzkJJNgZeGYDKLAOZHrKRQGHk9Dh9ApX1gsrtU4ThB+Kv5BxGwqDA75ivO5B/V
X73ao9yWDmvimIz9hxzN2yjMLa7lnHA2oFp3Bqi+Q3iPxBzKs24y4l2MyAeOh+Ld
Fc9UTiXtTy2zi/mSuTiR
=A7L9
-----END PGP SIGNATURE-----

L
L
Ludovic Courtès wrote on 10 Jul 2013 14:59
(name . Nikita Karetnikov)(address . nikita@karetnikov.org)(address . bug-guix@gnu.org)
87vc4i6pqb.fsf@gnu.org
Nikita Karetnikov <nikita@karetnikov.org> skribis:

Toggle quote (10 lines)
>> So, did strace display the syscall arguments? (Apparently not, since it
>> would display an hexadecimal address for mmap.)
>
> No.
>
>> It’s worth trying. The GDB installed on gcc49.fsffrance.org doesn’t
>> support N64 (same symptom as reported on the web page you linked.)
>
> It didn't work out [1].

Argh.

Toggle quote (7 lines)
> Also, I tried to run
>
> $ ./pre-inst-env guix build --no-substitutes -K --target=mips64el-linux-gnuabi64 bootstrap-tarballs
>
> and got the same error [2] as before. 'objdump' shows the same output
> [3].

[...]

Toggle quote (4 lines)
> [2] https://lists.gnu.org/archive/html/bug-guix/2013-03/msg00155.html
> [3] https://lists.gnu.org/archive/html/bug-guix/2013-03/msg00156.html

Then I think this problem occurs specifically when cross-building from
i686 to mips64el/N64. At least it definitely works from x86_64 [0].

Ludo’.

N
N
Nikita Karetnikov wrote on 10 Jul 2013 15:26
(name . Ludovic Courtès)(address . ludo@gnu.org)
874nc2jbkl.fsf@karetnikov.org
Toggle quote (3 lines)
> Then I think this problem occurs specifically when cross-building from
> i686 to mips64el/N64.

Cyril, could you try the following command on i686?

$ ./pre-inst-env guix build --no-substitutes -K --target=mips64el-linux-gnuabi64 bootstrap-tarballs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBAgAGBQJR3d+uAAoJEM+IQzI9IQ38dHgQAIMWAcO5RpUO52wYL0VbJzNr
18hnhFURIObxtrdipjwrx1qci4cKNJdHPKtaFmnYqZX0NEpk8vBW6ujI6/Bkae1L
gNP7uI4YqRF86wl+jAXMFmksroqU9vdiez1oskLOkDgWQFjtUPA2fUlAp0HvI9Y1
LY1hSo1J3tUOdEhYheLu9eKiee/UZxR8oE34klgOfTnXacYyjRzq9j4lEL1U99Yi
Mlsd6YjeledRWMj7TKO6w6IuiXQgr19GAH3WZvwx+9gYJLg9z4vSOYWgveEXOn5E
q7bkiEjtRJhiueJtBKDsXxo3dLDdB58gqasyqvPgHR29zl6rBGBxN/lXAqzYOujX
4CS8Nj0JWw24avPZzdbEYdOm99p6p6tklK7AF2SOb38+REILNSVf8FjtcAKuqDd0
PxAoXIzvycf0IUkCduf//4orV0vUanEPOdrOrJ7fiw7hQ/5ZQclw9YJisP9d8oo7
A37KwPaeV+epGtpXe3AUPT8V0QVk2X931SHmZmnuImumx1kjMwCvLXX7ijNteQWm
DZ4ZctOrAhd44hJJ3/iNUvUA+Sas2nBg0Vkc9LenTOPL46uVz9fUOCIKQBU5GFaj
Llr/07S5+6SuXHRJE2COkKb1SoHstpcKwyaQQoT5mSLFKyDco4H9p249u74Gzywo
usfoJScbdzlT12Sg3oCp
=D0IL
-----END PGP SIGNATURE-----

L
L
Ludovic Courtès wrote on 10 Dec 2013 13:34
Re: bug#14837: Cross bootstrap!
(name . Nikita Karetnikov)(address . nikita@karetnikov.org)
87siu0tmon.fsf@gnu.org
retitle 14837 Cross-bootstrapping from i686-linux to mips64el-linux n64
tags 14837 wontfix
close 14837
thanks

Closing this bug: we won’t attempt to support cross-builds from i686 to
mips64/n64 if the tool chain doesn’t support it itself.

Thanks,
Ludo’.
?
Your comment

This issue is archived.

To comment on this conversation send an email to 14837@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 14837
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch