Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 603878 - sys-libs/libomp: incorrectly mixes CFLAGS with C++ code
Summary: sys-libs/libomp: incorrectly mixes CFLAGS with C++ code
Status: RESOLVED DUPLICATE of bug 598446
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-28 01:48 UTC by SpanKY
Modified: 2017-01-19 17:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,99.65 KB, text/x-log)
2016-12-28 01:48 UTC, SpanKY
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2016-12-28 01:48:00 UTC
Created attachment 457502 [details]
build log

looks like for some reason libomp uses $CC with C++ code.  this breaks when you use C-specific flags in CFLAGS as the build gets confused by all the warnings.

simple way to reproduce:
CFLAGS='-O2 -pipe -Wimplicit-function-declaration' emerge libomp
Comment 1 Coacher 2017-01-19 17:07:53 UTC

*** This bug has been marked as a duplicate of bug 598446 ***