← Back to team overview

desktop-packages team mailing list archive

[Bug 1544053] [NEW] x11-apps fails to build on ppc64el when built with -O3

 

Public bug reported:

x11-apps fails to build on ppc64el when built with -O3. can be worked
around with -O2

see
https://launchpad.net/ubuntu/+source/x11-apps/7.7+5+nmu1/+build/8913431

../xedit/lisp/re/re.c: In function 'rec_build_pat':
../xedit/lisp/re/re.c:2328:17: error: array subscript is above array bounds [-Werror=array-bounds]
      if (inf->sp[i]) {
                 ^
../xedit/lisp/re/re.c:2329:21: error: array subscript is above array bounds [-Werror=array-bounds]
   distance = inf->sj[i] - inf->sr[i];
                     ^
../xedit/lisp/re/re.c:2329:34: error: array subscript is above array bounds [-Werror=array-bounds]
   distance = inf->sj[i] - inf->sr[i];
                                  ^
../xedit/lisp/re/re.c:2331:19: error: array subscript is above array bounds [-Werror=array-bounds]
   inf->cod[inf->sr[i] + 4] = (distance & 0xff00) >> 8;
                   ^

** Affects: x11-apps (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: ftbfs

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to x11-apps in Ubuntu.
https://bugs.launchpad.net/bugs/1544053

Title:
  x11-apps fails to build on ppc64el when built with -O3

Status in x11-apps package in Ubuntu:
  Confirmed

Bug description:
  x11-apps fails to build on ppc64el when built with -O3. can be worked
  around with -O2

  see
  https://launchpad.net/ubuntu/+source/x11-apps/7.7+5+nmu1/+build/8913431

  ../xedit/lisp/re/re.c: In function 'rec_build_pat':
  ../xedit/lisp/re/re.c:2328:17: error: array subscript is above array bounds [-Werror=array-bounds]
        if (inf->sp[i]) {
                   ^
  ../xedit/lisp/re/re.c:2329:21: error: array subscript is above array bounds [-Werror=array-bounds]
     distance = inf->sj[i] - inf->sr[i];
                       ^
  ../xedit/lisp/re/re.c:2329:34: error: array subscript is above array bounds [-Werror=array-bounds]
     distance = inf->sj[i] - inf->sr[i];
                                    ^
  ../xedit/lisp/re/re.c:2331:19: error: array subscript is above array bounds [-Werror=array-bounds]
     inf->cod[inf->sr[i] + 4] = (distance & 0xff00) >> 8;
                     ^

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/x11-apps/+bug/1544053/+subscriptions


Follow ups