* [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
@ 2015-03-10 13:13 Carlos Hernandez
2015-03-10 16:19 ` Denys Dmytriyenko
2015-03-11 23:53 ` [PATCH] " Denys Dmytriyenko
0 siblings, 2 replies; 24+ messages in thread
From: Carlos Hernandez @ 2015-03-10 13:13 UTC (permalink / raw)
To: meta-arago
Latest ltp release was recently merge to ltp-ddt and there is a new
way to configure and compile ltp-ddt.
Signed-off-by: Carlos Hernandez <ceh@ti.com>
---
| 33 ++++++++
.../recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb | 87 ++++++++++++++++++++++
2 files changed, 120 insertions(+)
create mode 100644 meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Make-sure-to-include-generated-header.patch
create mode 100644 meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
--git a/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Make-sure-to-include-generated-header.patch b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Make-sure-to-include-generated-header.patch
new file mode 100644
index 0000000..31df16d
--- /dev/null
+++ b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Make-sure-to-include-generated-header.patch
@@ -0,0 +1,33 @@
+From 4a8f24892514cd5e4d11b9105c843db49eea921b Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Wed, 19 Feb 2014 19:41:33 -0800
+Subject: [PATCH] wdt_test_suite: Make sure to include generated headers
+
+This makes sure that its using the generated headers
+and not the raw headers from kernel, generated headers
+are built for the given machine already when kernel is
+built and are available in configured/compiled kernel tree
+already
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ testcases/ddt/wdt_test_suite/Makefile | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/testcases/ddt/wdt_test_suite/Makefile b/testcases/ddt/wdt_test_suite/Makefile
+index 90a6a90..22a1cfd 100644
+--- a/testcases/ddt/wdt_test_suite/Makefile
++++ b/testcases/ddt/wdt_test_suite/Makefile
+@@ -20,8 +20,8 @@ INCLUDES = -I $(KERNEL_INC) -I src/interface/common -I ../utils/user
+ INCLUDES = -I src/parser \
+ -I src/interface/common \
+ -I ../utils/user \
+- -I $(KERNEL_INC)/include \
+- -I $(KERNEL_INC)/arch/arm/include
++ -I $(KERNEL_INC)/include/generated \
++ -I $(KERNEL_INC)/arch/arm/include/generated \
+
+#List of source files- Update this on adding a new C file
+ SOURCES := \
+--
+1.9.0
diff --git a/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
new file mode 100644
index 0000000..c321242
--- /dev/null
+++ b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
@@ -0,0 +1,87 @@
+SUMMARY = "Embedded Linux Device Driver Tests based on Linux Test Project"
+HOMEPAGE = "http://arago-project.org/git/projects/test-automation/ltp-ddt.git"
+SECTION = "console/utils"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
+PR = "r1"
+
+PROVIDES += "ltp"
+DEPENDS += "zip-native virtual/kernel alsa-lib"
+
+inherit autotools module-base kernel-module-split
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+SRCREV = "ltp-ddt_1.0.0"
+BRANCH ?= "master"
+
+SRC_URI = "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH} \
+ file://0001-wdt_test_suite-Make-sure-to-include-generated-header.patch \
+ "
+
+S = "${WORKDIR}/git"
+
+LTPROOT = "/opt/ltp"
+
+EXTRA_OEMAKE_append = " \
+ prefix=${LTPROOT} \
+ CROSS_COMPILE=${HOST_PREFIX} \
+ SKIP_IDCHECK=1 \
+ KERNEL_INC=${STAGING_KERNEL_DIR} \
+ KERNEL_USR_INC=${STAGING_INCDIR} \
+ ALSA_INCPATH=${STAGING_INCDIR} \
+ ALSA_LIBPATH=${STAGING_LIBDIR} \
+ PLATFORM=${MACHINE} \
+ RANLIB=${RANLIB} \
+"
+
+TARGET_CC_ARCH += "${LDFLAGS}"
+
+FILES_${PN}-dbg += " \
+ ${LTPROOT}/.debug \
+ ${LTPROOT}/bin/.debug \
+ ${LTPROOT}/runtest/.debug \
+ ${LTPROOT}/testcases/bin/.debug \
+ ${LTPROOT}/testcases/bin/*/bin/.debug \
+ ${LTPROOT}/testcases/bin/*/test/.debug \
+ ${LTPROOT}/testcases/bin/ddt/.debug \
+ ${LTPROOT}/testcases/bin/ddt/*/bin/.debug \
+ ${LTPROOT}/testcases/bin/ddt/*/test/.debug \
+ ${LTPROOT}/testcases/realtime/*/*/.debug \
+"
+
+FILES_${PN}-staticdev += "${LTPROOT}/lib"
+FILES_${PN} += "${LTPROOT}/*"
+
+# ltp doesn't regenerate ffsb-6.0-rc2 configure and hardcode configure call.
+# we explicitly force regeneration of that directory and pass configure options.
+do_configure_append() {
+ (cd utils/ffsb-6.0-rc2; autoreconf -fvi; ./configure ${CONFIGUREOPTS})
+}
+
+kmoddir = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/ddt"
+
+do_compile_append () {
+ unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+ oe_runmake KERNEL_CC="${KERNEL_CC}" DESTDIR=${D} modules
+}
+
+do_install() {
+ oe_runmake DESTDIR=${D} install
+ install -d ${D}${datadir}
+ install -d ${D}${kmoddir}
+ mv ${D}${LTPROOT}/testcases/bin/ddt/*.ko ${D}${kmoddir}
+}
+
+PR_append = "-arago10+gitr${SRCPV}"
+
+RDEPENDS_${PN} += "linaro-pm-qa-utils serialcheck"
+
+EXTRA_OEMAKE += "KERNEL_PATH="${STAGING_KERNEL_DIR}""
+
+KERNEL_MODULES_META_PACKAGE = "${PN}"
+
+# do_make_scripts should be a separate task for the lock to work
+addtask make_scripts before do_compile
+do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock"
+do_make_scripts[deptask] = "do_populate_sysroot"
--
1.9.1
^ permalink raw reply related [flat|nested] 24+ messages in thread
* Re: [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
2015-03-10 13:13 [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe Carlos Hernandez
@ 2015-03-10 16:19 ` Denys Dmytriyenko
2015-03-10 20:48 ` [PATCH v2] " Carlos Hernandez
2015-03-11 23:53 ` [PATCH] " Denys Dmytriyenko
1 sibling, 1 reply; 24+ messages in thread
From: Denys Dmytriyenko @ 2015-03-10 16:19 UTC (permalink / raw)
To: Carlos Hernandez; +Cc: meta-arago
On Tue, Mar 10, 2015 at 09:13:33AM -0400, Carlos Hernandez wrote:
> Latest ltp release was recently merge to ltp-ddt and there is a new
> way to configure and compile ltp-ddt.
Thanks, Carlos! Few comments inline.
> Signed-off-by: Carlos Hernandez <ceh@ti.com>
> ---
> ...ite-Make-sure-to-include-generated-header.patch | 33 ++++++++
> .../recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb | 87 ++++++++++++++++++++++
> 2 files changed, 120 insertions(+)
> create mode 100644 meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Make-sure-to-include-generated-header.patch
> create mode 100644 meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
>
> diff --git a/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Make-sure-to-include-generated-header.patch b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Make-sure-to-include-generated-header.patch
First of all, this should probably go to meta-arago-extras, if not even to
meta-ti... Although, if the plan is to upstream it to meta-openembedded, then
meta-arago-extras should be fine as temp location.
> new file mode 100644
> index 0000000..31df16d
> --- /dev/null
> +++ b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Make-sure-to-include-generated-header.patch
> @@ -0,0 +1,33 @@
> +From 4a8f24892514cd5e4d11b9105c843db49eea921b Mon Sep 17 00:00:00 2001
> +From: Khem Raj <raj.khem@gmail.com>
> +Date: Wed, 19 Feb 2014 19:41:33 -0800
> +Subject: [PATCH] wdt_test_suite: Make sure to include generated headers
> +
> +This makes sure that its using the generated headers
> +and not the raw headers from kernel, generated headers
> +are built for the given machine already when kernel is
> +built and are available in configured/compiled kernel tree
> +already
Have you looked into merging this patch back to ltp-ddt Makefile? Will it
break your regular outside of OE builds?
> +Signed-off-by: Khem Raj <raj.khem@gmail.com>
> +---
> + testcases/ddt/wdt_test_suite/Makefile | 4 ++--
> + 1 file changed, 2 insertions(+), 2 deletions(-)
> +
> +diff --git a/testcases/ddt/wdt_test_suite/Makefile b/testcases/ddt/wdt_test_suite/Makefile
> +index 90a6a90..22a1cfd 100644
> +--- a/testcases/ddt/wdt_test_suite/Makefile
> ++++ b/testcases/ddt/wdt_test_suite/Makefile
> +@@ -20,8 +20,8 @@ INCLUDES = -I $(KERNEL_INC) -I src/interface/common -I ../utils/user
> + INCLUDES = -I src/parser \
> + -I src/interface/common \
> + -I ../utils/user \
> +- -I $(KERNEL_INC)/include \
> +- -I $(KERNEL_INC)/arch/arm/include
> ++ -I $(KERNEL_INC)/include/generated \
> ++ -I $(KERNEL_INC)/arch/arm/include/generated \
> +
> +#List of source files- Update this on adding a new C file
> + SOURCES := \
> +--
> +1.9.0
> diff --git a/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
> new file mode 100644
> index 0000000..c321242
> --- /dev/null
> +++ b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
> @@ -0,0 +1,87 @@
> +SUMMARY = "Embedded Linux Device Driver Tests based on Linux Test Project"
> +HOMEPAGE = "http://arago-project.org/git/projects/test-automation/ltp-ddt.git"
> +SECTION = "console/utils"
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
> +PR = "r1"
> +
> +PROVIDES += "ltp"
> +DEPENDS += "zip-native virtual/kernel alsa-lib"
> +
> +inherit autotools module-base kernel-module-split
> +
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
> +SRCREV = "ltp-ddt_1.0.0"
It's not recommended to use git tags in SRCREV, as those would need to be
resolved on every parsing, which is rather expensive and requires network
connection at parsing time, even if you don't want to build (i.e. bitbake -g
or -e mode). Please use the actual commid id hash for SRCREV - we've stoped
using tags in recipes some time ago.
> +BRANCH ?= "master"
> +
> +SRC_URI = "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH} \
> + file://0001-wdt_test_suite-Make-sure-to-include-generated-header.patch \
> + "
> +
> +S = "${WORKDIR}/git"
> +
> +LTPROOT = "/opt/ltp"
> +
> +EXTRA_OEMAKE_append = " \
> + prefix=${LTPROOT} \
> + CROSS_COMPILE=${HOST_PREFIX} \
> + SKIP_IDCHECK=1 \
> + KERNEL_INC=${STAGING_KERNEL_DIR} \
> + KERNEL_USR_INC=${STAGING_INCDIR} \
> + ALSA_INCPATH=${STAGING_INCDIR} \
> + ALSA_LIBPATH=${STAGING_LIBDIR} \
> + PLATFORM=${MACHINE} \
> + RANLIB=${RANLIB} \
> +"
> +
> +TARGET_CC_ARCH += "${LDFLAGS}"
> +
> +FILES_${PN}-dbg += " \
> + ${LTPROOT}/.debug \
> + ${LTPROOT}/bin/.debug \
> + ${LTPROOT}/runtest/.debug \
> + ${LTPROOT}/testcases/bin/.debug \
> + ${LTPROOT}/testcases/bin/*/bin/.debug \
> + ${LTPROOT}/testcases/bin/*/test/.debug \
> + ${LTPROOT}/testcases/bin/ddt/.debug \
> + ${LTPROOT}/testcases/bin/ddt/*/bin/.debug \
> + ${LTPROOT}/testcases/bin/ddt/*/test/.debug \
> + ${LTPROOT}/testcases/realtime/*/*/.debug \
> +"
> +
> +FILES_${PN}-staticdev += "${LTPROOT}/lib"
> +FILES_${PN} += "${LTPROOT}/*"
> +
> +# ltp doesn't regenerate ffsb-6.0-rc2 configure and hardcode configure call.
> +# we explicitly force regeneration of that directory and pass configure options.
> +do_configure_append() {
> + (cd utils/ffsb-6.0-rc2; autoreconf -fvi; ./configure ${CONFIGUREOPTS})
> +}
> +
> +kmoddir = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/ddt"
> +
> +do_compile_append () {
> + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
> + oe_runmake KERNEL_CC="${KERNEL_CC}" DESTDIR=${D} modules
> +}
> +
> +do_install() {
> + oe_runmake DESTDIR=${D} install
> + install -d ${D}${datadir}
> + install -d ${D}${kmoddir}
> + mv ${D}${LTPROOT}/testcases/bin/ddt/*.ko ${D}${kmoddir}
> +}
> +
> +PR_append = "-arago10+gitr${SRCPV}"
And this will go into meta-arago-distro/.../*.bbappend, unless you want the
+gitr${SRCPV} portion to go in the main recipe, in which case should probably
be merged with the above PR assignment at the top.
> +RDEPENDS_${PN} += "linaro-pm-qa-utils serialcheck"
> +
> +EXTRA_OEMAKE += "KERNEL_PATH="${STAGING_KERNEL_DIR}""
Can you combine this EXTRA_OEMAKE with the one above in the recipe? I
understand this recipe combined the original bb and our arago bbappend, but
this is a good time to clean it up.
> +KERNEL_MODULES_META_PACKAGE = "${PN}"
BTW, would be better to move the above variables (RDEPENDS,
KERNEL_MODULES_META_PACKAGE, etc.) above the do_compile and do_install
functions for better readability.
> +# do_make_scripts should be a separate task for the lock to work
> +addtask make_scripts before do_compile
> +do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock"
> +do_make_scripts[deptask] = "do_populate_sysroot"
> --
> 1.9.1
>
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 24+ messages in thread
* [PATCH v2] recipes-devtools: New ltp-ddt_1.0.0 recipe
2015-03-10 16:19 ` Denys Dmytriyenko
@ 2015-03-10 20:48 ` Carlos Hernandez
0 siblings, 0 replies; 24+ messages in thread
From: Carlos Hernandez @ 2015-03-10 20:48 UTC (permalink / raw)
To: meta-arago
Latest ltp release was recently merge to ltp-ddt and there is a new
way to configure and compile ltp-ddt.
Signed-off-by: Carlos Hernandez <ceh@ti.com>
---
.../recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb | 84 ++++++++++++++++++++++
1 file changed, 84 insertions(+)
create mode 100644 meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
diff --git a/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
new file mode 100644
index 0000000..db66ed4
--- /dev/null
+++ b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
@@ -0,0 +1,84 @@
+SUMMARY = "Embedded Linux Device Driver Tests based on Linux Test Project"
+HOMEPAGE = "http://arago-project.org/git/projects/test-automation/ltp-ddt.git"
+SECTION = "console/utils"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
+
+PROVIDES += "ltp"
+DEPENDS += "zip-native virtual/kernel alsa-lib"
+RDEPENDS_${PN} += "linaro-pm-qa-utils serialcheck"
+
+inherit autotools module-base kernel-module-split
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+SRCREV = "eef6281052f36f6fe41059eadcf3b4a94f0d85ea"
+BRANCH ?= "master"
+PR = "r1-arago10+gitr${SRCPV}"
+
+SRC_URI = "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH} \
+ "
+
+S = "${WORKDIR}/git"
+
+LTPROOT = "/opt/ltp"
+
+EXTRA_OEMAKE_append = " \
+ prefix=${LTPROOT} \
+ CROSS_COMPILE=${HOST_PREFIX} \
+ SKIP_IDCHECK=1 \
+ KERNEL_INC=${STAGING_KERNEL_DIR} \
+ KERNEL_USR_INC=${STAGING_INCDIR} \
+ ALSA_INCPATH=${STAGING_INCDIR} \
+ ALSA_LIBPATH=${STAGING_LIBDIR} \
+ PLATFORM=${MACHINE} \
+ RANLIB=${RANLIB} \
+ KERNEL_PATH=${STAGING_KERNEL_DIR} \
+"
+
+TARGET_CC_ARCH += "${LDFLAGS}"
+
+FILES_${PN}-dbg += " \
+ ${LTPROOT}/.debug \
+ ${LTPROOT}/bin/.debug \
+ ${LTPROOT}/runtest/.debug \
+ ${LTPROOT}/testcases/bin/.debug \
+ ${LTPROOT}/testcases/bin/*/bin/.debug \
+ ${LTPROOT}/testcases/bin/*/test/.debug \
+ ${LTPROOT}/testcases/bin/ddt/.debug \
+ ${LTPROOT}/testcases/bin/ddt/*/bin/.debug \
+ ${LTPROOT}/testcases/bin/ddt/*/test/.debug \
+ ${LTPROOT}/testcases/realtime/*/*/.debug \
+"
+
+FILES_${PN}-staticdev += "${LTPROOT}/lib"
+FILES_${PN} += "${LTPROOT}/*"
+
+KERNEL_MODULES_META_PACKAGE = "${PN}"
+
+kmoddir = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/ddt"
+
+# ltp doesn't regenerate ffsb-6.0-rc2 configure and hardcode configure call.
+# we explicitly force regeneration of that directory and pass configure options.
+do_configure_append() {
+ (cd utils/ffsb-6.0-rc2; autoreconf -fvi; ./configure ${CONFIGUREOPTS})
+}
+
+
+do_compile_append () {
+ unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+ oe_runmake KERNEL_CC="${KERNEL_CC}" DESTDIR=${D} modules
+}
+
+do_install() {
+ oe_runmake DESTDIR=${D} install
+ install -d ${D}${datadir}
+ install -d ${D}${kmoddir}
+ mv ${D}${LTPROOT}/testcases/bin/ddt/*.ko ${D}${kmoddir}
+}
+
+
+# do_make_scripts should be a separate task for the lock to work
+addtask make_scripts before do_compile
+do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock"
+do_make_scripts[deptask] = "do_populate_sysroot"
--
1.9.1
^ permalink raw reply related [flat|nested] 24+ messages in thread
* Re: [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
2015-03-10 13:13 [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe Carlos Hernandez
2015-03-10 16:19 ` Denys Dmytriyenko
@ 2015-03-11 23:53 ` Denys Dmytriyenko
2015-03-12 0:44 ` Hernandez, Carlos
1 sibling, 1 reply; 24+ messages in thread
From: Denys Dmytriyenko @ 2015-03-11 23:53 UTC (permalink / raw)
To: Carlos Hernandez; +Cc: meta-arago
Carlos,
ltp-ddt 1.0 fails to build now:
| arm-linux-gnueabihf-gcc -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 -L/opt/linaro-2013.03/arm-linux-gnueabihf/lib -Wl,-rpath-li
nk,/opt/linaro-2013.03/arm-linux-gnueabihf/lib -Wl,-O1 -Wl,--hash-style=gnu --sysroot=/home/jenkins/tisdk-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots
/am335x-evm -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types -g -O2 -fno-strict-aliasing -pipe -Wall
-W -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types -Wold-style-definition -isystem/opt/linaro-2013.
03/arm-linux-gnueabihf/include -fstack-protector -D_FORTIFY_SOURCE=2 -I/home/jenkins/tisdk-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/am335x_evm-oe-lin
ux-gnueabi/ltp-ddt/1.0.0-r0/git/testcases/kernel/include -D_GNU_SOURCE -I/home/jenkins/tisdk-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/am335x_evm-oe-li
nux-gnueabi/ltp-ddt/1.0.0-r0/git/testcases/kernel/timers/timer_create/../include -I../../../../include -I../../../../include -L/opt/linaro-2013.03/arm-linux-gnueabihf/lib
-Wl,-rpath-link,/opt/linaro-2013.03/arm-linux-gnueabihf/lib -Wl,-O1 -Wl,--hash-style=gnu -L../../../../lib timer_create02.c -lltp -lpthread -lrt -o timer_create02
| /home/jenkins/tisdk-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/lib/libfl.so: undefined reference to `yylex'
| collect2: error: ld returned 1 exit status
| make[1]: *** [ltp-bump] Error 1
Looks like flex doesn't have the right symbol - is it wrong version?
--
Denys
On Tue, Mar 10, 2015 at 09:13:33AM -0400, Carlos Hernandez wrote:
> Latest ltp release was recently merge to ltp-ddt and there is a new
> way to configure and compile ltp-ddt.
>
> Signed-off-by: Carlos Hernandez <ceh@ti.com>
> ---
> ...ite-Make-sure-to-include-generated-header.patch | 33 ++++++++
> .../recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb | 87 ++++++++++++++++++++++
> 2 files changed, 120 insertions(+)
> create mode 100644 meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Make-sure-to-include-generated-header.patch
> create mode 100644 meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
>
> diff --git a/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Make-sure-to-include-generated-header.patch b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Make-sure-to-include-generated-header.patch
> new file mode 100644
> index 0000000..31df16d
> --- /dev/null
> +++ b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Make-sure-to-include-generated-header.patch
> @@ -0,0 +1,33 @@
> +From 4a8f24892514cd5e4d11b9105c843db49eea921b Mon Sep 17 00:00:00 2001
> +From: Khem Raj <raj.khem@gmail.com>
> +Date: Wed, 19 Feb 2014 19:41:33 -0800
> +Subject: [PATCH] wdt_test_suite: Make sure to include generated headers
> +
> +This makes sure that its using the generated headers
> +and not the raw headers from kernel, generated headers
> +are built for the given machine already when kernel is
> +built and are available in configured/compiled kernel tree
> +already
> +
> +Signed-off-by: Khem Raj <raj.khem@gmail.com>
> +---
> + testcases/ddt/wdt_test_suite/Makefile | 4 ++--
> + 1 file changed, 2 insertions(+), 2 deletions(-)
> +
> +diff --git a/testcases/ddt/wdt_test_suite/Makefile b/testcases/ddt/wdt_test_suite/Makefile
> +index 90a6a90..22a1cfd 100644
> +--- a/testcases/ddt/wdt_test_suite/Makefile
> ++++ b/testcases/ddt/wdt_test_suite/Makefile
> +@@ -20,8 +20,8 @@ INCLUDES = -I $(KERNEL_INC) -I src/interface/common -I ../utils/user
> + INCLUDES = -I src/parser \
> + -I src/interface/common \
> + -I ../utils/user \
> +- -I $(KERNEL_INC)/include \
> +- -I $(KERNEL_INC)/arch/arm/include
> ++ -I $(KERNEL_INC)/include/generated \
> ++ -I $(KERNEL_INC)/arch/arm/include/generated \
> +
> +#List of source files- Update this on adding a new C file
> + SOURCES := \
> +--
> +1.9.0
> diff --git a/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
> new file mode 100644
> index 0000000..c321242
> --- /dev/null
> +++ b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
> @@ -0,0 +1,87 @@
> +SUMMARY = "Embedded Linux Device Driver Tests based on Linux Test Project"
> +HOMEPAGE = "http://arago-project.org/git/projects/test-automation/ltp-ddt.git"
> +SECTION = "console/utils"
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
> +PR = "r1"
> +
> +PROVIDES += "ltp"
> +DEPENDS += "zip-native virtual/kernel alsa-lib"
> +
> +inherit autotools module-base kernel-module-split
> +
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
> +SRCREV = "ltp-ddt_1.0.0"
> +BRANCH ?= "master"
> +
> +SRC_URI = "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH} \
> + file://0001-wdt_test_suite-Make-sure-to-include-generated-header.patch \
> + "
> +
> +S = "${WORKDIR}/git"
> +
> +LTPROOT = "/opt/ltp"
> +
> +EXTRA_OEMAKE_append = " \
> + prefix=${LTPROOT} \
> + CROSS_COMPILE=${HOST_PREFIX} \
> + SKIP_IDCHECK=1 \
> + KERNEL_INC=${STAGING_KERNEL_DIR} \
> + KERNEL_USR_INC=${STAGING_INCDIR} \
> + ALSA_INCPATH=${STAGING_INCDIR} \
> + ALSA_LIBPATH=${STAGING_LIBDIR} \
> + PLATFORM=${MACHINE} \
> + RANLIB=${RANLIB} \
> +"
> +
> +TARGET_CC_ARCH += "${LDFLAGS}"
> +
> +FILES_${PN}-dbg += " \
> + ${LTPROOT}/.debug \
> + ${LTPROOT}/bin/.debug \
> + ${LTPROOT}/runtest/.debug \
> + ${LTPROOT}/testcases/bin/.debug \
> + ${LTPROOT}/testcases/bin/*/bin/.debug \
> + ${LTPROOT}/testcases/bin/*/test/.debug \
> + ${LTPROOT}/testcases/bin/ddt/.debug \
> + ${LTPROOT}/testcases/bin/ddt/*/bin/.debug \
> + ${LTPROOT}/testcases/bin/ddt/*/test/.debug \
> + ${LTPROOT}/testcases/realtime/*/*/.debug \
> +"
> +
> +FILES_${PN}-staticdev += "${LTPROOT}/lib"
> +FILES_${PN} += "${LTPROOT}/*"
> +
> +# ltp doesn't regenerate ffsb-6.0-rc2 configure and hardcode configure call.
> +# we explicitly force regeneration of that directory and pass configure options.
> +do_configure_append() {
> + (cd utils/ffsb-6.0-rc2; autoreconf -fvi; ./configure ${CONFIGUREOPTS})
> +}
> +
> +kmoddir = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/ddt"
> +
> +do_compile_append () {
> + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
> + oe_runmake KERNEL_CC="${KERNEL_CC}" DESTDIR=${D} modules
> +}
> +
> +do_install() {
> + oe_runmake DESTDIR=${D} install
> + install -d ${D}${datadir}
> + install -d ${D}${kmoddir}
> + mv ${D}${LTPROOT}/testcases/bin/ddt/*.ko ${D}${kmoddir}
> +}
> +
> +PR_append = "-arago10+gitr${SRCPV}"
> +
> +RDEPENDS_${PN} += "linaro-pm-qa-utils serialcheck"
> +
> +EXTRA_OEMAKE += "KERNEL_PATH="${STAGING_KERNEL_DIR}""
> +
> +KERNEL_MODULES_META_PACKAGE = "${PN}"
> +
> +# do_make_scripts should be a separate task for the lock to work
> +addtask make_scripts before do_compile
> +do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock"
> +do_make_scripts[deptask] = "do_populate_sysroot"
> --
> 1.9.1
>
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
2015-03-11 23:53 ` [PATCH] " Denys Dmytriyenko
@ 2015-03-12 0:44 ` Hernandez, Carlos
2015-03-12 0:47 ` Denys Dmytriyenko
0 siblings, 1 reply; 24+ messages in thread
From: Hernandez, Carlos @ 2015-03-12 0:44 UTC (permalink / raw)
To: Dmytriyenko, Denys; +Cc: meta-arago@arago-project.org
[-- Attachment #1: Type: text/plain, Size: 8158 bytes --]
Did you do a clean ltp-ddt build? The v2 patch ran successfully for me.
Carlos
Sent from my Android phone using TouchDown (www.nitrodesk.com)
-----Original Message-----
From: Dmytriyenko, Denys [denys@ti.com]
Received: Wednesday, 11 Mar 2015, 7:53PM
To: Hernandez, Carlos [ceh@ti.com]
CC: meta-arago@arago-project.org [meta-arago@arago-project.org]
Subject: Re: [meta-arago] [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
Carlos,
ltp-ddt 1.0 fails to build now:
| arm-linux-gnueabihf-gcc -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 -L/opt/linaro-2013.03/arm-linux-gnueabihf/lib -Wl,-rpath-li
nk,/opt/linaro-2013.03/arm-linux-gnueabihf/lib -Wl,-O1 -Wl,--hash-style=gnu --sysroot=/home/jenkins/tisdk-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots
/am335x-evm -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types -g -O2 -fno-strict-aliasing -pipe -Wall
-W -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types -Wold-style-definition -isystem/opt/linaro-2013.
03/arm-linux-gnueabihf/include -fstack-protector -D_FORTIFY_SOURCE=2 -I/home/jenkins/tisdk-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/am335x_evm-oe-lin
ux-gnueabi/ltp-ddt/1.0.0-r0/git/testcases/kernel/include -D_GNU_SOURCE -I/home/jenkins/tisdk-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/am335x_evm-oe-li
nux-gnueabi/ltp-ddt/1.0.0-r0/git/testcases/kernel/timers/timer_create/../include -I../../../../include -I../../../../include -L/opt/linaro-2013.03/arm-linux-gnueabihf/lib
-Wl,-rpath-link,/opt/linaro-2013.03/arm-linux-gnueabihf/lib -Wl,-O1 -Wl,--hash-style=gnu -L../../../../lib timer_create02.c -lltp -lpthread -lrt -o timer_create02
| /home/jenkins/tisdk-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/lib/libfl.so: undefined reference to `yylex'
| collect2: error: ld returned 1 exit status
| make[1]: *** [ltp-bump] Error 1
Looks like flex doesn't have the right symbol - is it wrong version?
--
Denys
On Tue, Mar 10, 2015 at 09:13:33AM -0400, Carlos Hernandez wrote:
> Latest ltp release was recently merge to ltp-ddt and there is a new
> way to configure and compile ltp-ddt.
>
> Signed-off-by: Carlos Hernandez <ceh@ti.com>
> ---
> ...ite-Make-sure-to-include-generated-header.patch | 33 ++++++++
> .../recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb | 87 ++++++++++++++++++++++
> 2 files changed, 120 insertions(+)
> create mode 100644 meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Make-sure-to-include-generated-header.patch
> create mode 100644 meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
>
> diff --git a/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Make-sure-to-include-generated-header.patch b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Make-sure-to-include-generated-header.patch
> new file mode 100644
> index 0000000..31df16d
> --- /dev/null
> +++ b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Make-sure-to-include-generated-header.patch
> @@ -0,0 +1,33 @@
> +From 4a8f24892514cd5e4d11b9105c843db49eea921b Mon Sep 17 00:00:00 2001
> +From: Khem Raj <raj.khem@gmail.com>
> +Date: Wed, 19 Feb 2014 19:41:33 -0800
> +Subject: [PATCH] wdt_test_suite: Make sure to include generated headers
> +
> +This makes sure that its using the generated headers
> +and not the raw headers from kernel, generated headers
> +are built for the given machine already when kernel is
> +built and are available in configured/compiled kernel tree
> +already
> +
> +Signed-off-by: Khem Raj <raj.khem@gmail.com>
> +---
> + testcases/ddt/wdt_test_suite/Makefile | 4 ++--
> + 1 file changed, 2 insertions(+), 2 deletions(-)
> +
> +diff --git a/testcases/ddt/wdt_test_suite/Makefile b/testcases/ddt/wdt_test_suite/Makefile
> +index 90a6a90..22a1cfd 100644
> +--- a/testcases/ddt/wdt_test_suite/Makefile
> ++++ b/testcases/ddt/wdt_test_suite/Makefile
> +@@ -20,8 +20,8 @@ INCLUDES = -I $(KERNEL_INC) -I src/interface/common -I ../utils/user
> + INCLUDES = -I src/parser \
> + -I src/interface/common \
> + -I ../utils/user \
> +- -I $(KERNEL_INC)/include \
> +- -I $(KERNEL_INC)/arch/arm/include
> ++ -I $(KERNEL_INC)/include/generated \
> ++ -I $(KERNEL_INC)/arch/arm/include/generated \
> +
> +#List of source files- Update this on adding a new C file
> + SOURCES := \
> +--
> +1.9.0
> diff --git a/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
> new file mode 100644
> index 0000000..c321242
> --- /dev/null
> +++ b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
> @@ -0,0 +1,87 @@
> +SUMMARY = "Embedded Linux Device Driver Tests based on Linux Test Project"
> +HOMEPAGE = "http://arago-project.org/git/projects/test-automation/ltp-ddt.git"
> +SECTION = "console/utils"
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
> +PR = "r1"
> +
> +PROVIDES += "ltp"
> +DEPENDS += "zip-native virtual/kernel alsa-lib"
> +
> +inherit autotools module-base kernel-module-split
> +
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
> +SRCREV = "ltp-ddt_1.0.0"
> +BRANCH ?= "master"
> +
> +SRC_URI = "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH} \
> + file://0001-wdt_test_suite-Make-sure-to-include-generated-header.patch \
> + "
> +
> +S = "${WORKDIR}/git"
> +
> +LTPROOT = "/opt/ltp"
> +
> +EXTRA_OEMAKE_append = " \
> + prefix=${LTPROOT} \
> + CROSS_COMPILE=${HOST_PREFIX} \
> + SKIP_IDCHECK=1 \
> + KERNEL_INC=${STAGING_KERNEL_DIR} \
> + KERNEL_USR_INC=${STAGING_INCDIR} \
> + ALSA_INCPATH=${STAGING_INCDIR} \
> + ALSA_LIBPATH=${STAGING_LIBDIR} \
> + PLATFORM=${MACHINE} \
> + RANLIB=${RANLIB} \
> +"
> +
> +TARGET_CC_ARCH += "${LDFLAGS}"
> +
> +FILES_${PN}-dbg += " \
> + ${LTPROOT}/.debug \
> + ${LTPROOT}/bin/.debug \
> + ${LTPROOT}/runtest/.debug \
> + ${LTPROOT}/testcases/bin/.debug \
> + ${LTPROOT}/testcases/bin/*/bin/.debug \
> + ${LTPROOT}/testcases/bin/*/test/.debug \
> + ${LTPROOT}/testcases/bin/ddt/.debug \
> + ${LTPROOT}/testcases/bin/ddt/*/bin/.debug \
> + ${LTPROOT}/testcases/bin/ddt/*/test/.debug \
> + ${LTPROOT}/testcases/realtime/*/*/.debug \
> +"
> +
> +FILES_${PN}-staticdev += "${LTPROOT}/lib"
> +FILES_${PN} += "${LTPROOT}/*"
> +
> +# ltp doesn't regenerate ffsb-6.0-rc2 configure and hardcode configure call.
> +# we explicitly force regeneration of that directory and pass configure options.
> +do_configure_append() {
> + (cd utils/ffsb-6.0-rc2; autoreconf -fvi; ./configure ${CONFIGUREOPTS})
> +}
> +
> +kmoddir = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/ddt"
> +
> +do_compile_append () {
> + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
> + oe_runmake KERNEL_CC="${KERNEL_CC}" DESTDIR=${D} modules
> +}
> +
> +do_install() {
> + oe_runmake DESTDIR=${D} install
> + install -d ${D}${datadir}
> + install -d ${D}${kmoddir}
> + mv ${D}${LTPROOT}/testcases/bin/ddt/*.ko ${D}${kmoddir}
> +}
> +
> +PR_append = "-arago10+gitr${SRCPV}"
> +
> +RDEPENDS_${PN} += "linaro-pm-qa-utils serialcheck"
> +
> +EXTRA_OEMAKE += "KERNEL_PATH="${STAGING_KERNEL_DIR}""
> +
> +KERNEL_MODULES_META_PACKAGE = "${PN}"
> +
> +# do_make_scripts should be a separate task for the lock to work
> +addtask make_scripts before do_compile
> +do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock"
> +do_make_scripts[deptask] = "do_populate_sysroot"
> --
> 1.9.1
>
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
[-- Attachment #2: Type: text/html, Size: 12531 bytes --]
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
2015-03-12 0:44 ` Hernandez, Carlos
@ 2015-03-12 0:47 ` Denys Dmytriyenko
2015-03-12 4:05 ` Denys Dmytriyenko
0 siblings, 1 reply; 24+ messages in thread
From: Denys Dmytriyenko @ 2015-03-12 0:47 UTC (permalink / raw)
To: Hernandez, Carlos; +Cc: meta-arago@arago-project.org
No, it wasn't a clean build. I'll try that next, but I think I need to drop
"share" part I've added first...
On Wed, Mar 11, 2015 at 08:44:53PM -0400, Hernandez, Carlos wrote:
> Did you do a clean ltp-ddt build? The v2 patch ran successfully for me.
> Carlos
>
> Sent from my Android phone using TouchDown (www.nitrodesk.com)
>
> -----Original Message-----
> From: Dmytriyenko, Denys [denys@ti.com]
> Received: Wednesday, 11 Mar 2015, 7:53PM
> To: Hernandez, Carlos [ceh@ti.com]
> CC: meta-arago@arago-project.org [meta-arago@arago-project.org]
> Subject: Re: [meta-arago] [PATCH] recipes-devtools: New ltp-ddt_1.0.0
> recipe
>
> Carlos,
>
> ltp-ddt 1.0 fails to build now:
>
> | arm-linux-gnueabihf-gcc -march=armv7-a -marm -mthumb-interwork
> -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8
> -L/opt/linaro-2013.03/arm-linux-gnueabihf/lib -Wl,-rpath-li
> nk,/opt/linaro-2013.03/arm-linux-gnueabihf/lib -Wl,-O1
> -Wl,--hash-style=gnu
> --sysroot=/home/jenkins/tisdk-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots
> /am335x-evm -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
> -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types -g -O2
> -fno-strict-aliasing -pipe -Wall
> -W -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
> -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types
> -Wold-style-definition -isystem/opt/linaro-2013.
> 03/arm-linux-gnueabihf/include -fstack-protector -D_FORTIFY_SOURCE=2
> -I/home/jenkins/tisdk-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/am335x_evm-oe-lin
> ux-gnueabi/ltp-ddt/1.0.0-r0/git/testcases/kernel/include -D_GNU_SOURCE
> -I/home/jenkins/tisdk-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/am335x_evm-oe-li
> nux-gnueabi/ltp-ddt/1.0.0-r0/git/testcases/kernel/timers/timer_create/../include
> -I../../../../include -I../../../../include
> -L/opt/linaro-2013.03/arm-linux-gnueabihf/lib
> -Wl,-rpath-link,/opt/linaro-2013.03/arm-linux-gnueabihf/lib -Wl,-O1
> -Wl,--hash-style=gnu -L../../../../lib timer_create02.c -lltp
> -lpthread -lrt -o timer_create02
> |
> /home/jenkins/tisdk-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/lib/libfl.so:
> undefined reference to `yylex'
> | collect2: error: ld returned 1 exit status
> | make[1]: *** [ltp-bump] Error 1
>
> Looks like flex doesn't have the right symbol - is it wrong version?
>
> --
> Denys
>
> On Tue, Mar 10, 2015 at 09:13:33AM -0400, Carlos Hernandez wrote:
> > Latest ltp release was recently merge to ltp-ddt and there is a new
> > way to configure and compile ltp-ddt.
> >
> > Signed-off-by: Carlos Hernandez <ceh@ti.com>
> > ---
> > ...ite-Make-sure-to-include-generated-header.patch | 33 ++++++++
> > .../recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb | 87
> ++++++++++++++++++++++
> > 2 files changed, 120 insertions(+)
> > create mode 100644
> meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Make-sure-to-include-generated-header.patch
> > create mode 100644
> meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
> >
> > diff --git
> a/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Make-sure-to-include-generated-header.patch
> b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Make-sure-to-include-generated-header.patch
> > new file mode 100644
> > index 0000000..31df16d
> > --- /dev/null
> > +++
> b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Make-sure-to-include-generated-header.patch
> > @@ -0,0 +1,33 @@
> > +From 4a8f24892514cd5e4d11b9105c843db49eea921b Mon Sep 17 00:00:00 2001
> > +From: Khem Raj <raj.khem@gmail.com>
> > +Date: Wed, 19 Feb 2014 19:41:33 -0800
> > +Subject: [PATCH] wdt_test_suite: Make sure to include generated headers
> > +
> > +This makes sure that its using the generated headers
> > +and not the raw headers from kernel, generated headers
> > +are built for the given machine already when kernel is
> > +built and are available in configured/compiled kernel tree
> > +already
> > +
> > +Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > +---
> > + testcases/ddt/wdt_test_suite/Makefile | 4 ++--
> > + 1 file changed, 2 insertions(+), 2 deletions(-)
> > +
> > +diff --git a/testcases/ddt/wdt_test_suite/Makefile
> b/testcases/ddt/wdt_test_suite/Makefile
> > +index 90a6a90..22a1cfd 100644
> > +--- a/testcases/ddt/wdt_test_suite/Makefile
> > ++++ b/testcases/ddt/wdt_test_suite/Makefile
> > +@@ -20,8 +20,8 @@ INCLUDES = -I $(KERNEL_INC) -I
> src/interface/common -I ../utils/user
> > + INCLUDES = -I src/parser \
> > + -I src/interface/common \
> > + -I ../utils/user \
> > +- -I $(KERNEL_INC)/include \
> > +- -I $(KERNEL_INC)/arch/arm/include
> > ++ -I $(KERNEL_INC)/include/generated \
> > ++ -I $(KERNEL_INC)/arch/arm/include/generated \
> > +
> > +#List of source files- Update this on adding a new C file
> > + SOURCES := \
> > +--
> > +1.9.0
> > diff --git a/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
> b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
> > new file mode 100644
> > index 0000000..c321242
> > --- /dev/null
> > +++ b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
> > @@ -0,0 +1,87 @@
> > +SUMMARY = "Embedded Linux Device Driver Tests based on Linux Test
> Project"
> > +HOMEPAGE =
> "http://arago-project.org/git/projects/test-automation/ltp-ddt.git"
> > +SECTION = "console/utils"
> > +LICENSE = "GPLv2"
> > +LIC_FILES_CHKSUM =
> "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
> > +PR = "r1"
> > +
> > +PROVIDES += "ltp"
> > +DEPENDS += "zip-native virtual/kernel alsa-lib"
> > +
> > +inherit autotools module-base kernel-module-split
> > +
> > +PACKAGE_ARCH = "${MACHINE_ARCH}"
> > +
> > +SRCREV = "ltp-ddt_1.0.0"
> > +BRANCH ?= "master"
> > +
> > +SRC_URI =
> "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH}
> \
> > +
> file://0001-wdt_test_suite-Make-sure-to-include-generated-header.patch \
> > + "
> > +
> > +S = "${WORKDIR}/git"
> > +
> > +LTPROOT = "/opt/ltp"
> > +
> > +EXTRA_OEMAKE_append = " \
> > + prefix=${LTPROOT} \
> > + CROSS_COMPILE=${HOST_PREFIX} \
> > + SKIP_IDCHECK=1 \
> > + KERNEL_INC=${STAGING_KERNEL_DIR} \
> > + KERNEL_USR_INC=${STAGING_INCDIR} \
> > + ALSA_INCPATH=${STAGING_INCDIR} \
> > + ALSA_LIBPATH=${STAGING_LIBDIR} \
> > + PLATFORM=${MACHINE} \
> > + RANLIB=${RANLIB} \
> > +"
> > +
> > +TARGET_CC_ARCH += "${LDFLAGS}"
> > +
> > +FILES_${PN}-dbg += " \
> > + ${LTPROOT}/.debug \
> > + ${LTPROOT}/bin/.debug \
> > + ${LTPROOT}/runtest/.debug \
> > + ${LTPROOT}/testcases/bin/.debug \
> > + ${LTPROOT}/testcases/bin/*/bin/.debug \
> > + ${LTPROOT}/testcases/bin/*/test/.debug \
> > + ${LTPROOT}/testcases/bin/ddt/.debug \
> > + ${LTPROOT}/testcases/bin/ddt/*/bin/.debug \
> > + ${LTPROOT}/testcases/bin/ddt/*/test/.debug \
> > + ${LTPROOT}/testcases/realtime/*/*/.debug \
> > +"
> > +
> > +FILES_${PN}-staticdev += "${LTPROOT}/lib"
> > +FILES_${PN} += "${LTPROOT}/*"
> > +
> > +# ltp doesn't regenerate ffsb-6.0-rc2 configure and hardcode configure
> call.
> > +# we explicitly force regeneration of that directory and pass configure
> options.
> > +do_configure_append() {
> > + (cd utils/ffsb-6.0-rc2; autoreconf -fvi; ./configure
> ${CONFIGUREOPTS})
> > +}
> > +
> > +kmoddir = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/ddt"
> > +
> > +do_compile_append () {
> > + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
> > + oe_runmake KERNEL_CC="${KERNEL_CC}" DESTDIR=${D} modules
> > +}
> > +
> > +do_install() {
> > + oe_runmake DESTDIR=${D} install
> > + install -d ${D}${datadir}
> > + install -d ${D}${kmoddir}
> > + mv ${D}${LTPROOT}/testcases/bin/ddt/*.ko ${D}${kmoddir}
> > +}
> > +
> > +PR_append = "-arago10+gitr${SRCPV}"
> > +
> > +RDEPENDS_${PN} += "linaro-pm-qa-utils serialcheck"
> > +
> > +EXTRA_OEMAKE += "KERNEL_PATH="${STAGING_KERNEL_DIR}""
> > +
> > +KERNEL_MODULES_META_PACKAGE = "${PN}"
> > +
> > +# do_make_scripts should be a separate task for the lock to work
> > +addtask make_scripts before do_compile
> > +do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock"
> > +do_make_scripts[deptask] = "do_populate_sysroot"
> > --
> > 1.9.1
> >
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
2015-03-12 0:47 ` Denys Dmytriyenko
@ 2015-03-12 4:05 ` Denys Dmytriyenko
2015-03-12 10:59 ` Stiffler, Jacob
2015-03-12 13:10 ` Carlos Hernandez
0 siblings, 2 replies; 24+ messages in thread
From: Denys Dmytriyenko @ 2015-03-12 4:05 UTC (permalink / raw)
To: Hernandez, Carlos; +Cc: meta-arago@arago-project.org
Doesn't help. It still fails for am57xx-evm. It seems to build fine for am335x-evm...
Besides the undefined yylex error (which might be non-fatal), I also see
these:
| clock_gettime03.c:141:4: error: '__NR_clock_gettime' undeclared (first use in this function)
| clock_gettime03.c:168:31: error: 'cleanup' undeclared (first use in this function)
| faccessat01.c:70:21: error: '__NR_faccessat' undeclared (first use in this function)
--
Denys
On Wed, Mar 11, 2015 at 08:47:22PM -0400, Denys Dmytriyenko wrote:
> No, it wasn't a clean build. I'll try that next, but I think I need to drop
> "share" part I've added first...
>
>
> On Wed, Mar 11, 2015 at 08:44:53PM -0400, Hernandez, Carlos wrote:
> > Did you do a clean ltp-ddt build? The v2 patch ran successfully for me.
> > Carlos
> >
> > Sent from my Android phone using TouchDown (www.nitrodesk.com)
> >
> > -----Original Message-----
> > From: Dmytriyenko, Denys [denys@ti.com]
> > Received: Wednesday, 11 Mar 2015, 7:53PM
> > To: Hernandez, Carlos [ceh@ti.com]
> > CC: meta-arago@arago-project.org [meta-arago@arago-project.org]
> > Subject: Re: [meta-arago] [PATCH] recipes-devtools: New ltp-ddt_1.0.0
> > recipe
> >
> > Carlos,
> >
> > ltp-ddt 1.0 fails to build now:
> >
> > | arm-linux-gnueabihf-gcc -march=armv7-a -marm -mthumb-interwork
> > -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8
> > -L/opt/linaro-2013.03/arm-linux-gnueabihf/lib -Wl,-rpath-li
> > nk,/opt/linaro-2013.03/arm-linux-gnueabihf/lib -Wl,-O1
> > -Wl,--hash-style=gnu
> > --sysroot=/home/jenkins/tisdk-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots
> > /am335x-evm -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
> > -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types -g -O2
> > -fno-strict-aliasing -pipe -Wall
> > -W -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
> > -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types
> > -Wold-style-definition -isystem/opt/linaro-2013.
> > 03/arm-linux-gnueabihf/include -fstack-protector -D_FORTIFY_SOURCE=2
> > -I/home/jenkins/tisdk-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/am335x_evm-oe-lin
> > ux-gnueabi/ltp-ddt/1.0.0-r0/git/testcases/kernel/include -D_GNU_SOURCE
> > -I/home/jenkins/tisdk-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/am335x_evm-oe-li
> > nux-gnueabi/ltp-ddt/1.0.0-r0/git/testcases/kernel/timers/timer_create/../include
> > -I../../../../include -I../../../../include
> > -L/opt/linaro-2013.03/arm-linux-gnueabihf/lib
> > -Wl,-rpath-link,/opt/linaro-2013.03/arm-linux-gnueabihf/lib -Wl,-O1
> > -Wl,--hash-style=gnu -L../../../../lib timer_create02.c -lltp
> > -lpthread -lrt -o timer_create02
> > |
> > /home/jenkins/tisdk-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/lib/libfl.so:
> > undefined reference to `yylex'
> > | collect2: error: ld returned 1 exit status
> > | make[1]: *** [ltp-bump] Error 1
> >
> > Looks like flex doesn't have the right symbol - is it wrong version?
> >
> > --
> > Denys
> >
> > On Tue, Mar 10, 2015 at 09:13:33AM -0400, Carlos Hernandez wrote:
> > > Latest ltp release was recently merge to ltp-ddt and there is a new
> > > way to configure and compile ltp-ddt.
> > >
> > > Signed-off-by: Carlos Hernandez <ceh@ti.com>
> > > ---
> > > ...ite-Make-sure-to-include-generated-header.patch | 33 ++++++++
> > > .../recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb | 87
> > ++++++++++++++++++++++
> > > 2 files changed, 120 insertions(+)
> > > create mode 100644
> > meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Make-sure-to-include-generated-header.patch
> > > create mode 100644
> > meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
> > >
> > > diff --git
> > a/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Make-sure-to-include-generated-header.patch
> > b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Make-sure-to-include-generated-header.patch
> > > new file mode 100644
> > > index 0000000..31df16d
> > > --- /dev/null
> > > +++
> > b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Make-sure-to-include-generated-header.patch
> > > @@ -0,0 +1,33 @@
> > > +From 4a8f24892514cd5e4d11b9105c843db49eea921b Mon Sep 17 00:00:00 2001
> > > +From: Khem Raj <raj.khem@gmail.com>
> > > +Date: Wed, 19 Feb 2014 19:41:33 -0800
> > > +Subject: [PATCH] wdt_test_suite: Make sure to include generated headers
> > > +
> > > +This makes sure that its using the generated headers
> > > +and not the raw headers from kernel, generated headers
> > > +are built for the given machine already when kernel is
> > > +built and are available in configured/compiled kernel tree
> > > +already
> > > +
> > > +Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > > +---
> > > + testcases/ddt/wdt_test_suite/Makefile | 4 ++--
> > > + 1 file changed, 2 insertions(+), 2 deletions(-)
> > > +
> > > +diff --git a/testcases/ddt/wdt_test_suite/Makefile
> > b/testcases/ddt/wdt_test_suite/Makefile
> > > +index 90a6a90..22a1cfd 100644
> > > +--- a/testcases/ddt/wdt_test_suite/Makefile
> > > ++++ b/testcases/ddt/wdt_test_suite/Makefile
> > > +@@ -20,8 +20,8 @@ INCLUDES = -I $(KERNEL_INC) -I
> > src/interface/common -I ../utils/user
> > > + INCLUDES = -I src/parser \
> > > + -I src/interface/common \
> > > + -I ../utils/user \
> > > +- -I $(KERNEL_INC)/include \
> > > +- -I $(KERNEL_INC)/arch/arm/include
> > > ++ -I $(KERNEL_INC)/include/generated \
> > > ++ -I $(KERNEL_INC)/arch/arm/include/generated \
> > > +
> > > +#List of source files- Update this on adding a new C file
> > > + SOURCES := \
> > > +--
> > > +1.9.0
> > > diff --git a/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
> > b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
> > > new file mode 100644
> > > index 0000000..c321242
> > > --- /dev/null
> > > +++ b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
> > > @@ -0,0 +1,87 @@
> > > +SUMMARY = "Embedded Linux Device Driver Tests based on Linux Test
> > Project"
> > > +HOMEPAGE =
> > "http://arago-project.org/git/projects/test-automation/ltp-ddt.git"
> > > +SECTION = "console/utils"
> > > +LICENSE = "GPLv2"
> > > +LIC_FILES_CHKSUM =
> > "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
> > > +PR = "r1"
> > > +
> > > +PROVIDES += "ltp"
> > > +DEPENDS += "zip-native virtual/kernel alsa-lib"
> > > +
> > > +inherit autotools module-base kernel-module-split
> > > +
> > > +PACKAGE_ARCH = "${MACHINE_ARCH}"
> > > +
> > > +SRCREV = "ltp-ddt_1.0.0"
> > > +BRANCH ?= "master"
> > > +
> > > +SRC_URI =
> > "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH}
> > \
> > > +
> > file://0001-wdt_test_suite-Make-sure-to-include-generated-header.patch \
> > > + "
> > > +
> > > +S = "${WORKDIR}/git"
> > > +
> > > +LTPROOT = "/opt/ltp"
> > > +
> > > +EXTRA_OEMAKE_append = " \
> > > + prefix=${LTPROOT} \
> > > + CROSS_COMPILE=${HOST_PREFIX} \
> > > + SKIP_IDCHECK=1 \
> > > + KERNEL_INC=${STAGING_KERNEL_DIR} \
> > > + KERNEL_USR_INC=${STAGING_INCDIR} \
> > > + ALSA_INCPATH=${STAGING_INCDIR} \
> > > + ALSA_LIBPATH=${STAGING_LIBDIR} \
> > > + PLATFORM=${MACHINE} \
> > > + RANLIB=${RANLIB} \
> > > +"
> > > +
> > > +TARGET_CC_ARCH += "${LDFLAGS}"
> > > +
> > > +FILES_${PN}-dbg += " \
> > > + ${LTPROOT}/.debug \
> > > + ${LTPROOT}/bin/.debug \
> > > + ${LTPROOT}/runtest/.debug \
> > > + ${LTPROOT}/testcases/bin/.debug \
> > > + ${LTPROOT}/testcases/bin/*/bin/.debug \
> > > + ${LTPROOT}/testcases/bin/*/test/.debug \
> > > + ${LTPROOT}/testcases/bin/ddt/.debug \
> > > + ${LTPROOT}/testcases/bin/ddt/*/bin/.debug \
> > > + ${LTPROOT}/testcases/bin/ddt/*/test/.debug \
> > > + ${LTPROOT}/testcases/realtime/*/*/.debug \
> > > +"
> > > +
> > > +FILES_${PN}-staticdev += "${LTPROOT}/lib"
> > > +FILES_${PN} += "${LTPROOT}/*"
> > > +
> > > +# ltp doesn't regenerate ffsb-6.0-rc2 configure and hardcode configure
> > call.
> > > +# we explicitly force regeneration of that directory and pass configure
> > options.
> > > +do_configure_append() {
> > > + (cd utils/ffsb-6.0-rc2; autoreconf -fvi; ./configure
> > ${CONFIGUREOPTS})
> > > +}
> > > +
> > > +kmoddir = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/ddt"
> > > +
> > > +do_compile_append () {
> > > + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
> > > + oe_runmake KERNEL_CC="${KERNEL_CC}" DESTDIR=${D} modules
> > > +}
> > > +
> > > +do_install() {
> > > + oe_runmake DESTDIR=${D} install
> > > + install -d ${D}${datadir}
> > > + install -d ${D}${kmoddir}
> > > + mv ${D}${LTPROOT}/testcases/bin/ddt/*.ko ${D}${kmoddir}
> > > +}
> > > +
> > > +PR_append = "-arago10+gitr${SRCPV}"
> > > +
> > > +RDEPENDS_${PN} += "linaro-pm-qa-utils serialcheck"
> > > +
> > > +EXTRA_OEMAKE += "KERNEL_PATH="${STAGING_KERNEL_DIR}""
> > > +
> > > +KERNEL_MODULES_META_PACKAGE = "${PN}"
> > > +
> > > +# do_make_scripts should be a separate task for the lock to work
> > > +addtask make_scripts before do_compile
> > > +do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock"
> > > +do_make_scripts[deptask] = "do_populate_sysroot"
> > > --
> > > 1.9.1
> > >
> > > _______________________________________________
> > > meta-arago mailing list
> > > meta-arago@arago-project.org
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
2015-03-12 4:05 ` Denys Dmytriyenko
@ 2015-03-12 10:59 ` Stiffler, Jacob
2015-03-12 13:10 ` Carlos Hernandez
1 sibling, 0 replies; 24+ messages in thread
From: Stiffler, Jacob @ 2015-03-12 10:59 UTC (permalink / raw)
To: Dmytriyenko, Denys, Hernandez, Carlos; +Cc: meta-arago@arago-project.org
I get an error on am335x-evm, am437x-evm, and am57xx-evm. I only see the 'yylex' error.
- Jake
-----Original Message-----
From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Dmytriyenko, Denys
Sent: Thursday, March 12, 2015 12:05 AM
To: Hernandez, Carlos
Cc: meta-arago@arago-project.org
Subject: Re: [meta-arago] [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
Doesn't help. It still fails for am57xx-evm. It seems to build fine for am335x-evm...
Besides the undefined yylex error (which might be non-fatal), I also see
these:
| clock_gettime03.c:141:4: error: '__NR_clock_gettime' undeclared (first use in this function)
| clock_gettime03.c:168:31: error: 'cleanup' undeclared (first use in this function)
| faccessat01.c:70:21: error: '__NR_faccessat' undeclared (first use in this function)
--
Denys
On Wed, Mar 11, 2015 at 08:47:22PM -0400, Denys Dmytriyenko wrote:
> No, it wasn't a clean build. I'll try that next, but I think I need to drop
> "share" part I've added first...
>
>
> On Wed, Mar 11, 2015 at 08:44:53PM -0400, Hernandez, Carlos wrote:
> > Did you do a clean ltp-ddt build? The v2 patch ran successfully for me.
> > Carlos
> >
> > Sent from my Android phone using TouchDown (www.nitrodesk.com)
> >
> > -----Original Message-----
> > From: Dmytriyenko, Denys [denys@ti.com]
> > Received: Wednesday, 11 Mar 2015, 7:53PM
> > To: Hernandez, Carlos [ceh@ti.com]
> > CC: meta-arago@arago-project.org [meta-arago@arago-project.org]
> > Subject: Re: [meta-arago] [PATCH] recipes-devtools: New ltp-ddt_1.0.0
> > recipe
> >
> > Carlos,
> >
> > ltp-ddt 1.0 fails to build now:
> >
> > | arm-linux-gnueabihf-gcc -march=armv7-a -marm -mthumb-interwork
> > -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8
> > -L/opt/linaro-2013.03/arm-linux-gnueabihf/lib -Wl,-rpath-li
> > nk,/opt/linaro-2013.03/arm-linux-gnueabihf/lib -Wl,-O1
> > -Wl,--hash-style=gnu
> > --sysroot=/home/jenkins/tisdk-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots
> > /am335x-evm -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
> > -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types -g -O2
> > -fno-strict-aliasing -pipe -Wall
> > -W -isystem/opt/linaro-2013.03/arm-linux-gnueabihf/include
> > -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types
> > -Wold-style-definition -isystem/opt/linaro-2013.
> > 03/arm-linux-gnueabihf/include -fstack-protector -D_FORTIFY_SOURCE=2
> > -I/home/jenkins/tisdk-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/am335x_evm-oe-lin
> > ux-gnueabi/ltp-ddt/1.0.0-r0/git/testcases/kernel/include -D_GNU_SOURCE
> > -I/home/jenkins/tisdk-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/am335x_evm-oe-li
> > nux-gnueabi/ltp-ddt/1.0.0-r0/git/testcases/kernel/timers/timer_create/../include
> > -I../../../../include -I../../../../include
> > -L/opt/linaro-2013.03/arm-linux-gnueabihf/lib
> > -Wl,-rpath-link,/opt/linaro-2013.03/arm-linux-gnueabihf/lib -Wl,-O1
> > -Wl,--hash-style=gnu -L../../../../lib timer_create02.c -lltp
> > -lpthread -lrt -o timer_create02
> > |
> > /home/jenkins/tisdk-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/lib/libfl.so:
> > undefined reference to `yylex'
> > | collect2: error: ld returned 1 exit status
> > | make[1]: *** [ltp-bump] Error 1
> >
> > Looks like flex doesn't have the right symbol - is it wrong version?
> >
> > --
> > Denys
> >
> > On Tue, Mar 10, 2015 at 09:13:33AM -0400, Carlos Hernandez wrote:
> > > Latest ltp release was recently merge to ltp-ddt and there is a new
> > > way to configure and compile ltp-ddt.
> > >
> > > Signed-off-by: Carlos Hernandez <ceh@ti.com>
> > > ---
> > > ...ite-Make-sure-to-include-generated-header.patch | 33 ++++++++
> > > .../recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb | 87
> > ++++++++++++++++++++++
> > > 2 files changed, 120 insertions(+)
> > > create mode 100644
> > meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Make-sure-to-include-generated-header.patch
> > > create mode 100644
> > meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
> > >
> > > diff --git
> > a/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Make-sure-to-include-generated-header.patch
> > b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Make-sure-to-include-generated-header.patch
> > > new file mode 100644
> > > index 0000000..31df16d
> > > --- /dev/null
> > > +++
> > b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Make-sure-to-include-generated-header.patch
> > > @@ -0,0 +1,33 @@
> > > +From 4a8f24892514cd5e4d11b9105c843db49eea921b Mon Sep 17 00:00:00 2001
> > > +From: Khem Raj <raj.khem@gmail.com>
> > > +Date: Wed, 19 Feb 2014 19:41:33 -0800
> > > +Subject: [PATCH] wdt_test_suite: Make sure to include generated headers
> > > +
> > > +This makes sure that its using the generated headers
> > > +and not the raw headers from kernel, generated headers
> > > +are built for the given machine already when kernel is
> > > +built and are available in configured/compiled kernel tree
> > > +already
> > > +
> > > +Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > > +---
> > > + testcases/ddt/wdt_test_suite/Makefile | 4 ++--
> > > + 1 file changed, 2 insertions(+), 2 deletions(-)
> > > +
> > > +diff --git a/testcases/ddt/wdt_test_suite/Makefile
> > b/testcases/ddt/wdt_test_suite/Makefile
> > > +index 90a6a90..22a1cfd 100644
> > > +--- a/testcases/ddt/wdt_test_suite/Makefile
> > > ++++ b/testcases/ddt/wdt_test_suite/Makefile
> > > +@@ -20,8 +20,8 @@ INCLUDES = -I $(KERNEL_INC) -I
> > src/interface/common -I ../utils/user
> > > + INCLUDES = -I src/parser \
> > > + -I src/interface/common \
> > > + -I ../utils/user \
> > > +- -I $(KERNEL_INC)/include \
> > > +- -I $(KERNEL_INC)/arch/arm/include
> > > ++ -I $(KERNEL_INC)/include/generated \
> > > ++ -I $(KERNEL_INC)/arch/arm/include/generated \
> > > +
> > > +#List of source files- Update this on adding a new C file
> > > + SOURCES := \
> > > +--
> > > +1.9.0
> > > diff --git a/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
> > b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
> > > new file mode 100644
> > > index 0000000..c321242
> > > --- /dev/null
> > > +++ b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
> > > @@ -0,0 +1,87 @@
> > > +SUMMARY = "Embedded Linux Device Driver Tests based on Linux Test
> > Project"
> > > +HOMEPAGE =
> > "http://arago-project.org/git/projects/test-automation/ltp-ddt.git"
> > > +SECTION = "console/utils"
> > > +LICENSE = "GPLv2"
> > > +LIC_FILES_CHKSUM =
> > "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
> > > +PR = "r1"
> > > +
> > > +PROVIDES += "ltp"
> > > +DEPENDS += "zip-native virtual/kernel alsa-lib"
> > > +
> > > +inherit autotools module-base kernel-module-split
> > > +
> > > +PACKAGE_ARCH = "${MACHINE_ARCH}"
> > > +
> > > +SRCREV = "ltp-ddt_1.0.0"
> > > +BRANCH ?= "master"
> > > +
> > > +SRC_URI =
> > "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH}
> > \
> > > +
> > file://0001-wdt_test_suite-Make-sure-to-include-generated-header.patch \
> > > + "
> > > +
> > > +S = "${WORKDIR}/git"
> > > +
> > > +LTPROOT = "/opt/ltp"
> > > +
> > > +EXTRA_OEMAKE_append = " \
> > > + prefix=${LTPROOT} \
> > > + CROSS_COMPILE=${HOST_PREFIX} \
> > > + SKIP_IDCHECK=1 \
> > > + KERNEL_INC=${STAGING_KERNEL_DIR} \
> > > + KERNEL_USR_INC=${STAGING_INCDIR} \
> > > + ALSA_INCPATH=${STAGING_INCDIR} \
> > > + ALSA_LIBPATH=${STAGING_LIBDIR} \
> > > + PLATFORM=${MACHINE} \
> > > + RANLIB=${RANLIB} \
> > > +"
> > > +
> > > +TARGET_CC_ARCH += "${LDFLAGS}"
> > > +
> > > +FILES_${PN}-dbg += " \
> > > + ${LTPROOT}/.debug \
> > > + ${LTPROOT}/bin/.debug \
> > > + ${LTPROOT}/runtest/.debug \
> > > + ${LTPROOT}/testcases/bin/.debug \
> > > + ${LTPROOT}/testcases/bin/*/bin/.debug \
> > > + ${LTPROOT}/testcases/bin/*/test/.debug \
> > > + ${LTPROOT}/testcases/bin/ddt/.debug \
> > > + ${LTPROOT}/testcases/bin/ddt/*/bin/.debug \
> > > + ${LTPROOT}/testcases/bin/ddt/*/test/.debug \
> > > + ${LTPROOT}/testcases/realtime/*/*/.debug \
> > > +"
> > > +
> > > +FILES_${PN}-staticdev += "${LTPROOT}/lib"
> > > +FILES_${PN} += "${LTPROOT}/*"
> > > +
> > > +# ltp doesn't regenerate ffsb-6.0-rc2 configure and hardcode configure
> > call.
> > > +# we explicitly force regeneration of that directory and pass configure
> > options.
> > > +do_configure_append() {
> > > + (cd utils/ffsb-6.0-rc2; autoreconf -fvi; ./configure
> > ${CONFIGUREOPTS})
> > > +}
> > > +
> > > +kmoddir = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/ddt"
> > > +
> > > +do_compile_append () {
> > > + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
> > > + oe_runmake KERNEL_CC="${KERNEL_CC}" DESTDIR=${D} modules
> > > +}
> > > +
> > > +do_install() {
> > > + oe_runmake DESTDIR=${D} install
> > > + install -d ${D}${datadir}
> > > + install -d ${D}${kmoddir}
> > > + mv ${D}${LTPROOT}/testcases/bin/ddt/*.ko ${D}${kmoddir}
> > > +}
> > > +
> > > +PR_append = "-arago10+gitr${SRCPV}"
> > > +
> > > +RDEPENDS_${PN} += "linaro-pm-qa-utils serialcheck"
> > > +
> > > +EXTRA_OEMAKE += "KERNEL_PATH="${STAGING_KERNEL_DIR}""
> > > +
> > > +KERNEL_MODULES_META_PACKAGE = "${PN}"
> > > +
> > > +# do_make_scripts should be a separate task for the lock to work
> > > +addtask make_scripts before do_compile
> > > +do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock"
> > > +do_make_scripts[deptask] = "do_populate_sysroot"
> > > --
> > > 1.9.1
> > >
> > > _______________________________________________
> > > meta-arago mailing list
> > > meta-arago@arago-project.org
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
2015-03-12 4:05 ` Denys Dmytriyenko
2015-03-12 10:59 ` Stiffler, Jacob
@ 2015-03-12 13:10 ` Carlos Hernandez
2015-03-12 13:19 ` Stiffler, Jacob
1 sibling, 1 reply; 24+ messages in thread
From: Carlos Hernandez @ 2015-03-12 13:10 UTC (permalink / raw)
To: Denys Dmytriyenko; +Cc: meta-arago@arago-project.org
On 03/12/2015 12:05 AM, Denys Dmytriyenko wrote:
> Doesn't help. It still fails for am57xx-evm. It seems to build fine for am335x-evm...
>
> Besides the undefined yylex error (which might be non-fatal), I also see
> these:
>
> | clock_gettime03.c:141:4: error: '__NR_clock_gettime' undeclared (first use in this function)
>
> | clock_gettime03.c:168:31: error: 'cleanup' undeclared (first use in this function)
>
> | faccessat01.c:70:21: error: '__NR_faccessat' undeclared (first use in this function)
>
I saw that error but it went away after cleaning ltp-ddt and rebuilding.
See log below.
a0850405@a0850405-off1:~/code/tisdk/build$ MACHINE=dra7xx-evm bitbake
ltp-ddt -c clean
Loading cache: 100%
|###################################################################################################################################################################################################|
ETA: 00:00:00
Loaded 2194 entries from dependency cache.
Parsing recipes: 100%
|#################################################################################################################################################################################################|
Time: 00:00:02
Parsing of 1766 .bb files complete (1758 cached, 8 parsed). 2201
targets, 199 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
/home/a0850405/code/tisdk/sources/meta-arago/meta-arago-distro/recipes-qt/qt5/qtbase_5.4.1.bbappend
/home/a0850405/code/tisdk/sources/meta-arago/meta-arago-distro/recipes-qt/qt5/qtwebkit_5.4.1.bbappend
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.22.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
TARGET_SYS = "arm-oe-linux-gnueabi"
MACHINE = "dra7xx-evm"
DISTRO = "arago"
DISTRO_VERSION = "2015.02"
TUNE_FEATURES = "armv7a vfp thumb neon callconvention-hard cortexa15"
TARGET_FPU = "vfp-neon"
meta-arago-distro
meta-arago-extras = "master:7362ca23ba513bc8af251da6b8b8a7a029aeafca"
meta-qt5 = "master:adeaa6128b665920eb98eb7c064f4aacbd74b873"
toolchain-layer
meta-networking
meta-ruby
meta-oe = "daisy:91dbdff2e1a0ca3dae72dfe0aaa022fc28974314"
meta-ti = "daisy:a47fe3573ec2c7662eb385049807dea4f81fa284"
meta-linaro-toolchain = "daisy:bc63e777ad2748b8bfa7fa70ffd74700fa21a567"
meta = "daisy:f34de2175f1d6a443f219b8ceaaf796cfbc6efd5"
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be
rerun and all succeeded.
Summary: There was 1 WARNING message shown.
a0850405@a0850405-off1:~/code/tisdk/build$ MACHINE=dra7xx-evm bitbake
ltp-ddt
Loading cache: 100%
|###################################################################################################################################################################################################|
ETA: 00:00:00
Loaded 2194 entries from dependency cache.
Parsing recipes: 100%
|#################################################################################################################################################################################################|
Time: 00:00:01
Parsing of 1766 .bb files complete (1758 cached, 8 parsed). 2201
targets, 199 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
/home/a0850405/code/tisdk/sources/meta-arago/meta-arago-distro/recipes-qt/qt5/qtbase_5.4.1.bbappend
/home/a0850405/code/tisdk/sources/meta-arago/meta-arago-distro/recipes-qt/qt5/qtwebkit_5.4.1.bbappend
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.22.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
TARGET_SYS = "arm-oe-linux-gnueabi"
MACHINE = "dra7xx-evm"
DISTRO = "arago"
DISTRO_VERSION = "2015.02"
TUNE_FEATURES = "armv7a vfp thumb neon callconvention-hard cortexa15"
TARGET_FPU = "vfp-neon"
meta-arago-distro
meta-arago-extras = "master:7362ca23ba513bc8af251da6b8b8a7a029aeafca"
meta-qt5 = "master:adeaa6128b665920eb98eb7c064f4aacbd74b873"
toolchain-layer
meta-networking
meta-ruby
meta-oe = "daisy:91dbdff2e1a0ca3dae72dfe0aaa022fc28974314"
meta-ti = "daisy:a47fe3573ec2c7662eb385049807dea4f81fa284"
meta-linaro-toolchain = "daisy:bc63e777ad2748b8bfa7fa70ffd74700fa21a567"
meta = "daisy:f34de2175f1d6a443f219b8ceaaf796cfbc6efd5"
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 465 tasks of which 452 didn't need to be
rerun and all succeeded.
Summary: There was 1 WARNING message shown.
a0850405@a0850405-off1:~/code/tisdk/build$ ls
arago-tmp-external-linaro-toolchain/
abi_version buildstats/ cache/ deploy/ log/
qa.log saved_tmpdir sstate-control/ stamps/
sysroots/ work/
a0850405@a0850405-off1:~/code/tisdk/build$ ls
arago-tmp-external-linaro-toolchain/deploy/
images/ ipk/ licenses/
a0850405@a0850405-off1:~/code/tisdk/build$ ls
arago-tmp-external-linaro-toolchain/deploy/ipk/
all/ cortexa15t2hf-vfp-neon/ dra7xx_evm/
a0850405@a0850405-off1:~/code/tisdk/build$ ls
arago-tmp-external-linaro-toolchain/deploy/ipk/dra7xx_evm/ -ltr
...
...
-rw-r--r-- 2 a0850405 a0850405 38745494 Mar 10 16:32
ltp-ddt-dbg_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
-rw-r--r-- 2 a0850405 a0850405 952 Mar 10 16:32
ltp-ddt-dev_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
-rw-r--r-- 2 a0850405 a0850405 26224 Mar 10 16:32
ltp-ddt-doc_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
-rw-r--r-- 2 a0850405 a0850405 12129096 Mar 10 16:32
ltp-ddt_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
-rw-r--r-- 2 a0850405 a0850405 3822 Mar 10 16:32
kernel-module-coproc-devfreq_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
-rw-r--r-- 2 a0850405 a0850405 3132 Mar 10 16:32
kernel-module-gpio-test_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
-rw-r--r-- 2 a0850405 a0850405 2452 Mar 10 16:32
kernel-module-kst-timer_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
-rw-r--r-- 2 a0850405 a0850405 2828 Mar 10 16:32
kernel-module-rpmsg-client-sample_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
2015-03-12 13:10 ` Carlos Hernandez
@ 2015-03-12 13:19 ` Stiffler, Jacob
2015-03-12 14:11 ` Carlos Hernandez
` (2 more replies)
0 siblings, 3 replies; 24+ messages in thread
From: Stiffler, Jacob @ 2015-03-12 13:19 UTC (permalink / raw)
To: Hernandez, Carlos, Dmytriyenko, Denys; +Cc: meta-arago@arago-project.org
Sounds like a missing dependency issue if an initial clean build fails, then cleaning ltp-ddt before continuing the build allows it to succeed in some cases.
- Jake
-----Original Message-----
From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Hernandez, Carlos
Sent: Thursday, March 12, 2015 9:10 AM
To: Dmytriyenko, Denys
Cc: meta-arago@arago-project.org
Subject: Re: [meta-arago] [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
On 03/12/2015 12:05 AM, Denys Dmytriyenko wrote:
> Doesn't help. It still fails for am57xx-evm. It seems to build fine for am335x-evm...
>
> Besides the undefined yylex error (which might be non-fatal), I also
> see
> these:
>
> | clock_gettime03.c:141:4: error: '__NR_clock_gettime' undeclared
> | (first use in this function)
>
> | clock_gettime03.c:168:31: error: 'cleanup' undeclared (first use in
> | this function)
>
> | faccessat01.c:70:21: error: '__NR_faccessat' undeclared (first use
> | in this function)
>
I saw that error but it went away after cleaning ltp-ddt and rebuilding.
See log below.
a0850405@a0850405-off1:~/code/tisdk/build$ MACHINE=dra7xx-evm bitbake ltp-ddt -c clean Loading cache: 100%
|#######################################################################
|#######################################################################
|#####################################################|
ETA: 00:00:00
Loaded 2194 entries from dependency cache.
Parsing recipes: 100%
|#######################################################################
|#######################################################################
|###################################################|
Time: 00:00:02
Parsing of 1766 .bb files complete (1758 cached, 8 parsed). 2201 targets, 199 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
/home/a0850405/code/tisdk/sources/meta-arago/meta-arago-distro/recipes-qt/qt5/qtbase_5.4.1.bbappend
/home/a0850405/code/tisdk/sources/meta-arago/meta-arago-distro/recipes-qt/qt5/qtwebkit_5.4.1.bbappend
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.22.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
TARGET_SYS = "arm-oe-linux-gnueabi"
MACHINE = "dra7xx-evm"
DISTRO = "arago"
DISTRO_VERSION = "2015.02"
TUNE_FEATURES = "armv7a vfp thumb neon callconvention-hard cortexa15"
TARGET_FPU = "vfp-neon"
meta-arago-distro
meta-arago-extras = "master:7362ca23ba513bc8af251da6b8b8a7a029aeafca"
meta-qt5 = "master:adeaa6128b665920eb98eb7c064f4aacbd74b873"
toolchain-layer
meta-networking
meta-ruby
meta-oe = "daisy:91dbdff2e1a0ca3dae72dfe0aaa022fc28974314"
meta-ti = "daisy:a47fe3573ec2c7662eb385049807dea4f81fa284"
meta-linaro-toolchain = "daisy:bc63e777ad2748b8bfa7fa70ffd74700fa21a567"
meta = "daisy:f34de2175f1d6a443f219b8ceaaf796cfbc6efd5"
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and all succeeded.
Summary: There was 1 WARNING message shown.
a0850405@a0850405-off1:~/code/tisdk/build$ MACHINE=dra7xx-evm bitbake ltp-ddt Loading cache: 100%
|#######################################################################
|#######################################################################
|#####################################################|
ETA: 00:00:00
Loaded 2194 entries from dependency cache.
Parsing recipes: 100%
|#######################################################################
|#######################################################################
|###################################################|
Time: 00:00:01
Parsing of 1766 .bb files complete (1758 cached, 8 parsed). 2201 targets, 199 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
/home/a0850405/code/tisdk/sources/meta-arago/meta-arago-distro/recipes-qt/qt5/qtbase_5.4.1.bbappend
/home/a0850405/code/tisdk/sources/meta-arago/meta-arago-distro/recipes-qt/qt5/qtwebkit_5.4.1.bbappend
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.22.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
TARGET_SYS = "arm-oe-linux-gnueabi"
MACHINE = "dra7xx-evm"
DISTRO = "arago"
DISTRO_VERSION = "2015.02"
TUNE_FEATURES = "armv7a vfp thumb neon callconvention-hard cortexa15"
TARGET_FPU = "vfp-neon"
meta-arago-distro
meta-arago-extras = "master:7362ca23ba513bc8af251da6b8b8a7a029aeafca"
meta-qt5 = "master:adeaa6128b665920eb98eb7c064f4aacbd74b873"
toolchain-layer
meta-networking
meta-ruby
meta-oe = "daisy:91dbdff2e1a0ca3dae72dfe0aaa022fc28974314"
meta-ti = "daisy:a47fe3573ec2c7662eb385049807dea4f81fa284"
meta-linaro-toolchain = "daisy:bc63e777ad2748b8bfa7fa70ffd74700fa21a567"
meta = "daisy:f34de2175f1d6a443f219b8ceaaf796cfbc6efd5"
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 465 tasks of which 452 didn't need to be rerun and all succeeded.
Summary: There was 1 WARNING message shown.
a0850405@a0850405-off1:~/code/tisdk/build$ ls arago-tmp-external-linaro-toolchain/
abi_version buildstats/ cache/ deploy/ log/
qa.log saved_tmpdir sstate-control/ stamps/
sysroots/ work/
a0850405@a0850405-off1:~/code/tisdk/build$ ls arago-tmp-external-linaro-toolchain/deploy/
images/ ipk/ licenses/
a0850405@a0850405-off1:~/code/tisdk/build$ ls arago-tmp-external-linaro-toolchain/deploy/ipk/
all/ cortexa15t2hf-vfp-neon/ dra7xx_evm/
a0850405@a0850405-off1:~/code/tisdk/build$ ls arago-tmp-external-linaro-toolchain/deploy/ipk/dra7xx_evm/ -ltr ...
...
-rw-r--r-- 2 a0850405 a0850405 38745494 Mar 10 16:32 ltp-ddt-dbg_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
-rw-r--r-- 2 a0850405 a0850405 952 Mar 10 16:32
ltp-ddt-dev_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
-rw-r--r-- 2 a0850405 a0850405 26224 Mar 10 16:32
ltp-ddt-doc_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
-rw-r--r-- 2 a0850405 a0850405 12129096 Mar 10 16:32 ltp-ddt_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
-rw-r--r-- 2 a0850405 a0850405 3822 Mar 10 16:32
kernel-module-coproc-devfreq_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
-rw-r--r-- 2 a0850405 a0850405 3132 Mar 10 16:32
kernel-module-gpio-test_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
-rw-r--r-- 2 a0850405 a0850405 2452 Mar 10 16:32
kernel-module-kst-timer_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
-rw-r--r-- 2 a0850405 a0850405 2828 Mar 10 16:32
kernel-module-rpmsg-client-sample_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
2015-03-12 13:19 ` Stiffler, Jacob
@ 2015-03-12 14:11 ` Carlos Hernandez
2015-03-12 14:21 ` Stiffler, Jacob
2015-03-12 14:23 ` Denys Dmytriyenko
2 siblings, 0 replies; 24+ messages in thread
From: Carlos Hernandez @ 2015-03-12 14:11 UTC (permalink / raw)
To: Stiffler, Jacob, Dmytriyenko, Denys; +Cc: meta-arago@arago-project.org
Denys, Jake,
clock_gettime03.c includes common_timers.h, which includes
linux_syscall_numbers.h and this file defines __NR_clock_gettime.
Carlos
On 03/12/2015 09:19 AM, Stiffler, Jacob wrote:
> Sounds like a missing dependency issue if an initial clean build fails, then cleaning ltp-ddt before continuing the build allows it to succeed in some cases.
>
> - Jake
>
> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Hernandez, Carlos
> Sent: Thursday, March 12, 2015 9:10 AM
> To: Dmytriyenko, Denys
> Cc: meta-arago@arago-project.org
> Subject: Re: [meta-arago] [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
>
> On 03/12/2015 12:05 AM, Denys Dmytriyenko wrote:
>> Doesn't help. It still fails for am57xx-evm. It seems to build fine for am335x-evm...
>>
>> Besides the undefined yylex error (which might be non-fatal), I also
>> see
>> these:
>>
>> | clock_gettime03.c:141:4: error: '__NR_clock_gettime' undeclared
>> | (first use in this function)
>>
>> | clock_gettime03.c:168:31: error: 'cleanup' undeclared (first use in
>> | this function)
>>
>> | faccessat01.c:70:21: error: '__NR_faccessat' undeclared (first use
>> | in this function)
>>
> I saw that error but it went away after cleaning ltp-ddt and rebuilding.
> See log below.
>
> a0850405@a0850405-off1:~/code/tisdk/build$ MACHINE=dra7xx-evm bitbake ltp-ddt -c clean Loading cache: 100%
> |#######################################################################
> |#######################################################################
> |#####################################################|
> ETA: 00:00:00
> Loaded 2194 entries from dependency cache.
> Parsing recipes: 100%
> |#######################################################################
> |#######################################################################
> |###################################################|
> Time: 00:00:02
> Parsing of 1766 .bb files complete (1758 cached, 8 parsed). 2201 targets, 199 skipped, 0 masked, 0 errors.
> WARNING: No recipes available for:
> /home/a0850405/code/tisdk/sources/meta-arago/meta-arago-distro/recipes-qt/qt5/qtbase_5.4.1.bbappend
>
> /home/a0850405/code/tisdk/sources/meta-arago/meta-arago-distro/recipes-qt/qt5/qtwebkit_5.4.1.bbappend
>
> NOTE: Resolving any missing task queue dependencies
>
> Build Configuration:
> BB_VERSION = "1.22.0"
> BUILD_SYS = "i686-linux"
> NATIVELSBSTRING = "Ubuntu-14.04"
> TARGET_SYS = "arm-oe-linux-gnueabi"
> MACHINE = "dra7xx-evm"
> DISTRO = "arago"
> DISTRO_VERSION = "2015.02"
> TUNE_FEATURES = "armv7a vfp thumb neon callconvention-hard cortexa15"
> TARGET_FPU = "vfp-neon"
> meta-arago-distro
> meta-arago-extras = "master:7362ca23ba513bc8af251da6b8b8a7a029aeafca"
> meta-qt5 = "master:adeaa6128b665920eb98eb7c064f4aacbd74b873"
> toolchain-layer
> meta-networking
> meta-ruby
> meta-oe = "daisy:91dbdff2e1a0ca3dae72dfe0aaa022fc28974314"
> meta-ti = "daisy:a47fe3573ec2c7662eb385049807dea4f81fa284"
> meta-linaro-toolchain = "daisy:bc63e777ad2748b8bfa7fa70ffd74700fa21a567"
> meta = "daisy:f34de2175f1d6a443f219b8ceaaf796cfbc6efd5"
>
> NOTE: Preparing runqueue
> NOTE: Executing RunQueue Tasks
> NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and all succeeded.
>
> Summary: There was 1 WARNING message shown.
>
>
> a0850405@a0850405-off1:~/code/tisdk/build$ MACHINE=dra7xx-evm bitbake ltp-ddt Loading cache: 100%
> |#######################################################################
> |#######################################################################
> |#####################################################|
> ETA: 00:00:00
> Loaded 2194 entries from dependency cache.
> Parsing recipes: 100%
> |#######################################################################
> |#######################################################################
> |###################################################|
> Time: 00:00:01
> Parsing of 1766 .bb files complete (1758 cached, 8 parsed). 2201 targets, 199 skipped, 0 masked, 0 errors.
> WARNING: No recipes available for:
> /home/a0850405/code/tisdk/sources/meta-arago/meta-arago-distro/recipes-qt/qt5/qtbase_5.4.1.bbappend
>
> /home/a0850405/code/tisdk/sources/meta-arago/meta-arago-distro/recipes-qt/qt5/qtwebkit_5.4.1.bbappend
>
> NOTE: Resolving any missing task queue dependencies
>
> Build Configuration:
> BB_VERSION = "1.22.0"
> BUILD_SYS = "i686-linux"
> NATIVELSBSTRING = "Ubuntu-14.04"
> TARGET_SYS = "arm-oe-linux-gnueabi"
> MACHINE = "dra7xx-evm"
> DISTRO = "arago"
> DISTRO_VERSION = "2015.02"
> TUNE_FEATURES = "armv7a vfp thumb neon callconvention-hard cortexa15"
> TARGET_FPU = "vfp-neon"
> meta-arago-distro
> meta-arago-extras = "master:7362ca23ba513bc8af251da6b8b8a7a029aeafca"
> meta-qt5 = "master:adeaa6128b665920eb98eb7c064f4aacbd74b873"
> toolchain-layer
> meta-networking
> meta-ruby
> meta-oe = "daisy:91dbdff2e1a0ca3dae72dfe0aaa022fc28974314"
> meta-ti = "daisy:a47fe3573ec2c7662eb385049807dea4f81fa284"
> meta-linaro-toolchain = "daisy:bc63e777ad2748b8bfa7fa70ffd74700fa21a567"
> meta = "daisy:f34de2175f1d6a443f219b8ceaaf796cfbc6efd5"
>
> NOTE: Preparing runqueue
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> NOTE: Tasks Summary: Attempted 465 tasks of which 452 didn't need to be rerun and all succeeded.
>
> Summary: There was 1 WARNING message shown.
>
>
> a0850405@a0850405-off1:~/code/tisdk/build$ ls arago-tmp-external-linaro-toolchain/
> abi_version buildstats/ cache/ deploy/ log/
> qa.log saved_tmpdir sstate-control/ stamps/
> sysroots/ work/
> a0850405@a0850405-off1:~/code/tisdk/build$ ls arago-tmp-external-linaro-toolchain/deploy/
> images/ ipk/ licenses/
> a0850405@a0850405-off1:~/code/tisdk/build$ ls arago-tmp-external-linaro-toolchain/deploy/ipk/
> all/ cortexa15t2hf-vfp-neon/ dra7xx_evm/
> a0850405@a0850405-off1:~/code/tisdk/build$ ls arago-tmp-external-linaro-toolchain/deploy/ipk/dra7xx_evm/ -ltr ...
> ...
> -rw-r--r-- 2 a0850405 a0850405 38745494 Mar 10 16:32 ltp-ddt-dbg_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
> -rw-r--r-- 2 a0850405 a0850405 952 Mar 10 16:32
> ltp-ddt-dev_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
> -rw-r--r-- 2 a0850405 a0850405 26224 Mar 10 16:32
> ltp-ddt-doc_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
> -rw-r--r-- 2 a0850405 a0850405 12129096 Mar 10 16:32 ltp-ddt_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
> -rw-r--r-- 2 a0850405 a0850405 3822 Mar 10 16:32
> kernel-module-coproc-devfreq_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
> -rw-r--r-- 2 a0850405 a0850405 3132 Mar 10 16:32
> kernel-module-gpio-test_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
> -rw-r--r-- 2 a0850405 a0850405 2452 Mar 10 16:32
> kernel-module-kst-timer_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
> -rw-r--r-- 2 a0850405 a0850405 2828 Mar 10 16:32
> kernel-module-rpmsg-client-sample_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
>
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
2015-03-12 13:19 ` Stiffler, Jacob
2015-03-12 14:11 ` Carlos Hernandez
@ 2015-03-12 14:21 ` Stiffler, Jacob
2015-03-12 14:37 ` Stiffler, Jacob
2015-03-12 14:38 ` Carlos Hernandez
2015-03-12 14:23 ` Denys Dmytriyenko
2 siblings, 2 replies; 24+ messages in thread
From: Stiffler, Jacob @ 2015-03-12 14:21 UTC (permalink / raw)
To: Hernandez, Carlos, Dmytriyenko, Denys; +Cc: meta-arago@arago-project.org
I've done some more research since this is breaking all of my builds. Here is the command causing the error:
arm-linux-gnueabihf-gcc -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 -L/opt/linaro-2013.03/arm-linux-gnueabihf/lib -Wl,-rpath-link,/opt/linaro-2013.03/arm-linux-gnueabihf/lib -Wl,-O1 -Wl,--hash-style=gnu --sysroot=/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am437x-evm -L/opt/linaro-2013.03/arm-linux-gnueabihf/lib -Wl,-rpath-link,/opt/linaro-2013.03/arm-linux-gnueabihf/lib -Wl,-O1 -Wl,--hash-style=gnu -L../lib ltp-bump.o zoolib.o -lm -lfl -o ltp-bump
/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am437x-evm/usr/lib/libfl.so: undefined reference to `yylex'
collect2: error: ld returned 1 exit status
make[1]: *** [ltp-bump] Error 1
make[1]: *** Waiting for unfinished jobs....
The symbol 'yylex' comes from a flex generated file. Not sure how this isn't being seen in all builds... This will need to link with a flex generated file. In this case, all I can see is scan.c, which is generated from scan.l. So should ltp_bump link with scan.o? If not, then why would ltp-bump need to link with libfl.so?
Can you find the log for linking 'ltp-bump' in one of the successful builds?
-----Original Message-----
From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Stiffler, Jacob
Sent: Thursday, March 12, 2015 9:20 AM
To: Hernandez, Carlos; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org
Subject: Re: [meta-arago] [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
Sounds like a missing dependency issue if an initial clean build fails, then cleaning ltp-ddt before continuing the build allows it to succeed in some cases.
- Jake
-----Original Message-----
From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Hernandez, Carlos
Sent: Thursday, March 12, 2015 9:10 AM
To: Dmytriyenko, Denys
Cc: meta-arago@arago-project.org
Subject: Re: [meta-arago] [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
On 03/12/2015 12:05 AM, Denys Dmytriyenko wrote:
> Doesn't help. It still fails for am57xx-evm. It seems to build fine for am335x-evm...
>
> Besides the undefined yylex error (which might be non-fatal), I also
> see
> these:
>
> | clock_gettime03.c:141:4: error: '__NR_clock_gettime' undeclared
> | (first use in this function)
>
> | clock_gettime03.c:168:31: error: 'cleanup' undeclared (first use in
> | this function)
>
> | faccessat01.c:70:21: error: '__NR_faccessat' undeclared (first use
> | in this function)
>
I saw that error but it went away after cleaning ltp-ddt and rebuilding.
See log below.
a0850405@a0850405-off1:~/code/tisdk/build$ MACHINE=dra7xx-evm bitbake ltp-ddt -c clean Loading cache: 100%
|#######################################################################
|#######################################################################
|#####################################################|
ETA: 00:00:00
Loaded 2194 entries from dependency cache.
Parsing recipes: 100%
|#######################################################################
|#######################################################################
|###################################################|
Time: 00:00:02
Parsing of 1766 .bb files complete (1758 cached, 8 parsed). 2201 targets, 199 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
/home/a0850405/code/tisdk/sources/meta-arago/meta-arago-distro/recipes-qt/qt5/qtbase_5.4.1.bbappend
/home/a0850405/code/tisdk/sources/meta-arago/meta-arago-distro/recipes-qt/qt5/qtwebkit_5.4.1.bbappend
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.22.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
TARGET_SYS = "arm-oe-linux-gnueabi"
MACHINE = "dra7xx-evm"
DISTRO = "arago"
DISTRO_VERSION = "2015.02"
TUNE_FEATURES = "armv7a vfp thumb neon callconvention-hard cortexa15"
TARGET_FPU = "vfp-neon"
meta-arago-distro
meta-arago-extras = "master:7362ca23ba513bc8af251da6b8b8a7a029aeafca"
meta-qt5 = "master:adeaa6128b665920eb98eb7c064f4aacbd74b873"
toolchain-layer
meta-networking
meta-ruby
meta-oe = "daisy:91dbdff2e1a0ca3dae72dfe0aaa022fc28974314"
meta-ti = "daisy:a47fe3573ec2c7662eb385049807dea4f81fa284"
meta-linaro-toolchain = "daisy:bc63e777ad2748b8bfa7fa70ffd74700fa21a567"
meta = "daisy:f34de2175f1d6a443f219b8ceaaf796cfbc6efd5"
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and all succeeded.
Summary: There was 1 WARNING message shown.
a0850405@a0850405-off1:~/code/tisdk/build$ MACHINE=dra7xx-evm bitbake ltp-ddt Loading cache: 100%
|#######################################################################
|#######################################################################
|#####################################################|
ETA: 00:00:00
Loaded 2194 entries from dependency cache.
Parsing recipes: 100%
|#######################################################################
|#######################################################################
|###################################################|
Time: 00:00:01
Parsing of 1766 .bb files complete (1758 cached, 8 parsed). 2201 targets, 199 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
/home/a0850405/code/tisdk/sources/meta-arago/meta-arago-distro/recipes-qt/qt5/qtbase_5.4.1.bbappend
/home/a0850405/code/tisdk/sources/meta-arago/meta-arago-distro/recipes-qt/qt5/qtwebkit_5.4.1.bbappend
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.22.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
TARGET_SYS = "arm-oe-linux-gnueabi"
MACHINE = "dra7xx-evm"
DISTRO = "arago"
DISTRO_VERSION = "2015.02"
TUNE_FEATURES = "armv7a vfp thumb neon callconvention-hard cortexa15"
TARGET_FPU = "vfp-neon"
meta-arago-distro
meta-arago-extras = "master:7362ca23ba513bc8af251da6b8b8a7a029aeafca"
meta-qt5 = "master:adeaa6128b665920eb98eb7c064f4aacbd74b873"
toolchain-layer
meta-networking
meta-ruby
meta-oe = "daisy:91dbdff2e1a0ca3dae72dfe0aaa022fc28974314"
meta-ti = "daisy:a47fe3573ec2c7662eb385049807dea4f81fa284"
meta-linaro-toolchain = "daisy:bc63e777ad2748b8bfa7fa70ffd74700fa21a567"
meta = "daisy:f34de2175f1d6a443f219b8ceaaf796cfbc6efd5"
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 465 tasks of which 452 didn't need to be rerun and all succeeded.
Summary: There was 1 WARNING message shown.
a0850405@a0850405-off1:~/code/tisdk/build$ ls arago-tmp-external-linaro-toolchain/
abi_version buildstats/ cache/ deploy/ log/
qa.log saved_tmpdir sstate-control/ stamps/
sysroots/ work/
a0850405@a0850405-off1:~/code/tisdk/build$ ls arago-tmp-external-linaro-toolchain/deploy/
images/ ipk/ licenses/
a0850405@a0850405-off1:~/code/tisdk/build$ ls arago-tmp-external-linaro-toolchain/deploy/ipk/
all/ cortexa15t2hf-vfp-neon/ dra7xx_evm/
a0850405@a0850405-off1:~/code/tisdk/build$ ls arago-tmp-external-linaro-toolchain/deploy/ipk/dra7xx_evm/ -ltr ...
...
-rw-r--r-- 2 a0850405 a0850405 38745494 Mar 10 16:32 ltp-ddt-dbg_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
-rw-r--r-- 2 a0850405 a0850405 952 Mar 10 16:32
ltp-ddt-dev_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
-rw-r--r-- 2 a0850405 a0850405 26224 Mar 10 16:32
ltp-ddt-doc_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
-rw-r--r-- 2 a0850405 a0850405 12129096 Mar 10 16:32 ltp-ddt_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
-rw-r--r-- 2 a0850405 a0850405 3822 Mar 10 16:32
kernel-module-coproc-devfreq_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
-rw-r--r-- 2 a0850405 a0850405 3132 Mar 10 16:32
kernel-module-gpio-test_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
-rw-r--r-- 2 a0850405 a0850405 2452 Mar 10 16:32
kernel-module-kst-timer_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
-rw-r--r-- 2 a0850405 a0850405 2828 Mar 10 16:32
kernel-module-rpmsg-client-sample_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
2015-03-12 13:19 ` Stiffler, Jacob
2015-03-12 14:11 ` Carlos Hernandez
2015-03-12 14:21 ` Stiffler, Jacob
@ 2015-03-12 14:23 ` Denys Dmytriyenko
2 siblings, 0 replies; 24+ messages in thread
From: Denys Dmytriyenko @ 2015-03-12 14:23 UTC (permalink / raw)
To: Stiffler, Jacob; +Cc: meta-arago@arago-project.org
There's definitely some implicit dependency going on there - just repeating a
failed build of ltp-ddt makes it work the second time. It might be something
internal to ltp-ddt, but I'm looking for any missing external deps for now...
On Thu, Mar 12, 2015 at 09:19:53AM -0400, Stiffler, Jacob wrote:
> Sounds like a missing dependency issue if an initial clean build fails, then
> cleaning ltp-ddt before continuing the build allows it to succeed in some
> cases.
>
> - Jake
>
> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Hernandez, Carlos
> Sent: Thursday, March 12, 2015 9:10 AM
> To: Dmytriyenko, Denys
> Cc: meta-arago@arago-project.org
> Subject: Re: [meta-arago] [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
>
> On 03/12/2015 12:05 AM, Denys Dmytriyenko wrote:
> > Doesn't help. It still fails for am57xx-evm. It seems to build fine for am335x-evm...
> >
> > Besides the undefined yylex error (which might be non-fatal), I also
> > see
> > these:
> >
> > | clock_gettime03.c:141:4: error: '__NR_clock_gettime' undeclared
> > | (first use in this function)
> >
> > | clock_gettime03.c:168:31: error: 'cleanup' undeclared (first use in
> > | this function)
> >
> > | faccessat01.c:70:21: error: '__NR_faccessat' undeclared (first use
> > | in this function)
> >
>
> I saw that error but it went away after cleaning ltp-ddt and rebuilding.
> See log below.
>
> a0850405@a0850405-off1:~/code/tisdk/build$ MACHINE=dra7xx-evm bitbake ltp-ddt -c clean Loading cache: 100%
> |#######################################################################
> |#######################################################################
> |#####################################################|
> ETA: 00:00:00
> Loaded 2194 entries from dependency cache.
> Parsing recipes: 100%
> |#######################################################################
> |#######################################################################
> |###################################################|
> Time: 00:00:02
> Parsing of 1766 .bb files complete (1758 cached, 8 parsed). 2201 targets, 199 skipped, 0 masked, 0 errors.
> WARNING: No recipes available for:
> /home/a0850405/code/tisdk/sources/meta-arago/meta-arago-distro/recipes-qt/qt5/qtbase_5.4.1.bbappend
>
> /home/a0850405/code/tisdk/sources/meta-arago/meta-arago-distro/recipes-qt/qt5/qtwebkit_5.4.1.bbappend
>
> NOTE: Resolving any missing task queue dependencies
>
> Build Configuration:
> BB_VERSION = "1.22.0"
> BUILD_SYS = "i686-linux"
> NATIVELSBSTRING = "Ubuntu-14.04"
> TARGET_SYS = "arm-oe-linux-gnueabi"
> MACHINE = "dra7xx-evm"
> DISTRO = "arago"
> DISTRO_VERSION = "2015.02"
> TUNE_FEATURES = "armv7a vfp thumb neon callconvention-hard cortexa15"
> TARGET_FPU = "vfp-neon"
> meta-arago-distro
> meta-arago-extras = "master:7362ca23ba513bc8af251da6b8b8a7a029aeafca"
> meta-qt5 = "master:adeaa6128b665920eb98eb7c064f4aacbd74b873"
> toolchain-layer
> meta-networking
> meta-ruby
> meta-oe = "daisy:91dbdff2e1a0ca3dae72dfe0aaa022fc28974314"
> meta-ti = "daisy:a47fe3573ec2c7662eb385049807dea4f81fa284"
> meta-linaro-toolchain = "daisy:bc63e777ad2748b8bfa7fa70ffd74700fa21a567"
> meta = "daisy:f34de2175f1d6a443f219b8ceaaf796cfbc6efd5"
>
> NOTE: Preparing runqueue
> NOTE: Executing RunQueue Tasks
> NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and all succeeded.
>
> Summary: There was 1 WARNING message shown.
>
>
> a0850405@a0850405-off1:~/code/tisdk/build$ MACHINE=dra7xx-evm bitbake ltp-ddt Loading cache: 100%
> |#######################################################################
> |#######################################################################
> |#####################################################|
> ETA: 00:00:00
> Loaded 2194 entries from dependency cache.
> Parsing recipes: 100%
> |#######################################################################
> |#######################################################################
> |###################################################|
> Time: 00:00:01
> Parsing of 1766 .bb files complete (1758 cached, 8 parsed). 2201 targets, 199 skipped, 0 masked, 0 errors.
> WARNING: No recipes available for:
> /home/a0850405/code/tisdk/sources/meta-arago/meta-arago-distro/recipes-qt/qt5/qtbase_5.4.1.bbappend
>
> /home/a0850405/code/tisdk/sources/meta-arago/meta-arago-distro/recipes-qt/qt5/qtwebkit_5.4.1.bbappend
>
> NOTE: Resolving any missing task queue dependencies
>
> Build Configuration:
> BB_VERSION = "1.22.0"
> BUILD_SYS = "i686-linux"
> NATIVELSBSTRING = "Ubuntu-14.04"
> TARGET_SYS = "arm-oe-linux-gnueabi"
> MACHINE = "dra7xx-evm"
> DISTRO = "arago"
> DISTRO_VERSION = "2015.02"
> TUNE_FEATURES = "armv7a vfp thumb neon callconvention-hard cortexa15"
> TARGET_FPU = "vfp-neon"
> meta-arago-distro
> meta-arago-extras = "master:7362ca23ba513bc8af251da6b8b8a7a029aeafca"
> meta-qt5 = "master:adeaa6128b665920eb98eb7c064f4aacbd74b873"
> toolchain-layer
> meta-networking
> meta-ruby
> meta-oe = "daisy:91dbdff2e1a0ca3dae72dfe0aaa022fc28974314"
> meta-ti = "daisy:a47fe3573ec2c7662eb385049807dea4f81fa284"
> meta-linaro-toolchain = "daisy:bc63e777ad2748b8bfa7fa70ffd74700fa21a567"
> meta = "daisy:f34de2175f1d6a443f219b8ceaaf796cfbc6efd5"
>
> NOTE: Preparing runqueue
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> NOTE: Tasks Summary: Attempted 465 tasks of which 452 didn't need to be rerun and all succeeded.
>
> Summary: There was 1 WARNING message shown.
>
>
> a0850405@a0850405-off1:~/code/tisdk/build$ ls arago-tmp-external-linaro-toolchain/
> abi_version buildstats/ cache/ deploy/ log/
> qa.log saved_tmpdir sstate-control/ stamps/
> sysroots/ work/
> a0850405@a0850405-off1:~/code/tisdk/build$ ls arago-tmp-external-linaro-toolchain/deploy/
> images/ ipk/ licenses/
> a0850405@a0850405-off1:~/code/tisdk/build$ ls arago-tmp-external-linaro-toolchain/deploy/ipk/
> all/ cortexa15t2hf-vfp-neon/ dra7xx_evm/
> a0850405@a0850405-off1:~/code/tisdk/build$ ls arago-tmp-external-linaro-toolchain/deploy/ipk/dra7xx_evm/ -ltr ...
> ...
> -rw-r--r-- 2 a0850405 a0850405 38745494 Mar 10 16:32 ltp-ddt-dbg_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
> -rw-r--r-- 2 a0850405 a0850405 952 Mar 10 16:32
> ltp-ddt-dev_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
> -rw-r--r-- 2 a0850405 a0850405 26224 Mar 10 16:32
> ltp-ddt-doc_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
> -rw-r--r-- 2 a0850405 a0850405 12129096 Mar 10 16:32 ltp-ddt_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
> -rw-r--r-- 2 a0850405 a0850405 3822 Mar 10 16:32
> kernel-module-coproc-devfreq_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
> -rw-r--r-- 2 a0850405 a0850405 3132 Mar 10 16:32
> kernel-module-gpio-test_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
> -rw-r--r-- 2 a0850405 a0850405 2452 Mar 10 16:32
> kernel-module-kst-timer_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
> -rw-r--r-- 2 a0850405 a0850405 2828 Mar 10 16:32
> kernel-module-rpmsg-client-sample_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
>
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
2015-03-12 14:21 ` Stiffler, Jacob
@ 2015-03-12 14:37 ` Stiffler, Jacob
2015-03-12 14:38 ` Carlos Hernandez
1 sibling, 0 replies; 24+ messages in thread
From: Stiffler, Jacob @ 2015-03-12 14:37 UTC (permalink / raw)
To: Hernandez, Carlos, Dmytriyenko, Denys; +Cc: meta-arago@arago-project.org
The issue appears to be in pan/Makfile. All targets link with $(LEXLIB), but only ltp-scanner should require it, and scan is the only lex file. Was this that old issue with parallel make?
LDLIBS += -lm $(LEXLIB)
LFLAGS += -l
INSTALL_DIR := bin
MAKE_TARGETS := ltp-bump ltp-pan
ifeq ($(strip $(LEXLIB)),)
$(warning ltp-scanner will not be built because a working copy of lex was not found)
else
MAKE_TARGETS += ltp-scanner
endif
ltp-bump: ltp-bump.o zoolib.o
ltp-pan: ltp-pan.o zoolib.o splitstr.o
ltp-scanner: scan.o ltp-scanner.o reporter.o tag_report.o symbol.o splitstr.o debug.o
-----Original Message-----
From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Stiffler, Jacob
Sent: Thursday, March 12, 2015 10:22 AM
To: Hernandez, Carlos; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org
Subject: Re: [meta-arago] [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
I've done some more research since this is breaking all of my builds. Here is the command causing the error:
arm-linux-gnueabihf-gcc -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 -L/opt/linaro-2013.03/arm-linux-gnueabihf/lib -Wl,-rpath-link,/opt/linaro-2013.03/arm-linux-gnueabihf/lib -Wl,-O1 -Wl,--hash-style=gnu --sysroot=/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am437x-evm -L/opt/linaro-2013.03/arm-linux-gnueabihf/lib -Wl,-rpath-link,/opt/linaro-2013.03/arm-linux-gnueabihf/lib -Wl,-O1 -Wl,--hash-style=gnu -L../lib ltp-bump.o zoolib.o -lm -lfl -o ltp-bump
/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am437x-evm/usr/lib/libfl.so: undefined reference to `yylex'
collect2: error: ld returned 1 exit status
make[1]: *** [ltp-bump] Error 1
make[1]: *** Waiting for unfinished jobs....
The symbol 'yylex' comes from a flex generated file. Not sure how this isn't being seen in all builds... This will need to link with a flex generated file. In this case, all I can see is scan.c, which is generated from scan.l. So should ltp_bump link with scan.o? If not, then why would ltp-bump need to link with libfl.so?
Can you find the log for linking 'ltp-bump' in one of the successful builds?
-----Original Message-----
From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Stiffler, Jacob
Sent: Thursday, March 12, 2015 9:20 AM
To: Hernandez, Carlos; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org
Subject: Re: [meta-arago] [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
Sounds like a missing dependency issue if an initial clean build fails, then cleaning ltp-ddt before continuing the build allows it to succeed in some cases.
- Jake
-----Original Message-----
From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Hernandez, Carlos
Sent: Thursday, March 12, 2015 9:10 AM
To: Dmytriyenko, Denys
Cc: meta-arago@arago-project.org
Subject: Re: [meta-arago] [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
On 03/12/2015 12:05 AM, Denys Dmytriyenko wrote:
> Doesn't help. It still fails for am57xx-evm. It seems to build fine for am335x-evm...
>
> Besides the undefined yylex error (which might be non-fatal), I also
> see
> these:
>
> | clock_gettime03.c:141:4: error: '__NR_clock_gettime' undeclared
> | (first use in this function)
>
> | clock_gettime03.c:168:31: error: 'cleanup' undeclared (first use in
> | this function)
>
> | faccessat01.c:70:21: error: '__NR_faccessat' undeclared (first use
> | in this function)
>
I saw that error but it went away after cleaning ltp-ddt and rebuilding.
See log below.
a0850405@a0850405-off1:~/code/tisdk/build$ MACHINE=dra7xx-evm bitbake ltp-ddt -c clean Loading cache: 100%
|#######################################################################
|#######################################################################
|#####################################################|
ETA: 00:00:00
Loaded 2194 entries from dependency cache.
Parsing recipes: 100%
|#######################################################################
|#######################################################################
|###################################################|
Time: 00:00:02
Parsing of 1766 .bb files complete (1758 cached, 8 parsed). 2201 targets, 199 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
/home/a0850405/code/tisdk/sources/meta-arago/meta-arago-distro/recipes-qt/qt5/qtbase_5.4.1.bbappend
/home/a0850405/code/tisdk/sources/meta-arago/meta-arago-distro/recipes-qt/qt5/qtwebkit_5.4.1.bbappend
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.22.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
TARGET_SYS = "arm-oe-linux-gnueabi"
MACHINE = "dra7xx-evm"
DISTRO = "arago"
DISTRO_VERSION = "2015.02"
TUNE_FEATURES = "armv7a vfp thumb neon callconvention-hard cortexa15"
TARGET_FPU = "vfp-neon"
meta-arago-distro
meta-arago-extras = "master:7362ca23ba513bc8af251da6b8b8a7a029aeafca"
meta-qt5 = "master:adeaa6128b665920eb98eb7c064f4aacbd74b873"
toolchain-layer
meta-networking
meta-ruby
meta-oe = "daisy:91dbdff2e1a0ca3dae72dfe0aaa022fc28974314"
meta-ti = "daisy:a47fe3573ec2c7662eb385049807dea4f81fa284"
meta-linaro-toolchain = "daisy:bc63e777ad2748b8bfa7fa70ffd74700fa21a567"
meta = "daisy:f34de2175f1d6a443f219b8ceaaf796cfbc6efd5"
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and all succeeded.
Summary: There was 1 WARNING message shown.
a0850405@a0850405-off1:~/code/tisdk/build$ MACHINE=dra7xx-evm bitbake ltp-ddt Loading cache: 100%
|#######################################################################
|#######################################################################
|#####################################################|
ETA: 00:00:00
Loaded 2194 entries from dependency cache.
Parsing recipes: 100%
|#######################################################################
|#######################################################################
|###################################################|
Time: 00:00:01
Parsing of 1766 .bb files complete (1758 cached, 8 parsed). 2201 targets, 199 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
/home/a0850405/code/tisdk/sources/meta-arago/meta-arago-distro/recipes-qt/qt5/qtbase_5.4.1.bbappend
/home/a0850405/code/tisdk/sources/meta-arago/meta-arago-distro/recipes-qt/qt5/qtwebkit_5.4.1.bbappend
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.22.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
TARGET_SYS = "arm-oe-linux-gnueabi"
MACHINE = "dra7xx-evm"
DISTRO = "arago"
DISTRO_VERSION = "2015.02"
TUNE_FEATURES = "armv7a vfp thumb neon callconvention-hard cortexa15"
TARGET_FPU = "vfp-neon"
meta-arago-distro
meta-arago-extras = "master:7362ca23ba513bc8af251da6b8b8a7a029aeafca"
meta-qt5 = "master:adeaa6128b665920eb98eb7c064f4aacbd74b873"
toolchain-layer
meta-networking
meta-ruby
meta-oe = "daisy:91dbdff2e1a0ca3dae72dfe0aaa022fc28974314"
meta-ti = "daisy:a47fe3573ec2c7662eb385049807dea4f81fa284"
meta-linaro-toolchain = "daisy:bc63e777ad2748b8bfa7fa70ffd74700fa21a567"
meta = "daisy:f34de2175f1d6a443f219b8ceaaf796cfbc6efd5"
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 465 tasks of which 452 didn't need to be rerun and all succeeded.
Summary: There was 1 WARNING message shown.
a0850405@a0850405-off1:~/code/tisdk/build$ ls arago-tmp-external-linaro-toolchain/
abi_version buildstats/ cache/ deploy/ log/
qa.log saved_tmpdir sstate-control/ stamps/
sysroots/ work/
a0850405@a0850405-off1:~/code/tisdk/build$ ls arago-tmp-external-linaro-toolchain/deploy/
images/ ipk/ licenses/
a0850405@a0850405-off1:~/code/tisdk/build$ ls arago-tmp-external-linaro-toolchain/deploy/ipk/
all/ cortexa15t2hf-vfp-neon/ dra7xx_evm/
a0850405@a0850405-off1:~/code/tisdk/build$ ls arago-tmp-external-linaro-toolchain/deploy/ipk/dra7xx_evm/ -ltr ...
...
-rw-r--r-- 2 a0850405 a0850405 38745494 Mar 10 16:32 ltp-ddt-dbg_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
-rw-r--r-- 2 a0850405 a0850405 952 Mar 10 16:32
ltp-ddt-dev_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
-rw-r--r-- 2 a0850405 a0850405 26224 Mar 10 16:32
ltp-ddt-doc_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
-rw-r--r-- 2 a0850405 a0850405 12129096 Mar 10 16:32 ltp-ddt_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
-rw-r--r-- 2 a0850405 a0850405 3822 Mar 10 16:32
kernel-module-coproc-devfreq_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
-rw-r--r-- 2 a0850405 a0850405 3132 Mar 10 16:32
kernel-module-gpio-test_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
-rw-r--r-- 2 a0850405 a0850405 2452 Mar 10 16:32
kernel-module-kst-timer_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
-rw-r--r-- 2 a0850405 a0850405 2828 Mar 10 16:32
kernel-module-rpmsg-client-sample_1.0.0-r1-arago10+gitrAUTOINC+eef6281052_dra7xx_evm.ipk
_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
2015-03-12 14:21 ` Stiffler, Jacob
2015-03-12 14:37 ` Stiffler, Jacob
@ 2015-03-12 14:38 ` Carlos Hernandez
2015-03-12 14:42 ` Denys Dmytriyenko
1 sibling, 1 reply; 24+ messages in thread
From: Carlos Hernandez @ 2015-03-12 14:38 UTC (permalink / raw)
To: Stiffler, Jacob, Dmytriyenko, Denys; +Cc: meta-arago@arago-project.org
[-- Attachment #1: Type: text/plain, Size: 2755 bytes --]
On 03/12/2015 10:21 AM, Stiffler, Jacob wrote:
> The symbol 'yylex' comes from a flex generated file. Not sure how this isn't being seen in all builds... This will need to link with a flex generated file. In this case, all I can see is scan.c, which is generated from scan.l. So should ltp_bump link with scan.o? If not, then why would ltp-bump need to link with libfl.so?
>
> Can you find the log for linking 'ltp-bump' in one of the successful builds?
*14:59:13* make[1]: Entering directory `/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan'
*14:59:13* /scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan/Makefile:43: ltp-scanner will not be built because a working copy of lex was not found
*14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o ltp-bump.o ltp-bump.c
*14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o zoolib.o zoolib.c
*14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -L../lib ltp-bump.o zoolib.o -lm -o ltp-bump
*14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o ltp-pan.o ltp-pan.c
*14:59:14* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o splitstr.o splitstr.c
*14:59:14* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -L../lib ltp-pan.o zoolib.o splitstr.o -lm -o ltp-pan
*14:59:14* make[1]: Leaving directory `/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan'
[-- Attachment #2: Type: text/html, Size: 3510 bytes --]
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
2015-03-12 14:38 ` Carlos Hernandez
@ 2015-03-12 14:42 ` Denys Dmytriyenko
2015-03-12 14:43 ` Stiffler, Jacob
0 siblings, 1 reply; 24+ messages in thread
From: Denys Dmytriyenko @ 2015-03-12 14:42 UTC (permalink / raw)
To: Carlos Hernandez; +Cc: meta-arago@arago-project.org
The successful build doesn't have -lfl after the ltp-scanner skip warning.
On Thu, Mar 12, 2015 at 10:38:24AM -0400, Carlos Hernandez wrote:
> On 03/12/2015 10:21 AM, Stiffler, Jacob wrote:
> >The symbol 'yylex' comes from a flex generated file. Not sure how this isn't being seen in all builds... This will need to link with a flex generated file. In this case, all I can see is scan.c, which is generated from scan.l. So should ltp_bump link with scan.o? If not, then why would ltp-bump need to link with libfl.so?
> >
> >Can you find the log for linking 'ltp-bump' in one of the successful builds?
>
> *14:59:13* make[1]: Entering directory `/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan'
> *14:59:13* /scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan/Makefile:43: ltp-scanner will not be built because a working copy of lex was not found
> *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o ltp-bump.o ltp-bump.c
> *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o zoolib.o zoolib.c
> *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -L../lib ltp-bump.o zoolib.o -lm -o ltp-bump
> *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o ltp-pan.o ltp-pan.c
> *14:59:14* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o splitstr.o splitstr.c
> *14:59:14* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -L../lib ltp-pan.o zoolib.o splitstr.o -lm -o ltp-pan
> *14:59:14* make[1]: Leaving directory `/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan'
>
>
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
2015-03-12 14:42 ` Denys Dmytriyenko
@ 2015-03-12 14:43 ` Stiffler, Jacob
2015-03-12 14:50 ` Stiffler, Jacob
2015-03-12 14:50 ` Denys Dmytriyenko
0 siblings, 2 replies; 24+ messages in thread
From: Stiffler, Jacob @ 2015-03-12 14:43 UTC (permalink / raw)
To: Dmytriyenko, Denys, Hernandez, Carlos; +Cc: meta-arago@arago-project.org
The warning implies that LEXLIB is not defined. Therefore LEXLIB should not be linked for all targets in pan/Makefile, only ltp-scanner.
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, March 12, 2015 10:42 AM
To: Hernandez, Carlos
Cc: Stiffler, Jacob; meta-arago@arago-project.org
Subject: Re: [meta-arago] [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
The successful build doesn't have -lfl after the ltp-scanner skip warning.
On Thu, Mar 12, 2015 at 10:38:24AM -0400, Carlos Hernandez wrote:
> On 03/12/2015 10:21 AM, Stiffler, Jacob wrote:
> >The symbol 'yylex' comes from a flex generated file. Not sure how this isn't being seen in all builds... This will need to link with a flex generated file. In this case, all I can see is scan.c, which is generated from scan.l. So should ltp_bump link with scan.o? If not, then why would ltp-bump need to link with libfl.so?
> >
> >Can you find the log for linking 'ltp-bump' in one of the successful builds?
>
> *14:59:13* make[1]: Entering directory `/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan'
> *14:59:13* /scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan/Makefile:43: ltp-scanner will not be built because a working copy of lex was not found
> *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o ltp-bump.o ltp-bump.c
> *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o zoolib.o zoolib.c
> *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -L../lib ltp-bump.o zoolib.o -lm -o ltp-bump
> *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o ltp-pan.o ltp-pan.c
> *14:59:14* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o splitstr.o splitstr.c
> *14:59:14* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -L../lib ltp-pan.o zoolib.o splitstr.o -lm -o ltp-pan
> *14:59:14* make[1]: Leaving directory `/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan'
>
>
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
2015-03-12 14:43 ` Stiffler, Jacob
@ 2015-03-12 14:50 ` Stiffler, Jacob
2015-03-12 14:53 ` Denys Dmytriyenko
2015-03-12 14:56 ` Carlos Hernandez
2015-03-12 14:50 ` Denys Dmytriyenko
1 sibling, 2 replies; 24+ messages in thread
From: Stiffler, Jacob @ 2015-03-12 14:50 UTC (permalink / raw)
To: Dmytriyenko, Denys, Hernandez, Carlos; +Cc: meta-arago@arago-project.org
The file ./include/mk/config.mk.default makes sure that LEXLIB is undefined.
The meta-oe version of the recipe for v 0.0.4 has a custom configure stage to make sure that ./include/mk/config.mk.default is the config.mk used:
do_configure() {
cp ${S}/include/config.h.default ${S}/include/config.h
cp ${S}/include/mk/config.mk.default ${S}/include/mk/config.mk
cp ${S}/include/mk/features.mk.default ${S}/include/mk/features.mk
echo "${TAG}" > ${S}/ChangeLog
}
-----Original Message-----
From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Stiffler, Jacob
Sent: Thursday, March 12, 2015 10:44 AM
To: Dmytriyenko, Denys; Hernandez, Carlos
Cc: meta-arago@arago-project.org
Subject: Re: [meta-arago] [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
The warning implies that LEXLIB is not defined. Therefore LEXLIB should not be linked for all targets in pan/Makefile, only ltp-scanner.
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, March 12, 2015 10:42 AM
To: Hernandez, Carlos
Cc: Stiffler, Jacob; meta-arago@arago-project.org
Subject: Re: [meta-arago] [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
The successful build doesn't have -lfl after the ltp-scanner skip warning.
On Thu, Mar 12, 2015 at 10:38:24AM -0400, Carlos Hernandez wrote:
> On 03/12/2015 10:21 AM, Stiffler, Jacob wrote:
> >The symbol 'yylex' comes from a flex generated file. Not sure how this isn't being seen in all builds... This will need to link with a flex generated file. In this case, all I can see is scan.c, which is generated from scan.l. So should ltp_bump link with scan.o? If not, then why would ltp-bump need to link with libfl.so?
> >
> >Can you find the log for linking 'ltp-bump' in one of the successful builds?
>
> *14:59:13* make[1]: Entering directory `/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan'
> *14:59:13* /scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan/Makefile:43: ltp-scanner will not be built because a working copy of lex was not found
> *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o ltp-bump.o ltp-bump.c
> *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o zoolib.o zoolib.c
> *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -L../lib ltp-bump.o zoolib.o -lm -o ltp-bump
> *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o ltp-pan.o ltp-pan.c
> *14:59:14* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o splitstr.o splitstr.c
> *14:59:14* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -L../lib ltp-pan.o zoolib.o splitstr.o -lm -o ltp-pan
> *14:59:14* make[1]: Leaving directory `/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan'
>
>
_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
2015-03-12 14:43 ` Stiffler, Jacob
2015-03-12 14:50 ` Stiffler, Jacob
@ 2015-03-12 14:50 ` Denys Dmytriyenko
1 sibling, 0 replies; 24+ messages in thread
From: Denys Dmytriyenko @ 2015-03-12 14:50 UTC (permalink / raw)
To: Stiffler, Jacob; +Cc: meta-arago@arago-project.org
Yes, I understand that. The question is why LEXLIB is not defined and is it
needed along with ltp-scanner?
Now, libfl library provides a standard main() stub that calls yylex()
externally, which you have to provide for lexical analyser. And since only
scan.c provides yylex(), that compile line should be the only one to link
against libfl.
On Thu, Mar 12, 2015 at 10:43:56AM -0400, Stiffler, Jacob wrote:
> The warning implies that LEXLIB is not defined. Therefore LEXLIB should not
> be linked for all targets in pan/Makefile, only ltp-scanner.
>
> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Thursday, March 12, 2015 10:42 AM
> To: Hernandez, Carlos
> Cc: Stiffler, Jacob; meta-arago@arago-project.org
> Subject: Re: [meta-arago] [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
>
> The successful build doesn't have -lfl after the ltp-scanner skip warning.
>
>
> On Thu, Mar 12, 2015 at 10:38:24AM -0400, Carlos Hernandez wrote:
> > On 03/12/2015 10:21 AM, Stiffler, Jacob wrote:
> > >The symbol 'yylex' comes from a flex generated file. Not sure how this isn't being seen in all builds... This will need to link with a flex generated file. In this case, all I can see is scan.c, which is generated from scan.l. So should ltp_bump link with scan.o? If not, then why would ltp-bump need to link with libfl.so?
> > >
> > >Can you find the log for linking 'ltp-bump' in one of the successful builds?
> >
> > *14:59:13* make[1]: Entering directory `/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan'
> > *14:59:13* /scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan/Makefile:43: ltp-scanner will not be built because a working copy of lex was not found
> > *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o ltp-bump.o ltp-bump.c
> > *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o zoolib.o zoolib.c
> > *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -L../lib ltp-bump.o zoolib.o -lm -o ltp-bump
> > *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o ltp-pan.o ltp-pan.c
> > *14:59:14* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o splitstr.o splitstr.c
> > *14:59:14* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -L../lib ltp-pan.o zoolib.o splitstr.o -lm -o ltp-pan
> > *14:59:14* make[1]: Leaving directory `/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan'
> >
> >
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
2015-03-12 14:50 ` Stiffler, Jacob
@ 2015-03-12 14:53 ` Denys Dmytriyenko
2015-03-12 14:57 ` Carlos Hernandez
2015-03-12 14:56 ` Carlos Hernandez
1 sibling, 1 reply; 24+ messages in thread
From: Denys Dmytriyenko @ 2015-03-12 14:53 UTC (permalink / raw)
To: Stiffler, Jacob; +Cc: meta-arago@arago-project.org
I'm fine putting those lines back - I didn't know if those were still
required, as they were missing from Carlos' version.
But, again, that will skip ltp-scanner - is that needed at all?
On Thu, Mar 12, 2015 at 10:50:43AM -0400, Stiffler, Jacob wrote:
> The file ./include/mk/config.mk.default makes sure that LEXLIB is undefined.
>
> The meta-oe version of the recipe for v 0.0.4 has a custom configure stage
> to make sure that ./include/mk/config.mk.default is the config.mk used:
>
> do_configure() {
> cp ${S}/include/config.h.default ${S}/include/config.h
> cp ${S}/include/mk/config.mk.default ${S}/include/mk/config.mk
> cp ${S}/include/mk/features.mk.default ${S}/include/mk/features.mk
> echo "${TAG}" > ${S}/ChangeLog
> }
>
>
>
> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Stiffler, Jacob
> Sent: Thursday, March 12, 2015 10:44 AM
> To: Dmytriyenko, Denys; Hernandez, Carlos
> Cc: meta-arago@arago-project.org
> Subject: Re: [meta-arago] [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
>
> The warning implies that LEXLIB is not defined. Therefore LEXLIB should not be linked for all targets in pan/Makefile, only ltp-scanner.
>
> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Thursday, March 12, 2015 10:42 AM
> To: Hernandez, Carlos
> Cc: Stiffler, Jacob; meta-arago@arago-project.org
> Subject: Re: [meta-arago] [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
>
> The successful build doesn't have -lfl after the ltp-scanner skip warning.
>
>
> On Thu, Mar 12, 2015 at 10:38:24AM -0400, Carlos Hernandez wrote:
> > On 03/12/2015 10:21 AM, Stiffler, Jacob wrote:
> > >The symbol 'yylex' comes from a flex generated file. Not sure how this isn't being seen in all builds... This will need to link with a flex generated file. In this case, all I can see is scan.c, which is generated from scan.l. So should ltp_bump link with scan.o? If not, then why would ltp-bump need to link with libfl.so?
> > >
> > >Can you find the log for linking 'ltp-bump' in one of the successful builds?
> >
> > *14:59:13* make[1]: Entering directory `/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan'
> > *14:59:13* /scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan/Makefile:43: ltp-scanner will not be built because a working copy of lex was not found
> > *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o ltp-bump.o ltp-bump.c
> > *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o zoolib.o zoolib.c
> > *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -L../lib ltp-bump.o zoolib.o -lm -o ltp-bump
> > *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o ltp-pan.o ltp-pan.c
> > *14:59:14* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o splitstr.o splitstr.c
> > *14:59:14* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -L../lib ltp-pan.o zoolib.o splitstr.o -lm -o ltp-pan
> > *14:59:14* make[1]: Leaving directory `/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan'
> >
> >
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
2015-03-12 14:50 ` Stiffler, Jacob
2015-03-12 14:53 ` Denys Dmytriyenko
@ 2015-03-12 14:56 ` Carlos Hernandez
2015-03-12 14:57 ` Stiffler, Jacob
1 sibling, 1 reply; 24+ messages in thread
From: Carlos Hernandez @ 2015-03-12 14:56 UTC (permalink / raw)
To: Stiffler, Jacob, Dmytriyenko, Denys; +Cc: meta-arago@arago-project.org
configure does set LEXLIB to blank.
$ cat 1.0.0-r1-arago10+gitrAUTOINC+91a8baa2f8/git/config.log | grep LEXLIB
LEXLIB=''
On 03/12/2015 10:50 AM, Stiffler, Jacob wrote:
> The file ./include/mk/config.mk.default makes sure that LEXLIB is undefined.
>
> The meta-oe version of the recipe for v 0.0.4 has a custom configure stage to make sure that ./include/mk/config.mk.default is the config.mk used:
>
> do_configure() {
> cp ${S}/include/config.h.default ${S}/include/config.h
> cp ${S}/include/mk/config.mk.default ${S}/include/mk/config.mk
> cp ${S}/include/mk/features.mk.default ${S}/include/mk/features.mk
> echo "${TAG}" > ${S}/ChangeLog
> }
>
>
>
> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Stiffler, Jacob
> Sent: Thursday, March 12, 2015 10:44 AM
> To: Dmytriyenko, Denys; Hernandez, Carlos
> Cc: meta-arago@arago-project.org
> Subject: Re: [meta-arago] [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
>
> The warning implies that LEXLIB is not defined. Therefore LEXLIB should not be linked for all targets in pan/Makefile, only ltp-scanner.
>
> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Thursday, March 12, 2015 10:42 AM
> To: Hernandez, Carlos
> Cc: Stiffler, Jacob; meta-arago@arago-project.org
> Subject: Re: [meta-arago] [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
>
> The successful build doesn't have -lfl after the ltp-scanner skip warning.
>
>
> On Thu, Mar 12, 2015 at 10:38:24AM -0400, Carlos Hernandez wrote:
>> On 03/12/2015 10:21 AM, Stiffler, Jacob wrote:
>>> The symbol 'yylex' comes from a flex generated file. Not sure how this isn't being seen in all builds... This will need to link with a flex generated file. In this case, all I can see is scan.c, which is generated from scan.l. So should ltp_bump link with scan.o? If not, then why would ltp-bump need to link with libfl.so?
>>>
>>> Can you find the log for linking 'ltp-bump' in one of the successful builds?
>> *14:59:13* make[1]: Entering directory `/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan'
>> *14:59:13* /scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan/Makefile:43: ltp-scanner will not be built because a working copy of lex was not found
>> *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o ltp-bump.o ltp-bump.c
>> *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o zoolib.o zoolib.c
>> *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -L../lib ltp-bump.o zoolib.o -lm -o ltp-bump
>> *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o ltp-pan.o ltp-pan.c
>> *14:59:14* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o splitstr.o splitstr.c
>> *14:59:14* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -L../lib ltp-pan.o zoolib.o splitstr.o -lm -o ltp-pan
>> *14:59:14* make[1]: Leaving directory `/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan'
>>
>>
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
2015-03-12 14:56 ` Carlos Hernandez
@ 2015-03-12 14:57 ` Stiffler, Jacob
2015-03-12 15:04 ` Denys Dmytriyenko
0 siblings, 1 reply; 24+ messages in thread
From: Stiffler, Jacob @ 2015-03-12 14:57 UTC (permalink / raw)
To: Hernandez, Carlos, Dmytriyenko, Denys; +Cc: meta-arago@arago-project.org
I get something different:
work/am437x_evm-oe-linux-gnueabi/ltp-ddt/1.0.0-r0/git$ cat config.log | grep LEXLIB
LEXLIB='-lfl'
-----Original Message-----
From: Hernandez, Carlos
Sent: Thursday, March 12, 2015 10:56 AM
To: Stiffler, Jacob; Dmytriyenko, Denys
Cc: meta-arago@arago-project.org
Subject: Re: [meta-arago] [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
configure does set LEXLIB to blank.
$ cat 1.0.0-r1-arago10+gitrAUTOINC+91a8baa2f8/git/config.log | grep LEXLIB LEXLIB=''
On 03/12/2015 10:50 AM, Stiffler, Jacob wrote:
> The file ./include/mk/config.mk.default makes sure that LEXLIB is undefined.
>
> The meta-oe version of the recipe for v 0.0.4 has a custom configure stage to make sure that ./include/mk/config.mk.default is the config.mk used:
>
> do_configure() {
> cp ${S}/include/config.h.default ${S}/include/config.h
> cp ${S}/include/mk/config.mk.default ${S}/include/mk/config.mk
> cp ${S}/include/mk/features.mk.default ${S}/include/mk/features.mk
> echo "${TAG}" > ${S}/ChangeLog
> }
>
>
>
> -----Original Message-----
> From: meta-arago-bounces@arago-project.org
> [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Stiffler,
> Jacob
> Sent: Thursday, March 12, 2015 10:44 AM
> To: Dmytriyenko, Denys; Hernandez, Carlos
> Cc: meta-arago@arago-project.org
> Subject: Re: [meta-arago] [PATCH] recipes-devtools: New ltp-ddt_1.0.0
> recipe
>
> The warning implies that LEXLIB is not defined. Therefore LEXLIB should not be linked for all targets in pan/Makefile, only ltp-scanner.
>
> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Thursday, March 12, 2015 10:42 AM
> To: Hernandez, Carlos
> Cc: Stiffler, Jacob; meta-arago@arago-project.org
> Subject: Re: [meta-arago] [PATCH] recipes-devtools: New ltp-ddt_1.0.0
> recipe
>
> The successful build doesn't have -lfl after the ltp-scanner skip warning.
>
>
> On Thu, Mar 12, 2015 at 10:38:24AM -0400, Carlos Hernandez wrote:
>> On 03/12/2015 10:21 AM, Stiffler, Jacob wrote:
>>> The symbol 'yylex' comes from a flex generated file. Not sure how this isn't being seen in all builds... This will need to link with a flex generated file. In this case, all I can see is scan.c, which is generated from scan.l. So should ltp_bump link with scan.o? If not, then why would ltp-bump need to link with libfl.so?
>>>
>>> Can you find the log for linking 'ltp-bump' in one of the successful builds?
>> *14:59:13* make[1]: Entering directory `/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan'
>> *14:59:13*
>> /scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-dd
>> t/pan/Makefile:43: ltp-scanner will not be built because a working
>> copy of lex was not found
>> *14:59:13*
>> /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integrati
>> on/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2
>> -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition
>> -D_FORTIFY_SOURCE=2 -Wno-error
>> -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-
>> ddt/pan -I../include -I../include -c -o ltp-bump.o ltp-bump.c
>> *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o zoolib.o zoolib.c
>> *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -L../lib ltp-bump.o zoolib.o -lm -o ltp-bump
>> *14:59:13*
>> /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integrati
>> on/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2
>> -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition
>> -D_FORTIFY_SOURCE=2 -Wno-error
>> -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-
>> ddt/pan -I../include -I../include -c -o ltp-pan.o ltp-pan.c
>> *14:59:14* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o splitstr.o splitstr.c
>> *14:59:14* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -L../lib ltp-pan.o zoolib.o splitstr.o -lm -o ltp-pan
>> *14:59:14* make[1]: Leaving directory `/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan'
>>
>>
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
2015-03-12 14:53 ` Denys Dmytriyenko
@ 2015-03-12 14:57 ` Carlos Hernandez
0 siblings, 0 replies; 24+ messages in thread
From: Carlos Hernandez @ 2015-03-12 14:57 UTC (permalink / raw)
To: Denys Dmytriyenko, Stiffler, Jacob; +Cc: meta-arago@arago-project.org
I don't think ltp-scanner is needed. However, we do want to run
configure as it defines bunch of symbols required to build.
Carlos
On 03/12/2015 10:53 AM, Denys Dmytriyenko wrote:
> I'm fine putting those lines back - I didn't know if those were still
> required, as they were missing from Carlos' version.
>
> But, again, that will skip ltp-scanner - is that needed at all?
>
>
> On Thu, Mar 12, 2015 at 10:50:43AM -0400, Stiffler, Jacob wrote:
>> The file ./include/mk/config.mk.default makes sure that LEXLIB is undefined.
>>
>> The meta-oe version of the recipe for v 0.0.4 has a custom configure stage
>> to make sure that ./include/mk/config.mk.default is the config.mk used:
>>
>> do_configure() {
>> cp ${S}/include/config.h.default ${S}/include/config.h
>> cp ${S}/include/mk/config.mk.default ${S}/include/mk/config.mk
>> cp ${S}/include/mk/features.mk.default ${S}/include/mk/features.mk
>> echo "${TAG}" > ${S}/ChangeLog
>> }
>>
>>
>>
>> -----Original Message-----
>> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Stiffler, Jacob
>> Sent: Thursday, March 12, 2015 10:44 AM
>> To: Dmytriyenko, Denys; Hernandez, Carlos
>> Cc: meta-arago@arago-project.org
>> Subject: Re: [meta-arago] [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
>>
>> The warning implies that LEXLIB is not defined. Therefore LEXLIB should not be linked for all targets in pan/Makefile, only ltp-scanner.
>>
>> -----Original Message-----
>> From: Dmytriyenko, Denys
>> Sent: Thursday, March 12, 2015 10:42 AM
>> To: Hernandez, Carlos
>> Cc: Stiffler, Jacob; meta-arago@arago-project.org
>> Subject: Re: [meta-arago] [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
>>
>> The successful build doesn't have -lfl after the ltp-scanner skip warning.
>>
>>
>> On Thu, Mar 12, 2015 at 10:38:24AM -0400, Carlos Hernandez wrote:
>>> On 03/12/2015 10:21 AM, Stiffler, Jacob wrote:
>>>> The symbol 'yylex' comes from a flex generated file. Not sure how this isn't being seen in all builds... This will need to link with a flex generated file. In this case, all I can see is scan.c, which is generated from scan.l. So should ltp_bump link with scan.o? If not, then why would ltp-bump need to link with libfl.so?
>>>>
>>>> Can you find the log for linking 'ltp-bump' in one of the successful builds?
>>> *14:59:13* make[1]: Entering directory `/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan'
>>> *14:59:13* /scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan/Makefile:43: ltp-scanner will not be built because a working copy of lex was not found
>>> *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o ltp-bump.o ltp-bump.c
>>> *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o zoolib.o zoolib.c
>>> *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -L../lib ltp-bump.o zoolib.o -lm -o ltp-bump
>>> *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o ltp-pan.o ltp-pan.c
>>> *14:59:14* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o splitstr.o splitstr.c
>>> *14:59:14* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -L../lib ltp-pan.o zoolib.o splitstr.o -lm -o ltp-pan
>>> *14:59:14* make[1]: Leaving directory `/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan'
>>>
>>>
>> _______________________________________________
>> meta-arago mailing list
>> meta-arago@arago-project.org
>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
2015-03-12 14:57 ` Stiffler, Jacob
@ 2015-03-12 15:04 ` Denys Dmytriyenko
0 siblings, 0 replies; 24+ messages in thread
From: Denys Dmytriyenko @ 2015-03-12 15:04 UTC (permalink / raw)
To: Stiffler, Jacob; +Cc: meta-arago@arago-project.org
Heh, and now my build passed the yylex() issue due to LEXLIB being
magically empty this time around, but failed due to all __NR_* issues...
On Thu, Mar 12, 2015 at 10:57:46AM -0400, Stiffler, Jacob wrote:
> I get something different:
>
> work/am437x_evm-oe-linux-gnueabi/ltp-ddt/1.0.0-r0/git$ cat config.log | grep LEXLIB
> LEXLIB='-lfl'
>
>
> -----Original Message-----
> From: Hernandez, Carlos
> Sent: Thursday, March 12, 2015 10:56 AM
> To: Stiffler, Jacob; Dmytriyenko, Denys
> Cc: meta-arago@arago-project.org
> Subject: Re: [meta-arago] [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe
>
> configure does set LEXLIB to blank.
>
> $ cat 1.0.0-r1-arago10+gitrAUTOINC+91a8baa2f8/git/config.log | grep LEXLIB LEXLIB=''
>
>
> On 03/12/2015 10:50 AM, Stiffler, Jacob wrote:
> > The file ./include/mk/config.mk.default makes sure that LEXLIB is undefined.
> >
> > The meta-oe version of the recipe for v 0.0.4 has a custom configure stage to make sure that ./include/mk/config.mk.default is the config.mk used:
> >
> > do_configure() {
> > cp ${S}/include/config.h.default ${S}/include/config.h
> > cp ${S}/include/mk/config.mk.default ${S}/include/mk/config.mk
> > cp ${S}/include/mk/features.mk.default ${S}/include/mk/features.mk
> > echo "${TAG}" > ${S}/ChangeLog
> > }
> >
> >
> >
> > -----Original Message-----
> > From: meta-arago-bounces@arago-project.org
> > [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Stiffler,
> > Jacob
> > Sent: Thursday, March 12, 2015 10:44 AM
> > To: Dmytriyenko, Denys; Hernandez, Carlos
> > Cc: meta-arago@arago-project.org
> > Subject: Re: [meta-arago] [PATCH] recipes-devtools: New ltp-ddt_1.0.0
> > recipe
> >
> > The warning implies that LEXLIB is not defined. Therefore LEXLIB should not be linked for all targets in pan/Makefile, only ltp-scanner.
> >
> > -----Original Message-----
> > From: Dmytriyenko, Denys
> > Sent: Thursday, March 12, 2015 10:42 AM
> > To: Hernandez, Carlos
> > Cc: Stiffler, Jacob; meta-arago@arago-project.org
> > Subject: Re: [meta-arago] [PATCH] recipes-devtools: New ltp-ddt_1.0.0
> > recipe
> >
> > The successful build doesn't have -lfl after the ltp-scanner skip warning.
> >
> >
> > On Thu, Mar 12, 2015 at 10:38:24AM -0400, Carlos Hernandez wrote:
> >> On 03/12/2015 10:21 AM, Stiffler, Jacob wrote:
> >>> The symbol 'yylex' comes from a flex generated file. Not sure how this isn't being seen in all builds... This will need to link with a flex generated file. In this case, all I can see is scan.c, which is generated from scan.l. So should ltp_bump link with scan.o? If not, then why would ltp-bump need to link with libfl.so?
> >>>
> >>> Can you find the log for linking 'ltp-bump' in one of the successful builds?
> >> *14:59:13* make[1]: Entering directory `/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan'
> >> *14:59:13*
> >> /scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-dd
> >> t/pan/Makefile:43: ltp-scanner will not be built because a working
> >> copy of lex was not found
> >> *14:59:13*
> >> /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integrati
> >> on/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2
> >> -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition
> >> -D_FORTIFY_SOURCE=2 -Wno-error
> >> -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-
> >> ddt/pan -I../include -I../include -c -o ltp-bump.o ltp-bump.c
> >> *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o zoolib.o zoolib.c
> >> *14:59:13* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -L../lib ltp-bump.o zoolib.o -lm -o ltp-bump
> >> *14:59:13*
> >> /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integrati
> >> on/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2
> >> -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition
> >> -D_FORTIFY_SOURCE=2 -Wno-error
> >> -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-
> >> ddt/pan -I../include -I../include -c -o ltp-pan.o ltp-pan.c
> >> *14:59:14* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -g -O2 -Wold-style-definition -D_FORTIFY_SOURCE=2 -Wno-error -I/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan -I../include -I../include -c -o splitstr.o splitstr.c
> >> *14:59:14* /home/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/integration/toolchain/linaro-4.7/bin/arm-linux-gnueabihf-gcc -L../lib ltp-pan.o zoolib.o splitstr.o -lm -o ltp-pan
> >> *14:59:14* make[1]: Leaving directory `/scratch/lcpdbld/jenkins_ws/workspace/start-ltp-ddt-next-build/ltp-ddt/pan'
> >>
> >>
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>
^ permalink raw reply [flat|nested] 24+ messages in thread
end of thread, other threads:[~2015-03-12 15:04 UTC | newest]
Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-10 13:13 [PATCH] recipes-devtools: New ltp-ddt_1.0.0 recipe Carlos Hernandez
2015-03-10 16:19 ` Denys Dmytriyenko
2015-03-10 20:48 ` [PATCH v2] " Carlos Hernandez
2015-03-11 23:53 ` [PATCH] " Denys Dmytriyenko
2015-03-12 0:44 ` Hernandez, Carlos
2015-03-12 0:47 ` Denys Dmytriyenko
2015-03-12 4:05 ` Denys Dmytriyenko
2015-03-12 10:59 ` Stiffler, Jacob
2015-03-12 13:10 ` Carlos Hernandez
2015-03-12 13:19 ` Stiffler, Jacob
2015-03-12 14:11 ` Carlos Hernandez
2015-03-12 14:21 ` Stiffler, Jacob
2015-03-12 14:37 ` Stiffler, Jacob
2015-03-12 14:38 ` Carlos Hernandez
2015-03-12 14:42 ` Denys Dmytriyenko
2015-03-12 14:43 ` Stiffler, Jacob
2015-03-12 14:50 ` Stiffler, Jacob
2015-03-12 14:53 ` Denys Dmytriyenko
2015-03-12 14:57 ` Carlos Hernandez
2015-03-12 14:56 ` Carlos Hernandez
2015-03-12 14:57 ` Stiffler, Jacob
2015-03-12 15:04 ` Denys Dmytriyenko
2015-03-12 14:50 ` Denys Dmytriyenko
2015-03-12 14:23 ` 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.