On Sun, 8 Dec 2024 05:07:58 GMT, Julian Waters <jwat...@openjdk.org> wrote:

> This needs a name and description change, I'll do so later. @MBaesken does 
> this fix LTO on your end? Kim also reports that LTO hangs indefinitely 
> alongside several warning messages, do you have similar issues when you try 
> to enable LTO?

When I try to build with this change  (with and without lto enabled) I run into 
 


/openjdk/tools/devkits/x86_64-linux-gnu-to-x86_64-linux-gnu-fedora27-gcc11.3.0/x86_64-linux-gnu/sysroot/usr/include/unistd.h:520:14:
 error: conflicting declaration of 'char* get_current_dir_name()' with 'C' 
linkage
  520 | extern char *get_current_dir_name (void) __THROW;
      |              ^~~~~~~~~~~~~~~~~~~~

(maybe it is related to the devkit, maybe to pch I don't know)

-------------

PR Comment: https://git.openjdk.org/jdk/pull/22464#issuecomment-2527527380

Reply via email to