Le samedi 21 novembre 2015, 22:46:18 David Faure a écrit : > On Saturday 21 November 2015 18:15:24 David Faure wrote: > > So I'll try enabling -fvisibility=hidden and adding the necessary export > > macros, it should at least help with this. > Here's the resulting patch.
I tried the patch, but unsuccessfully: $ patch -p1 < ../hidden-visibility.diff patching file CMakeLists.txt patching file src/CMakeLists.txt patching file src/base/NotationTypes.cpp patching file src/base/NotationTypes.h patching file src/base/RealTime.h patching file src/base/Segment.h patching file src/base/Selection.h patching file src/commands/segment/SegmentTransposeCommand.h patching file src/document/RosegardenDocument.h patching file src/document/io/LilyPondExporter.h patching file src/gui/application/RosegardenApplication.cpp patching file src/gui/application/RosegardenApplication.h patching file src/gui/application/RosegardenMainWindow.h patching file src/gui/application/main.cpp patching file src/gui/dialogs/IntervalDialog.h patching file src/gui/general/IconLoader.h patching file src/gui/general/ProgressReporter.h patching file src/gui/general/ResourceFinder.h patching file src/gui/general/ThornStyle.h patching file src/gui/widgets/CurrentProgressDialog.h patching file src/gui/widgets/StartupLogo.h patching file src/misc/ConfigGroups.cpp patching file src/misc/ConfigGroups.h patching file src/misc/Debug.cpp patching file src/misc/Debug.h patching file src/misc/Strings.cpp patching file src/misc/Strings.h patching file test/CMakeLists.txt patch unexpectedly ends in middle of line Hunk #1 succeeded at 1 with fuzz 1. then: $ cmake .. -DCMAKE_BUILD_TYPE=Debug -- The C compiler identification is GNU 4.9.2 -- The CXX compiler identification is GNU 4.9.2 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Autodetecting Qt version to use -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found -- Found Qt4: /usr/bin/qmake (found suitable version "4.8.6", minimum required is "4.8.0") -- Found PkgConfig: /usr/bin/pkg-config (found version "0.28") -- checking for module 'alsa>=0.9' -- found alsa, version 1.0.28 -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.8") -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/lib64/libX11.so -- checking for module 'liblo>=0.7' -- found liblo, version 0.28 -- checking for module 'lrdf>=0.2' -- found lrdf, version 0.5.0 -- checking for module 'fftw3f>=3.0.0' -- found fftw3f, version 3.3.4 -- checking for module 'samplerate>=0.1.2' -- found samplerate, version 0.1.8 -- checking for module 'sndfile>=1.0.16' -- found sndfile, version 1.0.25 -- checking for module 'jack' -- found jack, version 1.9.10 -- -- The following features have been enabled: * ALSA , Alsa library (Advanced Linux Sound Architecture), used for MIDI support * SNDFILE , Better support for WAV files * JACK , Library for accessing the JACK server (http://jackaudio.org). * LIRCCLIENT , The LIRC client library, for remote control support -- The following REQUIRED packages have been found: * Qt4 * PkgConfig * ZLIB * X11 -- Building unit tests, using shared libraries CMake Error: File /home.mg5/yves/RG.trav/SVNNEW/rosegarden_visibility- hidden/src/rosegardenprivate_export.h.cmake does not exist. CMake Error at src/CMakeLists.txt:11 (configure_file): configure_file Problem configuring file -- Configuring incomplete, errors occurred! > > I'm not sure it changes much for gdb though. In my tests, > the time for `start` in gdb went down from 20s to 17s. 20s vs 2m35s : I should buy an up-to-date mobo. Yves ------------------------------------------------------------------------------ _______________________________________________ Rosegarden-devel mailing list Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel