From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 312A73857823; Sun, 7 Mar 2021 11:32:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 312A73857823 From: "doko at debian dot org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBsdG8vOTk0NDldIE5ldzogbHRvMTogZmF0YWwgZXJyb3I6?= =?UTF-8?B?IG11bHRpcGxlIHByZXZhaWxpbmcgZGVmcyBmb3Ig4oCYX1pUSU40c2RzbDE0?= =?UTF-8?B?cmFua19zdXBwb3J0X3ZJTGgxRUxoMUVFReKAmSB3aXRoIC1tc3NlMw==?= Date: Sun, 07 Mar 2021 11:32:33 +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: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: doko at debian dot 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Mar 2021 11:32:34 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99449 Bug ID: 99449 Summary: lto1: fatal error: multiple prevailing defs for =E2=80=98_ZTIN4sdsl14rank_support_vILh1ELh1EEE=E2=80=99= with -msse3 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org CC: marxin at gcc dot gnu.org Target Milestone: --- trunk 20210306 on x86_64-linux-gnu not sure how to report this ... seen building the vg package in Debian with -msse3 (according to the packaging, builds with -mavx2, -mavx, -msse4.1, -mssse3 succeed). g++ -flto=3Dauto -Wl,-z,relro -Wl,-z,now -I/usr/include/fastahack -I/usr/include/smithwaterman -I/usr/include/vcflib -I/usr/include/smithwate= rman -I/usr/include/fastahack -I/packages/tmp/vg-1.30.0+ds/include -isystem /packages/tmp/vg-1.30.0+ds/include -I. -I/packages/tmp/vg-1.30.0+ds/src -I/packages/tmp/vg-1.30.0+ds/src/unittest -I/packages/tmp/vg-1.30.0+ds/src/subcommand -I/packages/tmp/vg-1.30.0+ds/include/dynamic -pthread -isystem /usr/include/cairo -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/pixman-1 -isystem /usr/include/uuid -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=3D2 -O3 -Werror=3Dretur= n-type -std=3Dc++14 -ggdb -g -g -O2 -ffile-prefix-map=3D/packages/tmp/vg-1.30.0+ds= =3D. -flto=3Dauto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=3Dformat-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -O3 -msse3 -f= openmp -o test/build_graph test/build_graph.cpp -lvg -L/packages/tmp/vg-1.30.0+ds/= lib /packages/tmp/vg-1.30.0+ds/lib/libvgio.a -lz -lvcflib -lgssw -lssw -lsublinearLS -lpthread -lncurses -lgcsa2 -lgbwtgraph -lgbwt -ldivsufsort -ldivsufsort64 -lraptor2 -lpinchesandcacti -l3edgeconnected -lsonlib -lfml -lstructures -lvw -lallreduce -lbdsg -lxg -lsdsl -lhandlegraph -lfastahack -lsmithwaterman -ldisorder -lvcflib -lsmithwaterman -ldisorder -lfastahack -lhts -ltabixpp -lcairo -lz -lgobject-2.0 -lffi -lglib-2.0 -pthread -lpcre -pthread -lpixman-1 -lfontconfig -luuid -lexpat -lfreetype -lbrotlidec -lbrotlicommon -lpng16 -lm -lz -lm -lz -lxcb-shm -lxcb-render -lXrender -lX= ext -lX11 -lpthread -lxcb -lXau -lXdmcp -ljansson -latomic -rdynamic -ldw -lelf "-lboost_program_options""" -ldl -llzma -lbz2 -ljemalloc -Wl,-Bstatic -lhts -ldeflate -lz -llzma -lprotobuf -lz -Wl,-Bdynamic=20 lto1: fatal error: multiple prevailing defs for =E2=80=98_ZTIN4sdsl14rank_support_vILh1ELh1EEE=E2=80=99 compilation terminated. 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 the gcc-10 branch fails differently: src/subcommand/../algorithms/walk.hpp:22: warning: type =E2=80=98struct wal= k_t=E2=80=99 violates the C++ One Definition Rule [-Wodr] 22 | struct walk_t { |=20 src/algorithms/prune.cpp:12: note: a different type is defined in another translation unit 12 | struct walk_t { |=20 src/subcommand/../algorithms/walk.hpp:29: note: the first difference of corresponding definitions is field =E2=80=98path=E2=80=99 29 | std::vector path; |=20 src/algorithms/prune.cpp:20: note: a field with different name is defined in another translation unit 20 | pos_t begin; |=20 lto1: internal compiler error: in lto_read_decls, at lto/lto-common.c:1956 Please submit a full bug report, with preprocessed source if appropriate.=