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


Groups > linux.debian.kernel > #55022 > unrolled thread

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

Started byJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
First post2016-09-05 13:40 +0200
Last post2016-09-12 21:50 +0200
Articles 6 — 3 participants

Back to article view | Back to linux.debian.kernel


Contents

  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

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

FromJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Date2016-09-05 13:40 +0200
SubjectBug#836741: linux: FTBFS on powerpcspe due to the use of unsupported instructions
Message-ID<se0pP-381-1@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#55060 — Processed (with 1 error): FTBFS on powerpcspe due to the use of unsupported instructions

Fromowner@bugs.debian.org (Debian Bug Tracking System)
Date2016-09-09 08:50 +0200
SubjectProcessed (with 1 error): FTBFS on powerpcspe due to the use of unsupported instructions
Message-ID<sfnNo-7Vm-15@gated-at.bofh.it>
In reply to#55022
Processing control commands:

> tags -1 confirmed upstream patch
Bug #836741 [src:linux] linux: FTBFS on powerpcspe due to the use of unsupported instructions
Added tag(s) upstream, patch, and confirmed.
> forwarded -1
Unknown command or malformed arguments to command.


-- 
836741: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836741
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#55072

FromJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Date2016-09-10 11:10 +0200
Message-ID<sfMsp-6KX-7@gated-at.bofh.it>
In reply to#55022
Control: forwarded -1 https://lists.ozlabs.org/pipermail/linuxppc-dev/2016-September/148424.html
Control: tags -1 +pending

There is now a suggested patch on the linuxppc-dev mailing list which fixes
this issue [1]. Should be part of the next stable kernel update, will therefore
tag this bug report as pending.

Adrian

> [1] https://lists.ozlabs.org/pipermail/linuxppc-dev/2016-September/148424.html

-- 
 .''`.  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

[toc] | [prev] | [next] | [standalone]


#55084

FromBen Hutchings <ben@decadent.org.uk>
Date2016-09-12 21:50 +0200
Message-ID<sgFoR-7LG-9@gated-at.bofh.it>
In reply to#55072

[Multipart message — attachments visible in raw view] — view raw

Control: tag -1 upstream patch

On Sat, 2016-09-10 at 11:01 +0200, John Paul Adrian Glaubitz wrote:
> Control: forwarded -1 https://lists.ozlabs.org/pipermail/linuxppc-dev/2016-September/148424.html
> Control: tags -1 +pending
> 
> There is now a suggested patch on the linuxppc-dev mailing list which fixes
> this issue [1]. Should be part of the next stable kernel update, will therefore
> tag this bug report as pending.

It won't, it's not even in linux-next yet.  Please don't add the
pending tag just because a patch has been accepted upstream.

Anyway, I have applied this to the sid branch so it really is pending
now.

Ben.

-- 
Ben Hutchings
Klipstein's 4th Law of Prototyping and Production:
                                    A fail-safe circuit will destroy
others.

[toc] | [prev] | [next] | [standalone]


#55073 — Processed: Re: linux: FTBFS on powerpcspe due to the use of unsupported instructions

Fromowner@bugs.debian.org (Debian Bug Tracking System)
Date2016-09-10 11:10 +0200
SubjectProcessed: Re: linux: FTBFS on powerpcspe due to the use of unsupported instructions
Message-ID<sfMsq-6KX-15@gated-at.bofh.it>
In reply to#55022
Processing control commands:

> forwarded -1 https://lists.ozlabs.org/pipermail/linuxppc-dev/2016-September/148424.html
Bug #836741 [src:linux] linux: FTBFS on powerpcspe due to the use of unsupported instructions
Set Bug forwarded-to-address to 'https://lists.ozlabs.org/pipermail/linuxppc-dev/2016-September/148424.html'.
> tags -1 +pending
Bug #836741 [src:linux] linux: FTBFS on powerpcspe due to the use of unsupported instructions
Added tag(s) pending.

-- 
836741: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836741
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#55085 — Processed: Re: Bug#836741: linux: FTBFS on powerpcspe due to the use of unsupported instructions

Fromowner@bugs.debian.org (Debian Bug Tracking System)
Date2016-09-12 21:50 +0200
SubjectProcessed: Re: Bug#836741: linux: FTBFS on powerpcspe due to the use of unsupported instructions
Message-ID<sgFoS-7LG-25@gated-at.bofh.it>
In reply to#55022
Processing control commands:

> tag -1 upstream patch
Bug #836741 [src:linux] linux: FTBFS on powerpcspe due to the use of unsupported instructions
Ignoring request to alter tags of bug #836741 to the same tags previously set

-- 
836741: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836741
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web