From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugs at busybox.net Date: Thu, 28 Jun 2007 04:04:55 -0700 Subject: [Buildroot] [buildroot 0001406]: ARM: gcc is not configured for the ARM cpu selected in the menuconfig Message-ID: <1e4a2d8fc2187ef2b22d3c154c0ee092@bugs.busybox.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net The following issue has been SUBMITTED. ====================================================================== http://busybox.net/bugs/view.php?id=1406 ====================================================================== Reported By: bjdooks Assigned To: buildroot ====================================================================== Project: buildroot Issue ID: 1406 Category: Architecture Specific Reproducibility: always Severity: major Priority: normal Status: assigned ====================================================================== Date Submitted: 06-28-2007 04:04 PDT Last Modified: 06-28-2007 04:04 PDT ====================================================================== Summary: ARM: gcc is not configured for the ARM cpu selected in the menuconfig Description: The CPU selected in the menuconfig is not used to configure the gcc build to use the configured CPU. This causes code to be built that will not run on the target due to instructions that can never be executed. If the cpu type is not specified, then not only is the compiler producing builds of packages that are incorrect, but it will also produce an libgcc with invalid instructions in it. Passing CFLAGS with -mcpu= to the package builds was considered as a posibility, but this will not ensure that libgcc is built with the correct architecture flags. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 06-28-07 04:04 bjdooks New Issue 06-28-07 04:04 bjdooks Status new => assigned 06-28-07 04:04 bjdooks Assigned To => buildroot 06-28-07 04:04 bjdooks File Added: gcc-pass-cpu-config.patch ======================================================================