[bug-notifications] [gcc4java 0005045]: gcj does not work at all

Mantis Bug Tracker noreply at opencsw.org
Tue Jan 15 15:53:40 CET 2013


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=5045 
====================================================================== 
Reported By:                dam
Assigned To:                
====================================================================== 
Project:                    gcc4java
Issue ID:                   5045
Category:                   regular use
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-01-15 15:50 CET
Last Modified:              2013-01-15 15:53 CET
====================================================================== 
Summary:                    gcj does not work at all
Description: 
gcj takes some time to run and then returns without doing anything (like
compiling etc.)

This can most easily be viewed by trying "gcj -v" which also prints
nothing. trussing it ends in


4694:   mmap(0x00000000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON,
-1, 0) = 0xFEFC0000
4694:   sigaction(SIGCANCEL, 0xFFBFF340, 0x00000000)    = 0
4694:   mmap(0x00000000, 1032192, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, -1, 0) = 0xFEEC0000
4694:   mmap(0x00010000, 65536, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEEA0000
4694:   lwp_create(0xFFBFF428, LWP_DETACHED|LWP_SUSPENDED, 0xFFBFF424) = 2
4694/2:         lwp_create()    (returning as new lwp ...)      = 0
4694/1:         lwp_continue(2)                                 = 0
4694/2:         setustack(0xFEEA02C8)
4694/2:         schedctl()                                      =
0xFF082010
4694/2:         lwp_unpark(1)                                   = 0
4694/1:         lwp_park(0x00000000, 0)                         = 0
4694/2:         lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) =
0xFFBFFEFF [0x0000FFFF]
4694/1:         lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) =
0xFFBFFEFF [0x0000FFFF]
4657:   read(3, 0xFFBFEB10, 128)                        = 46
4657:      / o p t / c s w / l i b / s p a r c v 9 / g c j - 4 . 7 . 2 - 1
4657:      3 / c l a s s m a p . d b\n
4694/1:         write(1, 0x0012CDBC, 46)                        = 46
4694/1:            / o p t / c s w / l i b / s p a r c v 9 / g c j - 4 . 7
. 2 - 1
4694/1:            3 / c l a s s m a p . d b\n
4694/1:         _exit(0)
4657:   read(3, 0xFFBFEB10, 128)                        = 0
4657:   close(3)                                        = 0
4657:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF
[0x0000FFFF]
4657:   sigaction(SIGINT, 0xFFBFEA30, 0xFFBFEAD0)       = 0
4657:   waitid(P_ALL, 0, 0xFFBFE9C8, WEXITED|WTRAPPED)  = 0
4657:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF
[0x0000FFFF]
4657:   sigaction(SIGINT, 0xFFBFE9D0, 0xFFBFEA70)       = 0
4657:   stat64("/opt/csw/lib/sparcv9/gcj", 0xFFBFEE08)  Err#2 ENOENT   
<---- Reason for failure?
4657:   setcontext(0xFFBFEB20)
4657:   read(255, 0x000EC008, 907)                      = 0
4657:   _exit(0)

====================================================================== 

---------------------------------------------------------------------- 
 (0010268) dam (administrator) - 2013-01-15 15:53
 https://www.opencsw.org/mantis/view.php?id=5045#c10268 
---------------------------------------------------------------------- 
Adding the link manually brings the process a bit further, but is not
sufficient:
  root at unstable10s [unstable10s]:/opt/csw/lib/sparcv9 > ln -s
../../bin/gcj-4.7 gcj
It looks like the GCJ runtime is missing:
  5049:   access("/opt/csw/share/java/gcj-endorsed", F_OK) Err#2 ENOENT



More information about the bug-notifications mailing list