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 Ubuntu-X,
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

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

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to