Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 695604 - sci-mathematics/z3-4.8.6 CXXFLAGS=-Wimplicit-function-declaration - CMake Error at cmake/z3_add_cxx_flag.cmake:15 (message): The flag "-fvisibility=hidden" is required but your C++ compiler doesn't support it
Summary: sci-mathematics/z3-4.8.6 CXXFLAGS=-Wimplicit-function-declaration - CMake Err...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mark Wright
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-25 00:55 UTC by Alessandro Barbieri
Modified: 2019-09-28 11:04 UTC (History)
3 users (show)

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


Attachments
z3-4.8.6:20190925-002828.log (z3-4.8.6:20190925-002828.log,8.92 KB, text/plain)
2019-09-25 00:56 UTC, Alessandro Barbieri
Details
info (info,14.52 KB, text/plain)
2019-09-25 00:56 UTC, Alessandro Barbieri
Details
CMakeError.log (CMakeError.log,1.93 KB, text/plain)
2019-09-25 00:57 UTC, Alessandro Barbieri
Details
CMakeOutput.log (CMakeOutput.log,28.92 KB, text/plain)
2019-09-25 00:57 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2019-09-25 00:55:12 UTC
I have -Wimplicit-function-declaration in CXXFLAGS

-- Performing Test HAS__fvisibility_hidden
-- Performing Test HAS__fvisibility_hidden - Failed
CMake Error at cmake/z3_add_cxx_flag.cmake:15 (message):
  The flag "-fvisibility=hidden" is required but your C++ compiler doesn't
  support it
Call Stack (most recent call first):
  CMakeLists.txt:355 (z3_add_cxx_flag)


-- Configuring incomplete, errors occurred!
Comment 1 Alessandro Barbieri 2019-09-25 00:56:26 UTC
Created attachment 590998 [details]
z3-4.8.6:20190925-002828.log

build log
Comment 2 Alessandro Barbieri 2019-09-25 00:56:39 UTC
Created attachment 591000 [details]
info

emerge --info
Comment 3 Alessandro Barbieri 2019-09-25 00:57:19 UTC
Created attachment 591002 [details]
CMakeError.log

cmake error log
Comment 4 Alessandro Barbieri 2019-09-25 00:57:48 UTC
Created attachment 591004 [details]
CMakeOutput.log

cmake log
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-09-28 05:57:56 UTC
It's fun stuff you're doing but if you're doing the kind of fun-breaking-stuff, you need to send fixes upstream yourself.
Comment 6 Sergei Trofimovich (RETIRED) gentoo-dev 2019-09-28 11:04:22 UTC
> cc1plus: warning: command line option ‘-Wimplicit-function-declaration’ is valid for C/ObjC but not for C++

Better not to pass it to CXXFLAGS and leave it only to CFLAGS.