Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #55022

Bug#836741: linux: FTBFS on powerpcspe due to the use of unsupported instructions

From John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Newsgroups linux.debian.bugs.dist, linux.debian.ports.powerpc, linux.debian.kernel
Subject Bug#836741: linux: FTBFS on powerpcspe due to the use of unsupported instructions
Date 2016-09-05 13:40 +0200
Message-ID <se0pP-381-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 3 groups.

Show all headers | View raw


Source: linux
Version: 4.7.2-1
Severity: normal
User: debian-powerpc@lists.debian.org
Usertags: powerpcspe

Hi!

Linux 4.7.x introduced another regression on powerpcspe due to the use of
unsupported assembly instructions [1]:

/<<PKGBUILDDIR>>/arch/powerpc/xmon/spr_access.S: Assembler messages:
/<<PKGBUILDDIR>>/arch/powerpc/xmon/spr_access.S:5: Error: unrecognized opcode: `ld'
/<<PKGBUILDDIR>>/arch/powerpc/xmon/spr_access.S:10: Error: unrecognized opcode: `ld'
/<<PKGBUILDDIR>>/scripts/Makefile.build:331: recipe for target 'arch/powerpc/xmon/spr_access.o' failed
make[6]: *** [arch/powerpc/xmon/spr_access.o] Error 1

This is very reminiscent of #823526 [2] which also used some FPU instructions
not available on powerpcspe/e500. And, indeed, like "ldarx" and "stdcx", "ld"
is not available on e500 either [3] (see p. 3-68).

I haven't looked at the code yet, but I assume guarding the code with some
additional #ifdef's should fix the issue the same way as in #823526.

Thanks,
Adrian

> [1] https://buildd.debian.org/status/fetch.php?pkg=linux&arch=powerpcspe&ver=4.7.2-1&stamp=1472977882
> [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823526
> [3] http://www.nxp.com/files/32bit/doc/ref_manual/E500CORERM.pdf

--
 .''`.  John Paul Adrian Glaubitz
 : :' :  Debian Developer - glaubitz@debian.org
 `. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Back to linux.debian.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Bug#836741: linux: FTBFS on powerpcspe due to the use of unsupported instructions John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> - 2016-09-05 13:40 +0200
  Processed (with 1 error): FTBFS on powerpcspe due to the use of  unsupported instructions owner@bugs.debian.org (Debian Bug Tracking System) - 2016-09-09 08:50 +0200
  Bug#836741: linux: FTBFS on powerpcspe due to the use of unsupported instructions John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> - 2016-09-10 11:10 +0200
    Bug#836741: linux: FTBFS on powerpcspe due to the use of unsupported instructions Ben Hutchings <ben@decadent.org.uk> - 2016-09-12 21:50 +0200
  Processed: Re: linux: FTBFS on powerpcspe due to the use of  unsupported instructions owner@bugs.debian.org (Debian Bug Tracking System) - 2016-09-10 11:10 +0200
  Processed: Re: Bug#836741: linux: FTBFS on powerpcspe due to the  use of unsupported instructions owner@bugs.debian.org (Debian Bug Tracking System) - 2016-09-12 21:50 +0200

csiph-web