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

DoneSubmitted by Nikita Karetnikov.
Details
2 participants
  • Ludovic Courtès
  • Nikita Karetnikov
Owner
unassigned
Severity
normal
N
N
Nikita Karetnikov wrote on 10 Jul 2013 23: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
[1] http://sourceware.org/ml/gdb/2013-07/msg00037.html[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
-----BEGIN PGP SIGNATURE-----Version: GnuPG v1.4.10 (GNU/Linux)
iQIcBAEBAgAGBQJR3c5nAAoJEM+IQzI9IQ38uXsP/2yjqX6fLJ1fVvWQmjAhQkdO5O5fj3/bXzHxPqE7gPoXFOTrbl4wrdtFmA9NKn4QPXc+vWP/Z/L67AwKA3Fu6hVHijcIe+enEyNhrlgfFj7SGMWdAzq8zF4fLTrdBZ84aPSJDP2aiS+h9oiMBOxtd7oczOeKBXqDz4nJYz3SS1HQBWQ9o3Hqo2ODSvOodZ6idO0yZeBEr2KHrYuSC6N2hXx+OhoI5GtFlpKs3S/1+8c1FG3u/L70j2TQPUuSHRMG4M5V02OTEOJsix1YUu6/el2gkf7Bc5+8elCSlR5YtCzOQFzFGwx9hjwS5ZYcWfUvAS8U9rF6p53xFFX7345LCnT/0J2OxBG0s1fb29aQp3Adl93kYVgsRLLxEsk1OUURqbba4w3Jp34Gdq/XFPqQWZZ0+rSAYbtpE+WayDxPFg2dM5mJH/lLELlkrO7nQKYABu0JIQnTxkuMlCCmCivhghe7ZkwrS/7D7Y++URKSz4g1iBe/8pSQUcGJb3ijqzdH+wtrzcDuH2s8GENoiu/wNEbgtpAzkJJNgZeGYDKLAOZHrKRQGHk9Dh9ApX1gsrtU4ThB+Kv5BxGwqDA75ivO5B/VX73ao9yWDmvimIz9hxzN2yjMLa7lnHA2oFp3Bqi+Q3iPxBzKs24y4l2MyAeOh+LdFc9UTiXtTy2zi/mSuTiR=A7L9-----END PGP SIGNATURE-----
L
L
Ludovic Courtès wrote on 10 Jul 2013 23: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)> [1] http://sourceware.org/ml/gdb/2013-07/msg00037.html> [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 fromi686 to mips64el/N64. At least it definitely works from x86_64 [0].
Ludo’.
[0] http://hydra.gnu.org:3000/job/gnu/master/gcc-cross-mips64el-linux-gnuabi64-4.7.3
N
N
Nikita Karetnikov wrote on 11 Jul 2013 00: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+IQzI9IQ38dHgQAIMWAcO5RpUO52wYL0VbJzNr18hnhFURIObxtrdipjwrx1qci4cKNJdHPKtaFmnYqZX0NEpk8vBW6ujI6/Bkae1LgNP7uI4YqRF86wl+jAXMFmksroqU9vdiez1oskLOkDgWQFjtUPA2fUlAp0HvI9Y1LY1hSo1J3tUOdEhYheLu9eKiee/UZxR8oE34klgOfTnXacYyjRzq9j4lEL1U99YiMlsd6YjeledRWMj7TKO6w6IuiXQgr19GAH3WZvwx+9gYJLg9z4vSOYWgveEXOn5Eq7bkiEjtRJhiueJtBKDsXxo3dLDdB58gqasyqvPgHR29zl6rBGBxN/lXAqzYOujX4CS8Nj0JWw24avPZzdbEYdOm99p6p6tklK7AF2SOb38+REILNSVf8FjtcAKuqDd0PxAoXIzvycf0IUkCduf//4orV0vUanEPOdrOrJ7fiw7hQ/5ZQclw9YJisP9d8oo7A37KwPaeV+epGtpXe3AUPT8V0QVk2X931SHmZmnuImumx1kjMwCvLXX7ijNteQWmDZ4ZctOrAhd44hJJ3/iNUvUA+Sas2nBg0Vkc9LenTOPL46uVz9fUOCIKQBU5GFajLlr/07S5+6SuXHRJE2COkKb1SoHstpcKwyaQQoT5mSLFKyDco4H9p249u74GzywousfoJScbdzlT12Sg3oCp=D0IL-----END PGP SIGNATURE-----
L
L
Ludovic Courtès wrote on 10 Dec 2013 22: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 n64tags 14837 wontfixclose 14837thanks
Closing this bug: we won’t attempt to support cross-builds from i686 tomips64/n64 if the tool chain doesn’t support it itself.
Thanks,Ludo’.
?
Your comment

This issue is archived.

To comment on this conversation send email to 14837@debbugs.gnu.org