All of lore.kernel.org
 help / color / mirror / Atom feed
* sysroot question
@ 2011-01-17 19:46 Zhang, Jessica
  2011-01-17 20:01 ` Mark Hatle
  0 siblings, 1 reply; 9+ messages in thread
From: Zhang, Jessica @ 2011-01-17 19:46 UTC (permalink / raw)
  To: Purdie, Richard; +Cc: poky


[-- Attachment #1.1: Type: text/plain, Size: 1074 bytes --]

Hi Richard,
 
While testing the sysroot setup, I noticed there're some variation between
the sysroot that built by meta-toolchain and qemu-image-sdk.  For example,
limits.h, if I search for it under the meta-toolchain sysroot, I got the
following:
 
jzhang@jzhang-desktop:/opt/poky/0.9+snapshot$ find . -name limits.h
./sysroots/i586-poky-linux/usr/include/limits.h
./sysroots/i586-poky-linux/usr/include/linux/limits.h
./sysroots/i586-poky-linux/usr/include/c++/tr1/limits.h
./sysroots/i686-pokysdk-linux/usr/lib/i586-poky-linux/gcc/i586-poky-linux/4.
5.1/include-fixed/limits.h
./sysroots/i686-pokysdk-linux/usr/include/limits.h

 
and the sysroot extract from qemu-image-sdk, gave me this:
 
jzhang@jzhang-desktop:~/qemu-x86$ find . -name limits.h
./usr/lib/gcc/i586-poky-linux/4.5.1/include-fixed/limits.h
./usr/include/c++/tr1/limits.h
./usr/include/limits.h

This caused problem in test programs of suduku which looking for
<linux/limits.h>.  The question is where should I look that cause the
sysroot content variation?
 
Thanks,
Jessica

[-- Attachment #1.2: Type: text/html, Size: 2567 bytes --]

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 8455 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread
* sysroot question
@ 2017-02-08 10:42 Gary Thomas
  2017-02-08 11:12 ` Gary Thomas
  0 siblings, 1 reply; 9+ messages in thread
From: Gary Thomas @ 2017-02-08 10:42 UTC (permalink / raw)
  To: yocto

I had a recipe that used to work and now fails after the change
to the split sysroots.  I'm building an out-of-tree kernel module
and patterned my recipe after the meta-skeleton example. My recipe
has this setup:

inherit module-base kernel-module-split

do_compile() {
	unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
	oe_runmake KERNEL_PATH=${STAGING_KERNEL_DIR}   \
		   KERNEL_VERSION=${KERNEL_VERSION}    \
		   CC="${KERNEL_CC}" LD="${KERNEL_LD}" \
		   AR="${KERNEL_AR}" \
	           O=${STAGING_KERNEL_BUILDDIR} \
		   install
}

The problem is that ${CC} (arm-amltd-linux-gnueabi-gcc) can no longer be
found.  I know it's available, just not sure what needs to change to be
able to find it.

$ find tmp/work/teton_p7618-amltd-linux-gnueabi/my-module/ -name "arm*gcc"
tmp/work/teton_p7618-amltd-linux-gnueabi/my-module/5.2.2-r2-r0/recipe-sysroot-native/usr/libexec/arm-amltd-linux-gnueabi/gcc/arm-amltd-linux-gnueabi/5.4.0/arm-amltd-linux-gnueabi-gcc
tmp/work/teton_p7618-amltd-linux-gnueabi/my-module/5.2.2-r2-r0/recipe-sysroot-native/usr/bin/arm-amltd-linux-gnueabi/arm-amltd-linux-gnueabi-gcc


Any suggestions on how I fix this?

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-02-09  8:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-17 19:46 sysroot question Zhang, Jessica
2011-01-17 20:01 ` Mark Hatle
2017-02-08 10:42 Gary Thomas
2017-02-08 11:12 ` Gary Thomas
2017-02-08 13:57   ` Joshua Lock
2017-02-08 19:36   ` Paul Eggleton
2017-02-09  4:23     ` Gary Thomas
2017-02-09  7:49       ` Anders Darander
2017-02-09  8:04         ` Gary Thomas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.