Skip to contentSkip to conversation

icedtea build failure

meta-java Ben Swanson 2 participants 2 messages Feb 1, 2019 – Feb 3, 2019

lore
Share & tools
lore
#0 lore raw

Hi,

I’m getting a compile issue on meta-java, poky. a6f135f7ac7

https://pastebin.com/fuK8WCkM <https://pastebin.com/fuK8WCkM>

openjdk-boot/hotspot/src/share/vm/adlc/output_c.cpp:577:6: error: ‘%*d’ directive output between 1 and 2147483647 bytes may cause result to exceed ‘INT_MAX’ [-Werror=format-overflow=]

  void ArchDesc::build_pipe_classes(FILE *fp_cpp) {
       ^~~~~~~~

I tried increasing the icedtea version with no success.

Thanks,

Ben

#1 lore raw

Hi Ben,
on which Distro are you building on?

It may be possible that your host compiler is too new for the sumo branch.

Have you tried building the latest master of meta-java?

regards;Richard.L

Quoted 17 lines · Ben Swanson

Hi,

I’m getting a compile issue on meta-java, poky. a6f135f7ac7

https://pastebin.com/fuK8WCkM <https://pastebin.com/fuK8WCkM>

openjdk-boot/hotspot/src/share/vm/adlc/output_c.cpp:577:6: error: ‘%*d’ directive output between 1 and 2147483647 bytes may cause result to exceed ‘INT_MAX’ [-Werror=format-overflow=]

   void ArchDesc::build_pipe_classes(FILE *fp_cpp) {
        ^~~~~~~~

I tried increasing the icedtea version with no success.

Thanks,

Ben