This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | SunStudio12.2_linuxCompatGNU mode fails on any C project | ||
---|---|---|---|
Product: | cnd | Reporter: | soldatov <soldatov> |
Component: | -- Other -- | Assignee: | Alexander Simon <alexvsimon> |
Status: | VERIFIED WONTFIX | ||
Severity: | normal | CC: | apepin |
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
soldatov
2010-06-15 07:09:19 UTC
fixed, change set: http://hg.netbeans.org/cnd-main/rev/8d612f92b05e Vladimir Kvashin: please verify fix in cnd-main addition fix for tool collection name http://hg.netbeans.org/cnd-main/rev/efd9645711f3 verified. Now works correctly. In order to check fix I replaced standard org-netbeans-modules-cnd-toolchain.jar in Oracle Solaris Studio and NetBeans 6.9 FCS on jar file with fix. I reviewed the mentioned change sets. I believe the fix is correct and safe. Next additional fix for OracleSolarisStudio http://hg.netbeans.org/cnd-main/rev/0d25404e1804 fix for fast build (no flags) http://hg.netbeans.org/cnd-main/rev/72f2a7fe3493 http://hg.netbeans.org/cnd-main/rev/e0d86ac88a83 Integrated into 'main-golden', will be available in build *201006160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/8d612f92b05e User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed BZ#187580 SunStudio12.2_linuxCompatGNU mode fails on any C project verified all tool chains on Linux in NetBeans and Oracle Solaris Studio Verified all fixes in NetBeans 6.9 and Oracle Solaris Studio (standard org-netbeans-modules-cnd-toolchain.jar is replaced new jar file from Alexander Simon) fixed in release691: 8d612f92b05e transplanted to 1dadc442a130 efd9645711f3 transplanted to 3d266669628c 0d25404e1804 transplanted to 460dd6e4b22c 72f2a7fe3493 transplanted to c2c6c32bb5f1 e0d86ac88a83 transplanted to 00be85de2f52 Please mark bugs VERIFIED-FIXED before transplanting to release691. Please verify this bugfix asap. Thanks, -R verified in NetBeans build the based on release691 Marking it SSIDE as it may be a showstopper for Aten. verified in Oracle Solaris Studio build a based on NetBeans 6.9.1 I am still having issues on Ubuntu 10.10, with NetBeans IDE 6.9 (Build 100825-unknown-revn). I am able to compile fine with the Netbeans that comes with Solaris Studio (Oracle Solaris Studio 12.2 (Build 201011082200)), but when using the NetBeans IDE on its own with SunStudio 12.2 set up as a tool collection, things fail. However, I think I pin-pointed the problem, but I don't know how to fix it. I just started coding, so I'm no guru, so please excuse any ignorance on my part. In both versions of the logs below, I omitted the lines which were the same, so only the last commands are shown, as this is the problem. Notice how Solaris Studio calls 'CC', and NetBeans calls 'cc' in the last couple commands. Thus, I assume NetBeans should be calling 'CC' instead. Solaris Studio's compile log of the profiling demo: mkdir -p dist/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86 CC -compat=g -o dist/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86/profilingdemo_1 build/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86/spinlock.o build/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86/sequential.o build/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86/parallel.o build/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86/common.o build/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86/rwlock.o build/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86/mutex.o build/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86/barrier.o build/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86/main.o build/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86/join.o -lpthread BUILD SUCCESSFUL (total time: 1s) ...and Netbeans using solaris studio tools: mkdir -p dist/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86 cc -compat=g -o dist/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86/profilingdemo_1 build/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86/spinlock.o build/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86/sequential.o build/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86/parallel.o build/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86/common.o build/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86/rwlock.o build/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86/mutex.o build/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86/barrier.o build/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86/main.o build/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86/join.o -lpthread mkdir -p dist/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86 cc -compat=g -o dist/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86/profilingdemo_1 build/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86/spinlock.o build/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86/sequential.o build/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86/parallel.o build/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86/common.o build/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86/rwlock.o build/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86/mutex.o build/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86/barrier.o build/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86/main.o build/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86/join.o -lpthread cc: No valid input files specified, no output generated *** Error code 1 dmake: Fatal error: Command failed for target `dist/Default/SunStudio_12.2_linuxCompatGNU-Linux-x86/profilingdemo_1' *** Error code 1 *** Error code 1 Current working directory /home/mark/NetBeansProjects/ProfilingDemo_1 dmake: Fatal error: Command failed for target `.build-conf' Current working directory /home/mark/NetBeansProjects/ProfilingDemo_1 dmake: Fatal error: Command failed for target `.build-impl' BUILD FAILED (exit value 1, total time: 1s) 1) WONTFIX is wrong bug status. It is same to INVALID 2) What is NetBeans IDE 6.9 (Build 100825-unknown-revn)? For example Ubuntu repository contains modified NetBeans without patches. I expect NetBeans IDE 6.9.1 (Build 201011082200) line. |