# 01:56:51 |
kos_tom_ |
joins #crosstool-ng |
# 01:57:08 |
kos_tom |
quits : Ping timeout: 245 seconds |
# 02:03:40 |
Talustus |
quits : Ping timeout: 244 seconds |
# 02:08:32 |
Talustus |
joins #crosstool-ng |
# 07:01:03 |
sh4rm4 |
quits : Ping timeout: 248 seconds |
# 07:03:04 |
sh4rm4 |
joins #crosstool-ng |
# 07:22:07 |
kos_tom_ |
is now known as: kos_tom |
# 12:07:38 |
y_morin |
joins #crosstool-ng |
# 12:12:07 |
y_morin |
quits : Remote host closed the connection |
# 12:12:43 |
y_morin |
joins #crosstool-ng |
# 13:46:55 |
bhundven|afk |
quits : *.net *.split |
# 13:46:58 |
EsbenH |
quits : *.net *.split |
# 13:46:58 |
Talustus |
quits : *.net *.split |
# 13:46:59 |
kos_tom |
quits : *.net *.split |
# 13:47:03 |
al`_ |
quits : *.net *.split |
# 13:47:03 |
y_morin |
quits : *.net *.split |
# 13:47:05 |
aleek |
quits : *.net *.split |
# 13:47:05 |
linuxjacques |
quits : *.net *.split |
# 13:47:06 |
ChanServ |
quits : *.net *.split |
# 13:53:41 |
linuxjacques |
joins #crosstool-ng |
# 13:53:41 |
aleek |
joins #crosstool-ng |
# 13:53:41 |
bhundven|afk |
joins #crosstool-ng |
# 13:53:41 |
y_morin |
joins #crosstool-ng |
# 13:53:41 |
EsbenH |
joins #crosstool-ng |
# 13:53:41 |
kos_tom |
joins #crosstool-ng |
# 13:53:41 |
Talustus |
joins #crosstool-ng |
# 13:53:41 |
al` |
joins #crosstool-ng |
# 13:53:41 |
kvasir |
joins #crosstool-ng |
# 13:59:49 |
kvasir |
hi, I am building a cross toolchain for sparc64 (not using crosstool) |
# 13:59:55 |
kvasir |
I ran into a problem with gcc stage 2 |
# 14:00:05 |
kvasir |
my gcc stage 1 seems to be ELF 64-bit LSB executable |
# 14:00:15 |
kvasir |
where my libc is ELF 64-bit MSB shared object |
# 14:00:31 |
kvasir |
now gcc is complaining about the little-endianess |
# 14:01:33 |
kvasir |
I guess gcc stage 1 should be MSB too? |
# 14:02:10 |
ChanServ |
joins #crosstool-ng |
# 14:02:42 |
kvasir |
is now known as: Guest30828 |
# 14:31:33 |
kos_tom |
well, your gcc binaries are built for your host machine, which probably is x86_64 |
# 14:31:42 |
kos_tom |
so 64 bit LSB executable type for the gcc binaries is fine |
# 14:31:56 |
kos_tom |
while the libc is built for the target machine, so your sparc64 machine |
# 14:51:03 |
Guest30828 |
and yet it is the one thing that breaks the build http://pastebin.com/CiyPESXE |
# 15:11:26 |
y_morin |
Guest30828: how did you configured your gcc? What args did you pass to ./configure ? |
# 15:14:22 |
Guest30828 |
y_morin: http://pastebin.com/srftnpkC |
# 15:15:35 |
Guest30828 |
the target is sparc64-unknown-linux-gnu |
# 15:16:00 |
y_morin |
I wonder if it has anything to do with the fact that eglibc (and gelibc) require a three-step procedure, because of NPTL. |
# 15:16:03 |
y_morin |
See: http://crosstool-ng.org/hg/crosstool-ng/file/tip/docs/9%20-%20How%20is%20a%20toolchain%20constructed.txt |
# 15:16:36 |
y_morin |
(I meant: and glibc, of course. There's nothing like gelibc... ;-) |
# 15:37:36 |
Guest30828 |
is now known as: kvasir |
# 15:57:40 |
kvasir |
I presume I do not need to build gmp mpfr mpc since they are runtime dependencies installed on the host and I used the download_prerequisites script? |
# 15:58:15 |
y_morin |
kvasir: probably not... |
# 15:59:12 |
y_morin |
kvasir: but this chan is for support to _crosstool-NG_. Although we are happy to (try to) answer generic questions, you may get better answer on a more suited channel, or on the gcc support mailing list... |
# 16:11:47 |
kvasir |
alright I let you know what the problem was once I figured it out, thanks so far |
# 16:19:21 |
y_morin |
kvasir: you should look into this three-step hint, I believe this is the issue. |
# 16:19:25 |
y_morin |
kvasir: Ie., you must build a pass-1 gcc, then the libc headers, then a pass-2 gcc, then the full libc, and only then the full gcc. |
# 16:20:11 |
y_morin |
kvasir: you may get more luck using an "autobuilder" (like crosstool-NG, for example). |
# 16:20:33 |
y_morin |
kvasir: sparc is already supported in ct-ng, but sparc64 is not. Might be really trivial to add... |
# 17:30:54 |
y_morin |
is now known as: y_morin|away |
# 19:38:23 |
y_morin|away |
is now known as: y_morin |
# 19:52:34 |
y_morin |
is now known as: y_morin|away |
# 20:53:51 |
rickfoosusa |
joins #crosstool-ng |
# 21:33:01 |
y_morin|away |
is now known as: y_morin |
# 21:33:16 |
rickfoosusa |
quits : Quit: ChatZilla 0.9.87 [Firefox 8.0/20111108090055] |
# 21:39:14 |
mnt_real |
joins #crosstool-ng |