Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#790393: cdo: FTBFS on hppa: remaplib.c:1595:16: error: 'grid.121' not specified in enclosing parallel

6 views
Skip to first unread message

John David Anglin

unread,
Jun 28, 2015, 4:20:03 PM6/28/15
to
Package: cdo
Version: 1.6.6+dfsg.1-1
Severity: normal

Dear Maintainer,

The following compilation error occurs building cdo on hppa:

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../libcdi/src -I/usr/include -I/usr/include -I/usr/lib/hppa-linux-gnu/hdf5/serial/include -I/usr/include -D_FORTIFY_SOURCE=2 -DgFortran -g -O2 -Wformat -Werror=format-security -Wall -pedantic -fPIC -fopenmp -MT cdo-remaplib.o -MD -MP -MF .deps/cdo-remaplib.Tpo -c -o cdo-remaplib.o `test -f 'remaplib.c' || echo './'`remaplib.c
remaplib.c:338:6: warning: 'check_lon_range2' defined but not used [-Wunused-function]
void check_lon_range2(long nc, long nlons, double *corners, double *centers)
^
remaplib.c: In function 'remap_gradients':
remaplib.c:1595:16: error: 'grid.121' not specified in enclosing parallel
if ( grid.mask[n] )
^
remaplib.c:1585:9: error: enclosing parallel
#pragma omp parallel for default(none) \
^
make[3]: *** [cdo-remaplib.o] Error 1
Makefile:4283: recipe for target 'cdo-remaplib.o' failed

Full log is here:
http://buildd.debian-ports.org/status/fetch.php?pkg=cdo&arch=hppa&ver=1.6.6%2Bdfsg.1-1&stamp=1435521915


-- System Information:
Debian Release: stretch/sid
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 3.17.8+ (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_CA.utf8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

John David Anglin

unread,
Jan 15, 2016, 9:50:02 PM1/15/16
to
This bug is GCC PR middle-end/68733:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68733

The issue arises because structs larger than 64 bytes are passed by invisible reference and
the callee is responsible for copying.

Until this is resolved, the ICE can be avoided with the attached patch. Please apply if okay.

Thanks,
Dave Anglin
--
John David Anglin dave....@bell.net


hppa-remaplib.patch.txt
0 new messages