icedtea-7-native stringop-overflow error
Hi,
I'm having trouble building icedtea-7-native on warrior, here's the relevant error:
| /(...)/build/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/hotspot/src/share/vm/adlc/dfa.cpp:546:16: error: ‘char* strncpy(char*, const char*, size_t)’ specified bound depends on the length of the source argument [-Werror=stringop-overflow=] | strncpy(shared_pred_loc, shared_pred_var, strlen(shared_pred_var)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There was a previous attempt at silencing a similar warning in commit f83992acbe737a1d8cc87e73c8983b7fa2f64a1b of meta-java, except for the format-overflow warning.
I'm not sure how to approach this, whether to just silence the warning or try to fix it somehow. Any help would really be appreciated!
BTW I just posted this question at the yocto mailing list, but have since realized it was probably the wrong list. Sorry for the repost.
Cheers,
Signature · 4 lines
Renato Caldas Calgera, Unipessoal Lda. Email: [email protected] Tel: +351 967 709 735