[Bug go/47515] Issues porting libgo to IRIX 6.5

2011-03-31 Thread ian at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47515

--- Comment #7 from ian at gcc dot gnu.org ian at gcc dot gnu.org 2011-03-31 
23:55:25 UTC ---
Author: ian
Date: Thu Mar 31 23:55:21 2011
New Revision: 171806

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=171806
Log:
PR go/47515
libgo: Add Irix support.

From Rainer Orth.

Added:
trunk/libgo/go/debug/proc/proc_irix.go
trunk/libgo/syscalls/syscall_irix.go
Modified:
trunk/libgo/Makefile.am
trunk/libgo/Makefile.in
trunk/libgo/configure
trunk/libgo/configure.ac
trunk/libgo/mksysinfo.sh


[Bug go/47515] Issues porting libgo to IRIX 6.5

2011-03-31 Thread ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47515

Ian Lance Taylor ian at airs dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED

--- Comment #8 from Ian Lance Taylor ian at airs dot com 2011-04-01 00:28:48 
UTC ---
I believe that all the issues in this PR are now fixed.


[Bug go/47515] Issues porting libgo to IRIX 6.5

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47515

--- Comment #6 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
18:02:18 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:02:13 2011
New Revision: 169684

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169684
Log:
PR go/47515
runtime: If no MAP_ANON, use /dev/zero.

Modified:
branches/google/integration/libgo/runtime/mem.c
branches/google/integration/libgo/runtime/runtime.h


[Bug go/47515] Issues porting libgo to IRIX 6.5

2011-01-31 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47515

--- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE ro at CeBiTec dot 
Uni-Bielefeld.DE 2011-01-31 15:11:15 UTC ---
 --- Comment #1 from Ralf Wildenhues rwild at gcc dot gnu.org 2011-01-28 
 18:53:54 UTC ---
 (In reply to comment #0)
 * Building libgo still depends on a linker supporting --whole-archive, but 
 SGI
   ld doesn't and GNU ld doesn't work due to PR target/43533.

 libtool abstracts --whole-archive when libtool convenience archives are used,
 and it can create relocatable objects.  As a cheap way to exploit that you
 could amend BUILDGOX to create a little convenience archive .la file.  Or let
 BUILDARCHIVE build an actual .la convenience archive, that's even easier.  
 Hmm,
 there is even a rule to create %.la from %.a, why all this going backwards
 trying to hack around libtool when it can do the job?

No idea, although there have been many times where I've been swearing at
libtool when it gets in my way and thinks it's smarter than me ;-(

But thanks alot for the tip: this proved to be remarkably simple and
I've posted an initial patch:

http://gcc.gnu.org/ml/gcc-patches/2011-01/msg02304.html

 libtool also has a pending patch abstracting -Bstatic/-Bdynamic by the way.

... which won't help since gcc needs to be usable without libtool.

Thanks.
Rainer


[Bug go/47515] Issues porting libgo to IRIX 6.5

2011-01-31 Thread ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47515

--- Comment #4 from Ian Lance Taylor ian at airs dot com 2011-01-31 22:21:19 
UTC ---
The backward hacking around libtool is because of the need to create .gox
files, for which I need the .o file.  Part of the complexity here is
historical, though, from a time when we didn't pass all the sources files to
the compiler at once.


[Bug go/47515] Issues porting libgo to IRIX 6.5

2011-01-31 Thread ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47515

--- Comment #5 from Ian Lance Taylor ian at airs dot com 2011-01-31 23:44:46 
UTC ---
Revision 169456, committed to mainline, avoids the --whole-archive problem.


[Bug go/47515] Issues porting libgo to IRIX 6.5

2011-01-28 Thread rwild at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47515

Ralf Wildenhues rwild at gcc dot gnu.org changed:

   What|Removed |Added

 CC||rwild at gcc dot gnu.org

--- Comment #1 from Ralf Wildenhues rwild at gcc dot gnu.org 2011-01-28 
18:53:54 UTC ---
(In reply to comment #0)
 * Building libgo still depends on a linker supporting --whole-archive, but SGI
   ld doesn't and GNU ld doesn't work due to PR target/43533.

libtool abstracts --whole-archive when libtool convenience archives are used,
and it can create relocatable objects.  As a cheap way to exploit that you
could amend BUILDGOX to create a little convenience archive .la file.  Or let
BUILDARCHIVE build an actual .la convenience archive, that's even easier.  Hmm,
there is even a rule to create %.la from %.a, why all this going backwards
trying to hack around libtool when it can do the job?

libtool also has a pending patch abstracting -Bstatic/-Bdynamic by the way.


[Bug go/47515] Issues porting libgo to IRIX 6.5

2011-01-28 Thread ian at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47515

--- Comment #2 from ian at gcc dot gnu.org ian at gcc dot gnu.org 2011-01-29 
07:16:25 UTC ---
Author: ian
Date: Sat Jan 29 07:16:20 2011
New Revision: 169388

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169388
Log:
PR go/47515
runtime: If no MAP_ANON, use /dev/zero.

Modified:
trunk/libgo/runtime/mem.c
trunk/libgo/runtime/runtime.h