Bug 57277 - arm-unknown-linux-gnueabi: armv6 libgcc -march=armv6: not found
Summary: arm-unknown-linux-gnueabi: armv6 libgcc -march=armv6: not found
Status: RESOLVED WORKSFORME
Alias: None
Product: gcc
Classification: Unclassified
Component: libgcc (show other bugs)
Version: 4.8.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-14 16:06 UTC by Dominik Bittner
Modified: 2013-05-14 16:31 UTC (History)
0 users

See Also:
Host: x86_64-cross-linux-gnu
Target: arm-unknown-linux-gnu
Build: x86_64-cross-linux-gnu
Known to work:
Known to fail:
Last reconfirmed:


Attachments
The arm-unknown-linux-gnueabi/libgcc/config.log (2.84 KB, text/x-log)
2013-05-14 16:06 UTC, Dominik Bittner
Details
The top config.log (7.04 KB, text/x-log)
2013-05-14 16:13 UTC, Dominik Bittner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dominik Bittner 2013-05-14 16:06:40 UTC
Created attachment 30113 [details]
The arm-unknown-linux-gnueabi/libgcc/config.log

I'm trying to compile a cross-compiler for armv6 so I added the --with-arch=armv6 option, but the compilation fails on libgcc. I'm not sure if I made a mistake befor compiling gcc or it is a bug. But I can not compile libgcc.

---

configure:3587:  /home/dominik/Entwicklung/android/temp-tools/src/gcc-build/./gcc/xgcc -B/home/dominik/Entwicklung/android/temp-tools/src/gcc-build/./gcc/ -B/home/dominik/Entwicklung/android/temp-tools/data/develop//cross-tools/arm-unknown-linux-gnueabi/bin/ -B/home/dominik/Entwicklung/android/temp-tools/data/develop//cross-tools/arm-unknown-linux-gnueabi/lib/ -isystem /home/dominik/Entwicklung/android/temp-tools/data/develop//cross-tools/arm-unknown-linux-gnueabi/include -isystem /home/dominik/Entwicklung/android/temp-tools/data/develop//cross-tools/arm-unknown-linux-gnueabi/sys-include    -c -g -O2  conftest.c >&5
/home/dominik/Entwicklung/android/temp-tools/src/gcc-build/./gcc/as: 87: exec: -march=armv6: not found
configure:3591: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgcc/"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3605: error: in `/home/dominik/Entwicklung/android/temp-tools/src/gcc-build/arm-unknown-linux-gnueabi/libgcc':
configure:3608: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
Comment 1 Dominik Bittner 2013-05-14 16:13:37 UTC
Created attachment 30114 [details]
The top config.log
Comment 2 Dominik Bittner 2013-05-14 16:31:05 UTC
I do not know why, but after I deleted the gcc directory and the build directory and tried to build gcc again it works. I does that before I post this 'bug' but there was the same error. But now i works for me..