Rainer Orth <r...@cebitec.uni-bielefeld.de> writes: > Ian, > >>>> Is tIOC defined in gen-sysinfo.go? In <sys/termios.h>? Does some other >>> >>> Only as >>> >>> // unknowndefine tIOC ('t'<<8) >> >> Ah. >> >> I committed this patch which may fix this problem. Bootstrapped and ran >> Go testsuite on x86_64-unknown-linux-gnu. You'll have to remove >> TARGET/libgo/s-sysinfo to force sysinfo.go to be rebuilt. > > that does the trick to correctly define TIOCNOTTY and TIOCSCTTY on > Solaris. I'm currently running a i386-pc-solaris2.10 bootstrap with a > single-line change to mksysinfo.sh:
Unfortunately, the /vol/gcc/src/hg/trunk/local/libgo/syscalls/exec.go:11:14: error: imported and not used: unsafe error remains. I've no idea what triggers it. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University