public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/108081] New: -O0 leads to R_MIPS_TLS_GD error
@ 2022-12-13  8:14 malat at debian dot org
  2022-12-13  8:17 ` [Bug target/108081] " pinskia at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: malat at debian dot org @ 2022-12-13  8:14 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108081
           Summary: -O0 leads to R_MIPS_TLS_GD error
           Product: gcc
           Version: 12.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: malat at debian dot org
  Target Milestone: ---

Looks like -O0 leads to some kind of `R_MIPS_TLS_GD` error on mipsel.

See for example:

*
https://buildd.debian.org/status/fetch.php?pkg=openvdb&arch=mipsel&ver=10.0.0-13&stamp=1670656059&raw=0


/usr/bin/c++ -fPIC -g0 -O0 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security --param
ggc-min-expand=10 -mxgot -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro
-Wl,-z,now -Wl,--no-keep-memory -Wl,--reduce-memory-overhead -shared
-Wl,-soname,libopenvdb.so.10.0 -o libopenvdb.so.10.0.0
CMakeFiles/openvdb_shared.dir/Grid.cc.o
CMakeFiles/openvdb_shared.dir/io/Archive.cc.o
CMakeFiles/openvdb_shared.dir/io/Compression.cc.o
CMakeFiles/openvdb_shared.dir/io/DelayedLoadMetadata.cc.o
CMakeFiles/openvdb_shared.dir/io/File.cc.o
CMakeFiles/openvdb_shared.dir/io/GridDescriptor.cc.o
CMakeFiles/openvdb_shared.dir/io/Queue.cc.o
CMakeFiles/openvdb_shared.dir/io/Stream.cc.o
CMakeFiles/openvdb_shared.dir/io/TempFile.cc.o
CMakeFiles/openvdb_shared.dir/math/Half.cc.o
CMakeFiles/openvdb_shared.dir/math/Maps.cc.o
CMakeFiles/openvdb_shared.dir/math/Proximity.cc.o
CMakeFiles/openvdb_shared.dir/math/QuantizedUnitVec.cc.o
CMakeFiles/openvdb_shared.dir/math/Transform.cc.o
CMakeFiles/openvdb_shared.dir/Metadata.cc.o
CMakeFiles/openvdb_shared.dir/MetaMap.cc.o
CMakeFiles/openvdb_shared.dir/openvdb.cc.o
CMakeFiles/openvdb_shared.dir/Platform.cc.o
CMakeFiles/openvdb_shared.dir/points/AttributeArray.cc.o
CMakeFiles/openvdb_shared.dir/points/AttributeArrayString.cc.o
CMakeFiles/openvdb_shared.dir/points/AttributeGroup.cc.o
CMakeFiles/openvdb_shared.dir/points/AttributeSet.cc.o
CMakeFiles/openvdb_shared.dir/points/StreamCompression.cc.o
CMakeFiles/openvdb_shared.dir/points/points.cc.o
CMakeFiles/openvdb_shared.dir/util/Formats.cc.o
CMakeFiles/openvdb_shared.dir/util/Util.cc.o 
/usr/lib/mipsel-linux-gnu/libImath-3_1.so.29.4.0
/usr/lib/mipsel-linux-gnu/libtbb.so /usr/lib/mipsel-linux-gnu/liblog4cplus.so
/usr/lib/mipsel-linux-gnu/libblosc.so /usr/lib/mipsel-linux-gnu/libz.so
-latomic /usr/lib/mipsel-linux-gnu/libboost_iostreams.so.1.74.0 -lm 
CMakeFiles/openvdb_shared.dir/openvdb.cc.o: in function
`std::once_flag::_Prepare_execution::_Prepare_execution<std::call_once<openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tools::PointIndexLeafNode<openvdb::v10_0::PointIndex<unsigned
int, 0u>, 3u>, 4u>, 5u> > >::treeType()::{lambda()#1}>(std::once_flag&,
openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tools::PointIndexLeafNode<openvdb::v10_0::PointIndex<unsigned
int, 0u>, 3u>, 4u>, 5u> >
>::treeType()::{lambda()#1}&&)::{lambda()#1}>(openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tools::PointIndexLeafNode<openvdb::v10_0::PointIndex<unsigned
int, 0u>, 3u>, 4u>, 5u> >
>::treeType()::{lambda()#1}&)::{lambda()#1}::operator()() const':
openvdb.cc:(.text._ZZNSt9once_flag18_Prepare_executionC4IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS4_5tools18PointIndexLeafNodeINS4_10PointIndexIjLj0EEELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSK_ENKUlvE_clEv[_ZZNSt9once_flag18_Prepare_executionC4IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS4_5tools18PointIndexLeafNodeINS4_10PointIndexIjLj0EEELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSK_ENKUlvE_clEv]+0x30):
relocation truncated to fit: R_MIPS_TLS_GD against
`std::__once_callable@@GLIBCXX_3.4.11'
CMakeFiles/openvdb_shared.dir/openvdb.cc.o: in function
`std::once_flag::_Prepare_execution::_Prepare_execution<std::call_once<openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tools::PointIndexLeafNode<openvdb::v10_0::PointIndex<unsigned
int, 0u>, 3u>, 4u>, 5u> > >::treeType()::{lambda()#1}>(std::once_flag&,
openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tools::PointIndexLeafNode<openvdb::v10_0::PointIndex<unsigned
int, 0u>, 3u>, 4u>, 5u> >
>::treeType()::{lambda()#1}&&)::{lambda()#1}>(openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tools::PointIndexLeafNode<openvdb::v10_0::PointIndex<unsigned
int, 0u>, 3u>, 4u>, 5u> > >::treeType()::{lambda()#1}&)':
openvdb.cc:(.text._ZNSt9once_flag18_Prepare_executionC2IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS4_5tools18PointIndexLeafNodeINS4_10PointIndexIjLj0EEELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSK_[_ZNSt9once_flag18_Prepare_executionC5IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS4_5tools18PointIndexLeafNodeINS4_10PointIndexIjLj0EEELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSK_]+0x70):
relocation truncated to fit: R_MIPS_TLS_GD against
`std::__once_callable@@GLIBCXX_3.4.11'
openvdb.cc:(.text._ZNSt9once_flag18_Prepare_executionC2IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS4_5tools18PointIndexLeafNodeINS4_10PointIndexIjLj0EEELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSK_[_ZNSt9once_flag18_Prepare_executionC5IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS4_5tools18PointIndexLeafNodeINS4_10PointIndexIjLj0EEELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSK_]+0xbc):
relocation truncated to fit: R_MIPS_TLS_GD against
`std::__once_call@@GLIBCXX_3.4.11'
CMakeFiles/openvdb_shared.dir/openvdb.cc.o: in function
`std::once_flag::_Prepare_execution::_Prepare_execution<std::call_once<openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::points::PointDataLeafNode<openvdb::v10_0::PointIndex<unsigned
int, 1u>, 3u>, 4u>, 5u> > >::treeType()::{lambda()#1}>(std::once_flag&,
openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::points::PointDataLeafNode<openvdb::v10_0::PointIndex<unsigned
int, 1u>, 3u>, 4u>, 5u> >
>::treeType()::{lambda()#1}&&)::{lambda()#1}>(openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::points::PointDataLeafNode<openvdb::v10_0::PointIndex<unsigned
int, 1u>, 3u>, 4u>, 5u> >
>::treeType()::{lambda()#1}&)::{lambda()#1}::operator()() const':
openvdb.cc:(.text._ZZNSt9once_flag18_Prepare_executionC4IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS4_6points17PointDataLeafNodeINS4_10PointIndexIjLj1EEELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSK_ENKUlvE_clEv[_ZZNSt9once_flag18_Prepare_executionC4IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS4_6points17PointDataLeafNodeINS4_10PointIndexIjLj1EEELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSK_ENKUlvE_clEv]+0x30):
relocation truncated to fit: R_MIPS_TLS_GD against
`std::__once_callable@@GLIBCXX_3.4.11'
CMakeFiles/openvdb_shared.dir/openvdb.cc.o: in function
`std::once_flag::_Prepare_execution::_Prepare_execution<std::call_once<openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::points::PointDataLeafNode<openvdb::v10_0::PointIndex<unsigned
int, 1u>, 3u>, 4u>, 5u> > >::treeType()::{lambda()#1}>(std::once_flag&,
openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::points::PointDataLeafNode<openvdb::v10_0::PointIndex<unsigned
int, 1u>, 3u>, 4u>, 5u> >
>::treeType()::{lambda()#1}&&)::{lambda()#1}>(openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::points::PointDataLeafNode<openvdb::v10_0::PointIndex<unsigned
int, 1u>, 3u>, 4u>, 5u> > >::treeType()::{lambda()#1}&)':
openvdb.cc:(.text._ZNSt9once_flag18_Prepare_executionC2IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS4_6points17PointDataLeafNodeINS4_10PointIndexIjLj1EEELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSK_[_ZNSt9once_flag18_Prepare_executionC5IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS4_6points17PointDataLeafNodeINS4_10PointIndexIjLj1EEELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSK_]+0x70):
relocation truncated to fit: R_MIPS_TLS_GD against
`std::__once_callable@@GLIBCXX_3.4.11'
openvdb.cc:(.text._ZNSt9once_flag18_Prepare_executionC2IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS4_6points17PointDataLeafNodeINS4_10PointIndexIjLj1EEELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSK_[_ZNSt9once_flag18_Prepare_executionC5IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS4_6points17PointDataLeafNodeINS4_10PointIndexIjLj1EEELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSK_]+0xbc):
relocation truncated to fit: R_MIPS_TLS_GD against
`std::__once_call@@GLIBCXX_3.4.11'
CMakeFiles/openvdb_shared.dir/openvdb.cc.o: in function
`std::once_flag::_Prepare_execution::_Prepare_execution<std::call_once<openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::LeafNode<bool,
3u>, 4u>, 5u> > >::treeType()::{lambda()#1}>(std::once_flag&,
openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::LeafNode<bool,
3u>, 4u>, 5u> >
>::treeType()::{lambda()#1}&&)::{lambda()#1}>(openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::LeafNode<bool,
3u>, 4u>, 5u> > >::treeType()::{lambda()#1}&)::{lambda()#1}::operator()()
const':
openvdb.cc:(.text._ZZNSt9once_flag18_Prepare_executionC4IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS5_8LeafNodeIbLj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSH_ENKUlvE_clEv[_ZZNSt9once_flag18_Prepare_executionC4IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS5_8LeafNodeIbLj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSH_ENKUlvE_clEv]+0x30):
relocation truncated to fit: R_MIPS_TLS_GD against
`std::__once_callable@@GLIBCXX_3.4.11'
CMakeFiles/openvdb_shared.dir/openvdb.cc.o: in function
`std::once_flag::_Prepare_execution::_Prepare_execution<std::call_once<openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::LeafNode<bool,
3u>, 4u>, 5u> > >::treeType()::{lambda()#1}>(std::once_flag&,
openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::LeafNode<bool,
3u>, 4u>, 5u> >
>::treeType()::{lambda()#1}&&)::{lambda()#1}>(openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::LeafNode<bool,
3u>, 4u>, 5u> > >::treeType()::{lambda()#1}&)':
openvdb.cc:(.text._ZNSt9once_flag18_Prepare_executionC2IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS5_8LeafNodeIbLj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSH_[_ZNSt9once_flag18_Prepare_executionC5IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS5_8LeafNodeIbLj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSH_]+0x70):
relocation truncated to fit: R_MIPS_TLS_GD against
`std::__once_callable@@GLIBCXX_3.4.11'
openvdb.cc:(.text._ZNSt9once_flag18_Prepare_executionC2IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS5_8LeafNodeIbLj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSH_[_ZNSt9once_flag18_Prepare_executionC5IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS5_8LeafNodeIbLj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSH_]+0xbc):
relocation truncated to fit: R_MIPS_TLS_GD against
`std::__once_call@@GLIBCXX_3.4.11'
CMakeFiles/openvdb_shared.dir/openvdb.cc.o: in function
`std::once_flag::_Prepare_execution::_Prepare_execution<std::call_once<openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::LeafNode<openvdb::v10_0::ValueMask,
3u>, 4u>, 5u> > >::treeType()::{lambda()#1}>(std::once_flag&,
openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::LeafNode<openvdb::v10_0::ValueMask,
3u>, 4u>, 5u> >
>::treeType()::{lambda()#1}&&)::{lambda()#1}>(openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::LeafNode<openvdb::v10_0::ValueMask,
3u>, 4u>, 5u> > >::treeType()::{lambda()#1}&)::{lambda()#1}::operator()()
const':
openvdb.cc:(.text._ZZNSt9once_flag18_Prepare_executionC4IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS5_8LeafNodeINS4_9ValueMaskELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSI_ENKUlvE_clEv[_ZZNSt9once_flag18_Prepare_executionC4IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS5_8LeafNodeINS4_9ValueMaskELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSI_ENKUlvE_clEv]+0x30):
relocation truncated to fit: R_MIPS_TLS_GD against
`std::__once_callable@@GLIBCXX_3.4.11'
CMakeFiles/openvdb_shared.dir/openvdb.cc.o: in function
`std::once_flag::_Prepare_execution::_Prepare_execution<std::call_once<openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::LeafNode<openvdb::v10_0::ValueMask,
3u>, 4u>, 5u> > >::treeType()::{lambda()#1}>(std::once_flag&,
openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::LeafNode<openvdb::v10_0::ValueMask,
3u>, 4u>, 5u> >
>::treeType()::{lambda()#1}&&)::{lambda()#1}>(openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::LeafNode<openvdb::v10_0::ValueMask,
3u>, 4u>, 5u> > >::treeType()::{lambda()#1}&)':
openvdb.cc:(.text._ZNSt9once_flag18_Prepare_executionC2IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS5_8LeafNodeINS4_9ValueMaskELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSI_[_ZNSt9once_flag18_Prepare_executionC5IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS5_8LeafNodeINS4_9ValueMaskELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSI_]+0x70):
additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status

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

* [Bug target/108081] -O0 leads to R_MIPS_TLS_GD error
  2022-12-13  8:14 [Bug c++/108081] New: -O0 leads to R_MIPS_TLS_GD error malat at debian dot org
@ 2022-12-13  8:17 ` pinskia at gcc dot gnu.org
  2022-12-13  8:19 ` malat at debian dot org
  2022-12-13  8:21 ` malat at debian dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-12-13  8:17 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
https://sourceware.org/bugzilla/show_bug.cgi?id=11956

There is nothing GCC can do here. Especially at -O0.

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

* [Bug target/108081] -O0 leads to R_MIPS_TLS_GD error
  2022-12-13  8:14 [Bug c++/108081] New: -O0 leads to R_MIPS_TLS_GD error malat at debian dot org
  2022-12-13  8:17 ` [Bug target/108081] " pinskia at gcc dot gnu.org
@ 2022-12-13  8:19 ` malat at debian dot org
  2022-12-13  8:21 ` malat at debian dot org
  2 siblings, 0 replies; 4+ messages in thread
From: malat at debian dot org @ 2022-12-13  8:19 UTC (permalink / raw)
  To: gcc-bugs

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

Mathieu Malaterre <malat at debian dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WONTFIX                     |---
             Status|RESOLVED                    |UNCONFIRMED

--- Comment #2 from Mathieu Malaterre <malat at debian dot org> ---
> There is nothing GCC can do here. Especially at -O0.

How do you explain that symptoms disappear at -O1 ?

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

* [Bug target/108081] -O0 leads to R_MIPS_TLS_GD error
  2022-12-13  8:14 [Bug c++/108081] New: -O0 leads to R_MIPS_TLS_GD error malat at debian dot org
  2022-12-13  8:17 ` [Bug target/108081] " pinskia at gcc dot gnu.org
  2022-12-13  8:19 ` malat at debian dot org
@ 2022-12-13  8:21 ` malat at debian dot org
  2 siblings, 0 replies; 4+ messages in thread
From: malat at debian dot org @ 2022-12-13  8:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Mathieu Malaterre <malat at debian dot org> ---
> 11956#c6
> [...]
> -mxgot might help,

Pay attention that my bug report is about `R_MIPS_TLS_GD` and not
`R_MIPS_CALL16` which indeed can be fixed by `-mxgot`

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

end of thread, other threads:[~2022-12-13  8:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-13  8:14 [Bug c++/108081] New: -O0 leads to R_MIPS_TLS_GD error malat at debian dot org
2022-12-13  8:17 ` [Bug target/108081] " pinskia at gcc dot gnu.org
2022-12-13  8:19 ` malat at debian dot org
2022-12-13  8:21 ` malat at debian dot 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).