[Bug 1101] New: openjdk/hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp has undefinde symbols

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Tue Jul 31 11:28:28 PDT 2012


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1101

          Priority: P3
            Bug ID: 1101
          Assignee: unassigned at icedtea.classpath.org
           Summary: openjdk/hotspot/src/os_cpu/linux_sparc/vm/os_linux_spa
                    rc.cpp has undefinde symbols
          Severity: blocker
    Classification: Unclassified
                OS: Linux
          Reporter: chghs at web.de
          Hardware: sparc64
            Status: NEW
           Version: 6-1.11.3
         Component: IcedTea
           Product: IcedTea

The good news: compiling icedtea6-1.11.3 on gentoo-linux/sparc finds only one
problem. The bad news: undefined symbols in
openjdk/hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp function
print_register_info. I have guessed the following patch and compiled and built
icedtea6-1.11.3 successfully with it. Please check.

--- openjdk/hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.bak.cpp   
2012-07-28 14:09:21.546887126 +0200
+++ openjdk/hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp    2012-07-28
14:12:29.398937898 +0200
@@ -309,29 +309,30 @@
   if (context == NULL) return;

   ucontext_t *uc = (ucontext_t*)context;
+  sigcontext* sc = (sigcontext*)context;
   intptr_t *sp = (intptr_t *)os::Linux::ucontext_get_sp(uc);

   st->print_cr("Register to memory mapping:");
   st->cr();

   // this is only for the "general purpose" registers
-  st->print("G1="); print_location(st, SIG_REGS(sc).u_regs[CON__G1]);
-  st->print("G2="); print_location(st, SIG_REGS(sc).u_regs[CON__G2]);
-  st->print("G3="); print_location(st, SIG_REGS(sc).u_regs[CON__G3]);
-  st->print("G4="); print_location(st, SIG_REGS(sc).u_regs[CON__G4]);
-  st->print("G5="); print_location(st, SIG_REGS(sc).u_regs[CON__G5]);
-  st->print("G6="); print_location(st, SIG_REGS(sc).u_regs[CON__G6]);
-  st->print("G7="); print_location(st, SIG_REGS(sc).u_regs[CON__G7]);
+  st->print("G1="); print_location(st, SIG_REGS(sc).u_regs[CON_G1]);
+  st->print("G2="); print_location(st, SIG_REGS(sc).u_regs[CON_G2]);
+  st->print("G3="); print_location(st, SIG_REGS(sc).u_regs[CON_G3]);
+  st->print("G4="); print_location(st, SIG_REGS(sc).u_regs[CON_G4]);
+  st->print("G5="); print_location(st, SIG_REGS(sc).u_regs[CON_G5]);
+  st->print("G6="); print_location(st, SIG_REGS(sc).u_regs[CON_G6]);
+  st->print("G7="); print_location(st, SIG_REGS(sc).u_regs[CON_G7]);
   st->cr();

-  st->print("O0="); print_location(st, SIG_REGS(sc).u_regs[CON__O0]);
-  st->print("O1="); print_location(st, SIG_REGS(sc).u_regs[CON__O1]);
-  st->print("O2="); print_location(st, SIG_REGS(sc).u_regs[CON__O2]);
-  st->print("O3="); print_location(st, SIG_REGS(sc).u_regs[CON__O3]);
-  st->print("O4="); print_location(st, SIG_REGS(sc).u_regs[CON__O4]);
-  st->print("O5="); print_location(st, SIG_REGS(sc).u_regs[CON__O5]);
-  st->print("O6="); print_location(st, SIG_REGS(sc).u_regs[CON__O6]);
-  st->print("O7="); print_location(st, SIG_REGS(sc).u_regs[CON__O7]);
+  st->print("O0="); print_location(st, SIG_REGS(sc).u_regs[CON_O0]);
+  st->print("O1="); print_location(st, SIG_REGS(sc).u_regs[CON_O1]);
+  st->print("O2="); print_location(st, SIG_REGS(sc).u_regs[CON_O2]);
+  st->print("O3="); print_location(st, SIG_REGS(sc).u_regs[CON_O3]);
+  st->print("O4="); print_location(st, SIG_REGS(sc).u_regs[CON_O4]);
+  st->print("O5="); print_location(st, SIG_REGS(sc).u_regs[CON_O5]);
+  st->print("O6="); print_location(st, SIG_REGS(sc).u_regs[CON_O6]);
+  st->print("O7="); print_location(st, SIG_REGS(sc).u_regs[CON_O7]);
   st->cr();

   st->print("L0="); print_location(st, sp[L0->sp_offset_in_saved_window()]);

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120731/f0a619cc/attachment.html 


More information about the distro-pkg-dev mailing list