Skip to content

xtensa fixes for jasper

Max Filippov buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2jasper: Don't overwrite CFLAGS when configured with --enable-debugpackage/jasper/0007-preserve-cflags.patch+27 -00 replies
2/2jasper: Disable debugging when building for xtensapackage/jasper/jasper.mk+6 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/2] xtensa fixes for jasper

Hi,

There are two patches: one makes jasper configure script preserve CFLAGS when --enable-debug is specified.

I was hoping that that'd be enough for jasper to build on xtensa, but unfortunately no: a bunch of one kind of literal-out-of-range errors is gone but a smaller bunch of other kind of the same error appeared. Xtensa gcc does nothing to place literals closer to their corresponding literal load instructions in functions with huge code size generated with -O0.

So the second patch disables debug for jasper when building for xtensa.

Max Filippov (2):
jasper: Don't overwrite CFLAGS when configured with --enable-debug
jasper: Disable debugging when building for xtensa

 package/jasper/0007-preserve-cflags.patch | 27 +++++++++++++++++++++++++++
 package/jasper/jasper.mk                  |  6 ++++++
 2 files changed, 33 insertions(+)
 create mode 100644 package/jasper/0007-preserve-cflags.patch
Signature · 1 line
1.8.1.4