[Bug target/79112] New: [SH] libgo/go/exp/terminal/util.go:70:23: error: integer constant overflow
glaubitz at physik dot fu-berlin.de
gcc-bugzilla@gcc.gnu.org
Tue Jan 17 10:20:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79112
Bug ID: 79112
Summary: [SH] libgo/go/exp/terminal/util.go:70:23: error:
integer constant overflow
Product: gcc
Version: 6.3.1
URL: https://people.debian.org/~glaubitz/gcc-6_6.3.0-2+sh4_
sh4.build
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: glaubitz at physik dot fu-berlin.de
CC: gcc-bugzilla at mkarcher dot dialup.fu-berlin.de,
jrtc27 at jrtc27 dot com, kkojima at gcc dot gnu.org,
olegendo at gcc dot gnu.org
Target Milestone: ---
Target: sh*-*-*
Trying to build gcc-6 with the Go frontend enabled on SH fails with:
libtool: compile: /<<PKGBUILDDIR>>/build/./gcc/gccgo
-B/<<PKGBUILDDIR>>/build/./gcc/ -B/usr/sh4-linux-gnu/bin/
-B/usr/sh4-linux-gnu/lib/ -isystem /usr/sh4-linux-gnu/include -isystem
/usr/sh4-linux-gnu/sys-include -isystem /<<PKGBUILDDIR>>/build/sys-include -O2
-g -I . -c -fgo-pkgpath=exp/terminal
../../../src/libgo/go/exp/terminal/terminal.go
../../../src/libgo/go/exp/terminal/util.go -fPIC -o exp/.libs/terminal.o
../../../src/libgo/go/exp/terminal/util.go:70:23: error: integer constant
overflow
if ioctl(fd, syscall.TIOCGWINSZ, unsafe.Pointer(&dimensions)) < 0 {
^
Makefile:5541: recipe for target 'exp/terminal.lo' failed
make[6]: *** [exp/terminal.lo] Error 1
Full log available in [1]. This was tested in an up-to-date Debian unstable
environment.
Thanks,
Adrian
> [1] https://people.debian.org/~glaubitz/gcc-6_6.3.0-2+sh4_sh4.build
More information about the Gcc-bugs
mailing list