Public bug reported:

Just started this afternoon (18/10/2006); am unable to compile any code
with gcc-4.03 - including code I compiled yesterday and I haven't
changed since. I am running dapper, updated each day.

Here is a simple example

helloworld.c:
#include "math.h"
#include "stdio.h"
#include "stdlib.h"

int main (int argc, char *argv[]){
  double a,b,c;
  a = 2.0;
  b = sqrt(a);
  c = b+a;
  printf("%e %e %e\n",a,b,c);
  return 0;
}

$ gcc -O3  -o helloword helloworld.c -lm
gcc: Internal error: Illegal instruction (program collect2)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions, see
<URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.

** Affects: gcc-4.0 (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
Internal error:
https://launchpad.net/bugs/66729

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to