D.gnu - failed unittest...(phobos)
- Ozy (14/14) Oct 04 2004 Hello!
- David Friedman (4/19) Oct 05 2004 This can happen when two different compiler versions are used (e.g. the
- Ozy (4/23) Oct 05 2004 thank you very much!!
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. 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
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. 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
thank you very much!! "David Friedman" <d3rdclsmail earthlink.net> wrote in message news:cjttht$2r2h$1 digitaldaemon.com...Ozy wrote:typeHello! 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. 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