From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 59349385828B; Tue, 2 Jan 2024 19:56:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 59349385828B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1704225377; bh=Jtk9pQBOlPuVM9VaE4g+qUIKN6pbnPseIi07ilKlyjA=; h=From:To:Subject:Date:From; b=oLguVskKr1Ll7MWSkJiQyvpRdQ1PIMO5RfU7M7X2Dydg5+sXf/MTJNJqCnv0NbHEX 24pYYaTVFhnMoigedhh3af8XAos33iUFCaMW6rkMlefAffYz3Ewvu+wAxq6QBTAYbu qUBcvTN93kt+aomV3ev13jLUZxpFmA3Vj0ff8VM0= From: "doko at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/113208] New: [14 Regression] lto1: error: Alias and target's comdat groups differs Date: Tue, 02 Jan 2024 19:56:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: doko at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113208 Bug ID: 113208 Summary: [14 Regression] lto1: error: Alias and target's comdat groups differs Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: doko at gcc dot gnu.org CC: marxin at gcc dot gnu.org Target Milestone: --- seen with trunk 20240101, building the poedit package with -flto. hints where to start the reduction are appreciated. [...] g++ -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=3D/home/packages/gcc/tmp/poedit-3.4.2=3D. -flto=3Dauto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=3Dformat-security -fcf-protection -fdebug-prefix-map=3D/home/packages/gcc/tmp/poedit-3.4.2=3D/usr/src/poedit-= 3.4.2-1 -pthread -I/usr/include -I/usr/include/libsecret-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -pthread=20 -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3= .2 -D_FILE_OFFSET_BITS=3D64 -DWXUSINGDLL -D__WXGTK__ -pthread=20 -I/usr/include/gtkspell-3.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/enchant-2 -pthread -I/usr/include/lucene++ -DHAVE_PUGIXML= -g -Wall -O0 -DwxNO_UNSAFE_WXSTRING_CONV=3D1 "-DPOEDIT_PREFIX=3D\"/usr\""=20 -Wl,-Bsymbolic-functions -flto=3Dauto -ffat-lto-objects -Wl,-z,relro -Wl,-z= ,now -Wl,-z,relro -o poedit attentionbar.o cat_update.o cat_sorting.o catalog.o catalog_po.o catalog_json.o catalog_xliff.o chooselang.o colorscheme.o commentdlg.o concurrency.o configuration.o custom_buttons.o customcontrols.o custom_notebook.o edapp.o edframe.o editing_area.o edlistctrl.o export_html= .o extractors/extractor.o extractors/extractor_gettext.o extractors/extractor_legacy.o filemonitor.o fileviewer.o findframe.o gexecu= te.o hidpi.o icons.o language.o languagectrl.o wx/main_toolbar.o manager.o menus= .o pluralforms/pl_evaluate.o prefsdlg.o pretranslate.o progressinfo.o propertiesdlg.o qa_checks.o recent_files.o sidebar.o spellchecking.o syntaxhighlighter.o text_control.o titleless_window.o tm/suggestions.o tm/transmem.o tm/tmx_io.o unicode_helpers.o utility.o welcomescreen.o http_client.o http_client_casablanca.o cloud_accounts.o cloud_accounts_ui.o crowdin_client.o crowdin_gui.o localazy_client.o localazy_gui.o keychain/keytar_posix.o wx_backports/wx_gtk_activityindicator.o wx_backports/wx_gtk_nativewin.o compiled_xrc.o -L/usr/lib/x86_64-linux-gnu -pthread -lwx_gtk3u_xrc-3.2 -lwx_baseu_xml-3.2 -lwx_gtk3u_webview-3.2 -lwx_gtk3u_core-3.2 -lwx_baseu_net-3.2 -lwx_baseu-3.2 -llucene++ -lcld2 -lpugixml -lcpprest -lboost_iostreams -lboost_thread -lpthread -lboost_sys= tem -lssl -lcrypto -lsecret-1 -lgio-2.0 -lgobject-2.0 -lglib-2.0=20 -L/usr/lib/x86_64-linux-gnu -lboost_thread -lpthread -lboost_regex -lboost_system -licui18n -licuuc -licudata -lgtkspell3-3 -lenchant-2 -lgtk= -3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobje= ct -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0=20 lto1: error: Alias and target's comdat groups differs _ZNSt12__shared_ptrI7CatalogLN9__gnu_cxx12_Lock_policyE2EEC2Ev/70336 (__ct_= base ) Type: function definition analyzed Visibility: externally_visible semantic_interposition no_reorder prevailing_def_ironly public weak comdat comdat_group:_ZNSt12__shared_ptrI7CatalogLN9__gnu_cxx12_Lock_policyE2EEC2Ev one_only visibility_specified References: __gxx_personality_v0/23086 (addr)=20 Referring: _ZNSt12__shared_ptrI7CatalogLN9__gnu_cxx12_Lock_policyE2EEC1Ev/327239 (alia= s)=20 Read from file: catalog.o Unit id: 4 Function flags: merged_comdat Called by: _ZNSt10shared_ptrI7CatalogEC1Ev/70334=20 Calls: _ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC1Ev/37977=20 _ZNSt12__shared_ptrI7CatalogLN9__gnu_cxx12_Lock_policyE2EEC1Ev/327239 (__ct_comp ) Type: function definition analyzed alias Visibility: externally_visible semantic_interposition prevailing_def_iron= ly public weak comdat comdat_group:_ZNSt12__shared_ptrI7CatalogLN9__gnu_cxx12_Lock_policyE2EEC5Ev one_only visibility_specified References: _ZNSt12__shared_ptrI7CatalogLN9__gnu_cxx12_Lock_policyE2EEC2Ev/70336 (alias= )=20 Referring:=20 Read from file: edframe.o Unit id: 16 Function flags: merged_comdat Called by: _ZNSt12__shared_ptrI7CatalogLN9__gnu_cxx12_Lock_policyE2EE5resetEv/327343=20 Calls:=20 during IPA pass: modref lto1: internal compiler error: verify_cgraph_node failed 0x6b5ef0 cgraph_node::verify_node() ../../src/gcc/cgraph.cc:3948 0x1a81c29 symtab_node::verify() ../../src/gcc/symtab.cc:1362 0x1a7c774 symtab_node::verify_symtab_nodes() ../../src/gcc/symtab.cc:1390 0x1a79917 symtab_node::checking_verify_symtab_nodes() ../../src/gcc/cgraph.h:686 0x1a79917 symbol_table::remove_unreachable_nodes(_IO_FILE*) ../../src/gcc/ipa.cc:678 0x686e54 read_cgraph_and_symbols(unsigned int, char const**) ../../src/gcc/lto/lto-common.cc:2978 0x1fcc99a lto_main() ../../src/gcc/lto/lto.cc:654 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions. lto-wrapper: fatal error: g++ returned 1 exit status compilation terminated. /usr/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status=