Bug 157123
| Summary: | [miscompilation] libmngbuildcore.jar: Eclipse CDT managed makefile unusable | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | josip |
| Component: | eclipse-cdt | Assignee: | eclipse-bugs |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4 | CC: | green, handcock |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | eclipse-cdt-3.0.0_fc-0.M6.7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2005-10-04 14:46:14 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
josip
2005-05-07 04:37:14 UTC
For what it's worth, I was just about to file this same bug. I'm seeing "null" instead of "\n". Managed makefile projects are unusable right now. Rick/Jeremy/Someone: can you please take a look at this? This only happens when using gcj, everything is fine when using a JVM. Could be a gcj-related bug? I have seen this in the past on other files too when using gcj but everything is OK under a JVM. This thing is pretty flaky. When I pull in the plugin that generates the makefile and associated files and try to run as a runtime workbench with "print" statements it seems to work fine, line breaks are put in correctly. Hmmm, may have to just put print statements in and rebuild /reinstall. *sigh* Sounds like it could be a miscompilation problem. Can you try moving the offending jar.so out of the way (ie move it to jar.so.bk) and then start eclipse and look for the bug again. BTW, which plugin generates the makefile? Thanks, Ben I agree with your assessment that this is a miscompilation problem. I tried
what you suggested (moving offending jar to jar.bk) but when I do this I cannot
bring up the C Managed Build wizard to create a managed C project, I get this error:
The selected wizard could not be started:
reason: while resolving class
org.eclipse.cdt.managedbuilder.ui.wizards.NewManagedProjectWizard
The plugin I renamed was org.eclipse.cdt.managedbuilder.core. The package/class
in there that seems to be causing the problem is
org.eclipse.cdt.managedbuilder.makegen.gnu/GnuMakefileGenerator.java.
I can still check out that plugin and run in the runtime workbench and all the
files(makefile, objects.mk, sources.mk, subdir.mk) seem ok. One problem I do
get is that I cannot bring up the makefile in any editor. I get a long message
like "Unable to create editor. This message may be due to a bug in the
editor...blah, blah, blah". But I can look at the makefile with outside tools
and it looks fine.
I am using all of the latest compilers and versions of eclipse as of 5/10/2005.
Doing this worked for me:
mv
/usr/lib/eclipse/plugins/org.eclipse.cdt.managedbuilder.core_3.0.0/libmngbuildcore.jar.so{,.bak}
I'm not sure what is causing the other errors. I'm going try to get this into
the rpm.
The work-around for this is in eclipse-cdt-3.0.0_fc-0.M6.6. I've requested that this new package be included with FC4. Current eclipse-cdt-3.0.0_fc-0.M6.7 also seems to work fine. I consider this bug closed. |