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 - failed unittest...(phobos)

↑ ↓ ← "Ozy" <ozy 4dm.org> writes:
Hello!
I suceeded in making gdc with gcc3.4.0 on darwin7.4.0,
and tried to make phobos.
Making libphobos.a completed smoothly.
But unittest, these errors occured.
[Macintosh:gcc-3.4.0/build/phobos] root# make unittest
gdc -o unittest -g -O2  -nostdinc unittest.o -L./
/usr/bin/ld: .//libphobos.a(d_os_dep.o) section's (__TEXT,__eh_frame) type
S_COALESCED does not match previous objects type S_REGULAR
/usr/bin/ld: .//libphobos.a(d_init.o) section's (__TEXT,__eh_frame) type
S_COALESCED does not match previous objects type S_REGULAR
collect2: ld returned 1 exit status
make: *** [unittest] Error 1
What shall I do for success in the unittest!?Please help me!!
Oct 04 2004
↑ ↓ David Friedman <d3rdclsmail earthlink.net> writes:
Ozy wrote:
 Hello!
 I suceeded in making gdc with gcc3.4.0 on darwin7.4.0,
 and tried to make phobos.
 Making libphobos.a completed smoothly.
 But unittest, these errors occured.
 [Macintosh:gcc-3.4.0/build/phobos] root# make unittest
 gdc -o unittest -g -O2  -nostdinc unittest.o -L./
 /usr/bin/ld: .//libphobos.a(d_os_dep.o) section's (__TEXT,__eh_frame) type
 S_COALESCED does not match previous objects type S_REGULAR
 /usr/bin/ld: .//libphobos.a(d_init.o) section's (__TEXT,__eh_frame) type
 S_COALESCED does not match previous objects type S_REGULAR
 collect2: ld returned 1 exit status
 make: *** [unittest] Error 1
 What shall I do for success in the unittest!?Please help me!!
 

This can happen when two different compiler versions are used (e.g. the gcc and g++ used to build Phobos don't match gdc.) David
Oct 05 2004
↑ ↓ → "Ozy" <ozy 4dm.org> writes:
thank you very much!!

"David Friedman" <d3rdclsmail earthlink.net> wrote in message
news:cjttht$2r2h$1 digitaldaemon.com...
 Ozy wrote:
 Hello!
 I suceeded in making gdc with gcc3.4.0 on darwin7.4.0,
 and tried to make phobos.
 Making libphobos.a completed smoothly.
 But unittest, these errors occured.
 [Macintosh:gcc-3.4.0/build/phobos] root# make unittest
 gdc -o unittest -g -O2  -nostdinc unittest.o -L./
 /usr/bin/ld: .//libphobos.a(d_os_dep.o) section's (__TEXT,__eh_frame)


 S_COALESCED does not match previous objects type S_REGULAR
 /usr/bin/ld: .//libphobos.a(d_init.o) section's (__TEXT,__eh_frame) type
 S_COALESCED does not match previous objects type S_REGULAR
 collect2: ld returned 1 exit status
 make: *** [unittest] Error 1
 What shall I do for success in the unittest!?Please help me!!

This can happen when two different compiler versions are used (e.g. the gcc and g++ used to build Phobos don't match gdc.) David

Oct 05 2004