← Back to team overview

touch-packages team mailing list archive

[Bug 1203496] Re: micompilation of autoconf stack growth test at -O > 0 on ARM

 

librep workarounded it in 0.90.2-1.4ubuntu1.

** Changed in: librep (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gcc-4.8 in Ubuntu.
https://bugs.launchpad.net/bugs/1203496

Title:
  micompilation of autoconf stack growth test at -O > 0 on ARM

Status in gcc:
  Invalid
Status in Linaro GCC:
  Invalid
Status in gcc-4.7 package in Ubuntu:
  Invalid
Status in gcc-4.8 package in Ubuntu:
  Invalid
Status in librep package in Ubuntu:
  Fix Released

Bug description:
  This autoconf test works on x86, but appears to fail on ARM when built
  with optimisation.  It worked fine with gcc-4.6, and fails with 4.7.
  Versions here were all from current saucy:

  gcc-4.6: 4.6.4-3ubuntu1
  gcc-4.7: 4.7.3-6ubuntu1
  gcc-4.8: 4.8.1-7ubuntu1

  (saucy-kde)adconrad@shiva:~/librep-0.90.2$ gcc-4.6 -o conftest -O2 stack.c
  (saucy-kde)adconrad@shiva:~/librep-0.90.2$ ./conftest ; echo $?
  0
  (saucy-kde)adconrad@shiva:~/librep-0.90.2$ gcc-4.7 -o conftest -O2 stack.c
  (saucy-kde)adconrad@shiva:~/librep-0.90.2$ ./conftest ; echo $?
  1
  (saucy-kde)adconrad@shiva:~/librep-0.90.2$ gcc-4.8 -o conftest -O2 stack.c
  (saucy-kde)adconrad@shiva:~/librep-0.90.2$ ./conftest ; echo $?
  1
  (saucy-kde)adconrad@shiva:~/librep-0.90.2$ gcc-4.8 -o conftest -O1 stack.c
  (saucy-kde)adconrad@shiva:~/librep-0.90.2$ ./conftest ; echo $?
  1
  (saucy-kde)adconrad@shiva:~/librep-0.90.2$ gcc-4.8 -o conftest -O0 stack.c
  (saucy-kde)adconrad@shiva:~/librep-0.90.2$ ./conftest ; echo $?
  0
  (saucy-kde)adconrad@shiva:~/librep-0.90.2$ cat stack.c 
  #include <stdlib.h>

  void inner (char *foo) {
    char bar;
    exit (!(foo >= &bar));
  }

  void main () {
    char foo;
    inner (&foo);
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1203496/+subscriptions