Anonymous | Login | 2024-03-29 13:38 CET |
Main | My View | View Issues |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
0005045 | [gcc4java] regular use | minor | have not tried | 2013-01-15 15:50 | 2013-01-15 15:57 | |||||||
Reporter | dam | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | normal | Resolution | open | |||||||||
Status | new | |||||||||||
Summary | 0005045: 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) |
|||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
|
Notes | |
(0010268) dam (administrator) 2013-01-15 15:53 |
Adding the link manually brings the process a bit further, but is not sufficient: root@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 |
(0010269) dam (administrator) 2013-01-15 15:57 |
root@unstable10s [unstable10s]:/opt/csw/share/java > mkdir gcj-endorsed && cd gcj-endorsed root@unstable10s [unstable10s]:/opt/csw/share/java/gcj-endorsed > wget http://stuff.mit.edu/afs/athena/system/i386_deb50/os/usr/share/java/gcj-endorsed/mx4j-remote.jar [^] root@unstable10s [unstable10s]:/opt/csw/share/java/gcj-endorsed > wget http://stuff.mit.edu/afs/athena/system/i386_deb50/os/usr/share/java/gcj-endorsed/mx4j.jar [^] Now there are no more obvious errors but it still does not work. |
Copyright © 2000 - 2008 Mantis Group |