[yocto] meta-java openjdk build breaks when sdt.h present on the build host
Darcy Watkins
dwatkins at sierrawireless.com
Thu May 14 09:08:03 PDT 2015
Hi,
The build breaks during compile with an error like 'non-existant file handling an "#include <sys/sdt.h>". Solution appears to be to define 'ALT_SDT_H' to a path guaranteed NOT to have sdt.h.
My workaround was to add a bbappend in my 'hotfixes' recipes collections.
openjdk-7_75b13-2.5.4.bbappend
-----------------------------------------
FILESEXTRAPATHS_prepend := '${THISDIR}:'
PR := "${PR}.1"
EXTRA_OEMAKE += 'ALT_SDT_H=/openjedk/path/to/a/nonexistent/directory'
-----------------------------------------
I saw something similar to this done for openjdk 8 by the linaro folk.
Regards,
Darcy
Darcy Watkins :: Staff Engineer, Firmware
SIERRA WIRELESS
Direct +1 604 233 7989 :: Fax +1 604 231 1109 :: Main +1 604 231 1100
13811 Wireless Way :: Richmond, BC Canada V6V 3A4
[P2]
dwatkins at sierrawireless.com :: www.sierrawireless.com :: www.inmotiontechnology.com
More information about the yocto
mailing list