visibility flags break builds with g++ 4.6.3 on Ubuntu 12.04 #1863

Closed
artemp opened this Issue May 24, 2013 · 2 comments

2 participants

@artemp
Mapnik member

with -f-visibility-inline-hidden

clang++ -o tests/cpp_tests/clipping_test-bin tests/cpp_tests/clipping_test.o -Ldeps/agg -Lsrc -L/usr/lib -L/usr/lib/x86_64-linux-gnu -lagg -lfreetype -lz -licuuc -lboost_filesystem -lboost_system -lboost_regex -lproj -lpng -ljpeg -ltiff -lxml2 -lboost_thread -lcairo -lmapnik -lsqlite3
tests/cpp_tests/clipping_test.o: In function `clip_line(mapnik::box2d<double> const&, mapnik::geometry<double, mapnik::vertex_vector>&)':
tests/cpp_tests/clipping_test.cpp:(.text+0x63): undefined reference to `mapnik::box2d<double>::minx() const'
tests/cpp_tests/clipping_test.cpp:(.text+0x73): undefined reference to `mapnik::box2d<double>::miny() const'
tests/cpp_tests/clipping_test.cpp:(.text+0x83): undefined reference to `mapnik::box2d<double>::maxx() const'
tests/cpp_tests/clipping_test.cpp:(.text+0x93): undefined reference to `mapnik::box2d<double>::maxy() const'
tests/cpp_tests/clipping_test.o: In function `main':
tests/cpp_tests/clipping_test.cpp:(.text+0xe4c): undefined reference to `mapnik::box2d<double>::from_string(std::string const&)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
@springmeyer springmeyer was assigned May 24, 2013
@springmeyer springmeyer added a commit that referenced this issue May 24, 2013
@springmeyer springmeyer disable hidden visibility for plugins and hidden inlines for the libr…
…ary by default for 2.2 release - can re-enable after more testing - refs #1863
2291c8b
@springmeyer
Mapnik member

disabled in 2.2/master branch, pushing ticket to 3.x for later review.

@springmeyer
Mapnik member

closing, this is still disabled in mapnik-packaging. Will only worry about testing this outside of mapnik in the future.

@springmeyer springmeyer referenced this issue Jan 12, 2016
Merged

Viz hidden #3227

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment