[Bug go/90645] sparc-unknown-linux-gnu/libgo/.libs/libgo.so: undefined reference to `fdopendir'

2019-05-30 Thread mfe at live dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90645

--- Comment #8 from martin  ---
Thanks for the clarification.

[Bug go/90645] sparc-unknown-linux-gnu/libgo/.libs/libgo.so: undefined reference to `fdopendir'

2019-05-30 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90645

--- Comment #7 from Ian Lance Taylor  ---
Among the requirements for gccgo is support for Thread Local Storage.  If your
system does not support that, gccgo cannot work.

[Bug go/90645] sparc-unknown-linux-gnu/libgo/.libs/libgo.so: undefined reference to `fdopendir'

2019-05-30 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90645

--- Comment #6 from Eric Botcazou  ---
> Are there any chances to get gccgo build on this machine by the following
> options?
> - crosscompiling
> - update libc

Cross-compiling doesn't really matter here if you ultimately need to run the Go
programs on the machines.  You probably need to update the entire system.

[Bug go/90645] sparc-unknown-linux-gnu/libgo/.libs/libgo.so: undefined reference to `fdopendir'

2019-05-30 Thread mfe at live dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90645

--- Comment #5 from martin  ---
Are there any chances to get gccgo build on this machine by the following
options?
- crosscompiling
- update libc

[Bug go/90645] sparc-unknown-linux-gnu/libgo/.libs/libgo.so: undefined reference to `fdopendir'

2019-05-28 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90645

Eric Botcazou  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||ebotcazou at gcc dot gnu.org
 Resolution|--- |WONTFIX

--- Comment #4 from Eric Botcazou  ---
Your system is way too old to support Go.

[Bug go/90645] sparc-unknown-linux-gnu/libgo/.libs/libgo.so: undefined reference to `fdopendir'

2019-05-27 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90645

--- Comment #3 from Ian Lance Taylor  ---
Did libgo ever work on this system?  I can't remember.  I don't see how we can
work around a missing __tls_get_addr symbol.  That suggests that the system
does not support Thread Local Storage.

[Bug go/90645] sparc-unknown-linux-gnu/libgo/.libs/libgo.so: undefined reference to `fdopendir'

2019-05-27 Thread mfe at live dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90645

--- Comment #2 from martin  ---
Created attachment 46419
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46419=edit
usr\include\bits

ldd --version  
   
  ldd (GNU libc) 2.3.2 
   
  Copyright (C) 2003 Free Software Foundation, Inc.
   
  This is free software; see the source
for copying conditions.  There is NO   
  warranty; not
even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
   
  Written by Roland McGrath and Ulrich Drepper.

[Bug go/90645] sparc-unknown-linux-gnu/libgo/.libs/libgo.so: undefined reference to `fdopendir'

2019-05-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90645

--- Comment #1 from Andrew Pinski  ---
>fdopendir() is available in glibc since version 2.4.

What glibc version are you using?