Skip to content

Instantly share code, notes, and snippets.

@cezarelnazli
Created June 27, 2018 16:09
Show Gist options
  • Save cezarelnazli/a50329a7ec39a8bdb4903dd189c1948f to your computer and use it in GitHub Desktop.
Save cezarelnazli/a50329a7ec39a8bdb4903dd189c1948f to your computer and use it in GitHub Desktop.
[17/1925] Linking CXX shared library lib/libbrep.so.20.0.1
FAILED: lib/libbrep.so.20.0.1
: && /usr/bin/c++ -fPIC -std=c++98 -pipe -fno-strict-aliasing -fno-common -fexceptions -ftemplate-depth-128 -m64 -g -ggdb3 -O3 -fipa-pta -fstrength-reduce -fexpensive-optimizations -finline-functions -finline-limit=10000 --param inline-unit-growth=1000 --param large-function-growth=100000 -flto -fno-omit-frame-pointer -pedantic -Wall -Wextra -Wundef -Wfloat-equal -Wshadow -Winline -Wno-long-long -Wno-variadic-macros -Werror -m64 -g -ggdb3 -shared -Wl,-soname,libbrep.so.20 -o lib/libbrep.so.20.0.1 src/libbrep/CMakeFiles/libbrep-obj.dir/BBNode.cpp.o src/libbrep/CMakeFiles/libbrep-obj.dir/boolean.cpp.o src/libbrep/CMakeFiles/libbrep-obj.dir/BRNode.cpp.o src/libbrep/CMakeFiles/libbrep-obj.dir/intersect.cpp.o src/libbrep/CMakeFiles/libbrep-obj.dir/libbrep_brep_tools.cpp.o src/libbrep/CMakeFiles/libbrep-obj.dir/opennurbs_ext.cpp.o src/libbrep/CMakeFiles/libbrep-obj.dir/px_event.cpp.o src/libbrep/CMakeFiles/libbrep-obj.dir/PullbackCurve.cpp.o src/libbrep/CMakeFiles/libbrep-obj.dir/shape_recognition.cpp.o src/libbrep/CMakeFiles/libbrep-obj.dir/shape_recognition_cone.cpp.o src/libbrep/CMakeFiles/libbrep-obj.dir/shape_recognition_cylinder.cpp.o src/libbrep/CMakeFiles/libbrep-obj.dir/shape_recognition_sphere.cpp.o src/libbrep/CMakeFiles/libbrep-obj.dir/shape_recognition_pipeline.cpp.o src/libbrep/CMakeFiles/libbrep-obj.dir/shape_recognition_planar.cpp.o src/libbrep/CMakeFiles/libbrep-obj.dir/shape_recognition_util.cpp.o src/libbrep/CMakeFiles/libbrep-obj.dir/ssx_event.cpp.o src/libbrep/CMakeFiles/libbrep-obj.dir/Subcurve.cpp.o src/libbrep/CMakeFiles/libbrep-obj.dir/Subsurface.cpp.o -Wl,-rpath,/home/cezar/brlcad-code/brg/lib:::::::::: lib/libbg.so.20.0.1 lib/libbn.so.20.0.1 lib/libbu.so.20.0.1 lib/libopenNURBS.so.2012.10.245 lib/libz.so.1.2.11 -lpthread -ldl -lc -lm && :
/home/cezar/brlcad-code/src/libbrep/boolean.cpp: In function ‘ON_Boolean’:
/home/cezar/brlcad-code/src/libbrep/boolean.cpp:1641:7: error: inlining failed in call to ‘__comp_dtor ’: call is unlikely and code size would grow [-Werror=inline]
class LoopBooleanResult {
^
/home/cezar/brlcad-code/src/libbrep/boolean.cpp:2388:74: note: called from here
LoopBooleanResult combined_loops = combine_loops(orig_face, new_loops);
^
/home/cezar/brlcad-code/src/libbrep/boolean.cpp:1641:7: error: inlining failed in call to ‘__comp_dtor ’: call is unlikely and code size would grow [-Werror=inline]
class LoopBooleanResult {
^
/home/cezar/brlcad-code/src/libbrep/boolean.cpp:2388:74: note: called from here
LoopBooleanResult combined_loops = combine_loops(orig_face, new_loops);
^
/home/cezar/brlcad-code/src/libbrep/boolean.cpp:1641:7: error: inlining failed in call to ‘__comp_dtor ’: call is unlikely and code size would grow [-Werror=inline]
class LoopBooleanResult {
^
/home/cezar/brlcad-code/src/libbrep/boolean.cpp:2839:33: note: called from here
intersect_loops = loop_boolean(out[k]->m_outerloop,
^
/home/cezar/brlcad-code/src/libbrep/boolean.cpp:1641:7: error: inlining failed in call to ‘__comp_dtor ’: call is unlikely and code size would grow [-Werror=inline]
class LoopBooleanResult {
^
/home/cezar/brlcad-code/src/libbrep/boolean.cpp:2851:32: note: called from here
diff_loops = loop_boolean(out[k]->m_outerloop, ssx_loops[j],
^
/home/cezar/brlcad-code/src/libbrep/boolean.cpp:1641:7: error: inlining failed in call to ‘__comp_dtor ’: call is unlikely and code size would grow [-Werror=inline]
class LoopBooleanResult {
^
/home/cezar/brlcad-code/src/libbrep/boolean.cpp:2835:38: note: called from here
LoopBooleanResult intersect_loops, diff_loops;
^
/home/cezar/brlcad-code/src/libbrep/boolean.cpp:1641:7: error: inlining failed in call to ‘__comp_dtor ’: call is unlikely and code size would grow [-Werror=inline]
class LoopBooleanResult {
^
/home/cezar/brlcad-code/src/libbrep/boolean.cpp:2835:21: note: called from here
LoopBooleanResult intersect_loops, diff_loops;
^
lto1: all warnings being treated as errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment