www.digitalmars.com         C & C++   DMDScript  

D.gnu - Compile problem on Solaris


I'm getting the following error when I try to compile GDC on Solaris
10 (SPARC):

configure: error: No usable data segment information

After digging through libphobos/config.log, I found the offending

Undefined                       first referenced
 symbol                             in file
__libc_stack_end                    /var/tmp//cck5KChO.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:7198: $? = 1
configure: failed program was:

main ()

      extern long __libc_stack_end;
      return __libc_stack_end == 0;
  return 0;
configure:7220: result: no
configure:7243: error: No usable data segment information

So it appears Solaris does not define __libc_stack_end. Is there a
Solaris equivalent for this variable?

My config:

Solaris 10 SPARC
GDC 0.15
GCC 3.4.4

Dan Debertin             | 
airboss nodewarrior.org  | 
www.nodewarrior.org      | 
Jul 31 2005