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 268001 - Simple c++ test library not passed to linker
Summary: Simple c++ test library not passed to linker
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: UnitTest Support (show other bugs)
Version: 8.1
Hardware: PC Linux
: P2 normal (vote)
Assignee: Alexander Simon
URL:
Keywords: 82_HR_FIX
Depends on:
Blocks:
 
Reported: 2016-09-13 15:04 UTC by ArToX
Modified: 2016-09-21 01:59 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 ArToX 2016-09-13 15:04:28 UTC
When running simple c++ test during the linking step the specified library in the additional linker option for instance "-lOpenCL" do not seem to be outputed at the right place in the Makefile-${CONF}.mk file at the .build-tests-conf target.

In makefile-Debug.mk:
${LINK.cc} -lOpencl  -o ${TESTDIR}/TestFiles/f1 $^ ${LDLIBSOPTIONS}  does not work but modifying it by hand to ${LINK.cc}  -o ${TESTDIR}/TestFiles/f1 $^ ${LDLIBSOPTIONS} -lOpencl makes things work!

Best regards,
Comment 1 Alexander Simon 2016-09-20 14:28:54 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/bf4c1c2bc2d6
Comment 2 soldatov 2016-09-20 15:35:21 UTC
Verified in internal build (trunk)
Comment 3 Alexander Simon 2016-09-20 15:50:31 UTC
transplanted in releases, branch release 8.2, change set:
https://hg.netbeans.org/releases/rev/fe6c1b0f2d10
increment spec version:
https://hg.netbeans.org/releases/rev/3a88e5889ca9
Comment 4 Quality Engineering 2016-09-21 01:59:41 UTC
Integrated into 'main-silver', will be available in build *201609210002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/bf4c1c2bc2d6
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #268001 Simple c++ test library not passed to linker