JavaFx Linux vs Glibc

Kevin Rushforth kevin.rushforth at oracle.com
Tue Aug 2 22:50:11 UTC 2022


Nothing requires gcc 11.2, but we've updated to using that for our builds.

-- Kevin


On 8/2/2022 2:56 PM, John Neffenger wrote:
> On 8/2/22 2:28 PM, Johan Vos wrote:
>> The problem with this is that there is no GCC 11.2 (which is required 
>> per the build.properties) that comes with Ubuntu 20.04.
>
> Thanks, Johan. You've mentioned that before, but I feel like I'm 
> missing some information. What is in the JavaFX build that requires 
> GCC 11.2?
>
> I'm building JavaFX without problems using the GCC from Ubuntu 18.04.
>
>   JavaFX 'build.properties' file:
>     jfx.build.linux.gcc.version=gcc11.2.0-OL6.4+1.0
>
>   Ubuntu 18.04 LTS:
>     gcc=4:7.4.0-1ubuntu2.3
>
> I'm not building WebKit or the media libraries, though -- just a simple:
>
>   $ gradle sdk jmods javadoc
>
> Maybe Ubuntu has back-ported whatever feature is required in GCC?
>
> I understand why OpenJDK and OpenJFX might want to be compatible with 
> very old C libraries back to GLIBC version 2.9. In fact, that 
> compatibility has allowed me to run Java on old embedded ARM devices 
> that support only up to Ubuntu 14.04 LTS and nothing later. But if 
> you're targeting the currently supported Linux distributions (Ubuntu 
> 18.04 LTS, Fedora 35, or later), there's nothing wrong with supporting 
> just GLIBC 2.27 or later. Right?
>
> I feel I might be missing some hidden trap.
>
> Thanks,
> John



More information about the openjfx-dev mailing list