* finding libgcc.a with meta-toolchain-sdk toolchain @ 2011-08-10 4:20 Kumar Gala 2011-08-10 6:54 ` Khem Raj 2011-08-10 9:19 ` Phil Blundell 0 siblings, 2 replies; 11+ messages in thread From: Kumar Gala @ 2011-08-10 4:20 UTC (permalink / raw) To: Patches and discussions about the oe-core layer Trying to build something like u-boot w/the toolchain produced by meta-toolchain-sdk and get the following: $ powerpc-poky-linux-gnuspe-ld -g -Ttext 0x40000 -o hello_world -e hello_world hello_world.o libstubs.o -L. -lgcc powerpc-poky-linux-gnuspe-ld: cannot find -lgcc If I take on a --verbose I get: attempt to open ./libgcc.so failed attempt to open ./libgcc.a failed attempt to open /opt/poky/1.0+snapshot/sysroots/powerpc-poky-linux-gnuspe/usr/local/lib/libgcc.so failed attempt to open /opt/poky/1.0+snapshot/sysroots/powerpc-poky-linux-gnuspe/usr/local/lib/libgcc.a failed attempt to open /opt/poky/1.0+snapshot/sysroots/powerpc-poky-linux-gnuspe/lib/libgcc.so failed attempt to open /opt/poky/1.0+snapshot/sysroots/powerpc-poky-linux-gnuspe/lib/libgcc.a failed attempt to open /opt/poky/1.0+snapshot/sysroots/powerpc-poky-linux-gnuspe/usr/lib/libgcc.so failed attempt to open /opt/poky/1.0+snapshot/sysroots/powerpc-poky-linux-gnuspe/usr/lib/libgcc.a failed What do we need to tweak so we can find libgcc.a? - k ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: finding libgcc.a with meta-toolchain-sdk toolchain 2011-08-10 4:20 finding libgcc.a with meta-toolchain-sdk toolchain Kumar Gala @ 2011-08-10 6:54 ` Khem Raj 2011-08-10 9:19 ` Phil Blundell 1 sibling, 0 replies; 11+ messages in thread From: Khem Raj @ 2011-08-10 6:54 UTC (permalink / raw) To: Patches and discussions about the oe-core layer Cc: Patches and discussions about the oe-core layer On Aug 9, 2011, at 9:20 PM, Kumar Gala <galak@kernel.crashing.org> wrote: > Trying to build something like u-boot w/the toolchain produced by meta-toolchain-sdk and get the following: > > $ powerpc-poky-linux-gnuspe-ld -g -Ttext 0x40000 -o hello_world -e hello_world hello_world.o libstubs.o -L. -lgcc > powerpc-poky-linux-gnuspe-ld: cannot find -lgcc You are using ld. If you use gcc driver to do the linking it should do better > > If I take on a --verbose I get: > attempt to open ./libgcc.so failed > attempt to open ./libgcc.a failed > attempt to open /opt/poky/1.0+snapshot/sysroots/powerpc-poky-linux-gnuspe/usr/local/lib/libgcc.so failed > attempt to open /opt/poky/1.0+snapshot/sysroots/powerpc-poky-linux-gnuspe/usr/local/lib/libgcc.a failed > attempt to open /opt/poky/1.0+snapshot/sysroots/powerpc-poky-linux-gnuspe/lib/libgcc.so failed > attempt to open /opt/poky/1.0+snapshot/sysroots/powerpc-poky-linux-gnuspe/lib/libgcc.a failed > attempt to open /opt/poky/1.0+snapshot/sysroots/powerpc-poky-linux-gnuspe/usr/lib/libgcc.so failed > attempt to open /opt/poky/1.0+snapshot/sysroots/powerpc-poky-linux-gnuspe/usr/lib/libgcc.a failed > > What do we need to tweak so we can find libgcc.a? > > - k > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: finding libgcc.a with meta-toolchain-sdk toolchain 2011-08-10 4:20 finding libgcc.a with meta-toolchain-sdk toolchain Kumar Gala 2011-08-10 6:54 ` Khem Raj @ 2011-08-10 9:19 ` Phil Blundell 2011-08-10 12:43 ` Kumar Gala 1 sibling, 1 reply; 11+ messages in thread From: Phil Blundell @ 2011-08-10 9:19 UTC (permalink / raw) To: Patches and discussions about the oe-core layer On Tue, 2011-08-09 at 23:20 -0500, Kumar Gala wrote: > Trying to build something like u-boot w/the toolchain produced by meta-toolchain-sdk and get the following: > > $ powerpc-poky-linux-gnuspe-ld -g -Ttext 0x40000 -o hello_world -e hello_world hello_world.o libstubs.o -L. -lgcc > powerpc-poky-linux-gnuspe-ld: cannot find -lgcc > >[...] > > What do we need to tweak so we can find libgcc.a? The best/easiest fix is to link with gcc rather than calling ld directly. You can use -nostartfiles to suppress crt1.o and the like. If you must invoke ld manually for whatever reason then you will have to use something like `$(CC) --print-libgcc-file-name` to obtain the path to libgcc. p. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: finding libgcc.a with meta-toolchain-sdk toolchain 2011-08-10 9:19 ` Phil Blundell @ 2011-08-10 12:43 ` Kumar Gala 2011-08-10 12:50 ` Phil Blundell 0 siblings, 1 reply; 11+ messages in thread From: Kumar Gala @ 2011-08-10 12:43 UTC (permalink / raw) To: Patches and discussions about the oe-core layer, Phil Blundell On Aug 10, 2011, at 4:19 AM, Phil Blundell wrote: > On Tue, 2011-08-09 at 23:20 -0500, Kumar Gala wrote: >> Trying to build something like u-boot w/the toolchain produced by meta-toolchain-sdk and get the following: >> >> $ powerpc-poky-linux-gnuspe-ld -g -Ttext 0x40000 -o hello_world -e hello_world hello_world.o libstubs.o -L. -lgcc >> powerpc-poky-linux-gnuspe-ld: cannot find -lgcc >> >> [...] >> >> What do we need to tweak so we can find libgcc.a? > > The best/easiest fix is to link with gcc rather than calling ld > directly. You can use -nostartfiles to suppress crt1.o and the like. > If you must invoke ld manually for whatever reason then you will have to > use something like `$(CC) --print-libgcc-file-name` to obtain the path > to libgcc. While these are good suggestions, I still think the toolchain is broken as u-boot has been this way for sometime and numerous other cross toolchains work perfectly fine. - k ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: finding libgcc.a with meta-toolchain-sdk toolchain 2011-08-10 12:43 ` Kumar Gala @ 2011-08-10 12:50 ` Phil Blundell 2011-10-27 3:07 ` [RFC] Fix libgcc nativesdk to install libgcc.a in good location for tools Matthew McClintock 0 siblings, 1 reply; 11+ messages in thread From: Phil Blundell @ 2011-08-10 12:50 UTC (permalink / raw) To: Patches and discussions about the oe-core layer On Wed, 2011-08-10 at 07:43 -0500, Kumar Gala wrote: > While these are good suggestions, I still think the toolchain is broken as u-boot has been this way for sometime and numerous other cross toolchains work perfectly fine. I just tried "ld -lgcc" on my Ubuntu desktop and it didn't work there either. Indeed, there's no way in general for ld to know which libgcc to use since you might have multiple versions of gcc installed on the system. So, while u-boot might have worked for you before, if it is linking with the command you mentioned (and no extra -L options) then I think it was only working by chance. p. ^ permalink raw reply [flat|nested] 11+ messages in thread
* [RFC] Fix libgcc nativesdk to install libgcc.a in good location for tools 2011-08-10 12:50 ` Phil Blundell @ 2011-10-27 3:07 ` Matthew McClintock 2011-10-27 3:40 ` James Limbouris 2011-10-28 9:03 ` Richard Purdie 0 siblings, 2 replies; 11+ messages in thread From: Matthew McClintock @ 2011-10-27 3:07 UTC (permalink / raw) To: openembedded-core This fixes an issue where we cannot find -lgcc when linking. We update the path to libgcc.a so the library can be installed correctly Signed-off-by: Matthew McClintock <msm@freescale.com> --- I really doubt this is the correct fix and I'm no expert but it's here for comments. This fixes a real u-boot cross compile build issue The previous mv command was failing as the files did not exist and I also rejiggered the packages since I was not sure if gdb-cross-canadian-powerpc-dev was included in my tarball of the toolchain meta/recipes-devtools/gcc/libgcc_4.6.bb | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/recipes-devtools/gcc/libgcc_4.6.bb b/meta/recipes-devtools/gcc/libgcc_4.6.bb index 63a46ec..7f3ac55 100644 --- a/meta/recipes-devtools/gcc/libgcc_4.6.bb +++ b/meta/recipes-devtools/gcc/libgcc_4.6.bb @@ -8,9 +8,8 @@ PACKAGES = "\ ${PN}-dev \ " -FILES_${PN} = "${base_libdir}/libgcc*.so.*" +FILES_${PN} = "${base_libdir}/libgcc*" FILES_${PN}-dev = " \ - ${base_libdir}/libgcc*.so \ ${libdir}/${TARGET_SYS}/${BINV}/crt* \ ${libdir}/${TARGET_SYS}/${BINV}/libgcc*" @@ -29,9 +28,10 @@ do_install () { if [ -f ${D}${libdir}/nof/libgcc_s.so ]; then mv ${D}${libdir}/nof/libgcc* ${D}${base_libdir} else - mv ${D}${libdir}/libgcc* ${D}${base_libdir} || true + cp ${D}${libdir}/${TARGET_SYS}/${BINV}/libgcc* ${D}${base_libdir} fi + chown -R root:root ${D} chmod +x ${D}${base_libdir}/libgcc_s.so.* } -- 1.7.6.1 ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [RFC] Fix libgcc nativesdk to install libgcc.a in good location for tools 2011-10-27 3:07 ` [RFC] Fix libgcc nativesdk to install libgcc.a in good location for tools Matthew McClintock @ 2011-10-27 3:40 ` James Limbouris 2011-10-27 4:20 ` McClintock Matthew-B29882 2011-10-28 9:03 ` Richard Purdie 1 sibling, 1 reply; 11+ messages in thread From: James Limbouris @ 2011-10-27 3:40 UTC (permalink / raw) To: Patches and discussions about the oe-core layer > -----Original Message----- > From: openembedded-core-bounces@lists.openembedded.org > [mailto:openembedded-core-bounces@lists.openembedded.org] On Behalf Of > Matthew McClintock > Sent: Thursday, 27 October 2011 11:07 AM > To: openembedded-core@lists.openembedded.org > Subject: [OE-core] [RFC] Fix libgcc nativesdk to install libgcc.a in good location > for tools > > This fixes an issue where we cannot find -lgcc when linking. We > update the path to libgcc.a so the library can be installed > correctly > > Signed-off-by: Matthew McClintock <msm@freescale.com> > --- > I really doubt this is the correct fix and I'm no expert but it's > here for comments. This fixes a real u-boot cross compile build > issue > > The previous mv command was failing as the files did not exist > and I also rejiggered the packages since I was not sure if > gdb-cross-canadian-powerpc-dev was included in my tarball of > the toolchain > > meta/recipes-devtools/gcc/libgcc_4.6.bb | 6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/meta/recipes-devtools/gcc/libgcc_4.6.bb b/meta/recipes- > devtools/gcc/libgcc_4.6.bb > index 63a46ec..7f3ac55 100644 > --- a/meta/recipes-devtools/gcc/libgcc_4.6.bb > +++ b/meta/recipes-devtools/gcc/libgcc_4.6.bb > @@ -8,9 +8,8 @@ PACKAGES = "\ > ${PN}-dev \ > " > > -FILES_${PN} = "${base_libdir}/libgcc*.so.*" > +FILES_${PN} = "${base_libdir}/libgcc*" > FILES_${PN}-dev = " \ > - ${base_libdir}/libgcc*.so \ > ${libdir}/${TARGET_SYS}/${BINV}/crt* \ > ${libdir}/${TARGET_SYS}/${BINV}/libgcc*" > > @@ -29,9 +28,10 @@ do_install () { > if [ -f ${D}${libdir}/nof/libgcc_s.so ]; then > mv ${D}${libdir}/nof/libgcc* ${D}${base_libdir} > else > - mv ${D}${libdir}/libgcc* ${D}${base_libdir} || true > + cp ${D}${libdir}/${TARGET_SYS}/${BINV}/libgcc* > ${D}${base_libdir} > fi > > + > chown -R root:root ${D} > chmod +x ${D}${base_libdir}/libgcc_s.so.* > } > -- > 1.7.6.1 > Is this perhaps related to the following issue: http://lists.linuxtogo.org/pipermail/openembedded-core/2011-October/011556.html ? Some builds had trouble finding libgcc due to a sysroot misconfiguration, which has since been fixed in master. James ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [RFC] Fix libgcc nativesdk to install libgcc.a in good location for tools 2011-10-27 3:40 ` James Limbouris @ 2011-10-27 4:20 ` McClintock Matthew-B29882 0 siblings, 0 replies; 11+ messages in thread From: McClintock Matthew-B29882 @ 2011-10-27 4:20 UTC (permalink / raw) To: Patches and discussions about the oe-core layer On Wed, Oct 26, 2011 at 10:40 PM, James Limbouris <james@digitalmatter.com.au> wrote: >> -----Original Message----- >> From: openembedded-core-bounces@lists.openembedded.org >> [mailto:openembedded-core-bounces@lists.openembedded.org] On Behalf Of >> Matthew McClintock >> Sent: Thursday, 27 October 2011 11:07 AM >> To: openembedded-core@lists.openembedded.org >> Subject: [OE-core] [RFC] Fix libgcc nativesdk to install libgcc.a in good location >> for tools >> >> This fixes an issue where we cannot find -lgcc when linking. We >> update the path to libgcc.a so the library can be installed >> correctly >> >> Signed-off-by: Matthew McClintock <msm@freescale.com> >> --- >> I really doubt this is the correct fix and I'm no expert but it's >> here for comments. This fixes a real u-boot cross compile build >> issue >> >> The previous mv command was failing as the files did not exist >> and I also rejiggered the packages since I was not sure if >> gdb-cross-canadian-powerpc-dev was included in my tarball of >> the toolchain >> >> meta/recipes-devtools/gcc/libgcc_4.6.bb | 6 +++--- >> 1 files changed, 3 insertions(+), 3 deletions(-) >> >> diff --git a/meta/recipes-devtools/gcc/libgcc_4.6.bb b/meta/recipes- >> devtools/gcc/libgcc_4.6.bb >> index 63a46ec..7f3ac55 100644 >> --- a/meta/recipes-devtools/gcc/libgcc_4.6.bb >> +++ b/meta/recipes-devtools/gcc/libgcc_4.6.bb >> @@ -8,9 +8,8 @@ PACKAGES = "\ >> ${PN}-dev \ >> " >> >> -FILES_${PN} = "${base_libdir}/libgcc*.so.*" >> +FILES_${PN} = "${base_libdir}/libgcc*" >> FILES_${PN}-dev = " \ >> - ${base_libdir}/libgcc*.so \ >> ${libdir}/${TARGET_SYS}/${BINV}/crt* \ >> ${libdir}/${TARGET_SYS}/${BINV}/libgcc*" >> >> @@ -29,9 +28,10 @@ do_install () { >> if [ -f ${D}${libdir}/nof/libgcc_s.so ]; then >> mv ${D}${libdir}/nof/libgcc* ${D}${base_libdir} >> else >> - mv ${D}${libdir}/libgcc* ${D}${base_libdir} || true >> + cp ${D}${libdir}/${TARGET_SYS}/${BINV}/libgcc* >> ${D}${base_libdir} >> fi >> >> + >> chown -R root:root ${D} >> chmod +x ${D}${base_libdir}/libgcc_s.so.* >> } >> -- >> 1.7.6.1 >> > > Is this perhaps related to the following issue: http://lists.linuxtogo.org/pipermail/openembedded-core/2011-October/011556.html ? > Some builds had trouble finding libgcc due to a sysroot misconfiguration, which has since been fixed in master. I applied this patch first. It did not fix my toolchain. The recipe above still is looking for this file '${D}${libdir}/libgcc*' before my patch - when that folder does not even exist and it's actually '${D}${libdir}/${TARGET_SYS}/${BINV}/libgcc*'. It's worth noting that FILES_${PN} is referencing the path where a file actually exists, which makes me wonder why they are different, esp. since these two lines were added in the same patch. -M -M ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [RFC] Fix libgcc nativesdk to install libgcc.a in good location for tools 2011-10-27 3:07 ` [RFC] Fix libgcc nativesdk to install libgcc.a in good location for tools Matthew McClintock 2011-10-27 3:40 ` James Limbouris @ 2011-10-28 9:03 ` Richard Purdie 2011-10-28 19:35 ` McClintock Matthew-B29882 2011-10-28 19:36 ` McClintock Matthew-B29882 1 sibling, 2 replies; 11+ messages in thread From: Richard Purdie @ 2011-10-28 9:03 UTC (permalink / raw) To: Patches and discussions about the oe-core layer On Wed, 2011-10-26 at 22:07 -0500, Matthew McClintock wrote: > This fixes an issue where we cannot find -lgcc when linking. We > update the path to libgcc.a so the library can be installed > correctly > > Signed-off-by: Matthew McClintock <msm@freescale.com> > --- > I really doubt this is the correct fix and I'm no expert but it's > here for comments. This fixes a real u-boot cross compile build > issue This patch looks very very confused to me. Firstly your subject summary talks about libgcc-nativesdk. This is the compiler used to generate binaries for SDKMACHINE so I seriously doubt you're using nativesdk to build uboot. > The previous mv command was failing as the files did not exist > and I also rejiggered the packages since I was not sure if > gdb-cross-canadian-powerpc-dev was included in my tarball of > the toolchain > > meta/recipes-devtools/gcc/libgcc_4.6.bb | 6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/meta/recipes-devtools/gcc/libgcc_4.6.bb b/meta/recipes-devtools/gcc/libgcc_4.6.bb > index 63a46ec..7f3ac55 100644 > --- a/meta/recipes-devtools/gcc/libgcc_4.6.bb > +++ b/meta/recipes-devtools/gcc/libgcc_4.6.bb > @@ -8,9 +8,8 @@ PACKAGES = "\ > ${PN}-dev \ > " > > -FILES_${PN} = "${base_libdir}/libgcc*.so.*" > +FILES_${PN} = "${base_libdir}/libgcc*" This is changing the packging of libgcc too, not just libgcc-nativesdk. It is not correct to be putting the dynamic linking symlinks in anything but the -dev package so the above and the line below are therefore wrong too. > FILES_${PN}-dev = " \ > - ${base_libdir}/libgcc*.so \ > ${libdir}/${TARGET_SYS}/${BINV}/crt* \ > ${libdir}/${TARGET_SYS}/${BINV}/libgcc*" > > @@ -29,9 +28,10 @@ do_install () { > if [ -f ${D}${libdir}/nof/libgcc_s.so ]; then > mv ${D}${libdir}/nof/libgcc* ${D}${base_libdir} > else > - mv ${D}${libdir}/libgcc* ${D}${base_libdir} || true > + cp ${D}${libdir}/${TARGET_SYS}/${BINV}/libgcc* ${D}${base_libdir} > fi Equally, you're moving a static library from the -dev package into the main package which is wrong, you only need that if you're doing development. Are you sure your problem is not that you didn't have the libgcc-dev package installed? Cheers, Richard ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [RFC] Fix libgcc nativesdk to install libgcc.a in good location for tools 2011-10-28 9:03 ` Richard Purdie @ 2011-10-28 19:35 ` McClintock Matthew-B29882 2011-10-28 19:36 ` McClintock Matthew-B29882 1 sibling, 0 replies; 11+ messages in thread From: McClintock Matthew-B29882 @ 2011-10-28 19:35 UTC (permalink / raw) To: Patches and discussions about the oe-core layer On Fri, Oct 28, 2011 at 4:03 AM, Richard Purdie <richard.purdie@linuxfoundation.org> wrote: > On Wed, 2011-10-26 at 22:07 -0500, Matthew McClintock wrote: >> This fixes an issue where we cannot find -lgcc when linking. We >> update the path to libgcc.a so the library can be installed >> correctly >> >> Signed-off-by: Matthew McClintock <msm@freescale.com> >> --- >> I really doubt this is the correct fix and I'm no expert but it's >> here for comments. This fixes a real u-boot cross compile build >> issue > > This patch looks very very confused to me. Firstly your subject summary > talks about libgcc-nativesdk. This is the compiler used to generate > binaries for SDKMACHINE so I seriously doubt you're using nativesdk to > build uboot. > >> The previous mv command was failing as the files did not exist >> and I also rejiggered the packages since I was not sure if >> gdb-cross-canadian-powerpc-dev was included in my tarball of >> the toolchain >> >> meta/recipes-devtools/gcc/libgcc_4.6.bb | 6 +++--- >> 1 files changed, 3 insertions(+), 3 deletions(-) >> >> diff --git a/meta/recipes-devtools/gcc/libgcc_4.6.bb b/meta/recipes-devtools/gcc/libgcc_4.6.bb >> index 63a46ec..7f3ac55 100644 >> --- a/meta/recipes-devtools/gcc/libgcc_4.6.bb >> +++ b/meta/recipes-devtools/gcc/libgcc_4.6.bb >> @@ -8,9 +8,8 @@ PACKAGES = "\ >> ${PN}-dev \ >> " >> >> -FILES_${PN} = "${base_libdir}/libgcc*.so.*" >> +FILES_${PN} = "${base_libdir}/libgcc*" > > This is changing the packging of libgcc too, not just libgcc-nativesdk. > It is not correct to be putting the dynamic linking symlinks in anything > but the -dev package so the above and the line below are therefore wrong > too. > >> FILES_${PN}-dev = " \ >> - ${base_libdir}/libgcc*.so \ >> ${libdir}/${TARGET_SYS}/${BINV}/crt* \ >> ${libdir}/${TARGET_SYS}/${BINV}/libgcc*" >> >> @@ -29,9 +28,10 @@ do_install () { >> if [ -f ${D}${libdir}/nof/libgcc_s.so ]; then >> mv ${D}${libdir}/nof/libgcc* ${D}${base_libdir} >> else >> - mv ${D}${libdir}/libgcc* ${D}${base_libdir} || true >> + cp ${D}${libdir}/${TARGET_SYS}/${BINV}/libgcc* ${D}${base_libdir} >> fi > > Equally, you're moving a static library from the -dev package into the > main package which is wrong, you only need that if you're doing > development. > > Are you sure your problem is not that you didn't have the libgcc-dev > package installed? Yes, it turns out I was having some build issues with my environment. I changed branches in the middle of a build inadvertently and it screwed everything up. After a clean build, the toolchain finds libgcc.a if I apply this patch to the edison branch: commit f8b94b106f93d33d6ca1a87ac14d710772d77c67 Author: Khem Raj <raj.khem@gmail.com> Date: Thu Oct 20 22:28:42 2011 -0700 gcc-configure-sdk: Point sysroot to correct location (From OE-Core rev: c9883733fed9267b1a936c08500a4caf8dc52d3d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Sorry for the noise. Please ignore this. -M ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [RFC] Fix libgcc nativesdk to install libgcc.a in good location for tools 2011-10-28 9:03 ` Richard Purdie 2011-10-28 19:35 ` McClintock Matthew-B29882 @ 2011-10-28 19:36 ` McClintock Matthew-B29882 1 sibling, 0 replies; 11+ messages in thread From: McClintock Matthew-B29882 @ 2011-10-28 19:36 UTC (permalink / raw) To: Patches and discussions about the oe-core layer On Fri, Oct 28, 2011 at 4:03 AM, Richard Purdie <richard.purdie@linuxfoundation.org> wrote: > On Wed, 2011-10-26 at 22:07 -0500, Matthew McClintock wrote: >> This fixes an issue where we cannot find -lgcc when linking. We >> update the path to libgcc.a so the library can be installed >> correctly >> >> Signed-off-by: Matthew McClintock <msm@freescale.com> >> --- >> I really doubt this is the correct fix and I'm no expert but it's >> here for comments. This fixes a real u-boot cross compile build >> issue > > This patch looks very very confused to me. Firstly your subject summary > talks about libgcc-nativesdk. This is the compiler used to generate > binaries for SDKMACHINE so I seriously doubt you're using nativesdk to > build uboot. Was referring to building a standalone u-boot with a toolchain generated by poky. -M ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2011-10-28 19:42 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-08-10 4:20 finding libgcc.a with meta-toolchain-sdk toolchain Kumar Gala 2011-08-10 6:54 ` Khem Raj 2011-08-10 9:19 ` Phil Blundell 2011-08-10 12:43 ` Kumar Gala 2011-08-10 12:50 ` Phil Blundell 2011-10-27 3:07 ` [RFC] Fix libgcc nativesdk to install libgcc.a in good location for tools Matthew McClintock 2011-10-27 3:40 ` James Limbouris 2011-10-27 4:20 ` McClintock Matthew-B29882 2011-10-28 9:03 ` Richard Purdie 2011-10-28 19:35 ` McClintock Matthew-B29882 2011-10-28 19:36 ` McClintock Matthew-B29882
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox