# 00:25:16 |
djerome |
joins #crosstool-ng |
# 00:37:20 |
sh4rm4 |
quits : Ping timeout: 252 seconds |
# 01:44:25 |
Martell |
quits : Quit: Leaving |
# 02:41:21 |
memfrob |
quits : Ping timeout: 272 seconds |
# 02:53:51 |
memfrob |
joins #crosstool-ng |
# 03:15:58 |
djerome |
quits : Remote host closed the connection |
# 07:18:40 |
aalv |
joins #crosstool-ng |
# 07:44:04 |
aalv |
quits : Ping timeout: 240 seconds |
# 08:01:23 |
aalv |
joins #crosstool-ng |
# 08:39:39 |
aalv |
parts #crosstool-ng |
# 10:06:15 |
sh4rm4 |
joins #crosstool-ng |
# 12:23:12 |
sh4rm4 |
quits : Remote host closed the connection |
# 12:32:50 |
sh4rm4 |
joins #crosstool-ng |
# 13:13:44 |
sh4rm4 |
quits : Remote host closed the connection |
# 13:35:21 |
sh4rm4 |
joins #crosstool-ng |
# 13:39:15 |
sh4rm4 |
quits : Remote host closed the connection |
# 13:56:34 |
sh4rm4 |
joins #crosstool-ng |
# 13:58:32 |
sh4rm4 |
quits : Remote host closed the connection |
# 15:34:40 |
andrimar |
quits : Quit: Leaving. |
# 16:36:50 |
doc2 |
joins #crosstool-ng |
# 17:22:03 |
y_morin |
joins #crosstool-ng |
# 17:31:29 |
codyps |
quits : Ping timeout: 264 seconds |
# 17:36:08 |
codyps |
joins #crosstool-ng |
# 17:40:14 |
codyps |
quits : Ping timeout: 244 seconds |
# 17:57:06 |
ccole |
joins #crosstool-ng |
# 18:29:49 |
diorcety |
joins #crosstool-ng |
# 19:22:44 |
aalv |
joins #crosstool-ng |
# 20:09:36 |
thegorn |
joins #crosstool-ng |
# 20:10:49 |
thegorn |
ok, a little confusion here - i got a toolchain working, i did a ./ct-ng saveconfig, committed my newly created samples/ subdirectory |
# 20:11:38 |
thegorn |
a coworker checked it out, did ./ct-ng arm-vendor-linux-uclibcgnueabi && ./ct-ng build |
# 20:12:01 |
thegorn |
and it couldn't find the uClibc config file because for some reason his decided on alpha for the architecture when it build out the .config |
# 20:23:21 |
thegorn |
invokes the mighty y_morin to maybe explain how the savedefconfig/defconfig stuff restores the correct setting for CT_ARCH since his name is mostly all over the git log's that look partially related :) |
# 20:23:50 |
y_morin |
thegorn: Yep, I just saw your issue. I'm thinking... ;-) |
# 20:23:53 |
thegorn |
the interesting thing is that CT_ARCH_arm=y is not set in the savesample |
# 20:24:06 |
thegorn |
don't know if that is related, but i see it in some of the arm toolchains, and not in others |
# 20:24:56 |
thegorn |
and really, my savedefconfig doesn't ever call out the architecture in any way other than it being a component of the sample name |
# 20:30:27 |
thegorn |
makes sure there isn't something upstream that might have already addressed this |
# 20:30:44 |
y_morin |
thegorn: Well, I just did a test, and it seems to work for me, here... |
# 20:31:03 |
thegorn |
y_morin: when you do savesample or whatever, do you see CT_ARCH_arm=y in it? |
# 20:31:47 |
y_morin |
thegorn: Yes. |
# 20:32:02 |
y_morin |
thegorn: Hang on a moment, I'm doing further checks... |
# 20:33:00 |
y_morin |
thegorn: Yep, works completely here. |
# 20:33:07 |
y_morin |
thegorn: What version are you using? |
# 20:33:10 |
thegorn |
latest |
# 20:33:26 |
thegorn |
with some patches for uclibc stolen from buildroot |
# 20:33:50 |
thegorn |
can i send you my .config and you run saveconfig and see what it saves over there? |
# 20:34:00 |
y_morin |
thegorn: Sure. |
# 20:34:34 |
y_morin |
thegorn: Use a pastebin or such to send it. |
# 20:34:42 |
thegorn |
yea, one sec |
# 20:34:51 |
y_morin |
;-) |
# 20:34:54 |
thegorn |
https://gist.github.com/aeruder/797c64c0d621f81e8903/raw/45a90ea3c31a7f9441638d1d5b52fe8d7688bc7b/crosstool.config |
# 20:35:14 |
thegorn |
sample name should be arm-elecsys-linux-uclibcgnueabi |
# 20:35:14 |
y_morin |
thegorn: OK, I'll look. |
# 20:39:41 |
y_morin |
thegorn: Yep, CT_ARCH_arm=y is there. |
# 20:40:05 |
thegorn |
hm |
# 20:40:11 |
thegorn |
do you do --enable-local? |
# 20:40:28 |
y_morin |
thegorn: Yep. |
# 20:40:55 |
y_morin |
thegorn: What are your and your colleagues' locales set to? |
# 20:41:04 |
y_morin |
(wild random thought) |
# 20:41:35 |
thegorn |
i.e. output of locale? |
# 20:41:45 |
y_morin |
thegorn: Yep. |
# 20:42:12 |
thegorn |
well, wait a sec |
# 20:42:20 |
thegorn |
so you did saveconfig with that .config |
# 20:42:35 |
thegorn |
and you saw CT_ARCH_arm=y in your samples/arm-elecsys-linux-uclibcgnueabi/crosstool.config ? |
# 20:42:46 |
y_morin |
thegorn: I ran './ct-ng oldconifg' on your .config, and it was all suffled around. |
# 20:42:56 |
y_morin |
thegorn: But when I saved it, I got this: |
# 20:43:48 |
y_morin |
http://code.bulix.org/wrw64s-86445?raw |
# 20:44:21 |
y_morin |
thegorn: BR2_ARCH_arm=y is there... |
# 20:44:46 |
thegorn |
that's hilarious, because if i diff my saved config and yours, it differs only by CT_ARCH_arm=y |
# 20:45:19 |
thegorn |
en_US.UTF-8 |
# 20:45:40 |
y_morin |
thegorn: OK, same here: en_US.UTF-8 |
# 20:45:56 |
thegorn |
one sec, let me reset back to the tip of mercurial |
# 20:45:57 |
y_morin |
thegorn: And your colleague's locale is also en_US.UTF-8 ? |
# 20:46:14 |
thegorn |
well, my colleague i think doesn't factor into this, because when i do saveconfig, it doesn't save the architecture at all |
# 20:46:18 |
thegorn |
his is just picking one |
# 20:46:28 |
y_morin |
thegorn: Ah, right. |
# 20:46:48 |
thegorn |
so let me reset/clean/etc.. real quick |
# 20:51:55 |
thegorn |
ok, so i reset --hard to the tip, ran the following |
# 20:51:57 |
thegorn |
git clean -x -d -f . && git stat && git log -1 --oneline && ./bootstrap && ./configure --enable-local && make && cp ../crosstool.config .config && mkdir -p samples/arm-elecsys-linux-uclibcgnueabi && cp ../uClibc-0.9.33.2.config samples/arm-elecsys-linux-uclibcgnueabi && ./ct-ng oldconfig && ./ct-ng saveconfig && {grep ARCH_arm samples/arm-elecsys-linux-uclibcgnueabi/crosstool.config || echo "NOPE" } |
# 20:52:03 |
thegorn |
prints NOPE everytime |
# 20:52:21 |
thegorn |
7aaa1f2 (HEAD, upstream/master, upstream/branches/default, refs/hg/upstream/branches/default, refs/hg/upstream/bookmarks/master, master) arch: use the newly introduced target_bits_64 |
# 20:53:00 |
thegorn |
and i guess i should mention i'm using git hg remote helper because i don't use mercurial enough to feel it worth learning |
# 20:53:59 |
thegorn |
ok, well, i think in this case i can figure out what is going on in any case, i'm pretty sure this is my issue at the very least |
# 20:57:00 |
y_morin |
thegorn: Another wild random thought: whatis your shell (/bin/sh) ? |
# 20:57:46 |
thegorn |
dash |
# 20:57:52 |
thegorn |
(debian host) |
# 20:58:41 |
y_morin |
(what is your name? what is your quest? What is your favourite colour? ) |
# 20:59:16 |
y_morin |
thegorn: Could you try to run: sudo dpkg-reconfigure dash and answer "No", then redo the check? |
# 21:00:24 |
thegorn |
yep, one sec |
# 21:01:24 |
thegorn |
nope, confirmed /bin/sh -> bash |
# 21:02:47 |
y_morin |
thegorn: ... |
# 21:02:52 |
y_morin |
No idea... :-( |
# 21:03:17 |
thegorn |
y_morin: ok, i'll keep looking, thanks |
# 21:03:36 |
y_morin |
thegorn: Can you pastebin the content of: config.gen/arch.in ? |
# 21:06:42 |
thegorn |
https://gist.github.com/aeruder/b76cf3e7dcf40ca1fede/raw/253fd35074d8a51ccf7e98b253907750fdbd7773/arch.in |
# 21:07:59 |
y_morin |
thegorn: Aha! |
# 21:08:03 |
y_morin |
thegorn: Aha!!! |
# 21:08:22 |
y_morin |
thegorn: Look at how the arch entries are *not* in alphabetical order... |
# 21:08:46 |
y_morin |
thegorn: And since you have BR2_arm as the first entry, kconfig |
# 21:09:07 |
y_morin |
... will not save it, since it is the default of the choice. |
# 21:09:16 |
y_morin |
thegorn: Aha! |
# 21:10:09 |
y_morin |
thegorn: What version of 'make' do you have? |
# 21:10:27 |
thegorn |
ruh roh |
# 21:10:38 |
thegorn |
4.0 |
# 21:11:39 |
y_morin |
thegorn: Aha! That's a change in behaviour between make-3.8x and make 4.x. In 3.8x, the $(wildcard) function will sort the entries dependig on the locale, while make-4.x will not sort them. |
# 21:12:23 |
y_morin |
thegorn: Lemme think for a moment, for how to solve this correctly... |
# 21:13:06 |
thegorn |
is following along now :) |
# 21:14:37 |
y_morin |
thegorn: Yep, that one was tricky... :-) |
# 21:15:11 |
thegorn |
yea, this 4.0 has bitten me many times |
# 21:15:45 |
thegorn |
some older versions of things that crosstool-ng builds will check for make version 3.72, 3.8*, 3.9* to determine if you have a new enough make |
# 21:16:02 |
thegorn |
oh no, we never thought about 4.* ! |
# 21:16:07 |
thegorn |
:) |
# 21:17:14 |
y_morin |
thegorn: We've had the same issue inBuildroot. I'll see how we fixed it... |
# 21:18:45 |
thegorn |
741cbccb74 |
# 21:18:57 |
thegorn |
$(sort $(wildcard ... |
# 21:19:49 |
thegorn |
i'm glad i came and asked you, i would have been to the depths of hell and back discovering that it needed to be alphabetical |
# 21:20:41 |
y_morin |
thegorn: Yep, $(sort $(wildcard...)) |
# 21:22:48 |
thegorn |
yay, that works |
# 21:23:39 |
thegorn |
https://gist.github.com/497dae072aea513d812c |
# 21:24:57 |
y_morin |
thegorn: CAn you test this: http://code.bulix.org/1h986d-86446?raw |
# 21:25:04 |
y_morin |
Ah, lemme look at yours... |
# 21:25:09 |
thegorn |
probably the same |
# 21:25:50 |
y_morin |
thegorn: Ah, nope, I have more than you! ;-) |
# 21:25:56 |
thegorn |
well, some of those i think i decided didn't need to be sorted |
# 21:26:02 |
thegorn |
at least not LX_SRC |
# 21:26:17 |
y_morin |
thegorn: Well, we want it sorted for reproducibility... |
# 21:26:26 |
y_morin |
thegorn: Although I agree this is overkill. |
# 21:26:59 |
sh4rm4 |
joins #crosstool-ng |
# 21:27:05 |
thegorn |
well, i think the LX_SRC is overkill, the other ones are good, i missed those |
# 21:27:23 |
y_morin |
thegorn: Yep, overkill, but does no harm. |
# 21:27:31 |
y_morin |
thegorn: Do you confirm it works for you? |
# 21:27:33 |
thegorn |
BUT IT SLOWS DOWN MY BUILD TIMES |
# 21:27:37 |
thegorn |
one sec |
# 21:27:50 |
thegorn |
jk btw |
# 21:28:17 |
y_morin |
thegorn: Yep, slower, but stronger. ;-) |
# 21:29:04 |
thegorn |
btw, your pastebin tends to cut off final newlines |
# 21:29:25 |
thegorn |
maybe you're manually pasting and missing it |
# 21:30:08 |
thegorn |
y_morin: Tested-by: Andrew Ruder if that is relevant in the mercurial world |
# 21:30:35 |
thegorn |
because that diff works for me, i didn't do the full buil |
# 21:30:40 |
thegorn |
i guess i can do that |
# 21:30:50 |
thegorn |
it at least fixes the omission of CT_ARCH_arm |
# 21:32:35 |
y_morin |
thegorn: Yep, I do the Sob-lines. It's not a Hg or git stuff. It's about project policy. |
# 21:35:26 |
thegorn |
y_morin: ok, well, i got a build going, probably take 15 min or so |
# 21:35:46 |
y_morin |
thegorn: Thanks for helping solving this! :-) |
# 21:36:21 |
thegorn |
oh, no problem, glad i caught you on irc or this would have taken forever |
# 21:43:43 |
aalv |
quits : Quit: Leaving. |
# 21:58:04 |
bhundven |
y_morin: woot, pushing commits! |
# 22:02:10 |
y_morin |
bhundven: Yep, I knw I have a few oending on the list... :-/ |
# 22:02:16 |
y_morin |
Bad Yann, bad... |
# 22:02:26 |
bhundven |
:D |
# 22:03:41 |
bhundven |
some progress > none |
# 22:04:26 |
thegorn |
y_morin: no problems building, coworker tried it on his machine and gave up when the build destroyed his ability to get any work done, but it clearly fixed the issue i was having before |
# 22:16:13 |
memfrob |
y_morin, aha! |
# 22:16:31 |
memfrob |
AHA!!! |
# 22:20:31 |
y_morin |
memfrob: ? |
# 22:24:49 |
memfrob |
an hour ago you spazzed out, i was teasing you |
# 22:27:43 |
y_morin |
memfrob: He! :-) |
# 22:33:55 |
y_morin |
quits : Quit: Nighty Night! |
# 22:47:31 |
ovf |
quits : Ping timeout: 252 seconds |
# 22:51:04 |
ovf |
joins #crosstool-ng |
# 22:59:53 |
bhundven |
quits : Ping timeout: 252 seconds |
# 23:01:06 |
bhundven |
joins #crosstool-ng |
# 23:07:37 |
RushPL |
quits : Ping timeout: 264 seconds |
# 23:09:09 |
RushPL |
joins #crosstool-ng |
# 23:09:44 |
doc2 |
quits : Remote host closed the connection |
# 23:19:16 |
diorcety |
quits : Read error: Connection reset by peer |