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: [email protected] 
[mailto:[email protected]] On Behalf Of Stiffler, Jacob
Sent: Thursday, March 12, 2015 9:20 AM
To: Hernandez, Carlos; Dmytriyenko, Denys
Cc: [email protected]
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: [email protected] 
[mailto:[email protected]] On Behalf Of Hernandez, Carlos
Sent: Thursday, March 12, 2015 9:10 AM
To: Dmytriyenko, Denys
Cc: [email protected]
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
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to