**** BEGIN LOGGING AT Mon Mar 02 02:59:58 2015 Mar 02 08:56:22 hi guys. I use "std::unique_ptr" in my code in one of my packages and I already included "#include " as header. However I still get "error: 'unique_ptr' is not a member of 'std'" when building the package. Can anyone tell me why I still get it? Mar 02 08:58:03 dol hm Mar 02 08:58:11 I think you are on the wrong channel Mar 02 08:58:39 woglinde, I asked here because I thought it could be a build issue with oe. Mar 02 08:58:56 i.e. I don't add dependency so on Mar 02 08:59:54 dol did you prove it, with compiling on debian or ubuntu? Mar 02 09:00:34 I personally not. Mar 02 09:16:56 morning ! Mar 02 09:18:36 is it possible to modify opkg's lock default location ? Mar 02 09:32:37 dol uniq_ptr is a c++11 feature have you enabled it ? -std=c++-11 Mar 02 09:37:46 what the hell Mar 02 09:37:59 ncp is buying freescale for 12 billion Mar 02 09:38:12 args nxp Mar 02 09:38:16 I meant Mar 02 09:47:09 woglinde: yes I know is a hot news Mar 02 12:41:30 hey all Mar 02 16:05:07 woglinde: Do you accept patches for meta-telephony? :) Mar 02 16:17:36 florian zecke does Mar 02 16:19:06 woglinde: "zecke deleted sysmocom-openembedded/meta-telephony 2014-10-07 14:54:26 UTC" Mar 02 16:19:30 woglinde: yours is the last remaining one Mar 02 16:19:31 hmm, did he move it Mar 02 16:19:57 http://layers.openembedded.org/layerindex/branch/master/layer/meta-telephony/ Mar 02 16:20:17 yep Mar 02 16:20:20 I really need to do some work with it Mar 02 16:20:30 looks like he moved to github Mar 02 16:22:50 * florian dreams of the past... when we not hat to track 1000 randomly moving layers Mar 02 16:23:47 the layer index helps Mar 02 16:24:08 and if I remember, we used to be annoyed about the sheer number of recipes in one layer :) Mar 02 16:25:36 sure, but on the on ehand it does not gurantee anything about the layer or the information about it... and you still have to query it layer by layer Mar 02 16:25:47 * florian did not Mar 02 16:29:58 when I asked zecke about the move he said "Wow, someone is actually using it? Sorry about moving it" Mar 02 16:32:49 moin Mar 02 16:33:41 hah Mar 02 16:35:56 * nerdboy can't find the espresso IV kit... Mar 02 17:18:06 florian yes we moved to github gitoriuos Mar 02 17:18:13 is so unstable Mar 02 17:34:08 gitorious sucked for me too Mar 02 18:16:05 khem: I wouldn't mind the downtime so much is gitorious would actually say it's down (on e.g. twitter) and then tell us why it went down Mar 02 18:16:08 like github does Mar 02 20:38:30 hmm, if a package has only a makefile (no configure or anything), what should be inherited? autotools-brokensep? Mar 02 20:42:25 nothing Mar 02 20:42:42 I had a case when the ipk turned out empty then Mar 02 20:43:02 adjust do_compile and do_install Mar 02 20:43:09 you mean - write them myself? Mar 02 20:43:16 partly Mar 02 20:43:19 i.e. just call oe_runmake etc? Mar 02 20:43:37 yes Mar 02 20:43:49 and do run bitbake -c do_package Mar 02 20:44:03 you mean to test? or why? Mar 02 20:44:07 and examine the build directory Mar 02 20:44:14 ah Mar 02 20:44:15 to see where what stuff ends up Mar 02 20:44:20 I get the idea I think Mar 02 20:44:33 I used autotools-brokensep which kind of did all correctly, but was just wondering Mar 02 20:44:40 thats how I do it Mar 02 21:00:49 autotools classes need to have configure in src Mar 02 21:01:04 dont use them when components dont use autotools Mar 02 21:01:54 khem: it works though :) but if it has some implications I would redo the recipes with manual do_compile/do_install Mar 02 21:02:39 Jin^eLD: its like saying if I see the lion, i will close my eyes. and since I cant see the lion therefore lion is not able to see me Mar 02 21:03:15 :) Mar 02 21:03:44 so basically it would probably make sens to write an own bbclass which just does call make and DESTDIR=bla make install? Mar 02 21:03:55 problem is you may come back and ask questions here on the very same frankenstein Mar 02 21:04:08 its fine if pain infliction was local Mar 02 21:05:24 many time you get good suggestions here. My recommendation is to listen to it Mar 02 21:05:27 :) Mar 02 21:06:01 khem: I do :) hence my question about an own bbclass which would spare me the manual do_compile/do_install for each of those recipes? Mar 02 21:06:12 would that be an acceptable way? Mar 02 21:06:29 sure, that would be ok Mar 02 21:06:59 ok, thanks, I'll do it like that then Mar 02 21:07:14 what if the lion is not hungry? :) Mar 02 21:08:28 or lost his glasses :P Mar 02 21:13:02 abelloni: replace lion with 'hungry lion with glasses' Mar 02 21:14:41 khem: I remember you told me that u-boot needs to be compiled with soft float, how does OE ensure that for the uboot package only? Mar 02 21:15:03 or in other words: I was slowly working through a gazillion ofmy failing packages when migrating to poky 1.7.x and now came to u-boot :) Mar 02 21:15:15 but unlike with the others I am not sure what to do here Mar 02 21:17:29 although I found an imx uboot, investigating how it is doing things Mar 02 21:17:30 lets see... Mar 02 21:30:20 can't you simply use the u-boot recipe ? Mar 02 21:30:54 I would believe that the u-boot makefile is doing the right thing Mar 02 21:54:15 hello, I am adding the Salt minion (system configuration software) to my distro. The Salt minion requires python, and with all it's dependencies I am seeing a footprint increase of 88.6 MB Mar 02 21:55:26 I am trying to determine the best way to reduce the footprint...digging around I found that the code to generate python packages comes from scripts/contrib/python/generate-manifest-2.7.py Mar 02 21:56:26 is my best bet to directly override python-2.7-manifest.inc to remove RDEPENDS on ${PN}-modules ? Mar 02 21:58:17 I believe I could also zip everything up, as python can run from a compressed file, but then my recipe would be pretty much overwriting everything on the original recipe...so I am not sure what is the best way to go from here Mar 02 23:39:49 abelloni: well, it does not seem like that, and I have the feeling that it needs a different toolchain Mar 02 23:41:15 error is fatal error: gnu/stubs-soft.h: No such file or directory Mar 02 23:41:26 which makes sense because theis is a hardfloat toolchain Mar 02 23:41:31 that has not been the case since at least 10 years Mar 02 23:41:46 hmm Mar 02 23:42:06 khem told me that poky switched to hardfloat (for imx at least), and also that u-boot still needs to be compiled with soft float Mar 02 23:42:27 and I can't figure out how this is done Mar 02 23:42:56 we have our own uboot recipe which inherits poky's u-boot.inc but it fails to build Mar 02 23:43:27 it did build with poky 1.5.x because there poky was using soft float and thus the toolchain was softfloat Mar 02 23:43:27 I'm always using an hard float toolchain Mar 02 23:43:31 and it all matched together Mar 02 23:43:35 so how do you compile u-boot then? Mar 02 23:43:36 and I build u-boot and the kernel just fine Mar 02 23:43:54 it simply doesn't matter as they are not using floating points Mar 02 23:46:25 well the problem are the gnu stub defines Mar 02 23:46:33 the header is not present on a hardfloat toolchain Mar 02 23:48:51 can youshow me where they are actually used ? Mar 02 23:54:32 ok, its a bit a long chain though Mar 02 23:56:14 so this is the overall output: Mar 02 23:56:17 and if plucked apart: Mar 02 23:56:30 uboot includes stdint.h: https://gitorious.digitalstrom.org/dss-oe/u-boot-icnexus/blobs/master/sabrelite-u-boot-android/include/compiler.h#line19 Mar 02 23:57:00 this rolles down the chain to features.h which does: Mar 02 23:57:02 #include Mar 02 23:57:35 the content of stubs.h is this: https://pastebin.mozilla.org/8823953 Mar 02 23:57:43 the defines are set by the compiler Mar 02 23:58:07 the OE toolchain that was built for imx only provides stubs-hard.h Mar 02 23:58:24 so its actually correct that uboot is looking for stubs-soft.h Mar 02 23:58:32 that means the compiler got the appropriate flag Mar 02 23:58:38 but the header is missing in the sysroot Mar 03 00:01:46 which is not the issue you are looking for Mar 03 00:02:27 I'd say that something messes with you compiler flags Mar 03 00:02:43 why? the compiler flags are correct Mar 03 00:02:50 it does try to include the soft stubs Mar 03 00:02:53 which is OK for uboot Mar 03 00:02:58 or am I mistaken? Mar 03 00:03:53 perhaps you need to enable multilibs and configure MULTILIBS for hard and soft float, so the compiler gets configured for both? Mar 03 00:03:56 I'm building u-boot just fine with an hf toolchain Mar 03 00:04:09 and they don't have stubs-soft.h Mar 03 00:04:27 ok let me check the manual on how this is done... Mar 03 00:04:33 either the linaro one or the oe generated one Mar 03 00:04:37 abelloni: well, question then is - hy does it work for you? :P Mar 03 00:04:42 *why Mar 03 00:04:55 or why it doesn't work for you Mar 03 00:05:08 although I remember khem mentioning that hard/soft is not being tracked for multilib? Mar 03 00:05:09 and I believe something messes your CFLAGS Mar 03 00:05:57 hm Mar 03 00:09:31 di you try to compile with the linaro toolchain ? Mar 03 00:09:47 the hf one :) Mar 03 00:09:49 uh.. not sure? :) I set the machine to imx and off we go Mar 03 00:09:56 I did not mess around with the toolchain Mar 03 00:10:29 doing that would rule out any issues in the codebase Mar 03 00:10:33 are you using -mfloat-abi=hard Mar 03 00:10:53 issue is genuine Mar 03 00:10:58 https://gitorious.digitalstrom.org/dss-oe/dss-oe/blobs/master/yocto/dS/meta-digitalstrom-devel/conf/machine/dss11e.conf <- this is my machine config Mar 03 00:11:39 gcc defines __ARM_PCS_VFP if ARM_PCS_AAPCS_VFP is set and ARM_PCS_AAPCS_VFP is set when you pass -mfloat-abi=hard Mar 03 00:11:52 right Mar 03 00:11:56 can uboot be compiled with hardfp Mar 03 00:12:04 if not then there is an issu Mar 03 00:12:15 that I do not know.. you told me u-boot is compiled with soft float? Mar 03 00:12:16 u-boot just doesn't care Mar 03 00:12:30 if u-boot does not care, then my CFLAGS are indeed wrong Mar 03 00:12:32 there a no floating point in u-boot Mar 03 00:12:37 are Mar 03 00:13:08 then respect CC from env and rest the case Mar 03 00:13:32 why is uboot overriding CC and its ilk ? Mar 03 00:13:57 good question, since its some customized u-boot the prohlem might be there Mar 03 00:13:59 I will investigate then Mar 03 00:14:04 I thought its a must for it to be soft float Mar 03 00:14:13 but if that is not the case, then abelloni is surely right when he says my CFLAGS are wrong Mar 03 00:15:21 arm-linux-gnueabihf-gcc -Wp,-MD,arch/arm/lib/.cache.o.d -nostdinc -isystem /home/alex/bin/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.9.2/include -Iinclude -I/home/alex/Projects/atmel/u-boot/arch/arm/include -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x26f00000 -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -Os -fno-stack-protector -g -fstack-usage -Wno-format-nonliteral -DCON Mar 03 00:15:35 that's what I get Mar 03 00:15:52 no -mfloat-abi though? Mar 03 00:15:58 -msoft-float is passed Mar 03 00:16:09 ah, it is? am I blind, where Mar 03 00:16:18 before -pipe Mar 03 00:16:25 maybe it got cut Mar 03 00:16:57 either your tune is wrong, or the toolchain configuration is wrong.. Mar 03 00:16:58 http://code.bulix.org/6cnqcf-87960 Mar 03 00:17:09 seeing how this is a linaro toolchain, you'll have to look at both of them and figure out where the mismatch is Mar 03 00:17:37 fray: non, I'm using a linaro toolchain as a working example Mar 03 00:17:47 also depends on what you are building, this looks like firmware or a module.. most of hte time hard float ABI isn't supported there Mar 03 00:17:54 Jin^eLD is using an oe toolchain Mar 03 00:18:33 abelloni: and you have no stubs-soft.h in sysroots/YOURMACHINE/usr/include/gnu Mar 03 00:18:34 ? Mar 03 00:18:34 like I said, kernel, modules and bootloaders just don't care Mar 03 00:18:35 if you use a binary toolchain you need to have an understanding of what it might be defaulted to. You can query the gcc spec file and figure it out if you need to.. Mar 03 00:18:45 Jin^eLD: nope Mar 03 00:19:04 it's not that they don't care, its that they have no floating point exception handling so generally they don't enable floating point adn the rest of the ABI is irrelevant Mar 03 00:19:13 well then I do not understand how it works, because if you pass soft float option then it boils down to the gcc defines that khem mentioned above Mar 03 00:19:25 and then soft-stubs should be included - which would lead to an error if you do not have them Mar 03 00:20:17 Jin^eLD: can you use make V=1 and compare the log? Mar 03 00:20:24 sure, just started devshell Mar 03 00:20:49 abelloni, unfortunately they do have to care about whats being included from compiler headers Mar 03 00:20:50 Jin^eLD: I built all the boards from meta-fsl-arm and meta-fs-arm-extra yesterday Mar 03 00:21:11 so I'm pretty sure u-boot builds with an hf toolchain for imx Mar 03 00:21:23 gcc does not create defaults for float-abi Mar 03 00:21:25 thats the core issue Mar 03 00:21:30 case "$with_float" in Mar 03 00:21:31 "" \ Mar 03 00:21:31 | soft | hard | softfp) Mar 03 00:21:31 # OK Mar 03 00:21:33 ;; Mar 03 00:21:33 *) Mar 03 00:21:59 so even if you did --with-float-abi=hard nothing it means Mar 03 00:22:10 as far as defaults are concerned Mar 03 00:22:29 so only way to default to hf is use -mfloat-abi=hard Mar 03 00:22:39 someone could patch gcc Mar 03 00:24:46 https://pastebin.mozilla.org/8823965 Mar 03 00:25:06 I have quite weird flags actually, -msoft-float and -mabi=aapcs-linux Mar 03 00:26:23 folks just symlink stubs-soft.h to stubs-hard.h and get along Mar 03 00:26:27 but thats a landmine Mar 03 00:26:39 yeeeah that reminds me of the lion story :)= Mar 03 00:27:07 I'd rather patch uboots CFLAGS Mar 03 00:27:13 get rid of -msoft-float Mar 03 00:27:26 that just means -mfloat-abi=soft Mar 03 00:27:46 -mabi is ok Mar 03 00:28:15 -march=armv5 is weird on i.mx5 Mar 03 00:28:30 unless uboot uses functions which pass floating point data in parameters you are safe with -mfloat-abi=hard Mar 03 00:29:11 hmm, this hello world is actually an example that it tries to compile for some reason Mar 03 00:35:06 I wonder if your defconfig for uboot is correctly matching your h/w platform at all Mar 03 00:36:58 that's where I have to ask around I guess, I'm a userspace guy Mar 03 00:37:16 it's using mx6q_sabrelite_config Mar 03 00:37:27 I could not find anything msoft-float related in it though Mar 03 00:37:35 but I do not yet understand the u-boots build system Mar 03 00:38:20 that's something for tomorrow I guess Mar 03 00:38:23 thanks everyone Mar 03 00:38:25 nite Mar 03 02:37:50 is soneone using QEMU x86 with OpenGL? **** ENDING LOGGING AT Tue Mar 03 02:59:58 2015