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

Bug#765575: marked as done (hidden symbol `.LTHUNK15.4817' isn't defined)



Your message dated Thu, 16 Oct 2014 16:58:07 +0200
with message-id <CA+7wUsxk1iB9ksAdpMqNFq=ekCo0L91tW2hYvOb_oBHY2mWTvA@mail.gmail.com>
and subject line Re: [pkg-boost-devel] Bug#765575: hidden symbol `.LTHUNK15.4817' isn't defined
has caused the Debian Bug report #765575,
regarding hidden symbol `.LTHUNK15.4817' isn't defined
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
765575: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765575
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gcc,libboost-program-options-dev
Version: gcc/4:4.7.2-1
Version: libboost-program-options-dev/1.49.0.1
Severity: important

For some reason I cannot compile and link to a boost lib using -flto
-Ofast (everything is fine when each is taken separatly). I am
assigning to both packages, feel free to re-assign to the proper one.

Steps:
$ g++  -flto -Ofast -o demo demo.cxx -lboost_program_options
`_ZThn16_N5boost16exception_detail10clone_implINS0_19error_info_injectorINS_17bad_function_callEEEED1Ev'
referenced in section `.rodata' of /tmp/ccT7Vvf6.ltrans2.ltrans.o:
defined in discarded section
`.gnu.linkonce.t._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_17bad_function_callEEEED5Ev'
of /tmp/ccxsMXjP.o (symbol from plugin)
`_ZThn16_N5boost16exception_detail10clone_implINS0_19error_info_injectorINS_17bad_function_callEEEED0Ev'
referenced in section `.rodata' of /tmp/ccT7Vvf6.ltrans2.ltrans.o:
defined in discarded section
`.gnu.linkonce.t._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_17bad_function_callEEEED0Ev'
of /tmp/ccxsMXjP.o (symbol from plugin)
`_ZThn56_N5boost16exception_detail10clone_implINS0_19error_info_injectorINS_17bad_function_callEEEED1Ev'
referenced in section `.rodata' of /tmp/ccT7Vvf6.ltrans2.ltrans.o:
defined in discarded section
`.gnu.linkonce.t._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_17bad_function_callEEEED5Ev'
of /tmp/ccxsMXjP.o (symbol from plugin)
`_ZThn56_N5boost16exception_detail10clone_implINS0_19error_info_injectorINS_17bad_function_callEEEED0Ev'
referenced in section `.rodata' of /tmp/ccT7Vvf6.ltrans2.ltrans.o:
defined in discarded section
`.gnu.linkonce.t._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_17bad_function_callEEEED0Ev'
of /tmp/ccxsMXjP.o (symbol from plugin)
/usr/bin/ld: demo: hidden symbol `.LTHUNK15.4817' isn't defined
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status

Where demo.cxx is attached.
#include <iostream>
#include <cassert>

#include <boost/program_options/options_description.hpp>
#include <boost/program_options/parsers.hpp>
#include <boost/program_options/variables_map.hpp>

int main(int argc, char *argv[])
{
  namespace po = boost::program_options;
  using namespace std;

  vector<string>  filenames;
  bool use_new = false;

  try
    {
    po::options_description desc(
      "\n"
      "When compressing"
    );
    desc.add_options()
      ("help,h", "Display this help.")
      ("filenames", po::value< vector<string> >( &filenames ), "bla.")
      ("new", "bla.")
      ;

    po::positional_options_description p;
    p.add("filenames", -1);

    po::variables_map vm;
    po::store(po::command_line_parser(argc, argv).options(desc).positional(p)
      .run(), vm);
    po::notify(vm);

    if (vm.count("help"))
      {
      cout << desc;
      return 0;
      }

    if (vm.count("new"))
      {
      use_new = true;
      }
    }
  catch(exception& e)
    {
    cout << e.what() << "\n";
    return 1;
    }

  return 0;
}

--- End Message ---
--- Begin Message ---
Control: fixed -1 libboost-program-options-dev/1.55.0.2
Control: fixed -1 gcc/4:4.9.1-4

On Thu, Oct 16, 2014 at 3:27 PM, Steve M. Robbins <steve@sumost.ca> wrote:
> Hi Mathieu,
>
> On October 16, 2014 01:01:52 PM Mathieu Malaterre wrote:
>> Package: gcc,libboost-program-options-dev
>> Version: gcc/4:4.7.2-1
>> Version: libboost-program-options-dev/1.49.0.1
>
> These are pretty old versions.  I'm personally unable to provide any support
> for Boost 1.49 so you'll have to provide the patch yourself or find someone
> else to do so.
>
> I would be interested to know if the problem exists in the current "sid"
> packages of Boost and G++.

Not anymore. I am closing then.

> Also: your system architecture is relevant info.

Just a wheezy user here.

-M

--- End Message ---

Reply to: