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.

Bug 136697 - No choice for linker from drop down
Summary: No choice for linker from drop down
Status: RESOLVED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Thomas Preisler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-06 20:59 UTC by Thomas Preisler
Modified: 2008-11-18 06:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Preisler 2008-06-06 20:59:48 UTC
From CR 6548580:

DESCRIPTION OF PROBLEM
--------------------------------
Using autopar in the multithread model dropdown, the CC -xautopar -c -xO5 etc compile to .o compiles ok, but when it comes to linking it fails.

ERROR MESSAGES
----------------------
CC -xautopar -xvector -xreduction -xloopinfo -xarch=generic64 -o dist/Release/Sun-Solaris-Sparc/app build/Release/Sun-Solaris-
Sparc/develop/src/unix.o etc...
CC: -xautopar requires an optimization level >=3


STEPS TO DUPLICATE
-------------------------
Create a C++ project, performance release, set up autopar from drop down, build.

WORKAROUNDS
-------------------

Not sure, I tried manually adding -xO5 to the linker command line but it didn't change anything:
CC: Warning: Option -xO5 passed to ld, if ld is invoked, ignored otherwise
CC: -xautopar requires an optimization level >=3
*** Error code 1
dmake: Fatal error: Command failed for target ...
Impact *
Select the severity of impact.
Significant
Comment 1 Thomas Preisler 2008-06-06 21:01:27 UTC
The original issue was about linker in description area.

However, customer mentioned that 

Also, this is what Sun Studio 12 configured, with the missing option for the linker. All I did was select 2 drop downs (performance release build and automatic 
multithreading). There are no such choices for the linker. Shouldn't this be an option under the linker like it is found under the c++ section or automatically 
appended if automatic multithreading is added? In fact, all the other options are appended at link time (-xautopar -xvector -xreduction -xloopinfo -
xarch=generic64) without having to specify them on the command line section.

I would think this is a bug in the IDE, bug#2.
Comment 2 Thomas Preisler 2008-11-18 06:16:11 UTC
Seems to work....