Re: CMake Build Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Mon, 16 Dec 2019 at 21:12, Richard Kimberly Heck <rikiheck@xxxxxxx> wrote:

I'm getting a repeatable error when building the master branch of LyX with cmake on Fedora 30. What I've done is:

./autogen.sh
mkdir build-cmake
cd build-cmake
cmake ..
make

Result:

[ 70%] Linking CXX executable ../bin/lyx2.4
cd /cvs/lyx/lyx-devel/build-cmake/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/lyx2.4.dir/link.txt --verbose=1
/usr/bin/c++  -Wall -Wunused-parameter --std=c++14 -fno-strict-aliasing  -O0 -g3 -D_DEBUG -flto -fno-fat-lto-objects  -rdynamic CMakeFiles/lyx2.4.dir/Author.cpp.o CMakeFiles/lyx2.4.dir/BiblioInfo.cpp.o CMakeFiles/lyx2.4.dir/Box.cpp.o CMakeFiles/lyx2.4.dir/BranchList.cpp.o CMakeFiles/lyx2.4.dir/Buffer.cpp.o CMakeFiles/lyx2.4.dir/BufferEncodings.cpp.o CMakeFiles/lyx2.4.dir/BufferList.cpp.o CMakeFiles/lyx2.4.dir/BufferParams.cpp.o CMakeFiles/lyx2.4.dir/BufferView.cpp.o CMakeFiles/lyx2.4.dir/Bullet.cpp.o CMakeFiles/lyx2.4.dir/Changes.cpp.o CMakeFiles/lyx2.4.dir/Chktex.cpp.o CMakeFiles/lyx2.4.dir/CiteEnginesList.cpp.o CMakeFiles/lyx2.4.dir/CmdDef.cpp.o CMakeFiles/lyx2.4.dir/Color.cpp.o CMakeFiles/lyx2.4.dir/Compare.cpp.o CMakeFiles/lyx2.4.dir/Converter.cpp.o CMakeFiles/lyx2.4.dir/ConverterCache.cpp.o CMakeFiles/lyx2.4.dir/CoordCache.cpp.o CMakeFiles/lyx2.4.dir/Counters.cpp.o CMakeFiles/lyx2.4.dir/Cursor.cpp.o CMakeFiles/lyx2.4.dir/CursorSlice.cpp.o CMakeFiles/lyx2.4.dir/CutAndPaste.cpp.o CMakeFiles/lyx2.4.dir/DepTable.cpp.o CMakeFiles/lyx2.4.dir/Dimension.cpp.o CMakeFiles/lyx2.4.dir/DocIterator.cpp.o CMakeFiles/lyx2.4.dir/Encoding.cpp.o CMakeFiles/lyx2.4.dir/ErrorList.cpp.o CMakeFiles/lyx2.4.dir/Exporter.cpp.o CMakeFiles/lyx2.4.dir/FloatList.cpp.o CMakeFiles/lyx2.4.dir/Floating.cpp.o CMakeFiles/lyx2.4.dir/Font.cpp.o CMakeFiles/lyx2.4.dir/FontInfo.cpp.o CMakeFiles/lyx2.4.dir/FontList.cpp.o CMakeFiles/lyx2.4.dir/Format.cpp.o CMakeFiles/lyx2.4.dir/FuncRequest.cpp.o CMakeFiles/lyx2.4.dir/FuncStatus.cpp.o CMakeFiles/lyx2.4.dir/Graph.cpp.o CMakeFiles/lyx2.4.dir/IndicesList.cpp.o CMakeFiles/lyx2.4.dir/InsetIterator.cpp.o CMakeFiles/lyx2.4.dir/InsetList.cpp.o CMakeFiles/lyx2.4.dir/Intl.cpp.o CMakeFiles/lyx2.4.dir/KeyMap.cpp.o CMakeFiles/lyx2.4.dir/KeySequence.cpp.o CMakeFiles/lyx2.4.dir/LaTeX.cpp.o CMakeFiles/lyx2.4.dir/LaTeXFeatures.cpp.o CMakeFiles/lyx2.4.dir/LaTeXFonts.cpp.o CMakeFiles/lyx2.4.dir/LaTeXPackages.cpp.o CMakeFiles/lyx2.4.dir/Language.cpp.o CMakeFiles/lyx2.4.dir/Layout.cpp.o CMakeFiles/lyx2.4.dir/LayoutFile.cpp.o CMakeFiles/lyx2.4.dir/LayoutModuleList.cpp.o CMakeFiles/lyx2.4.dir/Length.cpp.o CMakeFiles/lyx2.4.dir/Lexer.cpp.o CMakeFiles/lyx2.4.dir/LyX.cpp.o CMakeFiles/lyx2.4.dir/LyXAction.cpp.o CMakeFiles/lyx2.4.dir/LyXRC.cpp.o CMakeFiles/lyx2.4.dir/LyXVC.cpp.o CMakeFiles/lyx2.4.dir/MetricsInfo.cpp.o CMakeFiles/lyx2.4.dir/ModuleList.cpp.o CMakeFiles/lyx2.4.dir/Mover.cpp.o CMakeFiles/lyx2.4.dir/OutputParams.cpp.o CMakeFiles/lyx2.4.dir/PDFOptions.cpp.o CMakeFiles/lyx2.4.dir/ParIterator.cpp.o CMakeFiles/lyx2.4.dir/Paragraph.cpp.o CMakeFiles/lyx2.4.dir/ParagraphMetrics.cpp.o CMakeFiles/lyx2.4.dir/ParagraphParameters.cpp.o CMakeFiles/lyx2.4.dir/PersonalWordList.cpp.o CMakeFiles/lyx2.4.dir/PrinterParams.cpp.o CMakeFiles/lyx2.4.dir/Row.cpp.o CMakeFiles/lyx2.4.dir/RowPainter.cpp.o CMakeFiles/lyx2.4.dir/Server.cpp.o CMakeFiles/lyx2.4.dir/ServerSocket.cpp.o CMakeFiles/lyx2.4.dir/Session.cpp.o CMakeFiles/lyx2.4.dir/Spacing.cpp.o CMakeFiles/lyx2.4.dir/TexRow.cpp.o CMakeFiles/lyx2.4.dir/Text.cpp.o CMakeFiles/lyx2.4.dir/Text2.cpp.o CMakeFiles/lyx2.4.dir/Text3.cpp.o CMakeFiles/lyx2.4.dir/TextClass.cpp.o CMakeFiles/lyx2.4.dir/TextMetrics.cpp.o CMakeFiles/lyx2.4.dir/Thesaurus.cpp.o CMakeFiles/lyx2.4.dir/TocBackend.cpp.o CMakeFiles/lyx2.4.dir/TocBuilder.cpp.o CMakeFiles/lyx2.4.dir/Trans.cpp.o CMakeFiles/lyx2.4.dir/Undo.cpp.o CMakeFiles/lyx2.4.dir/VCBackend.cpp.o CMakeFiles/lyx2.4.dir/VSpace.cpp.o CMakeFiles/lyx2.4.dir/WordList.cpp.o CMakeFiles/lyx2.4.dir/boost.cpp.o CMakeFiles/lyx2.4.dir/buffer_funcs.cpp.o CMakeFiles/lyx2.4.dir/factory.cpp.o CMakeFiles/lyx2.4.dir/lengthcommon.cpp.o CMakeFiles/lyx2.4.dir/lyxfind.cpp.o CMakeFiles/lyx2.4.dir/main.cpp.o CMakeFiles/lyx2.4.dir/output.cpp.o CMakeFiles/lyx2.4.dir/output_docbook.cpp.o CMakeFiles/lyx2.4.dir/output_latex.cpp.o CMakeFiles/lyx2.4.dir/output_plaintext.cpp.o CMakeFiles/lyx2.4.dir/output_xhtml.cpp.o CMakeFiles/lyx2.4.dir/sgml.cpp.o CMakeFiles/lyx2.4.dir/texstream.cpp.o CMakeFiles/lyx2.4.dir/version.cpp.o  -o ../bin/lyx2.4 ../lib/libmathed.a ../lib/libinsets.a ../lib/libfrontends.a ../lib/libfrontend_qt.a ../lib/libgraphics.a ../lib/libsupport.a ../lib/libmytheslibstatic.a -lX11 /usr/lib64/libQt5X11Extras.so.5.12.5 -lxcb -lmagic ../lib/libfrontends.a /usr/lib64/libQt5Concurrent.so.5.12.5 /usr/lib64/libQt5Svg.so.5.12.5 /usr/lib64/libQt5Widgets.so.5.12.5 /usr/lib64/libQt5Gui.so.5.12.5 /usr/lib64/libQt5Core.so.5.12.5 -lz
lto1: internal compiler error: in add_symbol_to_partition_1, at lto/lto-partition.c:153
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
lto-wrapper: fatal error: /usr/bin/c++ returned 1 exit status
compilation terminated.

Looks like https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91288, originall
filed against gcc-10, but comment 3 encountered the bug in gcc.9.2.
The bug report provides a simple example.  It could helpful to look for
differences in compiler options between cmake and autotools builds.

--
George N. White III

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux