Public bug reported:

I tried compiling a test program (hello world) with the following command: 
arm-linux-gnueabi-gcc -march=armv4 -o helloworld helloworld.c

The compiler gave this error:
helloworld.c:1: warning: target CPU does not support THUMB instructions

The resulting binary did not run on the target machine because of an
illegal instruction.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: gcc-arm-linux-gnueabi 4:4.4.4-9
ProcVersionSignature: Ubuntu 2.6.35-28.50-generic 2.6.35.11
Uname: Linux 2.6.35-28-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Sun Jul 17 19:34:22 2011
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.1)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_NZ.utf8
 SHELL=/bin/bash
SourcePackage: gcc-defaults-armel-cross

** Affects: gcc-defaults-armel-cross (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 maverick

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

Title:
  illegal instruction in generated code

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

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

Reply via email to