* Problem with TI SDK Build 05.
@ 2018-08-22 11:10 David Castelow
0 siblings, 0 replies; only message in thread
From: David Castelow @ 2018-08-22 11:10 UTC (permalink / raw)
To: meta-ti@yoctoproject.org; +Cc: yocto@yoctoproject.org
[-- Attachment #1.1: Type: text/plain, Size: 1870 bytes --]
Hi,
I had an issue building the latest TI SDK for Sitara processors (05_00_00_15), and Kemal from TI suggested I post my findings here for comment.
So the build I attempted was for
$ MACHINE=am335x-evm bitbake arago-base-tisdk-image
following instructions from
http //software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Overview.html <http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Overview.html#id13>
and using both Linux Mint 17.3 (trusty based) and Ubuntu Xenial (16.04) as host machines, giving essentially the same error.
The problem appears in failure to build libtool-cross successfully.
I have traced this back to something in the bitbake recipes/patches that modify the libtool configure script:
See http://e2e.ti.com/support/arm/sitara_arm/f/791/p/718479/2660196#2660196 for the history.
The build does succeed if I ensure HOST_SYS is defined:
As I said in my last post to that thread,
Compilation/build is successful if I edit
arago/tisdk/sources/oe-core/meta/classes/nativesdk.bbclass
-#HOST_SYS = "${HOST_ARCH}${TARGET_VENDOR}-${HOST_OS}"
+HOST_SYS = "${HOST_ARCH}${TARGET_VENDOR}-${HOST_OS}"
I think this is because there are libtool related .bb files and .patch files that reference either ${host_alias}-libtool or ${HOST_SYS}-libtool.
If HOST_SYS is empty, then the executable would be called -libtool, and then the configure script fails to clean up as it attempts to execute
rm -libtool
which won't work as the file name starts with a - (were this to work, it would need to do the mv/rm of ./${file} rather than just of ${file}).
I'm not sure if this is the correct solution to the problem, but it suggests the need to set HOST_SYS as part of the build instructions.
Can you advise if this is correct?
[cid:GLOMO2018_e6c86ab3-4fac-42ae-88d7-eab266a26da8.png] tfx
[-- Attachment #1.2: Type: text/html, Size: 5394 bytes --]
[-- Attachment #2: GLOMO2018_e6c86ab3-4fac-42ae-88d7-eab266a26da8.png --]
[-- Type: image/png, Size: 65769 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-08-22 11:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-22 11:10 Problem with TI SDK Build 05 David Castelow
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.