[Bug 265425] [exp-run] Against llvm-15-update branch on GitHub

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 25 Oct 2022 06:15:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265425

Mike Cui <cuicui@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cuicui@gmail.com

--- Comment #22 from Mike Cui <cuicui@gmail.com> ---
Tried with your llvm-15.0.3 tree. java/openjdk8 needs this patch:

--- jdk/src/share/bin/splashscreen_stubs.c.orig 2022-10-20 21:51:18.699822000
-0700
+++ jdk/src/share/bin/splashscreen_stubs.c      2022-10-20 21:51:48.643355000
-0700
@@ -61,11 +61,11 @@
 #define INVOKEV(name) _INVOKE(name, ,;)

 int     DoSplashLoadMemory(void* pdata, int size) {
-    INVOKE(SplashLoadMemory, NULL)(pdata, size);
+    INVOKE(SplashLoadMemory, 0)(pdata, size);
 }

 int     DoSplashLoadFile(const char* filename) {
-    INVOKE(SplashLoadFile, NULL)(filename);
+    INVOKE(SplashLoadFile, 0)(filename);
 }

 void    DoSplashInit(void) {

-- 
You are receiving this mail because:
You are on the CC list for the bug.