Bug 20116 - gcj-dbtool merging seems to lose mappings
Summary: gcj-dbtool merging seems to lose mappings
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: java (show other bugs)
Version: 4.0.0
: P2 normal
Target Milestone: ---
Assignee: Andrew Haley
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-21 00:13 UTC by Andrew Overholt
Modified: 2005-07-23 22:49 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
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 Andrew Overholt 2005-02-21 00:13:35 UTC
For all of the Eclipse sub-RPMs, I'm trying to create mapping databases for
their jars and then merge each one with into the main eclipse.db.  Here is a
snippet of the problem I'm having (seemingly truncated databases after a merge):

[...]
gcj-dbtool4 -l /usr/lib/eclipse/eclipse.db | head -n 2
Capacity: 18564
Size: 12374
gcj-dbtool4 -n /tmp/eclipse-ecj.db 80000
gcj-dbtool4 -a /tmp/eclipse-ecj.db \
/usr/share/eclipse/plugins/org.eclipse.jdt.core_3.1.0/jdtcore.jar \
/usr/lib/eclipse/plugins/org.eclipse.jdt.core_3.1.0/jdtcore.jar.so
gcj-dbtool4 -a /tmp/eclipse-ecj.db \
/usr/share/eclipse/plugins/org.eclipse.jdt.core_3.1.0/jdtCompilerAdapter.jar \
/usr/lib/eclipse/plugins/org.eclipse.jdt.core_3.1.0/jdtCompilerAdapter.jar.so
gcj-dbtool4 -m /usr/lib/eclipse/eclipse.db /tmp/eclipse-ecj.db \
/usr/lib/eclipse/eclipse.db
gcj-dbtool4 -l /usr/lib/eclipse/eclipse.db | head -n 2
Capacity: 1819
Size: 1211
[...]

$ gcj-dbtool4 --version
gcj-dbtool (GNU libgcj) 4.0.0 20050217 (Red Hat 4.0.0-0.27)
Comment 1 Andrew Haley 2005-02-23 15:32:26 UTC
Please put the jars and .so files somewhere I can see them.
Comment 2 Andrew Overholt 2005-02-23 16:38:44 UTC
After further investigation, I have determined that this is not a bug with the
dbtool.  Closing.