*** sakoman <sakoman!~steve@rrcs-66-91-142-162.west.biz.rr.com> has joined #yocto | 00:12 | |
*** pabigot <pabigot!~pab@67-1-103-18.tcso.qwest.net> has quit IRC (Quit: Leaving.) | 00:41 | |
*** florian_kc <florian_kc!~florian@dynamic-093-133-110-221.93.133.pool.telefonica.de> has quit IRC (Ping timeout: 240 seconds) | 01:00 | |
*** sakoman <sakoman!~steve@rrcs-66-91-142-162.west.biz.rr.com> has quit IRC (Quit: Leaving.) | 02:00 | |
*** Konsgn <Konsgn!~Konsgn@user/Konsgn> has quit IRC (Remote host closed the connection) | 02:46 | |
*** prabhakarlad <prabhakarlad!~prabhakar@pc.renesas.eu> has quit IRC (Quit: Client closed) | 06:28 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has joined #yocto | 06:59 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has quit IRC (Client Quit) | 07:00 | |
*** mvlad <mvlad!~mvlad@2a02:2f08:4d01:ef00:24d7:51ff:fed6:906d> has joined #yocto | 07:18 | |
*** jer339 <jer339!~user_name@139.198.118.108> has joined #yocto | 07:25 | |
*** jer339 <jer339!~user_name@139.198.118.108> has quit IRC (Client Quit) | 07:26 | |
*** xmn <xmn!~xmn@cpe-72-225-198-203.nyc.res.rr.com> has quit IRC (Ping timeout: 240 seconds) | 07:51 | |
*** vd <vd!~vd@bras-base-mtrlpq2848w-grc-41-70-53-240-211.dsl.bell.ca> has quit IRC (Ping timeout: 256 seconds) | 07:58 | |
*** GillesM <GillesM!~gilles@133.20.115.78.rev.sfr.net> has joined #yocto | 08:04 | |
*** GillesM <GillesM!~gilles@133.20.115.78.rev.sfr.net> has quit IRC (Quit: Leaving) | 08:34 | |
*** goliath <goliath!~goliath@user/goliath> has quit IRC (Quit: SIGSEGV) | 08:42 | |
*** prabhakarlad <prabhakarlad!~prabhakar@pc.renesas.eu> has joined #yocto | 08:56 | |
*** davidinux <davidinux!~davidinux@84.17.59.176> has joined #yocto | 10:22 | |
*** florian_kc <florian_kc!~florian@dynamic-002-243-098-155.2.243.pool.telefonica.de> has joined #yocto | 10:38 | |
*** florian_kc <florian_kc!~florian@dynamic-002-243-098-155.2.243.pool.telefonica.de> has quit IRC (Ping timeout: 250 seconds) | 11:10 | |
*** davidinux <davidinux!~davidinux@84.17.59.176> has quit IRC (Ping timeout: 240 seconds) | 11:23 | |
*** florian_kc <florian_kc!~florian@dynamic-002-243-098-155.2.243.pool.telefonica.de> has joined #yocto | 11:25 | |
*** davidinux <davidinux!~davidinux@84.17.59.175> has joined #yocto | 11:26 | |
*** florian_kc <florian_kc!~florian@dynamic-002-243-098-155.2.243.pool.telefonica.de> has quit IRC (Read error: Connection reset by peer) | 12:06 | |
*** florian_kc <florian_kc!~florian@dynamic-002-243-098-155.2.243.pool.telefonica.de> has joined #yocto | 12:06 | |
*** xmn <xmn!~xmn@cpe-72-225-198-203.nyc.res.rr.com> has joined #yocto | 12:32 | |
*** Piraty <Piraty!~irc@user/piraty> has joined #yocto | 12:40 | |
Piraty | does opkg maintainer Stewart lurk here? | 12:41 |
---|---|---|
*** florian_kc <florian_kc!~florian@dynamic-002-243-098-155.2.243.pool.telefonica.de> has quit IRC (Ping timeout: 240 seconds) | 12:47 | |
*** chep` <chep`!~chep@88.168.197.200> has joined #yocto | 12:52 | |
*** chep <chep!~chep@88.168.197.200> has quit IRC (Read error: Connection reset by peer) | 12:52 | |
*** chep` is now known as chep | 12:52 | |
*** camus <camus!~Instantbi@58.246.136.202> has quit IRC (Ping timeout: 256 seconds) | 12:56 | |
*** camus <camus!~Instantbi@58.246.136.202> has joined #yocto | 12:56 | |
*** chep` <chep`!~chep@88.168.197.200> has joined #yocto | 13:17 | |
*** dtometzki <dtometzki!~dtometzki@fedora/dtometzki> has quit IRC (Read error: Connection reset by peer) | 13:17 | |
*** chep <chep!~chep@88.168.197.200> has quit IRC (Read error: Connection reset by peer) | 13:19 | |
*** chep` is now known as chep | 13:19 | |
*** dtometzki <dtometzki!~dtometzki@fedora/dtometzki> has joined #yocto | 13:19 | |
*** florian_kc <florian_kc!~florian@dynamic-002-243-098-155.2.243.pool.telefonica.de> has joined #yocto | 13:37 | |
*** florian_kc <florian_kc!~florian@dynamic-002-243-098-155.2.243.pool.telefonica.de> has quit IRC (Ping timeout: 240 seconds) | 13:54 | |
*** sakoman <sakoman!~steve@rrcs-66-91-142-162.west.biz.rr.com> has joined #yocto | 13:57 | |
*** alimon <alimon!~alimon@ec2-54-225-101-41.compute-1.amazonaws.com> has quit IRC (Remote host closed the connection) | 14:01 | |
*** florian_kc <florian_kc!~florian@dynamic-002-243-098-155.2.243.pool.telefonica.de> has joined #yocto | 14:21 | |
lukma | Dear community | 14:22 |
lukma | Is there an elegant way to add/install libgcc.so or libgcc.a to /usr/lib in recipe-sysroot? | 14:22 |
lukma | I'm asking as one program (ported to yocto/OE) requires it to have __aeabi_udivi and friends provided | 14:23 |
lukma | It turns out that hack as: | 14:23 |
lukma | -L=/usr/lib/arm-poky-linux-gnueabi/9.3.0 with --sysroot set to /patch/to/recipe-sysroot | 14:25 |
lukma | works, | 14:25 |
lukma | but I'm wondering if there is any better way to avoid crafting LDFLAGS with compiler name and version in recipe to be passed to this Makefile? | 14:25 |
lukma | In short -> adding DEPENDS_append = "libgcc" doesn't help to have libgcc.so in /usr/lib or /lib in recipe-sysroot | 14:26 |
*** florian_kc <florian_kc!~florian@dynamic-002-243-098-155.2.243.pool.telefonica.de> has quit IRC (Ping timeout: 268 seconds) | 14:30 | |
*** snikulov <snikulov!~snikulov@109.252.86.189> has joined #yocto | 14:42 | |
*** prabhakarlad <prabhakarlad!~prabhakar@pc.renesas.eu> has quit IRC (Quit: Client closed) | 14:49 | |
*** prabhakarlad <prabhakarlad!~prabhakar@pc.renesas.eu> has joined #yocto | 14:53 | |
*** jpuhlman_ <jpuhlman_!~maoti@99-14-97-149.lightspeed.frokca.sbcglobal.net> has joined #yocto | 14:56 | |
*** jpuhlman <jpuhlman!~maoti@99-14-97-149.lightspeed.frokca.sbcglobal.net> has quit IRC (Killed (strontium.libera.chat (Nickname regained by services))) | 14:56 | |
*** jpuhlman_ is now known as jpuhlman | 14:56 | |
*** Vonter <Vonter!~Vonter@user/vonter> has quit IRC (Quit: WeeChat 3.4) | 15:16 | |
*** Vonter <Vonter!~Vonter@user/vonter> has joined #yocto | 15:19 | |
*** florian_kc <florian_kc!~florian@dynamic-002-243-098-155.2.243.pool.telefonica.de> has joined #yocto | 15:51 | |
*** TundraMan <TundraMan!~marka@198-84-181-245.cpe.teksavvy.com> has joined #yocto | 15:52 | |
*** marka <marka!~marka@198-84-181-245.cpe.teksavvy.com> has quit IRC (Ping timeout: 240 seconds) | 15:53 | |
*** olani[m] <olani[m]!~olanimatr@2001:470:69fc:105::c93> has quit IRC (Quit: You have been kicked for being idle) | 16:00 | |
*** goliath <goliath!~goliath@user/goliath> has joined #yocto | 16:05 | |
*** paulg <paulg!~paulg@104-195-159-20.cpe.teksavvy.com> has quit IRC (Ping timeout: 256 seconds) | 16:17 | |
*** pabigot <pabigot!~pab@67-1-103-18.tcso.qwest.net> has joined #yocto | 16:20 | |
*** paulg <paulg!~paulg@104-195-159-20.cpe.teksavvy.com> has joined #yocto | 16:31 | |
*** Vonter <Vonter!~Vonter@user/vonter> has quit IRC (Quit: WeeChat 3.4) | 16:47 | |
*** oberonc <oberonc!~oberonc@109-186-99-217.bb.netvision.net.il> has joined #yocto | 17:08 | |
oberonc | hi | 17:08 |
*** davidinux <davidinux!~davidinux@84.17.59.175> has quit IRC (Ping timeout: 260 seconds) | 17:08 | |
oberonc | when I create an image that includes a software package that I wrote that depends on curl I get the following error: | 17:08 |
oberonc | QA Issue: /usr/sbin/aradrouterd contained in package arad requires libcurl-gnutls.so.4(CURL_GNUTLS_3)(64bit), but no providers found in RDEPENDS_arad? [file-rdeps] | 17:09 |
*** camus <camus!~Instantbi@58.246.136.202> has quit IRC (Ping timeout: 256 seconds) | 17:09 | |
oberonc | I figured that adding "curl" in DEPENDS isnt enough | 17:09 |
*** camus <camus!~Instantbi@58.246.136.202> has joined #yocto | 17:09 | |
*** manuel1985 <manuel1985!~manuel198@2a02:1748:dd5c:f290:c5b2:fdff:b718:9edf> has quit IRC (Ping timeout: 268 seconds) | 17:09 | |
oberonc | so I created a file called "curl_%.bbappend" in which I have the following line: | 17:10 |
*** davidinux <davidinux!~davidinux@217.138.197.53> has joined #yocto | 17:10 | |
oberonc | PACKAGECONFIG_append = " gnutls" | 17:10 |
oberonc | this doesnt solve the issue | 17:10 |
oberonc | what am I missing ? | 17:10 |
oberonc | I'm not sure how to make it add libcurl-gnutls.so.4( | 17:11 |
RP | lukma: doesn't simply -lgcc work? The compiler should already know to search there? | 17:17 |
*** camus <camus!~Instantbi@58.246.136.202> has quit IRC (Ping timeout: 256 seconds) | 17:22 | |
*** camus <camus!~Instantbi@58.246.136.202> has joined #yocto | 17:23 | |
kanavin | halstead, looks like the maintenance isn't yet complete? https://autobuilder.yoctoproject.org/typhoon/#/workers | 17:29 |
kanavin | I'd like to run a build but don't want to use limited capacity | 17:29 |
kanavin | RP: I have a much nicer set of changes for go reproducibility :) | 17:30 |
vmeson | oberonc: if you look at: https://layers.openembedded.org/layerindex/recipe/5765/ or the recipe, you see that there's a PACKAECONFIG optin for libcurl-gnutls: http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-support/curl/curl_7.80.0.bb?h=master#n30 | 17:40 |
oberonc | how do I use it ? | 17:41 |
vmeson | oberonc: https://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#migration-1.7-changes-to-setting-qemu-packageconfig-options | 17:41 |
vmeson | maybe there's a better explaination in the manual but that's what came up first. | 17:42 |
vmeson | The main PKGCFG info: https://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-PACKAGECONFIG | 17:43 |
oberonc | so PACKAGECONFIG_append_pn-curl = " gnutls in local.conf ? | 17:43 |
vmeson | oberonc: yes | 17:45 |
oberonc | same message | 17:45 |
oberonc | hmm | 17:45 |
oberonc | what am I supposed to write in RDEPENDS_${PN} ? | 17:46 |
vmeson | oberonc: did you look at the curl log.do_configure to see if --with-gnutls was used? | 17:46 |
oberonc | remind me where can I find it | 17:47 |
vmeson | tmp/work/<arch>/curl/.../temp/log.do_configure | 17:48 |
oberonc | it has --with-gnutls | 17:50 |
oberonc | I believe I need to change this line in my recipe: | 17:51 |
oberonc | RDEPENDS_${PN} | 17:51 |
vmeson | ad is your libcurl-gnutls.so* file in tmp/work/<arch>/curl/.../packages-split somewhere? It may be packaged seperately from the default installation. | 17:51 |
oberonc | but what am I supposed to add to it ? | 17:51 |
oberonc | no libcurl-gnutls.so in there | 17:54 |
oberonc | hmm | 17:54 |
RP | kanavin: that sounds promising! :) | 17:55 |
oberonc | it depends on gnutls directly | 17:55 |
oberonc | (only libcurl.so exists) | 17:55 |
moto-timo | probably a PACKAGECONFIG? | 17:55 |
oberonc | why does it even think I need libcurl-gnutls ?! | 17:56 |
vmeson | oberonc: good questin, I don't know offhand and I have errands to run. I'll check back later | 17:56 |
oberonc | ok, thanks for your help | 17:57 |
oberonc | godspeed with your errands | 17:57 |
moto-timo | oberonc: we don't know what your custom code has, but it appears bitbake is detecting that an .so is expecting libcurl-gnutls (this can be double checked with ldd or similar tools) | 18:01 |
oberonc | ok, how do I provide libcurl-gnutls ? | 18:01 |
moto-timo | with the PACKAGECONFIG switch already discussed earlier | 18:02 |
oberonc | I tried: | 18:02 |
oberonc | PACKAGECONFIG_append_pn-curl = " gnutls" in local.conf | 18:02 |
oberonc | PACKAGECONFIG_append = " gnutls" in curl_%.bbappend | 18:02 |
moto-timo | what release of Yocto project are you on? | 18:02 |
oberonc | RDEPENDS_${PN} = " gnutls curl" | 18:03 |
oberonc | nothing works | 18:03 |
oberonc | and my custom code doesnt even use ssl | 18:03 |
oberonc | ssl in curl that is | 18:04 |
moto-timo | well, the recipe might be picking up host contamination then. but curl without ssl is not recommended anymore | 18:04 |
oberonc | I dont mind adding ssl to curl | 18:04 |
oberonc | but how ? | 18:04 |
moto-timo | which release of Yocto Project are you on please? | 18:04 |
oberonc | amm, how can I tell ? | 18:04 |
oberonc | (sorry, but i'm kinda new) | 18:05 |
moto-timo | when you cloned poky/openembedded-core you got it from somehwere... that likely had either a version number (like 3.1.x) or a branch name (like 'dunfell') | 18:06 |
oberonc | well, technically I'm using windriver | 18:07 |
oberonc | which is based on yocto | 18:07 |
moto-timo | so which version of windriver? | 18:08 |
*** otavio <otavio!~otavio@201-34-65-230.user3p.brasiltelecom.net.br> has quit IRC (Remote host closed the connection) | 18:08 | |
oberonc | LTS 21.20 | 18:08 |
moto-timo | ok, from https://blogs.windriver.com/wind_river_blog/2021/06/wind-river-linux-lts-21-now-available/ that is based on 3.3 (which is codename 'hardknott' https://wiki.yoctoproject.org/wiki/Releases) | 18:10 |
oberonc | makes sense .. | 18:11 |
oberonc | does it give you any clue ? | 18:11 |
oberonc | .. about the curl issue | 18:11 |
moto-timo | well, it tells us whether you need to be using the "new override syntax" or not | 18:11 |
oberonc | when I run ldd on the file libcurl.so I see that it is linked against gnutls | 18:12 |
*** otavio <otavio!~otavio@201-34-65-230.user3p.brasiltelecom.net.br> has joined #yocto | 18:12 | |
oberonc | so all that needs to be done is figure why it thinks a file called libcurl-gnutls even supposed to exist | 18:13 |
moto-timo | it is not libcurl.so it is the recipe you built (arad)... read the error message again | 18:14 |
oberonc | or why the file libcurl.so isnt named libcurl-gnutls.so | 18:15 |
moto-timo | you can have many .so files, so having more than one that starts with libcurl* is not unexpected | 18:15 |
moto-timo | really hard to help you without seeing the recipe | 18:16 |
oberonc | very well | 18:17 |
moto-timo | but, if you look in your conf/local.conf you should see a line like PACAKGECONFIG_append_pn-qemu-system-native | 18:18 |
moto-timo | well, without the typo | 18:18 |
oberonc | https://pastebin.com/fCyzDKz1 | 18:18 |
moto-timo | that shows the syntax you need in your conf | 18:18 |
moto-timo | so in my local.conf I see PACKAGECONFIG_append_pn-qemu-system-native = " sdl" | 18:20 |
oberonc | that is the format in my local.conf as well | 18:20 |
moto-timo | following that pattern, you should add PACKAGECONFIG_append_pn-curl = " gnutls" | 18:20 |
moto-timo | which it sounds like you already tried | 18:21 |
oberonc | I have this line already | 18:21 |
oberonc | and it does link against gnutls | 18:21 |
*** camus <camus!~Instantbi@58.246.136.202> has quit IRC (Ping timeout: 268 seconds) | 18:21 | |
oberonc | libcurl.so is | 18:21 |
oberonc | but no libcurl-gnutls.so is created | 18:21 |
*** camus <camus!~Instantbi@58.246.136.202> has joined #yocto | 18:21 | |
*** florian_kc <florian_kc!~florian@dynamic-002-243-098-155.2.243.pool.telefonica.de> has quit IRC (Remote host closed the connection) | 18:24 | |
moto-timo | oberonc: it has to be something in your Makefile for aradrouterd | 18:25 |
oberonc | all I do there is link with -lcurl | 18:25 |
moto-timo | so then it is picking up host contamination maybe? | 18:26 |
moto-timo | or some other library you are linking to has the gnutls requirement | 18:27 |
oberonc | on my host I do have libcurl-gnutls | 18:28 |
oberonc | I only link vs curl | 18:29 |
*** florian <florian!~florian@dynamic-002-243-098-155.2.243.pool.telefonica.de> has joined #yocto | 18:29 | |
moto-timo | Yes. Which is why I say your Makefile is picking up host contamination. | 18:30 |
oberonc | when I copy host compiled aradrouterd to the installed image I see this: | 18:30 |
oberonc | root@intel-x86-64:~# ldd /usr/sbin/aradrouterd | 18:30 |
oberonc | linux-vdso.so.1 (0x00007ffe605b8000) | 18:30 |
oberonc | libcurl-gnutls.so.4 => not found | 18:30 |
oberonc | libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f6aca3fe000) | 18:30 |
oberonc | libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f6aca3e4000) | 18:30 |
oberonc | libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f6aca3c4000) | 18:30 |
oberonc | libc.so.6 => /lib64/libc.so.6 (0x00007f6aca1fe000) | 18:30 |
oberonc | libm.so.6 => /lib64/libm.so.6 (0x00007f6aca0bc000) | 18:30 |
oberonc | /lib64/ld-linux-x86-64.so.2 (0x00007f6aca62b000) | 18:30 |
moto-timo | please use pastebin | 18:30 |
oberonc | how do I prevent host contamination ? | 18:30 |
oberonc | sorry | 18:30 |
oberonc | I setup the env correctly | 18:30 |
moto-timo | other signs of host contamination are the /lib64/ paths (unless you are building with multilib) | 18:31 |
oberonc | I'm not | 18:32 |
oberonc | I use these 2 commands to setup env: | 18:32 |
oberonc | . ./environment-setup-x86_64-wrlinuxsdk-linux | 18:32 |
oberonc | . ./oe-init-build-env | 18:32 |
moto-timo | can you share the line in the make file where -lcurl is called? | 18:32 |
oberonc | sure | 18:32 |
moto-timo | trust me, that is the root cause of your issue... the Makefile is not cross-compile compatible | 18:33 |
oberonc | https://pastebin.com/pS8ER5vD | 18:34 |
oberonc | lets see | 18:34 |
moto-timo | bingo. your problem is line 2 | 18:36 |
moto-timo | oe_runmake defines it's own CC but you are forcing it to use the (host) g++ rather than the one built by yocto project | 18:37 |
oberonc | oh | 18:37 |
oberonc | what should I change it to ? | 18:37 |
oberonc | I thought it will pick up yocto g++ | 18:37 |
moto-timo | well, really you should be using CXX and not defining specific tools in your Makefile... let the build environment define it for you | 18:39 |
moto-timo | CC is for plain old C and CXX is C++ | 18:39 |
oberonc | yeah | 18:39 |
moto-timo | I could tell you the specific triplet to use, but that's not the right solution... the solution is to not be defining CC=g++ | 18:40 |
moto-timo | or change that to CC?=g++ | 18:40 |
moto-timo | so that it is a weak definition | 18:40 |
oberonc | ok | 18:40 |
oberonc | lets try | 18:40 |
moto-timo | also, DESTDIR and LDFLAGS are defined as empty, so you might have other issues... you might want to make those DESTDIR?='' and LDFLAGS?="" | 18:41 |
moto-timo | forcing those definitions in hand crafted Makefiles is very prone to troubles. | 18:42 |
oberonc | QA Issue: File /usr/sbin/aradrouterd in package arad doesn't have GNU_HASH (didn't pass LDFLAGS?) | 18:42 |
oberonc | hmm | 18:42 |
moto-timo | you set LDFLAGS to be empty | 18:42 |
moto-timo | line 4 | 18:42 |
moto-timo | so now the linker has no idea what to do | 18:42 |
oberonc | ok :-) | 18:43 |
oberonc | makes sense | 18:43 |
moto-timo | if you run 'bitbake -e arad' you can see what the final variables are defined as for the build | 18:43 |
moto-timo | but most of those variables cannot be hard coded to "host" values or left empty... it means you are crippling the cross-compile (even if you are compiling for x86_64, the build is cross-compiled by the Yocto built toolchain) | 18:45 |
oberonc | I understand | 18:45 |
oberonc | I commented it out | 18:45 |
oberonc | now it seems to be working | 18:45 |
oberonc | thank you very much for your help | 18:45 |
moto-timo | you are welcome | 18:45 |
oberonc | yep, image created | 18:46 |
moto-timo | sometimes you need to figure out what the right question to ask yourself is :) | 18:46 |
oberonc | I guess | 18:47 |
oberonc | when you have someone who can solve the problem gfor you you shutdown half your brain | 18:47 |
moto-timo | also, you might want to add oe-pkgdata-utils to your commonly used tools | 18:47 |
moto-timo | oe-pkgdata-util list-pkg-files -p curl | 18:47 |
oberonc | for | 18:47 |
moto-timo | this would show what the curl recipe provides | 18:47 |
moto-timo | IRC is not a free unpaid consultant service... we help because we want people to learn and grow, but at some point you do need to find your own way to learn | 18:49 |
oberonc | I know | 18:49 |
oberonc | you should have told me to RTFM | 18:49 |
oberonc | and maybe point to a place :-) | 18:49 |
moto-timo | well... that assumed we knew where to look ;) | 18:50 |
oberonc | yeah | 18:51 |
moto-timo | but the fine manual would never have told you about the issues with the Makefile... | 18:51 |
oberonc | sync | 18:51 |
oberonc | ups | 18:51 |
oberonc | wrong window | 18:51 |
oberonc | no ? they dont explain host contamination and give examples ? | 18:52 |
moto-timo | but the issues with the Makefile are why the yocto jester was recommending not to hand craft Makefiles back in november | 18:52 |
oberonc | I guess I got lucky to dodge the bullets long enough | 18:53 |
moto-timo | curiosity and sleuthing are important traits :) | 18:57 |
*** vd <vd!~vd@bras-base-mtrlpq2848w-grc-41-70-53-240-211.dsl.bell.ca> has joined #yocto | 19:46 | |
*** florian <florian!~florian@dynamic-002-243-098-155.2.243.pool.telefonica.de> has quit IRC (Ping timeout: 268 seconds) | 20:10 | |
*** camus1 <camus1!~Instantbi@58.246.136.202> has joined #yocto | 20:12 | |
*** camus <camus!~Instantbi@58.246.136.202> has quit IRC (Ping timeout: 240 seconds) | 20:12 | |
*** camus1 is now known as camus | 20:12 | |
*** jpuhlman <jpuhlman!~maoti@99-14-97-149.lightspeed.frokca.sbcglobal.net> has quit IRC (Read error: Connection reset by peer) | 20:16 | |
*** davidinux <davidinux!~davidinux@217.138.197.53> has quit IRC (Ping timeout: 268 seconds) | 20:18 | |
kernelspace | hi, i am on dunfell, using a u-boot-xx.bbappend and a u-boot-xx,bb forward ported from older stuff | 20:30 |
kernelspace | compiling u-boot i get | 20:30 |
kernelspace | arm-oe-linux-gnueabi-gcc: error: unrecognized -march target: armv5 | 20:30 |
kernelspace | i should be armv7 so not clear where armv5 comes from | 20:30 |
vmeson | oberonc: I'm happy to see that moto-timo was able to help you out. Asking the right question takes a few years/decades of experience. FYI, we do have some WR docs about Makefiles such as this one based on using an SDK: https://docs.windriver.com/bundle/Wind_River_Linux_Binary_Release_Quick_Start_LTS_21/page/hkz1630524007440.html | 20:35 |
*** florian <florian!~florian@dynamic-002-243-098-155.2.243.pool.telefonica.de> has joined #yocto | 20:56 | |
*** mariusz <mariusz!~mariusz@185.241.198.130> has joined #yocto | 21:08 | |
*** snikulov <snikulov!~snikulov@109.252.86.189> has quit IRC (Remote host closed the connection) | 21:11 | |
*** oberonc <oberonc!~oberonc@109-186-99-217.bb.netvision.net.il> has quit IRC (Quit: Client closed) | 21:15 | |
*** mvlad <mvlad!~mvlad@2a02:2f08:4d01:ef00:24d7:51ff:fed6:906d> has quit IRC (Remote host closed the connection) | 21:37 | |
*** florian_kc <florian_kc!~florian@dynamic-002-243-098-155.2.243.pool.telefonica.de> has joined #yocto | 21:44 | |
*** florian <florian!~florian@dynamic-002-243-098-155.2.243.pool.telefonica.de> has quit IRC (Ping timeout: 268 seconds) | 21:48 | |
*** GillesM <GillesM!~gilles@133.20.115.78.rev.sfr.net> has joined #yocto | 21:59 | |
*** GillesM <GillesM!~gilles@133.20.115.78.rev.sfr.net> has quit IRC (Client Quit) | 22:00 | |
lukma | RP: Unfortunately, -lgcc cannot be found ... | 22:05 |
*** florian_kc <florian_kc!~florian@dynamic-002-243-098-155.2.243.pool.telefonica.de> has quit IRC (Read error: Connection reset by peer) | 22:10 | |
*** florian__ <florian__!~florian@dynamic-002-243-098-155.2.243.pool.telefonica.de> has joined #yocto | 22:10 | |
moto-timo | kernelspace: what release of Yocto Project are you on? https://git.yoctoproject.org/poky/tree/meta/conf/machine/include/arm/arch-armv5.inc so something else is involved in your issue | 22:12 |
moto-timo | kernelspace: oh you said, dunfell | 22:13 |
moto-timo | kernelspace: what bsp layer are you using? what MACHINE? | 22:13 |
*** sakoman <sakoman!~steve@rrcs-66-91-142-162.west.biz.rr.com> has quit IRC (Quit: Leaving.) | 22:17 | |
moto-timo | lukma: can you expand on -lgcc cannot be found? did you DEPENDS or RDEPENDS (as appropriate) on gcc? | 22:19 |
*** sakoman <sakoman!~steve@rrcs-66-91-142-162.west.biz.rr.com> has joined #yocto | 22:20 | |
*** florian_kc <florian_kc!~florian@dynamic-002-243-098-155.2.243.pool.telefonica.de> has joined #yocto | 22:20 | |
*** florian__ <florian__!~florian@dynamic-002-243-098-155.2.243.pool.telefonica.de> has quit IRC (Read error: Connection reset by peer) | 22:21 | |
*** florian__ <florian__!~florian@dynamic-002-243-098-155.2.243.pool.telefonica.de> has joined #yocto | 22:22 | |
*** florian_kc <florian_kc!~florian@dynamic-002-243-098-155.2.243.pool.telefonica.de> has quit IRC (Ping timeout: 240 seconds) | 22:25 | |
*** pabigot <pabigot!~pab@67-1-103-18.tcso.qwest.net> has quit IRC (Quit: Leaving.) | 22:29 | |
lukma | moto-timo: Yes, the DEPENDS was set to gcc | 22:40 |
lukma | To be more specific - DEPENDS="virtual/arm-poky-linux-gnueabi-gcc virtual/arm-poky-linux-gnueabi-compilerlibs virtual/libc bc-native" | 22:43 |
RP | lukma: libgcc in DEPENDS too? | 22:51 |
RP | I'd think virtual/libc should take care of that but... | 22:52 |
lukma | Yes, it was also added | 23:00 |
RP | lukma: does seem a little strange as gcc itself can find and link it in when it thinks it is needed :/ | 23:02 |
lukma | RP: This is vendor specific makefile ... | 23:03 |
lukma | RP: Even more strange - libgcc_s.so is installed in <sysroot-dir>/lib | 23:04 |
lukma | But no libgcc | 23:04 |
*** florian__ <florian__!~florian@dynamic-002-243-098-155.2.243.pool.telefonica.de> has quit IRC (Ping timeout: 256 seconds) | 23:21 | |
*** manuel1985 <manuel1985!~manuel198@2a02:1748:dd5c:f290:c5b2:fdff:b718:9edf> has joined #yocto | 23:24 | |
*** dev1990 <dev1990!~dev@81.168.185.188> has quit IRC (Quit: Konversation terminated!) | 23:28 | |
*** florian__ <florian__!~florian@dynamic-002-243-098-155.2.243.pool.telefonica.de> has joined #yocto | 23:34 | |
*** camaronut <camaronut!~camaronut@c-98-212-176-36.hsd1.il.comcast.net> has quit IRC (Quit: Client closed) | 23:52 | |
kernelspace | moto-timo: thanks, sry, was off for some dinner time, i solved, was a bad EXTRA_OEMAKE | 23:59 |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!