public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/99449] New: lto1: fatal error: multiple prevailing defs for ‘_ZTIN4sdsl14rank_support_vILh1ELh1EEE’ with -msse3
@ 2021-03-07 11:32 doko at debian dot org
  2021-09-18  8:52 ` [Bug lto/99449] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: doko at debian dot org @ 2021-03-07 11:32 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99449

            Bug ID: 99449
           Summary: lto1: fatal error: multiple prevailing defs for
                    ‘_ZTIN4sdsl14rank_support_vILh1ELh1EEE’ 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=auto -Wl,-z,relro -Wl,-z,now -I/usr/include/fastahack
-I/usr/include/smithwaterman -I/usr/include/vcflib -I/usr/include/smithwaterman
-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=2 -O3 -Werror=return-type
-std=c++14 -ggdb -g -g -O2 -ffile-prefix-map=/packages/tmp/vg-1.30.0+ds=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -O3 -msse3 -fopenmp
-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 -lXext
-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 
lto1: fatal error: multiple prevailing defs for
‘_ZTIN4sdsl14rank_support_vILh1ELh1EEE’
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 ‘struct walk_t’
violates the C++ One Definition Rule [-Wodr]
   22 | struct walk_t {
      | 
src/algorithms/prune.cpp:12: note: a different type is defined in another
translation unit
   12 | struct walk_t {
      | 
src/subcommand/../algorithms/walk.hpp:29: note: the first difference of
corresponding definitions is field ‘path’
   29 |     std::vector<handle_t> path;
      | 
src/algorithms/prune.cpp:20: note: a field with different name is defined in
another translation unit
   20 |     pos_t begin;
      | 
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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug lto/99449] lto1: fatal error: multiple prevailing defs for ‘_ZTIN4sdsl14rank_support_vILh1ELh1EEE’ with -msse3
  2021-03-07 11:32 [Bug lto/99449] New: lto1: fatal error: multiple prevailing defs for ‘_ZTIN4sdsl14rank_support_vILh1ELh1EEE’ with -msse3 doko at debian dot org
@ 2021-09-18  8:52 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-18  8:52 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99449

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
     Ever confirmed|0                           |1
           Keywords|                            |ice-checking,
                   |                            |ice-on-valid-code, lto
   Last reconfirmed|                            |2021-09-18

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
c++filt _ZTIN4sdsl14rank_support_vILh1ELh1EEE
typeinfo for sdsl::rank_support_v<(unsigned char)1, (unsigned char)1>

Without a testcase this is going to be hard to reproduce.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-18  8:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-07 11:32 [Bug lto/99449] New: lto1: fatal error: multiple prevailing defs for ‘_ZTIN4sdsl14rank_support_vILh1ELh1EEE’ with -msse3 doko at debian dot org
2021-09-18  8:52 ` [Bug lto/99449] " pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).