All of lore.kernel.org
 help / color / mirror / Atom feed
* Compiling with internal toolchain
@ 2016-03-02 14:01 anton.gerasimov
  2016-03-02 15:08 ` Denys Dmytriyenko
  0 siblings, 1 reply; 4+ messages in thread
From: anton.gerasimov @ 2016-03-02 14:01 UTC (permalink / raw)
  To: meta-arago

I'm trying to compile arago-test-image for varsomam33 machine and arago 
distro with internal toolchain. When bitbake reaches cmem_mod, I get the 
following error "make[3]: arm-oe-linuxeabi-gcc: Command not found".
And arm-oe-linuxeabi-gcc is really not built, real target toolchain is 
called arm-oe-linux-gnueabi-gcc.
After running bitbake -e I see that arm-oe-linuxeabi is the value of 
TOOLCHAIN_SYS:

# $TOOLCHAIN_SYS
#   immediate 
/home/a-gerasimov/Yocto/meta-arago/meta-arago-distro/conf/distro/include/toolchain-gcc.inc:6
#     "${TARGET_SYS}"
TOOLCHAIN_SYS="arm-oe-linuxeabi"

But TARGET_SYS is set to arm-oe-linux-gnueabi:

# $TARGET_SYS [2 operations]
#   set /home/a-gerasimov/Yocto/poky/meta/conf/bitbake.conf:118
#     "${TARGET_ARCH}${TARGET_VENDOR}${@['-' + d.getVar('TARGET_OS', 
True), ''][d.getVar('TARGET_OS', True) == ('' or 'custom')]}"
#   set /home/a-gerasimov/Yocto/poky/meta/conf/documentation.conf:415
#     [doc] "The target system is comprised of TARGET_ARCH,TARGET_VENDOR 
and TARGET_OS."
# pre-expansion value:
#   "${TARGET_ARCH}${TARGET_VENDOR}${@['-' + d.getVar('TARGET_OS', 
True), ''][d.getVar('TARGET_OS', True) == ('' or 'custom')]}"
TARGET_SYS="arm-oe-linux-gnueabi"

It seems that for some reason when toolchain-gcc.inc is included into 
distro/arago.conf, TARGET_SYS is set to some weird value, not the one 
that is set by bitbake.conf. Do you have any ideas about how that is 
possible and how it can be debugged.
Thank you!


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

* Re: Compiling with internal toolchain
  2016-03-02 14:01 Compiling with internal toolchain anton.gerasimov
@ 2016-03-02 15:08 ` Denys Dmytriyenko
  2016-03-02 15:46   ` anton.gerasimov
  0 siblings, 1 reply; 4+ messages in thread
From: Denys Dmytriyenko @ 2016-03-02 15:08 UTC (permalink / raw)
  To: anton.gerasimov; +Cc: meta-arago

On Wed, Mar 02, 2016 at 05:01:17PM +0300, anton.gerasimov@openmailbox.org wrote:
> I'm trying to compile arago-test-image for varsomam33 machine and
> arago distro with internal toolchain. When bitbake reaches cmem_mod,

How do you select internal toolchain?


> I get the following error "make[3]: arm-oe-linuxeabi-gcc: Command
> not found".
> And arm-oe-linuxeabi-gcc is really not built, real target toolchain
> is called arm-oe-linux-gnueabi-gcc.
> After running bitbake -e I see that arm-oe-linuxeabi is the value of
> TOOLCHAIN_SYS:
> 
> # $TOOLCHAIN_SYS
> #   immediate /home/a-gerasimov/Yocto/meta-arago/meta-arago-distro/conf/distro/include/toolchain-gcc.inc:6
> #     "${TARGET_SYS}"
> TOOLCHAIN_SYS="arm-oe-linuxeabi"
> 
> But TARGET_SYS is set to arm-oe-linux-gnueabi:
> 
> # $TARGET_SYS [2 operations]
> #   set /home/a-gerasimov/Yocto/poky/meta/conf/bitbake.conf:118
> #     "${TARGET_ARCH}${TARGET_VENDOR}${@['-' + d.getVar('TARGET_OS',
> True), ''][d.getVar('TARGET_OS', True) == ('' or 'custom')]}"
> #   set /home/a-gerasimov/Yocto/poky/meta/conf/documentation.conf:415
> #     [doc] "The target system is comprised of
> TARGET_ARCH,TARGET_VENDOR and TARGET_OS."
> # pre-expansion value:
> #   "${TARGET_ARCH}${TARGET_VENDOR}${@['-' + d.getVar('TARGET_OS',
> True), ''][d.getVar('TARGET_OS', True) == ('' or 'custom')]}"
> TARGET_SYS="arm-oe-linux-gnueabi"
> 
> It seems that for some reason when toolchain-gcc.inc is included
> into distro/arago.conf, TARGET_SYS is set to some weird value, not
> the one that is set by bitbake.conf. Do you have any ideas about how
> that is possible and how it can be debugged.
> Thank you!
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: Compiling with internal toolchain
  2016-03-02 15:08 ` Denys Dmytriyenko
