apport information

** Tags added: apport-collected

** Description changed:

  Binary package hint: gcc-4.4
  
  std::chrono::monotonic_clock in <chrono> can be defined differently
  (typedef system_clock or proper monotonic_clock) based on the define
  _GLIBCXX_USE_CLOCK_MONOTONIC.
  
  The latter should be defined from the gcc configuration scrips based on
  whether the clock_gettime supports monotonic clock or not.
  
  Ubuntu Lucid obviously supports monotonic clock (see example below),
  however _GLIBCXX_USE_CLOCK_MONOTONIC is not defined in
  /usr/include/c++/4.4/x86_64-linux-gnu/bits/c++config.h.
  
  ---
  
  #include <unistd.h>
  #include <stdio.h>
  #include <time.h>
  #include <errno.h>
  #include <string.h>
   
  int
  main ()
  {
            struct timespec tp;
            int ret = clock_gettime(CLOCK_MONOTONIC, &tp);
        if (ret < 0)
                printf("%s\n", strerror(errno));
   return ret;
  }
  
  $ gcc monotonic.c -o monotonic -lrt
+ --- 
+ Architecture: amd64
+ DistroRelease: Ubuntu 10.04
+ NonfreeKernelModules: binfmt_misc snd_hda_codec_atihdmi snd_hda_codec_analog 
tpm_infineon arc4 snd_hda_intel iwlagn snd_hda_codec snd_pcm_oss snd_hwdep 
snd_mixer_oss snd_seq_dummy snd_pcm snd_seq_oss snd_seq_midi iwlcore 
snd_rawmidi pcmcia uinput radeon snd_seq_midi_event joydev snd_seq snd_timer 
snd_seq_device ttm hp_accel mac80211 uvcvideo lis3lv02d drm_kms_helper 
sdhci_pci videodev coretemp video sdhci input_polldev snd tpm_tis yenta_socket 
psmouse v4l1_compat tpm drm ppdev rsrc_nonstatic v4l2_compat_ioctl32 tpm_bios 
output led_class soundcore i2c_algo_bit serio_raw pcmcia_core hp_wmi cfg80211 
parport_pc snd_page_alloc intel_agp lp parport usbhid hid ohci1394 ieee1394 
e1000e ahci
+ Package: gcc-4.4 4.4.3-4ubuntu5
+ PackageArchitecture: amd64
+ ProcEnviron:
+  LANGUAGE=en_GB:en
+  PATH=(custom, user)
+  LANG=en_GB.utf8
+  SHELL=/bin/bash
+ Tags: lucid
+ Uname: Linux 2.6.34-020634-generic x86_64
+ UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare vboxusers

** Attachment added: "Dependencies.txt"
   http://launchpadlibrarian.net/52279226/Dependencies.txt

-- 
c++0x: _GLIBCXX_USE_CLOCK_MONOTONIC is not defined on Ubuntu Lucid
https://bugs.launchpad.net/bugs/608164
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to