ibotlog2html for #crosstool-ng

<< Previous 2015-06-08 Next >>

# 00:28:53 mingwandroid quits : Remote host closed the connection
# 00:32:44 djerome quits : Ping timeout: 246 seconds
# 00:46:33 djerome joins #crosstool-ng
# 01:55:04 Net147 joins #crosstool-ng
# 02:47:04 Net147 quits : Quit: HydraIRC -> http://www.hydrairc.com <- s0 d4Mn l33t |t'z 5c4rY!
# 03:27:41 smartin quits : *.net *.split
# 03:30:04 smartin joins #crosstool-ng
# 04:04:58 ppm` quits : Quit: ERC Version 5.3 (IRC client for Emacs)
# 04:59:01 djerome quits : Remote host closed the connection
# 05:09:36 alan_o quits : Quit: Leaving
# 07:26:32 diorcety joins #crosstool-ng
# 08:11:57 philenot1ound quits : Quit: reboot
# 08:13:33 philenotfound joins #crosstool-ng
# 13:54:16 strobelight joins #crosstool-ng
# 16:33:31 diorcety quits : Quit: Leaving.
# 16:44:41 y_morin joins #crosstool-ng
# 17:28:04 feepbot quits : Ping timeout: 252 seconds
# 17:30:35 feepbot joins #crosstool-ng
# 18:19:35 alan_o joins #crosstool-ng
# 18:19:44 mingwandroid joins #crosstool-ng
# 19:10:19 pj__ joins #crosstool-ng
# 19:15:32 pj__ hi ... can anybody help with tracking down an error building armv6-rpi-linux-gnueabi toolchain ?
# 19:16:52 pj__ is now known as: pj9117
# 19:31:26 bhundven pj9117: I say, don't ask to ask. Just post a log, and whoever knows the problem will help. ;)
# 19:32:04 pj9117 ok, thanks
# 19:32:22 pj9117 using 1.21.0 on xubuntu 14.04 64bit I get ...
# 19:32:24 pj9117 [ERROR] make[1]: *** [configure-gcc] Error 1
# 19:32:24 pj9117 [ALL ] make[1]: Leaving directory `/home/pj/Desktop/cross/.build/armv6-rpi-linux-gnueabi/build/build-cc-core-pass-1'
# 19:32:24 pj9117 [ERROR]
# 19:32:24 pj9117 [ERROR] >>
# 19:32:24 pj9117 [ERROR] >> Build failed in step 'Installing pass-1 core C compiler'
# 19:32:26 pj9117 [ERROR] >> called in step '(top-level)'
# 19:32:37 pj9117 when building armv6-rpi-linux-gnueabi toolchain
# 19:32:41 pj9117 now trying 1.20.0
# 19:32:51 bhundven Yes, that shows the error that crosstool-ng outputed, but doesn't show what the actual error is
# 19:33:14 pj9117 true, but thats the first [error] rows in build.log
# 19:33:20 bhundven Try posting a full log to gist.github.com or your favorite pastebin site
# 19:33:48 bhundven pj9117: that doesn't happen. Something cause the build to fail, to cause crosstool-ng to show the error messages.
# 19:34:06 pj9117 will post log
# 19:34:12 bhundven :)
# 19:34:23 bhundven loves input
# 19:34:54 bhundven http://www.quickmeme.com/img/55/556f1d1e8aa81956d5781bcbd663dda44c9d8a7fc843498c18080f4d073c289c.jpg
# 19:35:38 pj9117 https://gist.github.com/anonymous/6180a180c74bfddaacd6
# 19:36:03 pj9117 :-)
# 19:37:37 bhundven [ALL ] Switch "--with-arch" may not be used with switch "--with-cpu"
# 19:38:14 pj9117 is that an error ?
# 19:38:33 pj9117 i have not changed the default config for armv6-rpi-linux-gnueabi
# 19:39:36 pj9117 i have already googled it, found nothing
# 19:40:27 bhundven yea, it's kind of a weird one with arm
# 19:41:32 pj9117 is there a bugtracker for crosstool
# 19:41:49 bhundven https://github.com/crosstool-ng/crosstool-ng/issues
# 19:42:11 pj9117 thanks, will try 1.20.0 and then post there
# 19:42:19 bhundven it will be the same
# 19:42:32 bhundven this technically is not an issue with crosstool-ng
# 19:42:52 pj9117 looks like the configure script fails for the compilre, right
# 19:43:02 bhundven right, it's a GCC thing
# 19:43:14 bhundven but, also could be looked at as a config thing
# 19:43:29 bhundven which I'll side on it being a config thing
# 19:43:55 pj9117 yes, but at least others will know - even if its set to wont/cant fix
# 19:44:59 bhundven I think the real issue is to understand the policy of the ARCH, CPU, and TUNE options, and have that reflected in the kconfig for crosstool-ng
# 19:45:26 bhundven I think if you just remove the arch setting, the cpu and tune stuff is fine.
# 19:45:59 bhundven in otherwords, just unset CT_ARCH_ARCH
# 19:46:00 pj9117 but i suspect that arch is important building for arm ...
# 19:46:11 bhundven no
# 19:46:55 bhundven the ARCH, CPU, and TUNE options are for tuning the build to be more specific. You can't get anymore specific then giving the CPU type
# 19:47:00 pj9117 ok, i will try in a couple of minutes
# 19:47:19 bhundven the actual architecture gcc is built for is taken from the tuple
# 19:47:33 pj9117 ok, where to unset CT_ARCH_ARCH, should i look in kconfig
# 19:48:09 bhundven you can type / in menuconfig
# 19:48:15 bhundven and search for it
# 19:48:21 pj9117 ok
# 19:48:30 bhundven I think it's in toolchain options
# 19:48:31 pj9117 load default config and the ct-ng menuconfig
# 19:51:20 bhundven pj9117: https://gcc.gnu.org/onlinedocs/gcc-5.1.0/gcc/ARM-Options.html#ARM-Options
# 19:51:45 bhundven read the options for with-arch, with-cpu, and with-tune
# 19:53:31 bhundven actually, since tune is set, you could unset CPU instead of ARCH
# 19:54:48 pj9117 just found arch_arch in target options named architecture level
# 19:55:18 bhundven right.
# 19:55:46 pj9117 so i will leave this as it is and search for arch_cpu
# 19:56:00 bhundven as I said, I would try keeping ARCH and TUNE set, and CPU unset. As the error is just saying that arch and cpu can't both be set.
# 19:56:59 pj9117 ok, i have unset CT_ARCH_CPU and trying now
# 19:57:27 pj9117 btw 1.20.0 is building pass-1 compiler without error
# 19:58:07 bhundven gcc 4.9.2?
# 19:58:42 bhundven are you also using 4.9.2 on 1.21.0?
# 19:59:06 pj9117 no
# 19:59:07 pj9117 4.9.1
# 19:59:25 bhundven on both?
# 20:00:08 pj9117 just trying to figure it out
# 20:00:56 pj9117 4.9.1 with 1.20.0
# 20:01:17 pj9117 but cant find the compiler version in build.log of 1.21.0 , because it#
# 20:01:21 pj9117 s not there yet
# 20:01:31 pj9117 oh
# 20:01:35 pj9117 looks like 5.1.0
# 20:01:51 bhundven [DEBUG] CT_CC_VERSION="5.1.0"
# 20:01:53 bhundven ;)
# 20:02:05 bhundven so, try 4.9.1 or 4.9.2 on 1.21.0
# 20:02:22 pj9117 yes, i guess thats it
# 20:02:31 pj9117 thank a million for your help
# 20:02:32 bhundven also, gist the .config file and I'll mess around with this
# 20:03:14 pj9117 i was using the std. config, did not change anything
# 20:18:02 bhundven ok
# 20:20:02 bhundven y_morin: do you know anything about this error?
# 20:20:36 y_morin bhundven: Hey! Lemme read that...
# 20:20:48 bhundven y_morin: thanks!
# 20:21:40 y_morin bhundven: Switch "--with-arch" may not be used with switch "--with-cpu"
# 20:21:44 bhundven right
# 20:21:49 y_morin Is that the error you're talking about ?
# 20:22:25 y_morin bhundven: That's because recernt-ish gcc will not accept both to be specified at the same time, because --with-cpu implies --with-arch.
# 20:22:32 y_morin recent-ish
# 20:22:50 y_morin bhundven: Before, it was accepted (with a warning only). Not, it's a hard error.
# 20:22:58 y_morin pj9117: See above.
# 20:23:26 y_morin bhundven, pj9117: So, just do not specify any architecture level in the menuconfig; the CPU type will suffice.
# 20:25:05 pj9117 ok, thanks ... will try
# 20:27:10 y_morin has some trouble concentrating, because of baby-cat wanting to play: "He! human, here's my toy, send it back to me, please. Like, *now*. PLEASE!"
# 20:27:46 bhundven :D
# 20:28:02 bhundven MEOW!!!! PLAY WITH ME!!!
# 20:28:27 y_morin Exactly. Straight to the point. MEOW!
# 20:30:03 y_morin bhundven: Regarding this arch vs. cpu issue: I never enforced this in the menuconfig untilnow, because it was valid for old versions of gcc.
# 20:30:25 y_morin bhundven: ?However, it is ulitmately wring to specify both, while specifying either is correct.
# 20:30:48 y_morin bhundven: So, maybe hide the architecture-level prompt when the CPU is set would be a good idea?
# 20:31:41 bhundven y_morin: we can also pin that with CC_GCC_5_1_or_later
# 20:32:00 bhundven s/that/that logic/
# 20:32:18 y_morin bhundven: Well, it would make sense for older gcc-es as well, as the CPU should fully define which architecture level it is.
# 20:32:26 bhundven true
# 20:32:47 y_morin bhundven: E.g. cortex-a8 will always be an armv7
# 20:32:50 y_morin Yup.
# 20:32:57 bhundven right
# 20:32:58 y_morin bhundven: I'll do if you want.
# 20:33:18 bhundven y_morin: sure, if you have time ;)
# 20:33:50 y_morin Doing now...
# 20:34:19 pj9117 i am testing right now, will confirm as soon as it completes
# 20:34:40 y_morin pj9117: Thanks!
# 20:49:58 pj9117 hmm... Switch "--with-tune" may not be used with switch "--with-cpu" ?
# 20:49:58 pj9117 strange
# 20:54:00 pj9117 no luck, now trying with arch and tune and without cpu
# 20:54:57 y_morin pj9117: No, you should just set cpu.
# 20:55:18 y_morin bhundven: Here, you get your pull-request! ;-)
# 20:55:28 bhundven y_morin: thanks, again!
# 20:56:27 bhundven y_morin: I'm always impressed when I learn something new about kconfig
# 20:57:27 bhundven y_morin: Speaking of which... what do you think about me revisiting updating kconfig.
# 20:58:02 y_morin bhundven: Be my guest! ;-)
# 20:59:41 pj9117 ah my bad
# 21:00:43 pj9117 i thought leave out arch and use tune with cpi
# 21:00:45 pj9117 cpu
# 21:01:12 y_morin pj9117: I meant: do not specify arch and tune, just specify cpu.
# 21:01:18 bhundven I should also probably go through and update samples
# 21:01:22 pj9117 should read more careful
# 21:01:29 pj9117 ;-)
# 21:29:46 strobelight quits : Quit: strobelight
# 22:02:56 pj9117 quits : Quit: Leaving
# 22:25:27 mingwandroid quits : Remote host closed the connection
# 22:34:28 y_morin quits : Quit: Nighty Night!