Tuesday, 2024-06-04

*** eltricos <eltricos!~eltricos@ip68-8-181-201.sd.sd.cox.net> has quit IRC (Quit: Leaving.)00:18
*** sgw <sgw!~swold@user/sgw> has quit IRC (Quit: Leaving.)02:23
*** hrw <hrw!~hrw@redhat/hrw> has joined #oe07:08
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has joined #oe07:11
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed)07:41
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #oe07:41
*** Guest13 <Guest13!~Guest13@132.198.137.78.rev.vodafone.pt> has joined #oe08:36
*** mvlad <mvlad!~mvlad@2a02:2f05:821a:fb00:e88e:21ff:fe65:be18> has joined #oe09:04
*** mckoan|away is now known as mckoan09:27
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed)09:43
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #oe09:44
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has joined #oe10:18
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed)11:00
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #oe11:00
*** Guest13 <Guest13!~Guest13@132.198.137.78.rev.vodafone.pt> has quit IRC (Quit: Client closed)11:02
*** Kubu_work <Kubu_work!~kubu@lfbn-nan-1-335-137.w82-120.abo.wanadoo.fr> has joined #oe11:22
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Ping timeout: 272 seconds)11:45
mortOne thing I don't quite get is: why does yocto call its files .wic? It seems like a completely normal "image" file: copy it byte for byte to a block device and the block device will have a GPT partition table and a bunch of partitions; doesn't everyone else call that .img?12:21
rburtonbecause it was generated by wic12:25
rburtonnothing special about the extension12:26
mortI see, interesting12:27
rburton'normal' images are pretty simple: take a rootfs directory and transform it using IMAGE_TYPES. so if that is set to ext4.gz you get a rootfs in a gzip'd ext412:27
rburtonwic builds disk images with multiple partitions and so so, and to work with IMAGE_TYPES needed an extension12:28
mortthat part makes sense, I just would've expected the extension to be .img12:28
rburtondoes it matter? :)12:29
mortnot at all12:29
mortwell12:29
mortit causes people like me to see a wic file and wonder what that is and try to figure out what a wic file is, without much luck until I waste your time by asking in an irc channel :p12:29
rburtonwell top hit for 'what is a wic image' on google is the wic documentation that says its a disk image12:30
rburtonalso explains why its called wic which is always funny12:30
mortthe featured snippet for me is that it's a Windows Imaging Component <_< then the first actual result is an SO page which doesn't explain what a wic file actually *is*, just that "a .wic image is intended to be installed directly to its final destination"12:32
morttho the documentation is up there12:32
hrwmort: 'file rootfs.wic' would tell that it is disk image?12:33
mortI did encounter https://docs.yoctoproject.org/dev/dev-manual/wic.html earlier, and the oeic -> wic thing is kinda funny; but it just talks about the tool, not the "wic" file format12:33
rburton"The wic command generates partitioned images"12:34
rburtonfeel free to contribute a patch to the docs, its hard to write documentation when you know the full context12:35
mortmight be more helpful to write an answer to the StackOverflow result that ends up at the top of the search result page12:39
mortthere's nothing lacking per se in the OE docs12:39
mortIs there any difference between the wic file and a hddimg file, or is it just about the tools which created them?12:41
hrwmort: oeic -> wic was probably done to show that it is possible to use this tool outside of OE. Just like we did oemake2 -> bitbake in paste.12:41
hrws/paste/past12:41
rburtonit was more the pronouciation problem12:45
hrw"OE I see" -> wic?12:46
rburtonOE Image Creator, as it was based on Meego Image Creator12:53
hrwMeego...12:53
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed)13:02
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #oe13:02
*** sgw <sgw!~swold@user/sgw> has joined #oe13:22
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has joined #oe13:24
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Remote host closed the connection)13:51
*** michael_e <michael_e!~michael_e@user/michael-e:30278> has joined #oe15:02
*** michael_e <michael_e!~michael_e@user/michael-e:30278> has quit IRC (Quit: Client closed)15:14
*** sgw <sgw!~swold@user/sgw> has quit IRC (Quit: Leaving.)15:24
*** mckoan is now known as mckoan|away15:47
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has quit IRC (Quit: Leaving)15:47
*** florian <florian!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Quit: Ex-Chat)16:03
*** tgamblin <tgamblin!~tgamblin@d24-150-219-207.home.cgocable.net> has quit IRC (Ping timeout: 246 seconds)16:15
*** tgamblin <tgamblin!~tgamblin@d24-150-219-207.home.cgocable.net> has joined #oe16:16
*** tgamblin <tgamblin!~tgamblin@d24-150-219-207.home.cgocable.net> has quit IRC (Read error: Connection reset by peer)16:19
*** tgamblin <tgamblin!~tgamblin@d24-150-219-207.home.cgocable.net> has joined #oe16:20
*** tgamblin_ <tgamblin_!~tgamblin@d24-150-219-207.home.cgocable.net> has joined #oe16:32
*** tgamblin <tgamblin!~tgamblin@d24-150-219-207.home.cgocable.net> has quit IRC (Ping timeout: 268 seconds)16:33
*** tgamblin_ is now known as tgamblin16:36
*** dankm <dankm!~dan@user/dankm> has quit IRC (Remote host closed the connection)17:38
*** dankm <dankm!~dan@user/dankm> has joined #oe17:40
morthm why is bitbake-server running under qemu-aarch64-static18:19
mortWHY IS MY /USR/BIN/PYTHON3 AN AARCH64 EXECUTABLE WAT18:20
mortah.18:20
mortI accidentally created this docker container with --platform linux/arm64. That explains why everything seemed much slower than it should18:20
*** skokkonda <skokkonda!~skokkonda@49.205.249.255> has quit IRC (Ping timeout: 252 seconds)18:22
rburtonlol18:45
rburtona fun fact I had to debunk once was that cross compilers are slower than native compilers18:46
mortcross compilers are much slower than native compilers if your cross compiler is an emulated native compiler18:46
mortturns out18:46
*** florian <florian!~florian@dynamic-078-048-062-212.78.48.pool.telefonica.de> has joined #oe18:53
mortwhat would be the logic behind cross compilers being slower than native compilers, it's not like CPUs have special instructions to optimize emitting bytes representing instructions for themselves18:53
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed)19:20
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #oe19:20
*** mvlad <mvlad!~mvlad@2a02:2f05:821a:fb00:e88e:21ff:fe65:be18> has quit IRC (Remote host closed the connection)20:25
rburtonmort: yeah no idea20:56
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed)20:57
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #oe20:57
hrwcross or canadian-cross?21:20
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed)21:32
mortcross presumably, canadian is very "compiling a cross compiler" specific right21:32
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #oe21:32
mortneat I found https://libera.irclog.whitequark.org/yocto/2021-11-30, someone else with a "libgomp: Thread creation failed: Resource temporarily unavailable" error during packaging while using rpm packages and building in a podman container21:35
mortI don't get why linux has so many arbitrary and surprisingly low limits, hundreds of cores aren't abnormal anymore21:39
*** florian <florian!~florian@dynamic-078-048-062-212.78.48.pool.telefonica.de> has quit IRC (Ping timeout: 260 seconds)21:52
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed)22:18
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #oe22:19
*** Kubu_work <Kubu_work!~kubu@lfbn-nan-1-335-137.w82-120.abo.wanadoo.fr> has quit IRC (Quit: Leaving.)22:28
mortI had forgotten how annoying it is to have a yocto system with chromium T_T this thing has been abusing all my 32 hardware threads for hours now22:41
khemmort: if you built a container with --platform linux/arm64 and your target is arm64 then you do not need OE or any other cross-compiling infra :)23:46
khemand yes it will be slower if your host system is say x86_6423:46
khemcross compilers are not slower than native compilers if you are using compiler terminology, a cross compiler itself will run like a native binary on the build host like the native compiler would, only difference is that the output it will generate will be for the target host and build != targer host where as for native compiler build == host target23:50
khemcanadian cross compiler is a special case of cross compiler, where step 1 is to build a cross compiler which will be built on one system 'build host' runs on another system 'host' and generate code for yet another different system 'target host'23:54
khemyocto's SDKs use this method quite a bit23:55
khemmort: I could never get podman to behave well, docker works well surprisingly, see https://github.com/YoeDistro/yoe-distro/issues/78923:56

Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!