Armv6hf cross compile build compiles host version of some native libraries

Dell Green Dell.Green at ideaworks.co.uk
Mon Dec 14 11:48:05 UTC 2015



Hi Guys,

On closer inspection of running an Armv6hf build we have discovered that we are getting out host versions of some libraries in our build. Please see below for contents of our rt/lib/arm folder:

gradle -PCOMPILE_TARGETS=armv6hf sdk

build/armv6hf-sdk/rt/lib/arm/libdecora_sse.so:                  ELF 32-bit LSB  shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=8052ae5d7f230ee0629743f9ee421371e3522538, not stripped
build/armv6hf-sdk/rt/lib/arm/libfxplugins.so:                       ELF 64-bit LSB  shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=87241c5679bcd9b7d738aff08a539f889d6105bb, not stripped
build/armv6hf-sdk/rt/lib/arm/libglass_monocle.so:             ELF 32-bit LSB  shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=f9305441860f255079646812acf50ef46774317e, not stripped
build/armv6hf-sdk/rt/lib/arm/libglass_monocle_x11.so:      ELF 32-bit LSB  shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=d1735e47b13e56d58d4e9b7a7f6dee338ccccd9f, not stripped
build/armv6hf-sdk/rt/lib/arm/libglass.so:                             ELF 32-bit LSB  shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=6b349cfc4b349f858dd24f5cfbef7eb446c089cc, not stripped
build/armv6hf-sdk/rt/lib/arm/libgstreamer-lite.so:               ELF 64-bit LSB  shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=b83f109a6b80bd56120e4bf8f8b7f5d1eb7b1bc8, not stripped
build/armv6hf-sdk/rt/lib/arm/libjavafx_font_freetype.so:    ELF 32-bit LSB  shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=3decd38bb952c5fefde54a1ad1f01b39799a45e6, not stripped
build/armv6hf-sdk/rt/lib/arm/libjavafx_font_pango.so:       ELF 32-bit LSB  shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=5652ddbd48bf62a10213474aadc8b5bbfae3e494, not stripped
build/armv6hf-sdk/rt/lib/arm/libjavafx_font.so:                   ELF 32-bit LSB  shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=c84058878ffaeebf60be04eb0d138ecf3fdf5cd1, not stripped
build/armv6hf-sdk/rt/lib/arm/libjavafx_iio.so:                     ELF 32-bit LSB  shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=fd4e40c059944941d52bf88b48121d0815531bd0, not stripped
build/armv6hf-sdk/rt/lib/arm/libjfxmedia.so:                      ELF 64-bit LSB  shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=2530edd674a52bb07c487b5cd726babc266b2013, not stripped
build/armv6hf-sdk/rt/lib/arm/libjfxwebkit.so:                      ELF 64-bit LSB  shared object, x86-64, version 1 (GNU/Linux), dynamically linked, BuildID[sha1]=0cd8f455ee93e101a5d4442027a8248d675a0888, stripped
build/armv6hf-sdk/rt/lib/arm/libprism_common.so:           ELF 32-bit LSB  shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=658886a9bead9068f4111679e8f5f350386d235b, not stripped
build/armv6hf-sdk/rt/lib/arm/libprism_es2_eglfb.so:         ELF 32-bit LSB  shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=25264a33f919a3a925ef2d2f8ec5d4a10bfbdbf9, not stripped
build/armv6hf-sdk/rt/lib/arm/libprism_es2_monocle.so:    ELF 32-bit LSB  shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=6827d044682876f8ace57cfdc3417e026688701c, not stripped
build/armv6hf-sdk/rt/lib/arm/libprism_sw.so:                      ELF 32-bit LSB  shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=1159563bbed17f830c3c64cdf16d3790fa91a713, not stripped


We decided that those particular libraries were not required for the project we were currently doing so decided to use gradle.properties to disable the compiling of these.
It turns out changing the gradle.properties values have no impact on the production of native libraries with them always being produced irrespective of any changes made to gradle.properties file. 
Also tried supplying the properties at command line to gradle command and some problem.

Further investigation shows that the following messages are being piped to stdout during build whether I change anything or not, with the end result still compiling  native libraries for these as host versions.

"Not compiling native Media for armv6hf per configuration request"
"Not compiling native Webkit for armv6hf per configuration request"

Am I doing something wrong? I have followed instructions as per the wiki apart from installing QT 5.2 as don’t require webkit for my projects.

Dell Green
R&D Software Manager
t: (+44)203 668 9870




206 Great Portland Street
London W1W 5QJ

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. Any views or opinions presented are solely those of the author and do not necessarily represent those of Ideaworks Limited. Ideaworks (London) Limited, 206 Great Portland Street, London, W1W 5QJ. Company Registration No. 3943726


More information about the openjfx-dev mailing list