[Bug 238664] graphics/lightzone: fails to build with GCC 9
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jun 17 12:31:17 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238664
Bug ID: 238664
Summary: graphics/lightzone: fails to build with GCC 9
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: patch
Severity: Affects Only Me
Priority: ---
Component: Ports Framework
Assignee: portmgr at FreeBSD.org
Reporter: jbeich at FreeBSD.org
CC: ports-bugs at FreeBSD.org
Blocks: 238330
Upstream fix is https://github.com/ktgw0316/LightZone/commit/376ec67ddfb1
$ echo "DEFAULT_VERSIONS += gcc=9" >>/etc/make.conf
$ make
[...]
[exec] -----> Entering dcraw
[exec] gcc9 -c -g -march=pentium4 -mtune=generic -march=pentium4 -msse2
-mfpmath=sse -fPIC -O3 -fno-trapping-math -fomit-frame-pointer -fopenmp
-Wno-unused-result -DNODEPS -DLIGHTZONE -Dfgetc=getc_unlocked dcraw_lz.c
[exec] dcraw_lz.c: In function 'vng_interpolate':
[exec] dcraw_lz.c:4543:10: warning: assignment to 'short unsigned int
(*)[4]' from incompatible pointer type 'short unsigned int *'
[-Wincompatible-pointer-types]
[exec] 4543 | rowtmp = (ushort*)malloc(4 * width * 4 * sizeof(ushort));
[exec] | ^
[exec] dcraw_lz.c: In function 'wavelet_denoise':
[exec] dcraw_lz.c:4170:32: error: 'noise' not specified in enclosing
'parallel'
[exec] 4170 | thold = threshold * noise[lev];
[exec] | ~~~~~^~~~~
[exec] dcraw_lz.c:4149:13: error: enclosing 'parallel'
[exec] 4149 | #pragma omp parallel for \
[exec] | ^~~
[exec] dcraw_lz.c: In function 'xtrans_interpolate':
[exec] dcraw_lz.c:4846:19: error: 'orth' not specified in enclosing
'parallel'
[exec] 4846 | if (fcol(row+orth[d],col+orth[d+2]) == 1) ng=0; else ng++;
[exec] | ~~~~^~~
[exec] dcraw_lz.c:4757:31: note: in definition of macro 'fcol'
[exec] 4757 | #define fcol(row,col) xtrans[(row+6) % 6][(col+6) % 6]
[exec] | ^~~
[exec] dcraw_lz.c:4827:9: error: enclosing 'parallel'
[exec] 4827 | #pragma omp parallel default (none) \
[exec] | ^~~
[exec] dcraw_lz.c:4849:25: error: 'patt' not specified in enclosing
'parallel'
[exec] 4849 | v = orth[d ]*patt[g][c*2] + orth[d+1]*patt[g][c*2+1];
[exec] | ~~~~~~~^~~~~
[exec] dcraw_lz.c:4827:9: error: enclosing 'parallel'
[exec] 4827 | #pragma omp parallel default (none) \
[exec] | ^~~
[exec] dcraw_lz.c:5021:7: error: 'dir' not specified in enclosing
'parallel'
[exec] 5021 | f=dir[d & 3];
[exec] | ~~~^~~~~~~
[exec] dcraw_lz.c:4827:9: error: enclosing 'parallel'
[exec] 4827 | #pragma omp parallel default (none) \
[exec] | ^~~
http://pb2.nyi.freebsd.org/data/120i386-default-PR238330/2019-06-09_20h27m22s/logs/errors/lightzone-4.1.8.3_3.log
http://package18.nyi.freebsd.org/data/120amd64-default-PR238330/2019-06-09_20h26m27s/logs/errors/lightzone-4.1.8.3_3.log
Referenced Bugs:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238330
[Bug 238330] [exp-run] Update GCC_DEFAULT from 8 to 9
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ports-bugs
mailing list