Hi Robert, sorry for the delay. I pushed the "g0hl1n/jdk8-fix" branch to the meta-java git repository. It is a temporary test branch and it should fix the GCC version dependencies (as long as you have GCC >= v6).
It would be great if you could do a quick test and give me feedback ;-) thanks & regards;rl On Fri, Mar 20, 2020 at 06:53:17PM +0200, robert.berger.oe.devel wrote: > Hi, > > I tried to add support for a host gcc-9 and suggested this patch[1] > > [1] > https://github.com/RobertBerger/meta-java/commit/898a0ae33c9102387aae2e3427a007e3935e663e > > and, as per your suggestion, since it restricts the host compiler to >= gcc9 > I added "-Wno-unknown-warning". > > https://github.com/RobertBerger/meta-java/commit/3d8ae5afb639ec7abcc48f15c74b42b373863c57 > > ... but it does not build: > > https://pastebin.com/B1nxHcPH > > cc1plus: error: unrecognized command line option ‘-Wno-unknown-warning’ > [-Werror] > > That's my host gcc: > > pokyuser@3a469e7032d9:/workdir$ gcc --version > gcc (Ubuntu 9.2.1-17ubuntu1~16.04) 9.2.1 20191102 > Copyright (C) 2019 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > pokyuser@3a469e7032d9:/workdir$ > > Please advise. > > Regards, > > Robert
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#84135): https://lists.openembedded.org/g/openembedded-devel/message/84135 Mute This Topic: https://lists.openembedded.org/mt/72312277/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/leave/8024792/1994799631/xyzzy [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
