www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

D.gnu - Compile problem on Solaris

Hi,

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
program: 

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:

int
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

TIA,
-Dan
--
Dan Debertin             | 
airboss nodewarrior.org  | 
www.nodewarrior.org      | 
Jul 31 2005