Issue 33 in llvm4eclipsecdt: Test LLVM plug-in on Mac OS X

18 views
Skip to first unread message

llvm4ec...@googlecode.com

unread,
Mar 2, 2011, 4:12:12 AM3/2/11
to llvm4ec...@googlegroups.com
Status: Accepted
Owner: petri.tu...@gmail.com
CC: markdigitalchips
Labels: Type-Task Priority-Medium

New issue 33 by petri.tu...@gmail.com: Test LLVM plug-in on Mac OS X
http://code.google.com/p/llvm4eclipsecdt/issues/detail?id=33

Who has access to Mac could test plug-in on Mac OS X.

llvm4ec...@googlecode.com

unread,
Apr 20, 2011, 3:02:34 PM4/20/11
to llvm4ec...@googlegroups.com

Comment #1 on issue 33 by ndr...@gmail.com: Test LLVM plug-in on Mac OS X
http://code.google.com/p/llvm4eclipsecdt/issues/detail?id=33

I've tested it on Mac OS X, but I can't get it to work with GNU make
builds. When I try to create a project using any of the clang/llvm-gcc
toolchains I get an internal error at:

org.eclipse.cdt.managedbuilder.llvm.ui.LlvmIsToolChainSupported.isSupported()

I think it does not work with the internal builder either.

llvm4ec...@googlecode.com

unread,
Apr 21, 2011, 12:45:47 AM4/21/11
to llvm4ec...@googlegroups.com

Comment #2 on issue 33 by petri.tu...@gmail.com: Test LLVM plug-in on Mac
OS X
http://code.google.com/p/llvm4eclipsecdt/issues/detail?id=33

I am fairly sure the reason is same as in issue 38. The development version
is aimed for CDT 8.x.

I have created a temporary solution.

I created a new update site for CDT 7.x supported version. Feel free to
test this plug-in now and if you find any issues please write them down
here.

http://petrituononen.com/llvm4eclipsecdt/update_cdt7

llvm4ec...@googlecode.com

unread,
Apr 21, 2011, 10:59:46 AM4/21/11
to llvm4ec...@googlegroups.com

Comment #3 on issue 33 by ndr...@gmail.com: Test LLVM plug-in on Mac OS X
http://code.google.com/p/llvm4eclipsecdt/issues/detail?id=33

Thanks for the quick reply. Unfortunately, with the version from the CDT7
update site I get a java.lang.NullPointerException when I try to change the
toolchain to llvm or when I try to create a fresh project using any of the
llvm toolchains.

llvm4ec...@googlecode.com

unread,
Apr 21, 2011, 11:20:04 AM4/21/11
to llvm4ec...@googlegroups.com

Comment #4 on issue 33 by petri.tu...@gmail.com: Test LLVM plug-in on Mac
OS X
http://code.google.com/p/llvm4eclipsecdt/issues/detail?id=33

Ok, I will look into it tomorrow. Thanks for letting me know. I am sorry
that it doesn't work like it should yet because currently this is mainly a
one man side project. I am trying my best to fix things in a timely manner
though but the 'stable' milestone is around December or so and hopefully
integrated as a part of CDT by then. Just hoping everything goes like
planned.

llvm4ec...@googlecode.com

unread,
Apr 22, 2011, 12:50:21 AM4/22/11
to llvm4ec...@googlegroups.com

Comment #5 on issue 33 by petri.tu...@gmail.com: Test LLVM plug-in on Mac
OS X
http://code.google.com/p/llvm4eclipsecdt/issues/detail?id=33

I tested the plug-in successfully on Linux (Ubuntu 10.10) with Eclipse
3.6.2 (Helios) and CDT 7.0.2.

I don't have access to Mac system so all I can think of is that either LLVM
with Clang/LLVM-GCC is not installed correctly or there is something wrong
with plug-in's Mac specific toolchain definition configurations. I can ask
another developer who has a Mac if he would like to test it.

llvm4ec...@googlecode.com

unread,
Apr 22, 2011, 1:01:24 AM4/22/11
to llvm4ec...@googlegroups.com

Comment #6 on issue 33 by markdigitalchips: Test LLVM plug-in on Mac OS X
http://code.google.com/p/llvm4eclipsecdt/issues/detail?id=33

I can take a look

llvm4ec...@googlecode.com

unread,
Apr 22, 2011, 3:40:33 AM4/22/11
to llvm4ec...@googlegroups.com

Comment #7 on issue 33 by markdigitalchips: Test LLVM plug-in on Mac OS X
http://code.google.com/p/llvm4eclipsecdt/issues/detail?id=33

I can create a fresh project with 1.0.2.201104221620 without getting an
exception. However, if I go to the project properties, Tool chain editor,
uncheck 'Display compatible toolchains only', then select LLVM, I get

java.lang.NullPointerException
at
org.eclipse.cdt.managedbuilder.internal.tcmodification.ConfigurationModification.getBuilderCompatibilityStatus(ConfigurationModification.java:101)
at
org.eclipse.cdt.managedbuilder.ui.properties.ToolChainEditTab.showErrorMessage(ToolChainEditTab.java:232)
at
org.eclipse.cdt.managedbuilder.ui.properties.ToolChainEditTab.updateData(ToolChainEditTab.java:200)
at
org.eclipse.cdt.managedbuilder.ui.properties.ToolChainEditTab.modifyToolchain(ToolChainEditTab.java:569)
at
org.eclipse.cdt.managedbuilder.ui.properties.ToolChainEditTab.access$0(ToolChainEditTab.java:558)
at
org.eclipse.cdt.managedbuilder.ui.properties.ToolChainEditTab$1.widgetSelected(ToolChainEditTab.java:111)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783)
...


llvm4ec...@googlecode.com

unread,
Apr 22, 2011, 4:07:59 AM4/22/11
to llvm4ec...@googlegroups.com

Comment #8 on issue 33 by petri.tu...@gmail.com: Test LLVM plug-in on Mac
OS X
http://code.google.com/p/llvm4eclipsecdt/issues/detail?id=33

That is a known bug. Similar than Issue 1. It would be great to get fixed
but I have no idea what is the reason behind that error. It is probably
related to toolchain compatibility because if you select another toolchain
then the LLVM disappears from the list.

Reply all
Reply to author
Forward
0 new messages