Bug 28775 - gcj-dbtool fails to work on x86_64: NoSuchAlgorithmException: MD5
Summary: gcj-dbtool fails to work on x86_64: NoSuchAlgorithmException: MD5
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: java (show other bugs)
Version: 4.2.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-18 18:34 UTC by bero
Modified: 2006-08-22 20:41 UTC (History)
2 users (show)

See Also:
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Build: x86_64-pc-linux-gnu
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bero 2006-08-18 18:34:50 UTC
When trying to use gcj-dbtool (SVN rev. 116230) on x86_64, this happens:

gcj-dbtool -f ecj.db ecj.jar /usr/lib64/libecj.so.3
error: could not update ecj.db: java.security.NoSuchAlgorithmException: MD5

Works as expected with the same gcc/gcj on normal x86.
Comment 1 bero 2006-08-18 19:10:32 UTC
The problem is that classpath.security gets installed to /usr/lib/security only, but not /usr/lib64/security.


Running
cp /usr/lib/security/classpath.secruity /usr/lib64/security
after installing gcc fixes it.
Comment 2 Tom Tromey 2006-08-21 22:19:19 UTC
This looks related to PR 27890.
FWIW I thought we no longer needed a .security file to be installed.
Comment 3 Thomas Fitzsimmons 2006-08-22 20:41:51 UTC
Fixed on trunk by commit for PR 27890.