Peter Tribble <[email protected]> wrote:

> > I called:
> >
> > hg clone https://bitbucket.org/4ad/go-sunos
> >
> > cd go-sunos/
> > cd src
> >
>
> There's an extra step in the middle. You need to switch to the
> port-sunos branch.
>
> cd go-sunos
> hg update port-sunos
> cd src/
>
> and it builds fine under Tribblix. The potential fix for Solaris 10
> doesn't work, unfortunately.

OK, now it stops with:

# Building compilers and Go bootstrap tool for host, sunos/amd64.
lib9
cc1: error: unrecognized command line option "-Wno-missing-field-initializers"
cc1: error: unrecognized command line option "-Wno-missing-field-initializers"
cc1: error: unrecognized command line option "-Wno-missing-field-initializers"
cc1: error: unrecognized command line option "-Wno-missing-field-initializers"
go tool dist: FAILED: gcc -Wall -Wstrict-prototypes -Wextra -Wunused 
-Wuninitialized -Wno-sign-compare -Wno-missing-braces -Wno-parentheses 
-Wno-unknown-pragmas -Wno-switch -Wno-comment -Wno-missing-field-initializers 
-Werror -fno-common -ggdb -pipe -O2 -c -m64 -DPLAN9PORT -I 
/home/joerg/go/go-sunos/include -I /home/joerg/go/go-sunos/src/lib9 -o 
$WORK/_p9dir.o /home/joerg/go/go-sunos/src/lib9/_p9dir.c

It seems that it needs a specific compiler but does not mention this.

PATH=/opt/gcc/4.4.4/bin:$PATH ./make.bash

looks more friendly..., but as this is a different compiler than the one 
available with Solaris 10, this seems to be a KO criteria for Solaris 10 
support.

BTW: it would be nice to have basic build instructions in ASCII in a README 
file.

Jörg

-- 
 EMail:[email protected] (home) Jörg Schilling D-13353 Berlin
       [email protected]                (uni)  
       [email protected] (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily


-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com

Reply via email to