**** BEGIN LOGGING AT Sat Aug 01 02:59:58 2015 Aug 01 03:28:46 build #67 of mpc52xx is complete: Failure [failed shell_10] Build details are at http://buildbot.openwrt.org:8010/builders/mpc52xx/builds/67 Aug 01 05:28:53 build #67 of ar71xx.mikrotik is complete: Failure [failed compile_8] Build details are at http://buildbot.openwrt.org:8010/builders/ar71xx.mikrotik/builds/67 Aug 01 07:02:02 hi, how can I detect that I am cross-compiling in a Makefile? Aug 01 07:02:30 (in a project that I want to compile for openwrt) Aug 01 07:05:33 m, maybe I can check if the compiler is a cross compiler.. Aug 01 07:07:03 gcc -dumpmachine looks good so far Aug 01 07:40:35 mwarning1: some special cases might be missing - like different libc that are "unknown-linux-gnu" Aug 01 08:22:38 plntyk: thanks for the hint :) Aug 01 09:43:18 CRCinAU: ping Aug 01 09:47:28 CRCinAU: please try this kernel patch: http://nbd.name/ar71xx-cmdline.patch Aug 01 10:13:33 Is there a reason why the build for Archer C7 doesn't use/optimise for MIPS 74kc core but instead uses 34kc? Should I be brave/foolish? :-) Aug 01 10:14:24 the reason is that we build one image for all devices (from 24Kc to 74Kc) Aug 01 10:14:46 i did some tests, and optimizing for 74Kc was only a tiny bit better than optimizing for 34Kc Aug 01 10:15:04 optimizing for 34Kc worked best for all devices that we support Aug 01 10:15:34 optimizing for 74Kc made 24Kc and 34Kc behave noticeably worse Aug 01 10:16:09 nbd: But if I was feeling the need to be really stupid/brave/curious I could put some custom build instructions in to optimise for 74kc? Aug 01 10:18:04 * KevinDBi is bored and feels like breaking things :-) Aug 01 10:18:18 you can change CPU_TYPE in the ar71xx Makefile Aug 01 10:18:20 should be safe Aug 01 10:18:49 i experimented with that already some time last year Aug 01 10:19:02 that's why i know that the benefit is quite small Aug 01 10:20:22 nbd: I don't *really* need to do it, but it's all part of a learning curve. Thanks for your help Felix, appreciated. Aug 01 12:57:38 nbd: I'll put that in the EXTRA_PATCHES directory of my build so it'll auto-generate tonight at http://openwrt.crc.id.au Aug 01 13:00:51 (in about an hour it'll start building, and finish at about 1230 UTC Aug 01 13:00:55 ) Aug 01 13:12:03 you could just patch it into your build dir kernel tree without running make clean Aug 01 13:28:59 yeah - but my build scripts do a svn revert in the middle to get rid of me screwing around ;) Aug 01 13:29:29 it'll kick off in about 31 minutes anyway Aug 01 13:29:50 and right now, I'm looking at how bad this f'kin bind CVE is.... Aug 01 13:30:01 Mmmm - named process terminates on special packet. Aug 01 13:31:28 nasty Aug 01 13:33:11 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-5477 Aug 01 13:33:18 in case you hadn't seen int Aug 01 13:33:19 it Aug 01 13:33:30 named in ISC BIND 9.x before 9.9.7-P2 and 9.10.x before 9.10.2-P3 allows remote attackers to cause a denial of service (REQUIRE assertion failure and daemon exit) via TKEY queries. Aug 01 13:33:40 probably means the openwrt bind packages should be patched. Aug 01 13:33:59 ISC blog: https://www.isc.org/blogs/about-cve-2015-5477-an-error-in-handling-tkey-queries-can-cause-named-to-exit-with-a-require-assertion-failure/ Aug 01 13:34:14 Essentially, its a "Whoops, you're all screwed. Upgrade now". Aug 01 14:31:23 nbd: ah - what does that patch apply to? the kernel source? Aug 01 14:31:30 yes Aug 01 14:31:39 can't find file to patch at input line 3 Aug 01 14:31:40 Perhaps you used the wrong -p or --strip option? Aug 01 14:31:40 The text leading up to this was: Aug 01 14:31:40 -------------------------- Aug 01 14:31:40 |--- a/arch/mips/ath79/prom.c Aug 01 14:31:42 |+++ b/arch/mips/ath79/prom.c Aug 01 14:31:44 -------------------------- Aug 01 14:31:54 any idea what the full path would be for that patch? Aug 01 14:32:01 ie somewhere in the build root? Aug 01 14:32:11 build_dir/target-*/linux-*/linux-* Aug 01 14:32:23 m'kay.... hmmm Aug 01 14:33:51 looks like it didn't apply because of the paths... lemme look into it again. Aug 01 14:34:54 full path is: build_dir/target-mips_34kc_musl-1.1.10/linux-ar71xx_generic/linux-4.1.3 Aug 01 14:38:27 ah - was looking at that... seemed I had a whole heap of cruft in my build_dir - so blown all that away to clean up a little. Aug 01 14:38:33 yay for set & forget build scripts ;) Aug 01 14:41:01 lets see how badly I break this now ;) Aug 01 15:13:49 nbd r46541 trunk/target/linux/ar71xx/image/Makefile * ar71xx: fix mr3220 device profile (#19990) Aug 01 15:18:23 nbd: That's still going, and its 0118 here now... so I'm going to leave it run and try it out after some sleep. Aug 01 15:18:31 will ping you with a success / fail report. Aug 01 15:18:57 (ie its still building the toolchain - so it'll be quite a while) Aug 01 15:27:14 build #70 of cobalt is complete: Failure [failed shell_10] Build details are at http://buildbot.openwrt.org:8010/builders/cobalt/builds/70 Aug 01 15:32:53 build #70 of cns21xx is complete: Failure [failed shell_10] Build details are at http://buildbot.openwrt.org:8010/builders/cns21xx/builds/70 Aug 01 15:39:34 build #70 of orion is complete: Failure [failed shell_10] Build details are at http://buildbot.openwrt.org:8010/builders/orion/builds/70 Aug 01 15:44:35 build #67 of adm5120 is complete: Failure [failed compile_8] Build details are at http://buildbot.openwrt.org:8010/builders/adm5120/builds/67 Aug 01 15:53:31 nbd r46542 branches/chaos_calmer/target/linux/ar71xx/image/Makefile * ar71xx: fix mr3220 device profile (#19990) Aug 01 18:58:03 hi, is there a way to set a platform and package with using "make menuconfig"? Aug 01 18:58:21 ? Aug 01 18:58:37 did you mean "without"? Aug 01 18:58:38 I like to build a package for several platforms without going throuht the gui Aug 01 18:58:52 *through Aug 01 18:58:56 ah Aug 01 18:59:10 you can create a new .config file with just the lines for platform and package selection Aug 01 18:59:13 then run make defconfig Aug 01 18:59:15 to fill it up with the defaults Aug 01 18:59:21 easy to script Aug 01 18:59:37 ah, true Aug 01 18:59:37 it's how our release/snapshot builds work Aug 01 19:04:30 nbd: how do you build for each subtarget? Aug 01 19:04:49 or do I have to only use CONFIG_TARGET_* Aug 01 19:05:20 I mean, do I have to just build all CONFIG_TARGET_ options one after another? Aug 01 19:05:55 just put in all lines that you would otherwise have to manually set using make menuconfig Aug 01 19:05:58 and leave out the rest Aug 01 19:06:35 so if you want to build a specific subtarget, put in the CONFIG_TARGET_ line for the main target selection, then the one using the subtarget selection, then your package, and only then run make defconfig Aug 01 19:36:30 build #70 of pxa is complete: Failure [failed shell_10] Build details are at http://buildbot.openwrt.org:8010/builders/pxa/builds/70 Aug 01 22:37:21 nbd: is there way to get the same effect as selecting a new target with gui. I mean, intead of keeping keeping a .config for each target. Aug 01 22:39:25 uh? Aug 01 22:39:33 selecting a new target pretty much reset the config Aug 01 22:39:43 unless "Advanced Configuration Options" was selected Aug 01 22:39:57 yes, I like to reset the config Aug 01 22:40:23 just as selecting a new target in the gui does Aug 01 22:40:40 erm... just write a new .config and run make defconfig again? Aug 01 22:45:18 ah, ok! Aug 01 22:46:21 mwarning: I use the scripts/env utility to maintain different config environments if that helps? Aug 01 22:47:12 nbd: failed. Aug 01 22:47:17 grabbing console now Aug 01 22:48:35 [ 0.115525] MIPS: machine is Generic AR71XX/AR724X/AR913X based board Aug 01 22:48:36 still Aug 01 22:49:03 please post a full log again Aug 01 22:49:08 http://fpaste.org/250618/69345143/ Aug 01 22:49:18 KevinDB: thanks, but I think I got the solution I want :) Aug 01 22:50:25 looks like the patch applied correctly though: Aug 01 22:50:26 Applying Custom patches on top of trunk... Aug 01 22:50:27 Applying patch: /home/openwrt/EXTRA_PATCHES/ar71xx-cmdline.patch Aug 01 22:50:27 patching file build_dir/target-mips_34kc_musl-1.1.10/linux-ar71xx_generic/linux-4.1.3/arch/mips/ath79/prom.c Aug 01 22:50:30 Building OpenWRT for MYNET-N600 Aug 01 22:56:00 nbd: would a full working log from the 3.18 kernel help at all? Aug 01 23:07:12 CRCinAU: no. i know what the problem is, i just don't know what causes it yet Aug 01 23:07:22 roger that. Aug 01 23:07:23 the kernel command line is not passed from the lzma loder to the kernel Aug 01 23:07:56 hence: [ 0.000000] Kernel command line: rootfstype=squashfs,jffs2 noinitrd Aug 01 23:08:22 I'm not quite sure the TX line works on my RS232 either - so trying to do it manually doens't help ;) Aug 01 23:58:59 Yes. Aug 01 23:59:30 ah yeah, I see now: Aug 01 23:59:31 [ 0.000000] Kernel command line: board=MYNET-N750 console=ttyS0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,64k(devdata)ro,64k(devconf)ro,15872k(firmware),64k(radiocfg)ro rootfstype=squashfs,jffs2 noinitrd Aug 01 23:59:40 thats on a working 3.18 image **** ENDING LOGGING AT Sun Aug 02 02:59:58 2015