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

Bug#715003: marked as done (g++-4.7: missing symbol: std::chrono::steady_clock::now())



Your message dated Fri, 05 Jul 2013 13:21:27 +0200
with message-id <51D6AC37.1090204@debian.org>
and subject line Re: Bug#715003: g++-4.7: missing symbol: std::chrono::steady_clock::now()
has caused the Debian Bug report #715003,
regarding g++-4.7: missing symbol: std::chrono::steady_clock::now()
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.)


-- 
715003: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=715003
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: g++-4.7
Version: 4.7.3-4
Severity: normal

Dear Maintainer,

$ cat ~/main.cc
#include <chrono>
#include <iostream>

int main() {
        auto start = std::chrono::steady_clock::now();
        std::cout << "Hello World\n";
        auto end = std::chrono::steady_clock::now();
        std::cout << "Printing took "
              // duration_cast is required to avoid accidentally losing precision.
              << std::chrono::duration_cast<std::chrono::microseconds>(end - start).count()
              << "us.\n";
}

$ g++ -std=gnu++11 main.cc
/tmp/cc0oJ2e2.o: In function `main':
main.cc:(.text+0xa): undefined reference to `std::chrono::steady_clock::now()'

This program used to compile until around ca. a month ago.

It compiles fine with g++-4.8
It compiles fine on an Ubuntu 13.04 with g++-4.7

-- System Information:
Debian Release: jessie/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.9-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages g++-4.7 depends on:
ii  gcc-4.7             4.7.3-4
ii  gcc-4.7-base        4.7.3-4
ii  libc6               2.17-6
ii  libcloog-ppl1       0.16.1-3
ii  libgmp10            2:5.1.2+dfsg-1
ii  libgmpxx4ldbl       2:5.1.2+dfsg-1
ii  libmpc3             1.0.1-1
ii  libmpfr4            3.1.1-1
ii  libppl-c4           1:1.0-7
ii  libppl12            1:1.0-7
ii  libstdc++6-4.7-dev  4.7.3-4
ii  zlib1g              1:1.2.8.dfsg-1

g++-4.7 recommends no packages.

Versions of packages g++-4.7 suggests:
pn  g++-4.7-multilib    <none>
pn  gcc-4.7-doc         <none>
pn  libstdc++6-4.7-dbg  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 4.7.3-5

On 07/05/13 12:59, Tilman Keskinoz wrote:
> $ g++ -std=gnu++11 main.cc
> /tmp/cc0oJ2e2.o: In function `main':
> main.cc:(.text+0xa): undefined reference to `std::chrono::steady_clock::now()'
> 
> This program used to compile until around ca. a month ago.
> 
> It compiles fine with g++-4.8
> It compiles fine on an Ubuntu 13.04 with g++-4.7

See #710220 for the details.
please always check with compiler versions in unstable before reporting a bug.

--- End Message ---

Reply to: