[Bug 692104] Re: g++ generates bad code

Philip Ashmore contact at philipashmore.com
Mon Jun 23 12:47:53 UTC 2014


Working with latest v3c and treedb with gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) in trusty.
I got a link error with the original reproduce-bug.sh which might be due to
 - tool changes
 - the git versions used (the revised script uses the "master" branches
 - a bad "clean room" on my machine

I'm guessing I couldn't save/upload a log as the problem crashed the
machine.

Has anyone tried to reproduce this bug?

Any way the problem appears solved.


** Attachment added: "revised test script"
   https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/692104/+attachment/4137515/+files/reproduce-bug.sh

** Changed in: gcc-defaults (Ubuntu)
       Status: Incomplete => New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/692104

Title:
  g++ generates bad code

Status in “gcc-defaults” package in Ubuntu:
  New

Bug description:
  I put together a script called reproduce-bug.sh that does all the work
  for you.

  This script doesn't require sudo or other enhanced proviledges to run.
  Basically you run the script in an empty directory writeable by you, and
  it will git clone v3c and treedb into their own
  folders and create a "sandbox" folder to install them to.
  Then it will "make && make install" the packages into the sandbox.

  You run it as

     sh reproduce-bug.sh treedb

  These packages aren't large and with a 1-2GHz machine with broadband
  you should get to the "problem" prompt in < 2 minutes.

  The problem stage is running "make check" in treedb, so there's a prompt
  asking you to <Ctrl>-C to abort, enter to proceed.

  If you can reproduce the bug it will note the test failures for you to
  compare.

  Running the tests on Debian/Squeeze's gcc/g++ 4.4.5 succeeds, as it does
  with gcc/g++ 4.5.2 on ubuntu (I built it from source).

  This may lead to the cause of the following more serious problems:

     linux-image-2.6.32-5-amd64: kernel freeze
     http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=607495

  and

     system instability caused by unpriviledged program
     https://bugs.launchpad.net/ubuntu/+source/linux/+bug/692100

  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: g++ 4:4.4.4-1ubuntu2
  ProcVersionSignature: Ubuntu 2.6.32-26.48-generic 2.6.32.24+drm33.11
  Uname: Linux 2.6.32-26-generic x86_64
  Architecture: amd64
  Date: Sun Dec 19 03:23:14 2010
  ProcEnviron:
   LANGUAGE=
   LANG=en_IE.utf8
   SHELL=/bin/bash
  SourcePackage: gcc-defaults

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/692104/+subscriptions



More information about the foundations-bugs mailing list