# 00:39:37 |
y_morin |
quits : Quit: Nighty Night! |
# 08:01:08 |
codyps |
joins #crosstool-ng |
# 09:43:00 |
sfan5|OFF |
is now known as: sfan5 |
# 10:29:35 |
smartin |
joins #crosstool-ng |
# 10:45:27 |
y_morin |
joins #crosstool-ng |
# 11:03:37 |
codyps |
quits : Quit: Leaving. |
# 12:39:06 |
sfan5 |
is now known as: sfan5|OFF |
# 13:09:57 |
smartin |
quits : Quit: leaving |
# 13:39:12 |
mingwandroid |
joins #crosstool-ng |
# 13:42:36 |
mingwandroid |
quits : Quit: Leaving. |
# 14:56:21 |
sh4rm4 |
quits : Ping timeout: 276 seconds |
# 15:57:57 |
sim |
quits : Read error: Operation timed out |
# 17:32:47 |
mingwandroid |
joins #crosstool-ng |
# 17:49:07 |
sfan5|OFF |
is now known as: sfan5 |
# 20:01:27 |
diorcety1 |
quits : Ping timeout: 265 seconds |
# 20:29:14 |
An_Ony_Moose |
joins #crosstool-ng |
# 20:31:58 |
An_Ony_Moose |
hi, I'm trying to build a toolchain with target sh3 (big-endian), host x86_64. It fails on the pass-2 core C compiler, but I can't find the cause of the error in build.log. |
# 20:42:44 |
An_Ony_Moose |
wait no, it's in installing the C library |
# 20:42:45 |
An_Ony_Moose |
hang on |
# 20:45:23 |
An_Ony_Moose |
http://rru-stuff.org/errors.txt |
# 20:49:01 |
An_Ony_Moose |
just the end of build.log. Can anyone help me find out what causes the failure? |
# 21:22:40 |
Hodapp |
parts #crosstool-ng |
# 21:37:15 |
y_morin |
An_Ony_Moose: can you post your .config, please? |
# 21:37:48 |
y_morin |
An_Ony_Moose: And, can you use another pastebin site, please: rru-stuff.org is slow as hell from here... |
# 21:40:25 |
sh4rm4 |
joins #crosstool-ng |
# 21:41:59 |
An_Ony_Moose |
y_morin: for a few kilobytes of text? o.O strange... but yes I will... just as soon as I figure out how |
# 21:42:18 |
An_Ony_Moose |
(I don't have a browser that supports a clipboard on this computer xP |
# 21:42:31 |
y_morin |
An_Ony_Moose: yes, it took ~1minutes for your short extract to show here... :-/ |
# 21:42:58 |
An_Ony_Moose |
That's odd. It's a server that also runs a browser game, skysimulation.de... |
# 21:43:15 |
An_Ony_Moose |
anyway |
# 21:43:22 |
An_Ony_Moose |
give me 5 minutes to find a way |
# 21:43:25 |
y_morin |
An_Ony_Moose: maybe the problem is on my side! ;-) |
# 21:43:29 |
y_morin |
An_Ony_Moose: OK. |
# 21:45:20 |
An_Ony_Moose |
can't believe it can be this difficult to get some text from A to B |
# 21:46:45 |
An_Ony_Moose |
http://dpaste.org/Y2iKN/ SUCCESS! |
# 21:47:17 |
y_morin |
An_Ony_Moose: OK, got it. I'm looking, please hold the line! ;-) |
# 21:50:18 |
diorcety |
joins #crosstool-ng |
# 21:52:17 |
imMute |
quits : Ping timeout: 244 seconds |
# 21:52:26 |
An_Ony_Moose |
oh, I speak french too if that's more convenient for you |
# 21:52:54 |
y_morin |
An_Ony_Moose: I can't find anything obvious from your .config. I'm attempting a build here to get a complete build.log... |
# 21:53:08 |
y_morin |
An_Ony_Moose: No, this is an english channel... |
# 21:53:18 |
y_morin |
But thanks for the suggestion! ;-) |
# 21:53:42 |
An_Ony_Moose |
I could pastebin the whole config.log too if you like |
# 21:53:50 |
An_Ony_Moose |
s/config/build/ |
# 21:54:08 |
An_Ony_Moose |
ooh a bot! |
# 21:55:17 |
y_morin |
An_Ony_Moose: Well, I would stil attempt the build here anyway, so.. ;-) |
# 21:56:10 |
An_Ony_Moose |
Fair enough |
# 21:57:57 |
y_morin |
An_Ony_Moose: At least, sh3 is not something I personally use, it was submitted (long ago) by someone claiming it was working, so it might have been unintenionally broken since then... |
# 21:58:37 |
An_Ony_Moose |
on the wiki I only saw SH4 |
# 22:00:19 |
y_morin |
An_Ony_Moose: yes, that's one I used to use some 4 years ago, and the toolchain still builds OK. |
# 22:00:28 |
y_morin |
An_Ony_Moose: sh3, on the other hand... :-/ |
# 22:01:11 |
imMute |
joins #crosstool-ng |
# 22:01:11 |
imMute |
quits : Changing host |
# 22:01:11 |
imMute |
joins #crosstool-ng |
# 22:01:15 |
y_morin |
An_Ony_Moose: build on-going here (after a false start) |
# 22:01:22 |
An_Ony_Moose |
false start? |
# 22:01:59 |
y_morin |
An_Ony_Moose: You're using ~/data/XX, but ~/data is readonly here... ;-) |
# 22:02:14 |
An_Ony_Moose |
oh right |
# 22:02:25 |
An_Ony_Moose |
data is a silly name really |
# 22:02:36 |
An_Ony_Moose |
everything on the filesystem is data! |
# 22:02:53 |
An_Ony_Moose |
but oh well, it's where I put everything (it's a symlink into a partition on a bigger HDD) |
# 22:02:56 |
y_morin |
An_Ony_Moose: gtg for a litle while, back in ~5mins.... |
# 22:03:15 |
An_Ony_Moose |
that'll give it time to work |
# 22:07:59 |
y_morin |
An_Ony_Moose: OK, build fails at the same place here. Time to investigate... |
# 22:08:02 |
sh4rm4 |
quits : Remote host closed the connection |
# 22:09:10 |
sh4rm4 |
joins #crosstool-ng |
# 22:13:29 |
An_Ony_Moose |
ooooh |
# 22:13:35 |
An_Ony_Moose |
[ALL ] *** Newlib does not support CPU sh3eb |
# 22:13:39 |
An_Ony_Moose |
is that it? |
# 22:14:41 |
y_morin |
An_Ony_Moose: yes, indeed, that's it. I even tried with a newer version of newlib (1.20.0), and it still does not support sh3eb either. |
# 22:14:59 |
An_Ony_Moose |
aw darn |
# 22:15:10 |
y_morin |
An_Ony_Moose: Is your processor big-endian? |
# 22:15:50 |
An_Ony_Moose |
I think so |
# 22:16:00 |
An_Ony_Moose |
I'm not 100% sure but I think it is |
# 22:17:32 |
An_Ony_Moose |
do I actually need newlib? I haven't entirely understood the process |
# 22:17:59 |
y_morin |
An_Ony_Moose: It depends on what you want to do. What's your use-case? |
# 22:18:52 |
An_Ony_Moose |
I want to write add-ins for my casio calculator and compile them without windows. |
# 22:19:31 |
An_Ony_Moose |
I have a partial libc actually |
# 22:20:42 |
An_Ony_Moose |
... note to self: do not find . on a directory that is likely to contain a lot of files via an SSH connection |
# 22:21:25 |
y_morin |
... especially if that ssh connection goes through a slow & high-latency link. Benn there, done that... ;-) |
# 22:21:36 |
y_morin |
s/Benn/Been/ |
# 22:22:16 |
An_Ony_Moose |
haha |
# 22:22:34 |
An_Ony_Moose |
always good if it's in a screen though... *~.* |
# 22:23:04 |
y_morin |
An_Ony_Moose: OK, I think I've somewhat identified the problem: newlib's ./configure uses the first part of the tuple (here: sh3eb-unknown-elf) as the CPU name. |
# 22:23:31 |
y_morin |
An_Ony_Moose: so it yields CPU=sh3eb, but newlibexpects just 'sh'... |
# 22:24:25 |
y_morin |
Not sure what we should do about that... Some other tools want the complete superh gestalt to be in the tuple... |
# 22:25:23 |
An_Ony_Moose |
ah... |
# 22:25:55 |
An_Ony_Moose |
I'm not sure newlib would be usable in this context anyway... |
# 22:26:05 |
An_Ony_Moose |
I just haven't understood the role it fulfils really. |
# 22:26:39 |
y_morin |
An_Ony_Moose: newlib is a very light-weight C library. I you don;t know that you need it, then probably you do not need it. |
# 22:27:05 |
An_Ony_Moose |
sooo I'll redo it with libc set to none... |
# 22:27:17 |
y_morin |
An_Ony_Moose: yep |
# 22:27:18 |
An_Ony_Moose |
then try and compile the sources I have here with what it builds |
# 22:27:30 |
An_Ony_Moose |
and hope any pray it works :D |
# 22:27:42 |
devcoder |
joins #crosstool-ng |
# 22:27:47 |
An_Ony_Moose |
s/any/and/ |
# 22:27:54 |
y_morin |
config.sub and config.guess both agree that sh3eb-* is a valid tuple. |
# 22:28:13 |
y_morin |
So, why does newlib's configure choke on it? |
# 22:28:17 |
An_Ony_Moose |
that's irritating |
# 22:28:35 |
An_Ony_Moose |
so is it a newlib bug or a crosstool bug? |
# 22:28:42 |
An_Ony_Moose |
yay it's finished |
# 22:29:01 |
y_morin |
An_Ony_Moose: probably both: newlib should not choke on it, and crosstool-NG should handle that case. |
# 22:30:08 |
An_Ony_Moose |
YAY the libc compiled with the generated compiler |
# 22:31:27 |
y_morin |
An_Ony_Moose: so, problemn solved? |
# 22:32:01 |
An_Ony_Moose |
yaaaaaaaaay |
# 22:32:02 |
An_Ony_Moose |
yep |
# 22:32:50 |
An_Ony_Moose |
now I just need to figure out how to get the machine code out of the ELF, and then put that in a G1A... then I should be all set for writing add-ins on linux! |
# 22:34:08 |
An_Ony_Moose |
test.o: ELF 32-bit MSB relocatable, Renesas SH, version 1 MathCoPro/FPU/MAU Required (SYSV), not stripped |
# 22:34:16 |
An_Ony_Moose |
Thank you very much for the help! |
# 22:34:33 |
y_morin |
An_Ony_Moose: you're welcome! ;-) |