@ 2016-03-02 15:46   ` anton.gerasimov
  2016-03-03 15:03     ` Denys Dmytriyenko
  0 siblings, 1 reply; 4+ messages in thread
From: anton.gerasimov @ 2016-03-02 15:46 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-arago

I set it in my local.conf. Here's the whole file (comments stripped):

BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"
PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"
MACHINE = "varsomam33"
DISTRO ?= "arago"
PACKAGE_CLASSES ?= "package_ipk"
EXTRA_IMAGE_FEATURES = "debug-tweaks"
IMAGE_INSTALL_append = " gdbserver"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
     STOPTASKS,${TMPDIR},1G,100K \
     STOPTASKS,${DL_DIR},1G,100K \
     STOPTASKS,${SSTATE_DIR},1G,100K \
     ABORT,${TMPDIR},100M,1K \
     ABORT,${DL_DIR},100M,1K \
     ABORT,${SSTATE_DIR},100M,1K"
PACKAGECONFIG_pn-qemu-native = "sdl"
PACKAGECONFIG_pn-nativesdk-qemu = "sdl"
ASSUME_PROVIDED += "libsdl-native"
CONF_VERSION = "1"
PRSERV_HOST = "localhost:0"
TOOLCHAIN_BRAND ?= "gcc"
TOOLCHAIN_TYPE ?= "internal"


On 2016-03-02 18:08, Denys Dmytriyenko wrote:
> On Wed, Mar 02, 2016 at 05:01:17PM +0300, 
> anton.gerasimov@openmailbox.org wrote:
>> I'm trying to compile arago-test-image for varsomam33 machine and
>> arago distro with internal toolchain. When bitbake reaches cmem_mod,
> 
> How do you select internal toolchain?
> 
> 
>> I get the following error "make[3]: arm-oe-linuxeabi-gcc: Command
>> not found".
>> And arm-oe-linuxeabi-gcc is really not built, real target toolchain
>> is called arm-oe-linux-gnueabi-gcc.
>> After running bitbake -e I see that arm-oe-linuxeabi is the value of
>> TOOLCHAIN_SYS:
>> 
>> # $TOOLCHAIN_SYS
>> #   immediate 
>> /home/a-gerasimov/Yocto/meta-arago/meta-arago-distro/conf/distro/include/toolchain-gcc.inc:6
>> #     "${TARGET_SYS}"
>> TOOLCHAIN_SYS="arm-oe-linuxeabi"
>> 
>> But TARGET_SYS is set to arm-oe-linux-gnueabi:
>> 
>> # $TARGET_SYS [2 operations]
>> #   set /home/a-gerasimov/Yocto/poky/meta/conf/bitbake.conf:118
>> #     "${TARGET_ARCH}${TARGET_VENDOR}${@['-' + d.getVar('TARGET_OS',
>> True), ''][d.getVar('TARGET_OS', True) == ('' or 'custom')]}"
>> #   set /home/a-gerasimov/Yocto/poky/meta/conf/documentation.conf:415
>> #     [doc] "The target system is comprised of
>> TARGET_ARCH,TARGET_VENDOR and TARGET_OS."
>> # pre-expansion value:
>> #   "${TARGET_ARCH}${TARGET_VENDOR}${@['-' + d.getVar('TARGET_OS',
>> True), ''][d.getVar('TARGET_OS', True) == ('' or 'custom')]}"
>> TARGET_SYS="arm-oe-linux-gnueabi"
>> 
>> It seems that for some reason when toolchain-gcc.inc is included
>> into distro/arago.conf, TARGET_SYS is set to some weird value, not
>> the one that is set by bitbake.conf. Do you have any ideas about how
>> that is possible and how it can be debugged.
>> Thank you!
>> _______________________________________________
>> meta-arago mailing list
>> meta-arago@arago-project.org
>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago



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

* Re: Compiling with internal toolchain
  2016-03-02 15:46   ` anton.gerasimov
@ 2016-03-03 15:03     ` Denys Dmytriyenko
  0 siblings, 0 replies; 4+ messages in thread
