Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 536968 - cross-armv7m-softfp-linux-gnueabi/glibc-2.20-r1 - Assembler messages: ../sysdeps/arm/sysdep.h:157: Error: selected processor does not support ARM opcodes
Summary: cross-armv7m-softfp-linux-gnueabi/glibc-2.20-r1 - Assembler messages: ../sysd...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-18 13:11 UTC by AttufliX
Modified: 2015-02-09 16:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
cross-armv7m-softfp-linux-gnueabi-glibc.log (cross-armv7m-softfp-linux-gnueabi-glibc.log,149.06 KB, text/plain)
2015-01-18 13:11 UTC, AttufliX
Details
cross-armv7m-softfp-linux-gnueabi-glibc.log.xz (cross-armv7m-softfp-linux-gnueabi-glibc.log.xz,8.89 KB, application/x-xz)
2015-01-18 13:12 UTC, AttufliX
Details
cross-armv7m-softfp-linux-gnueabi-glibc-headers.log (cross-armv7m-softfp-linux-gnueabi-glibc-headers.log,248 bytes, text/plain)
2015-01-18 13:14 UTC, AttufliX
Details

Note You need to log in before you can comment on or make changes to this bug.
Description AttufliX 2015-01-18 13:11:43 UTC
Created attachment 394252 [details]
cross-armv7m-softfp-linux-gnueabi-glibc.log

I ran "crossdev --target armv7m-softfp-linux-gnueabi", then I got such errors:

-------------------------------------------------------------------------------------
 * crossdev version:      20140917
 * Host Portage ARCH:     amd64
 * Target Portage ARCH:   arm
 * Target System:         armv7m-softfp-linux-gnueabi
 * Stage:                 4 (C/C++ compiler)
 * ABIs:                  default

 * binutils:              binutils-[latest]
 * gcc:                   gcc-[latest]
 * headers:               linux-headers-[latest]
 * libc:                  glibc-[latest]

 * CROSSDEV_OVERLAY:      /var/lib/layman/multimedia
 * PORT_LOGDIR:           /var/log/portage
 * PORTAGE_CONFIGROOT:    
 * Portage flags:         
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  - 
 * leaving sys-devel/binutils in /var/lib/layman/multimedia
 * leaving sys-devel/gcc in /var/lib/layman/multimedia
 * leaving sys-kernel/linux-headers in /var/lib/layman/multimedia
 * leaving sys-libs/glibc in /var/lib/layman/multimedia
 * leaving sys-devel/gdb in /var/lib/layman/multimedia
 * leaving metadata/layout.conf alone in /var/lib/layman/multimedia
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  - 
 * Log: /var/log/portage/cross-armv7m-softfp-linux-gnueabi-binutils.log
 * Emerging cross-binutils ...                                                 [ ok ]
 * Log: /var/log/portage/cross-armv7m-softfp-linux-gnueabi-linux-headers-quick.log
 * Emerging cross-linux-headers-quick ...                                      [ ok ]
 * Log: /var/log/portage/cross-armv7m-softfp-linux-gnueabi-glibc-headers.log
 * Emerging cross-glibc-headers ...                                            [ ok ]
 * Log: /var/log/portage/cross-armv7m-softfp-linux-gnueabi-gcc-stage1.log
 * Emerging cross-gcc-stage1 ...                                               [ ok ]
 * Log: /var/log/portage/cross-armv7m-softfp-linux-gnueabi-linux-headers.log
 * Emerging cross-linux-headers ...                                            [ ok ]
 * Log: /var/log/portage/cross-armv7m-softfp-linux-gnueabi-glibc.log
 * Emerging cross-glibc ...

 * glibc failed :(
 * If you file a bug, please attach the following logfiles:
 * /var/log/portage/cross-armv7m-softfp-linux-gnueabi-info.log
 * /var/log/portage/cross-armv7m-softfp-linux-gnueabi-glibc.log.xz
 * /var/tmp/portage/cross-armv7m-softfp-linux-gnueabi/glibc*/temp/glibc-config.logs.tar.xz
Comment 1 AttufliX 2015-01-18 13:12:36 UTC
Created attachment 394254 [details]
cross-armv7m-softfp-linux-gnueabi-glibc.log.xz
Comment 2 AttufliX 2015-01-18 13:14:04 UTC
Created attachment 394256 [details]
cross-armv7m-softfp-linux-gnueabi-glibc-headers.log
Comment 3 AttufliX 2015-01-18 13:42:42 UTC
Error occured there:

...

../sysdeps/arm/sysdep.h: Assembler messages:
../sysdeps/arm/sysdep.h:157: Error: selected processor does not support ARM opcodes
../sysdeps/arm/crtn.S:48: Error: attempt to use an ARM instruction on a Thumb-only pr
ocessor -- `pop {r3,pc}'
../sysdeps/arm/crtn.S:56: Error: attempt to use an ARM instruction on a Thumb-only pr
ocessor -- `pop {r3,pc}'

...
Comment 4 SpanKY gentoo-dev 2015-02-09 16:01:35 UTC
your target doesn't seem to make sense

armv7m is the microcontroller series:
  https://en.wikipedia.org/wiki/ARM_Cortex-M

i don't think you run Linux on those

also, in Gentoo, we use *-softfloat-*, not *-softfp-*