From: Denys Dmytriyenko @ 2016-03-03 15:03 UTC (permalink / raw)
  To: anton.gerasimov; +Cc: meta-arago

Sorry, I haven't tried internal toolchain lately - I'll have to look into 
this.

-- 
Denys


On Wed, Mar 02, 2016 at 06:46:55PM +0300, anton.gerasimov@openmailbox.org wrote:
> I set it in my local.conf. Here's the whole file (comments stripped):
> 
> BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"
> PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"
> MACHINE = "varsomam33"
> DISTRO ?= "arago"
> PACKAGE_CLASSES ?= "package_ipk"
> EXTRA_IMAGE_FEATURES = "debug-tweaks"
> IMAGE_INSTALL_append = " gdbserver"
> USER_CLASSES ?= "buildstats image-mklibs image-prelink"
> PATCHRESOLVE = "noop"
> BB_DISKMON_DIRS = "\
>     STOPTASKS,${TMPDIR},1G,100K \
>     STOPTASKS,${DL_DIR},1G,100K \
>     STOPTASKS,${SSTATE_DIR},1G,100K \
>     ABORT,${TMPDIR},100M,1K \
>     ABORT,${DL_DIR},100M,1K \
>     ABORT,${SSTATE_DIR},100M,1K"
> PACKAGECONFIG_pn-qemu-native = "sdl"
> PACKAGECONFIG_pn-nativesdk-qemu = "sdl"
> ASSUME_PROVIDED += "libsdl-native"
> CONF_VERSION = "1"
> PRSERV_HOST = "localhost:0"
> TOOLCHAIN_BRAND ?= "gcc"
> TOOLCHAIN_TYPE ?= "internal"
> 
> 
> On 2016-03-02 18:08, Denys Dmytriyenko wrote:
> >On Wed, Mar 02, 2016 at 05:01:17PM +0300,
> >anton.gerasimov@openmailbox.org wrote:
> >>I'm trying to compile arago-test-image for varsomam33 machine and
> >>arago distro with internal toolchain. When bitbake reaches cmem_mod,
> >
> >How do you select internal toolchain?
> >
> >
> >>I get the following error "make[3]: arm-oe-linuxeabi-gcc: Command
> >>not found".
> >>And arm-oe-linuxeabi-gcc is really not built, real target toolchain
> >>is called arm-oe-linux-gnueabi-gcc.
> >>After running bitbake -e I see that arm-oe-linuxeabi is the value of
> >>TOOLCHAIN_SYS:
> >>
> >># $TOOLCHAIN_SYS
> >>#   immediate /home/a-gerasimov/Yocto/meta-arago/meta-arago-distro/conf/distro/include/toolchain-gcc.inc:6
> >>#     "${TARGET_SYS}"
> >>TOOLCHAIN_SYS="arm-oe-linuxeabi"
> >>
> >>But TARGET_SYS is set to arm-oe-linux-gnueabi:
> >>
> >># $TARGET_SYS [2 operations]
> >>#   set /home/a-gerasimov/Yocto/poky/meta/conf/bitbake.conf:118
> >>#     "${TARGET_ARCH}${TARGET_VENDOR}${@['-' + d.getVar('TARGET_OS',
> >>True), ''][d.getVar('TARGET_OS', True) == ('' or 'custom')]}"
> >>#   set /home/a-gerasimov/Yocto/poky/meta/conf/documentation.conf:415
> >>#     [doc] "The target system is comprised of
> >>TARGET_ARCH,TARGET_VENDOR and TARGET_OS."
> >># pre-expansion value:
> >>#   "${TARGET_ARCH}${TARGET_VENDOR}${@['-' + d.getVar('TARGET_OS',
> >>True), ''][d.getVar('TARGET_OS', True) == ('' or 'custom')]}"
> >>TARGET_SYS="arm-oe-linux-gnueabi"
> >>
> >>It seems that for some reason when toolchain-gcc.inc is included
> >>into distro/arago.conf, TARGET_SYS is set to some weird value, not
> >>the one that is set by bitbake.conf. Do you have any ideas about how
> >>that is possible and how it can be debugged.
> >>Thank you!
> >>_______________________________________________
> >>meta-arago mailing list
> >>meta-arago@arago-project.org
> >>http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> 


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

end of thread, other threads:[~2016-03-03 15:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-02 14:01 Compiling with internal toolchain anton.gerasimov
2016-03-02 15:08 ` Denys Dmytriyenko
2016-03-02 15:46   ` anton.gerasimov
2016-03-03 15:03     ` Denys Dmytriyenko

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.